From 719f4c4d83c3527690e53cc0dd450110bc08bb4a Mon Sep 17 00:00:00 2001 From: wataru Date: Fri, 23 Jun 2023 17:52:26 +0900 Subject: [PATCH] remove so-vits-svcv2, custom from loading model --- client/demo/dist/index.js | 2 +- client/lib/src/const.ts | 15 - client/lib/src/hooks/useServerSetting.ts | 266 +----------------- client/lib/src/hooks/useWorkletNodeSetting.ts | 6 +- server/const.py | 2 - server/data/ModelSlot.py | 2 +- 6 files changed, 5 insertions(+), 288 deletions(-) diff --git a/client/demo/dist/index.js b/client/demo/dist/index.js index 64c13c445..74be1cb8b 100644 --- a/client/demo/dist/index.js +++ b/client/demo/dist/index.js @@ -15,7 +15,7 @@ \***********************************************************************/ /***/ (function(module, __unused_webpack_exports, __webpack_require__) { -eval("/*\n * ATTENTION: The \"eval\" devtool has been used (maybe by default in mode: \"development\").\n * This devtool is neither made for production nor for readable output files.\n * It uses \"eval()\" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with \"devtool: false\".\n * If you are looking for production-ready output files, see mode: \"production\" (https://webpack.js.org/configuration/mode/).\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(/*! react */ \"./node_modules/react/index.js\"));\n\telse { var i, a; }\n})(typeof self !== 'undefined' ? self : this, (__WEBPACK_EXTERNAL_MODULE_react__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ \"./node_modules/@aws-crypto/crc32/build/aws_crc32.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/build/aws_crc32.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.AwsCrc32 = void 0;\\nvar tslib_1 = __webpack_require__(/*! tslib */ \\\"./node_modules/tslib/tslib.es6.js\\\");\\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ \\\"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js\\\");\\nvar index_1 = __webpack_require__(/*! ./index */ \\\"./node_modules/@aws-crypto/crc32/build/index.js\\\");\\nvar AwsCrc32 = /** @class */ (function () {\\n function AwsCrc32() {\\n this.crc32 = new index_1.Crc32();\\n }\\n AwsCrc32.prototype.update = function (toHash) {\\n if ((0, util_1.isEmptyData)(toHash))\\n return;\\n this.crc32.update((0, util_1.convertToBuffer)(toHash));\\n };\\n AwsCrc32.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*/, (0, util_1.numToUint8)(this.crc32.digest())];\\n });\\n });\\n };\\n AwsCrc32.prototype.reset = function () {\\n this.crc32 = new index_1.Crc32();\\n };\\n return AwsCrc32;\\n}());\\nexports.AwsCrc32 = AwsCrc32;\\n//# sourceMappingURL=aws_crc32.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/crc32/build/aws_crc32.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/build/index.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/build/index.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0;\\nvar tslib_1 = __webpack_require__(/*! tslib */ \\\"./node_modules/tslib/tslib.es6.js\\\");\\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ \\\"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js\\\");\\nfunction crc32(data) {\\n return new Crc32().update(data).digest();\\n}\\nexports.crc32 = crc32;\\nvar Crc32 = /** @class */ (function () {\\n function Crc32() {\\n this.checksum = 0xffffffff;\\n }\\n Crc32.prototype.update = function (data) {\\n var e_1, _a;\\n try {\\n for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {\\n var byte = data_1_1.value;\\n this.checksum =\\n (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];\\n }\\n }\\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\\n finally {\\n try {\\n if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);\\n }\\n finally { if (e_1) throw e_1.error; }\\n }\\n return this;\\n };\\n Crc32.prototype.digest = function () {\\n return (this.checksum ^ 0xffffffff) >>> 0;\\n };\\n return Crc32;\\n}());\\nexports.Crc32 = Crc32;\\n// prettier-ignore\\nvar a_lookUpTable = [\\n 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,\\n 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,\\n 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,\\n 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,\\n 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,\\n 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,\\n 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,\\n 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,\\n 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,\\n 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,\\n 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,\\n 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,\\n 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,\\n 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,\\n 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,\\n 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,\\n 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,\\n 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,\\n 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,\\n 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,\\n 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,\\n 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,\\n 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,\\n 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,\\n 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,\\n 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,\\n 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,\\n 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,\\n 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,\\n 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,\\n 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,\\n 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,\\n 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,\\n 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,\\n 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,\\n 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,\\n 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,\\n 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,\\n 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,\\n 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,\\n 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,\\n 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,\\n 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,\\n 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,\\n 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,\\n 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,\\n 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,\\n 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,\\n 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,\\n 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,\\n 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,\\n 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,\\n 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,\\n 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,\\n 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,\\n 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,\\n 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,\\n 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,\\n 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,\\n 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,\\n 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,\\n 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,\\n 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,\\n 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,\\n];\\nvar lookupTable = (0, util_1.uint32ArrayFrom)(a_lookUpTable);\\nvar aws_crc32_1 = __webpack_require__(/*! ./aws_crc32 */ \\\"./node_modules/@aws-crypto/crc32/build/aws_crc32.js\\\");\\nObject.defineProperty(exports, \\\"AwsCrc32\\\", ({ enumerable: true, get: function () { return aws_crc32_1.AwsCrc32; } }));\\n//# sourceMappingURL=index.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/crc32/build/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/convertToBuffer.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/convertToBuffer.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/* 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/crc32/node_modules/@aws-crypto/util/build/convertToBuffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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/crc32/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/crc32/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/crc32/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/crc32/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/crc32/node_modules/@aws-crypto/util/build/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/isEmptyData.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/isEmptyData.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/crc32/node_modules/@aws-crypto/util/build/isEmptyData.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/numToUint8.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/numToUint8.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/crc32/node_modules/@aws-crypto/util/build/numToUint8.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/crc32/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/Key.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/Key.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/constants.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/constants.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/* 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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/RawSha256.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/RawSha256.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/constants.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/constants.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/index.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/jsSha256.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/jsSha256.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/supports-web-crypto/build/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/supports-web-crypto/build/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/convertToBuffer.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/convertToBuffer.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/* 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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/index.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/index.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/isEmptyData.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/isEmptyData.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/numToUint8.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/numToUint8.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_52__ = __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_DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./commands/DeleteMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _commands_DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_17__ = __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_16__ = __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_18__ = __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_19__ = __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_20__ = __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_21__ = __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_22__ = __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_23__ = __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_24__ = __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_25__ = __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_26__ = __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_27__ = __webpack_require__(/*! ./commands/GetMessagingSessionEndpointCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js\\\");\\n/* harmony import */ var _commands_GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./commands/GetMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_29__ = __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_30__ = __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_31__ = __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_32__ = __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_33__ = __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_34__ = __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_36__ = __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_35__ = __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_37__ = __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_38__ = __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_39__ = __webpack_require__(/*! ./commands/ListTagsForResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js\\\");\\n/* harmony import */ var _commands_PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./commands/PutChannelExpirationSettingsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js\\\");\\n/* harmony import */ var _commands_PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./commands/PutChannelMembershipPreferencesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js\\\");\\n/* harmony import */ var _commands_PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./commands/PutMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _commands_RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_43__ = __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_44__ = __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_45__ = __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_46__ = __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_47__ = __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_48__ = __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_49__ = __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_50__ = __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_51__ = __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\\n\\n\\n\\n\\n\\nconst commands = {\\n AssociateChannelFlowCommand: _commands_AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_1__.AssociateChannelFlowCommand,\\n BatchCreateChannelMembershipCommand: _commands_BatchCreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_2__.BatchCreateChannelMembershipCommand,\\n ChannelFlowCallbackCommand: _commands_ChannelFlowCallbackCommand__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowCallbackCommand,\\n CreateChannelCommand: _commands_CreateChannelCommand__WEBPACK_IMPORTED_MODULE_4__.CreateChannelCommand,\\n CreateChannelBanCommand: _commands_CreateChannelBanCommand__WEBPACK_IMPORTED_MODULE_5__.CreateChannelBanCommand,\\n CreateChannelFlowCommand: _commands_CreateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_6__.CreateChannelFlowCommand,\\n CreateChannelMembershipCommand: _commands_CreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_7__.CreateChannelMembershipCommand,\\n CreateChannelModeratorCommand: _commands_CreateChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_8__.CreateChannelModeratorCommand,\\n DeleteChannelCommand: _commands_DeleteChannelCommand__WEBPACK_IMPORTED_MODULE_9__.DeleteChannelCommand,\\n DeleteChannelBanCommand: _commands_DeleteChannelBanCommand__WEBPACK_IMPORTED_MODULE_10__.DeleteChannelBanCommand,\\n DeleteChannelFlowCommand: _commands_DeleteChannelFlowCommand__WEBPACK_IMPORTED_MODULE_11__.DeleteChannelFlowCommand,\\n DeleteChannelMembershipCommand: _commands_DeleteChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_12__.DeleteChannelMembershipCommand,\\n DeleteChannelMessageCommand: _commands_DeleteChannelMessageCommand__WEBPACK_IMPORTED_MODULE_13__.DeleteChannelMessageCommand,\\n DeleteChannelModeratorCommand: _commands_DeleteChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_14__.DeleteChannelModeratorCommand,\\n DeleteMessagingStreamingConfigurationsCommand: _commands_DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_15__.DeleteMessagingStreamingConfigurationsCommand,\\n DescribeChannelCommand: _commands_DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_16__.DescribeChannelCommand,\\n DescribeChannelBanCommand: _commands_DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_17__.DescribeChannelBanCommand,\\n DescribeChannelFlowCommand: _commands_DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_18__.DescribeChannelFlowCommand,\\n DescribeChannelMembershipCommand: _commands_DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_19__.DescribeChannelMembershipCommand,\\n DescribeChannelMembershipForAppInstanceUserCommand: _commands_DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__.DescribeChannelMembershipForAppInstanceUserCommand,\\n DescribeChannelModeratedByAppInstanceUserCommand: _commands_DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_21__.DescribeChannelModeratedByAppInstanceUserCommand,\\n DescribeChannelModeratorCommand: _commands_DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_22__.DescribeChannelModeratorCommand,\\n DisassociateChannelFlowCommand: _commands_DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_23__.DisassociateChannelFlowCommand,\\n GetChannelMembershipPreferencesCommand: _commands_GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_24__.GetChannelMembershipPreferencesCommand,\\n GetChannelMessageCommand: _commands_GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_25__.GetChannelMessageCommand,\\n GetChannelMessageStatusCommand: _commands_GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_26__.GetChannelMessageStatusCommand,\\n GetMessagingSessionEndpointCommand: _commands_GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_27__.GetMessagingSessionEndpointCommand,\\n GetMessagingStreamingConfigurationsCommand: _commands_GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_28__.GetMessagingStreamingConfigurationsCommand,\\n ListChannelBansCommand: _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_29__.ListChannelBansCommand,\\n ListChannelFlowsCommand: _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_30__.ListChannelFlowsCommand,\\n ListChannelMembershipsCommand: _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_31__.ListChannelMembershipsCommand,\\n ListChannelMembershipsForAppInstanceUserCommand: _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_32__.ListChannelMembershipsForAppInstanceUserCommand,\\n ListChannelMessagesCommand: _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_33__.ListChannelMessagesCommand,\\n ListChannelModeratorsCommand: _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_34__.ListChannelModeratorsCommand,\\n ListChannelsCommand: _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_35__.ListChannelsCommand,\\n ListChannelsAssociatedWithChannelFlowCommand: _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_36__.ListChannelsAssociatedWithChannelFlowCommand,\\n ListChannelsModeratedByAppInstanceUserCommand: _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_37__.ListChannelsModeratedByAppInstanceUserCommand,\\n ListSubChannelsCommand: _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_38__.ListSubChannelsCommand,\\n ListTagsForResourceCommand: _commands_ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_39__.ListTagsForResourceCommand,\\n PutChannelExpirationSettingsCommand: _commands_PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_40__.PutChannelExpirationSettingsCommand,\\n PutChannelMembershipPreferencesCommand: _commands_PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_41__.PutChannelMembershipPreferencesCommand,\\n PutMessagingStreamingConfigurationsCommand: _commands_PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_42__.PutMessagingStreamingConfigurationsCommand,\\n RedactChannelMessageCommand: _commands_RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_43__.RedactChannelMessageCommand,\\n SearchChannelsCommand: _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_44__.SearchChannelsCommand,\\n SendChannelMessageCommand: _commands_SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_45__.SendChannelMessageCommand,\\n TagResourceCommand: _commands_TagResourceCommand__WEBPACK_IMPORTED_MODULE_46__.TagResourceCommand,\\n UntagResourceCommand: _commands_UntagResourceCommand__WEBPACK_IMPORTED_MODULE_47__.UntagResourceCommand,\\n UpdateChannelCommand: _commands_UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_48__.UpdateChannelCommand,\\n UpdateChannelFlowCommand: _commands_UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_49__.UpdateChannelFlowCommand,\\n UpdateChannelMessageCommand: _commands_UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_50__.UpdateChannelMessageCommand,\\n UpdateChannelReadMarkerCommand: _commands_UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_51__.UpdateChannelReadMarkerCommand,\\n};\\nclass ChimeSDKMessaging extends _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_52__.ChimeSDKMessagingClient {\\n}\\n(0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.createAggregatedClient)(commands, ChimeSDKMessaging);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ChimeSDKMessagingClient: () => (/* binding */ ChimeSDKMessagingClient),\\n/* harmony export */ __Client: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_9__.Client)\\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\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_AssociateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_AssociateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js\":\n/*!******************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js ***!\n \\******************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass BatchCreateChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_BatchCreateChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_BatchCreateChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ChannelFlowCallbackCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_ChannelFlowCallbackCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ChannelFlowCallbackCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelBanCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelBanCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelBanCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js\":\n/*!************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js ***!\n \\************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelModeratorCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelModeratorCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelModeratorCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelBanCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelBanCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js\":\n/*!************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js ***!\n \\************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelModeratorCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelModeratorCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js\":\n/*!****************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js ***!\n \\****************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ DeleteMessagingStreamingConfigurationsCommand: () => (/* binding */ DeleteMessagingStreamingConfigurationsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 DeleteMessagingStreamingConfigurationsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, DeleteMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"DeleteMessagingStreamingConfigurationsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteMessagingStreamingConfigurationsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteMessagingStreamingConfigurationsCommand)(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/DeleteMessagingStreamingConfigurationsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelBanCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelBanCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelBanCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js\":\n/*!*********************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js ***!\n \\*********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelMembershipForAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelMembershipForAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelMembershipForAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js\":\n/*!*******************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js ***!\n \\*******************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelModeratedByAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelModeratedByAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelModeratedByAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelModeratorCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelModeratorCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelModeratorCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DisassociateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DisassociateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass GetChannelMembershipPreferencesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_GetChannelMembershipPreferencesCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_GetChannelMembershipPreferencesCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass GetChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_GetChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_GetChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_GetChannelMessageStatusCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_GetChannelMessageStatusCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_GetMessagingSessionEndpointCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_GetMessagingSessionEndpointCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js\":\n/*!*************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js ***!\n \\*************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ GetMessagingStreamingConfigurationsCommand: () => (/* binding */ GetMessagingStreamingConfigurationsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 GetMessagingStreamingConfigurationsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, GetMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"GetMessagingStreamingConfigurationsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_GetMessagingStreamingConfigurationsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_GetMessagingStreamingConfigurationsCommand)(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/GetMessagingStreamingConfigurationsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelBansCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelBansCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelBansCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelFlowsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelFlowsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelFlowsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js\":\n/*!************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js ***!\n \\************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelMembershipsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelMembershipsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelMembershipsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js\":\n/*!******************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js ***!\n \\******************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelMembershipsForAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelMembershipsForAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelMembershipsForAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelMessagesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelMessagesCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelMessagesCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelModeratorsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelModeratorsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelModeratorsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js\":\n/*!***************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js ***!\n \\***************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelsAssociatedWithChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelsAssociatedWithChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelsAssociatedWithChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js\":\n/*!****************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js ***!\n \\****************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelsModeratedByAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelsModeratedByAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelsModeratedByAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListSubChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListSubChannelsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListSubChannelsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListTagsForResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_ListTagsForResourceCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListTagsForResourceCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js\":\n/*!******************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js ***!\n \\******************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ PutChannelExpirationSettingsCommand: () => (/* binding */ PutChannelExpirationSettingsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 PutChannelExpirationSettingsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, PutChannelExpirationSettingsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"PutChannelExpirationSettingsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_PutChannelExpirationSettingsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_PutChannelExpirationSettingsCommand)(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/PutChannelExpirationSettingsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass PutChannelMembershipPreferencesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_PutChannelMembershipPreferencesCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_PutChannelMembershipPreferencesCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js\":\n/*!*************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js ***!\n \\*************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ PutMessagingStreamingConfigurationsCommand: () => (/* binding */ PutMessagingStreamingConfigurationsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 PutMessagingStreamingConfigurationsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, PutMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"PutMessagingStreamingConfigurationsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_PutMessagingStreamingConfigurationsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_PutMessagingStreamingConfigurationsCommand)(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/PutMessagingStreamingConfigurationsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_RedactChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_RedactChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass SearchChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_SearchChannelsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_SearchChannelsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass SendChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_SendChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_SendChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass TagResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_TagResourceCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_TagResourceCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UntagResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UntagResourceCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UntagResourceCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UpdateChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UpdateChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UpdateChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UpdateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UpdateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UpdateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UpdateChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UpdateChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UpdateChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_UpdateChannelReadMarkerCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_UpdateChannelReadMarkerCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__.$Command),\\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 */ DeleteMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_14__.DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ DescribeChannelBanCommand: () => (/* reexport safe */ _DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_15__.DescribeChannelBanCommand),\\n/* harmony export */ DescribeChannelCommand: () => (/* reexport safe */ _DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_16__.DescribeChannelCommand),\\n/* harmony export */ DescribeChannelFlowCommand: () => (/* reexport safe */ _DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_17__.DescribeChannelFlowCommand),\\n/* harmony export */ DescribeChannelMembershipCommand: () => (/* reexport safe */ _DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_18__.DescribeChannelMembershipCommand),\\n/* harmony export */ DescribeChannelMembershipForAppInstanceUserCommand: () => (/* reexport safe */ _DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__.DescribeChannelMembershipForAppInstanceUserCommand),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserCommand: () => (/* reexport safe */ _DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__.DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ DescribeChannelModeratorCommand: () => (/* reexport safe */ _DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_21__.DescribeChannelModeratorCommand),\\n/* harmony export */ DisassociateChannelFlowCommand: () => (/* reexport safe */ _DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_22__.DisassociateChannelFlowCommand),\\n/* harmony export */ GetChannelMembershipPreferencesCommand: () => (/* reexport safe */ _GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_23__.GetChannelMembershipPreferencesCommand),\\n/* harmony export */ GetChannelMessageCommand: () => (/* reexport safe */ _GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_24__.GetChannelMessageCommand),\\n/* harmony export */ GetChannelMessageStatusCommand: () => (/* reexport safe */ _GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_25__.GetChannelMessageStatusCommand),\\n/* harmony export */ GetMessagingSessionEndpointCommand: () => (/* reexport safe */ _GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_26__.GetMessagingSessionEndpointCommand),\\n/* harmony export */ GetMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_27__.GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ ListChannelBansCommand: () => (/* reexport safe */ _ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_28__.ListChannelBansCommand),\\n/* harmony export */ ListChannelFlowsCommand: () => (/* reexport safe */ _ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_29__.ListChannelFlowsCommand),\\n/* harmony export */ ListChannelMembershipsCommand: () => (/* reexport safe */ _ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_30__.ListChannelMembershipsCommand),\\n/* harmony export */ ListChannelMembershipsForAppInstanceUserCommand: () => (/* reexport safe */ _ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_31__.ListChannelMembershipsForAppInstanceUserCommand),\\n/* harmony export */ ListChannelMessagesCommand: () => (/* reexport safe */ _ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_32__.ListChannelMessagesCommand),\\n/* harmony export */ ListChannelModeratorsCommand: () => (/* reexport safe */ _ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_33__.ListChannelModeratorsCommand),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowCommand: () => (/* reexport safe */ _ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_34__.ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ ListChannelsCommand: () => (/* reexport safe */ _ListChannelsCommand__WEBPACK_IMPORTED_MODULE_35__.ListChannelsCommand),\\n/* harmony export */ ListChannelsModeratedByAppInstanceUserCommand: () => (/* reexport safe */ _ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_36__.ListChannelsModeratedByAppInstanceUserCommand),\\n/* harmony export */ ListSubChannelsCommand: () => (/* reexport safe */ _ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_37__.ListSubChannelsCommand),\\n/* harmony export */ ListTagsForResourceCommand: () => (/* reexport safe */ _ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_38__.ListTagsForResourceCommand),\\n/* harmony export */ PutChannelExpirationSettingsCommand: () => (/* reexport safe */ _PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_39__.PutChannelExpirationSettingsCommand),\\n/* harmony export */ PutChannelMembershipPreferencesCommand: () => (/* reexport safe */ _PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_40__.PutChannelMembershipPreferencesCommand),\\n/* harmony export */ PutMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_41__.PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ RedactChannelMessageCommand: () => (/* reexport safe */ _RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_42__.RedactChannelMessageCommand),\\n/* harmony export */ SearchChannelsCommand: () => (/* reexport safe */ _SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_43__.SearchChannelsCommand),\\n/* harmony export */ SendChannelMessageCommand: () => (/* reexport safe */ _SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_44__.SendChannelMessageCommand),\\n/* harmony export */ TagResourceCommand: () => (/* reexport safe */ _TagResourceCommand__WEBPACK_IMPORTED_MODULE_45__.TagResourceCommand),\\n/* harmony export */ UntagResourceCommand: () => (/* reexport safe */ _UntagResourceCommand__WEBPACK_IMPORTED_MODULE_46__.UntagResourceCommand),\\n/* harmony export */ UpdateChannelCommand: () => (/* reexport safe */ _UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_47__.UpdateChannelCommand),\\n/* harmony export */ UpdateChannelFlowCommand: () => (/* reexport safe */ _UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_48__.UpdateChannelFlowCommand),\\n/* harmony export */ UpdateChannelMessageCommand: () => (/* reexport safe */ _UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_49__.UpdateChannelMessageCommand),\\n/* harmony export */ UpdateChannelReadMarkerCommand: () => (/* reexport safe */ _UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_50__.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 _DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./DeleteMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./DescribeChannelBanCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js\\\");\\n/* harmony import */ var _DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./DescribeChannelCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js\\\");\\n/* harmony import */ var _DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./DescribeChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js\\\");\\n/* harmony import */ var _DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./DescribeChannelMembershipCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js\\\");\\n/* harmony import */ var _DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./DescribeChannelMembershipForAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./DescribeChannelModeratedByAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./DescribeChannelModeratorCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js\\\");\\n/* harmony import */ var _DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./DisassociateChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js\\\");\\n/* harmony import */ var _GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./GetChannelMembershipPreferencesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js\\\");\\n/* harmony import */ var _GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./GetChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js\\\");\\n/* harmony import */ var _GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./GetChannelMessageStatusCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js\\\");\\n/* harmony import */ var _GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./GetMessagingSessionEndpointCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js\\\");\\n/* harmony import */ var _GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./GetMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./ListChannelBansCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js\\\");\\n/* harmony import */ var _ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ListChannelFlowsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js\\\");\\n/* harmony import */ var _ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./ListChannelMembershipsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js\\\");\\n/* harmony import */ var _ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./ListChannelMembershipsForAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./ListChannelMessagesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js\\\");\\n/* harmony import */ var _ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ListChannelModeratorsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js\\\");\\n/* harmony import */ var _ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./ListChannelsAssociatedWithChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js\\\");\\n/* harmony import */ var _ListChannelsCommand__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ListChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js\\\");\\n/* harmony import */ var _ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ListChannelsModeratedByAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./ListSubChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js\\\");\\n/* harmony import */ var _ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./ListTagsForResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js\\\");\\n/* harmony import */ var _PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./PutChannelExpirationSettingsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js\\\");\\n/* harmony import */ var _PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./PutChannelMembershipPreferencesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js\\\");\\n/* harmony import */ var _PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./PutMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./RedactChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js\\\");\\n/* harmony import */ var _SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./SearchChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js\\\");\\n/* harmony import */ var _SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./SendChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js\\\");\\n/* harmony import */ var _TagResourceCommand__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./TagResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js\\\");\\n/* harmony import */ var _UntagResourceCommand__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./UntagResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js\\\");\\n/* harmony import */ var _UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./UpdateChannelCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js\\\");\\n/* harmony import */ var _UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./UpdateChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js\\\");\\n/* harmony import */ var _UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./UpdateChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js\\\");\\n/* harmony import */ var _UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_50__ = __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\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/EndpointParameters.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/EndpointParameters.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/endpointResolver.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/endpointResolver.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/ruleset.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/ruleset.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ruleSet: () => (/* binding */ ruleSet)\\n/* harmony export */ });\\nconst q = \\\"required\\\", r = \\\"fn\\\", s = \\\"argv\\\", t = \\\"ref\\\";\\nconst a = \\\"isSet\\\", b = \\\"tree\\\", c = \\\"error\\\", d = \\\"endpoint\\\", e = \\\"PartitionResult\\\", f = { [q]: false, \\\"type\\\": \\\"String\\\" }, g = { [q]: true, \\\"default\\\": false, \\\"type\\\": \\\"Boolean\\\" }, h = { [t]: \\\"Endpoint\\\" }, i = { [r]: \\\"booleanEquals\\\", [s]: [{ [t]: \\\"UseFIPS\\\" }, true] }, j = { [r]: \\\"booleanEquals\\\", [s]: [{ [t]: \\\"UseDualStack\\\" }, true] }, k = {}, l = { [r]: \\\"booleanEquals\\\", [s]: [true, { [r]: \\\"getAttr\\\", [s]: [{ [t]: e }, \\\"supportsFIPS\\\"] }] }, m = { [r]: \\\"booleanEquals\\\", [s]: [true, { [r]: \\\"getAttr\\\", [s]: [{ [t]: e }, \\\"supportsDualStack\\\"] }] }, n = [i], o = [j], p = [{ [t]: \\\"Region\\\" }];\\nconst _data = { version: \\\"1.0\\\", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: \\\"Invalid Configuration: FIPS and custom endpoint are not supported\\\", type: c }, { type: b, rules: [{ conditions: o, error: \\\"Invalid Configuration: Dualstack and custom endpoint are not supported\\\", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: \\\"aws.partition\\\", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }, { error: \\\"FIPS and DualStack are enabled, but this partition does not support one or both\\\", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }, { error: \\\"FIPS is enabled but this partition does not support FIPS\\\", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }, { error: \\\"DualStack is enabled but this partition does not support DualStack\\\", type: c }] }, { type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }] }, { error: \\\"Invalid Configuration: Missing Region\\\", type: c }] }] };\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.$Command),\\n/* harmony export */ AllowNotifications: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.AllowNotifications),\\n/* harmony export */ AssociateChannelFlowCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.AssociateChannelFlowCommand),\\n/* harmony export */ BadRequestException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.BadRequestException),\\n/* harmony export */ BatchChannelMembershipsFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.BatchChannelMembershipsFilterSensitiveLog),\\n/* harmony export */ BatchCreateChannelMembershipCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.BatchCreateChannelMembershipCommand),\\n/* harmony export */ BatchCreateChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.BatchCreateChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ ChannelAssociatedWithFlowSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelAssociatedWithFlowSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelBanFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelBanFilterSensitiveLog),\\n/* harmony export */ ChannelBanSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelBanSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFilterSensitiveLog),\\n/* harmony export */ ChannelFlowCallbackCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ChannelFlowCallbackCommand),\\n/* harmony export */ ChannelFlowCallbackRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFlowCallbackRequestFilterSensitiveLog),\\n/* harmony export */ ChannelFlowFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFlowFilterSensitiveLog),\\n/* harmony export */ ChannelFlowSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFlowSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipPreferencesFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipPreferencesFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipType),\\n/* harmony export */ ChannelMessageCallbackFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageCallbackFilterSensitiveLog),\\n/* harmony export */ ChannelMessageFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageFilterSensitiveLog),\\n/* harmony export */ ChannelMessagePersistenceType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessagePersistenceType),\\n/* harmony export */ ChannelMessageStatus: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageStatus),\\n/* harmony export */ ChannelMessageSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMessageType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageType),\\n/* harmony export */ ChannelMode: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMode),\\n/* harmony export */ ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelModeratorFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelModeratorFilterSensitiveLog),\\n/* harmony export */ ChannelModeratorSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelModeratorSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelPrivacy: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelPrivacy),\\n/* harmony export */ ChannelSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelSummaryFilterSensitiveLog),\\n/* harmony export */ ChimeSDKMessaging: () => (/* reexport safe */ _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging),\\n/* harmony export */ ChimeSDKMessagingClient: () => (/* reexport safe */ _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_0__.ChimeSDKMessagingClient),\\n/* harmony export */ ChimeSDKMessagingServiceException: () => (/* reexport safe */ _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_5__.ChimeSDKMessagingServiceException),\\n/* harmony export */ ConflictException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ConflictException),\\n/* harmony export */ CreateChannelBanCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelBanCommand),\\n/* harmony export */ CreateChannelBanResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.CreateChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ CreateChannelMembershipCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelMembershipCommand),\\n/* harmony export */ CreateChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.CreateChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelModeratorCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelModeratorCommand),\\n/* harmony export */ CreateChannelModeratorResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.CreateChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.CreateChannelRequestFilterSensitiveLog),\\n/* harmony export */ DeleteChannelBanCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelBanCommand),\\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 */ DeleteChannelMembershipCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelMembershipCommand),\\n/* harmony export */ DeleteChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelMessageCommand),\\n/* harmony export */ DeleteChannelModeratorCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelModeratorCommand),\\n/* harmony export */ DeleteMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ DescribeChannelBanCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelBanCommand),\\n/* harmony export */ DescribeChannelBanResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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 */ DescribeChannelFlowResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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 */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratorCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelModeratorCommand),\\n/* harmony export */ DescribeChannelModeratorResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelResponseFilterSensitiveLog),\\n/* harmony export */ DisassociateChannelFlowCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DisassociateChannelFlowCommand),\\n/* harmony export */ ErrorCode: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ErrorCode),\\n/* harmony export */ ExpirationCriterion: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ExpirationCriterion),\\n/* harmony export */ FallbackAction: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.FallbackAction),\\n/* harmony export */ ForbiddenException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ForbiddenException),\\n/* harmony export */ GetChannelMembershipPreferencesCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMembershipPreferencesCommand),\\n/* harmony export */ GetChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.GetChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMessageCommand),\\n/* harmony export */ GetChannelMessageResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.GetChannelMessageResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageStatusCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMessageStatusCommand),\\n/* harmony export */ GetMessagingSessionEndpointCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetMessagingSessionEndpointCommand),\\n/* harmony export */ GetMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ IdentityFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.IdentityFilterSensitiveLog),\\n/* harmony export */ InvocationType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.InvocationType),\\n/* harmony export */ ListChannelBansCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelBansCommand),\\n/* harmony export */ ListChannelBansRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelBansRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelBansResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelBansResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelFlowsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelFlowsCommand),\\n/* harmony export */ ListChannelFlowsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelFlowsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelFlowsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelMembershipsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMembershipsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelMembershipsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMembershipsResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelMessagesCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelMessagesCommand),\\n/* harmony export */ ListChannelMessagesRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMessagesRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelMessagesResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMessagesResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelModeratorsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelModeratorsCommand),\\n/* harmony export */ ListChannelModeratorsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelModeratorsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelModeratorsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelModeratorsResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsResponseFilterSensitiveLog),\\n/* harmony export */ ListSubChannelsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListSubChannelsCommand),\\n/* harmony export */ ListSubChannelsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListSubChannelsRequestFilterSensitiveLog),\\n/* harmony export */ ListSubChannelsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListSubChannelsResponseFilterSensitiveLog),\\n/* harmony export */ ListTagsForResourceCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListTagsForResourceCommand),\\n/* harmony export */ ListTagsForResourceResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListTagsForResourceResponseFilterSensitiveLog),\\n/* harmony export */ MessageAttributeValueFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.MessageAttributeValueFilterSensitiveLog),\\n/* harmony export */ MessagingDataType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.MessagingDataType),\\n/* harmony export */ NotFoundException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.NotFoundException),\\n/* harmony export */ ProcessorFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ProcessorFilterSensitiveLog),\\n/* harmony export */ PushNotificationConfigurationFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PushNotificationConfigurationFilterSensitiveLog),\\n/* harmony export */ PushNotificationPreferencesFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PushNotificationPreferencesFilterSensitiveLog),\\n/* harmony export */ PushNotificationType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PushNotificationType),\\n/* harmony export */ PutChannelExpirationSettingsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.PutChannelExpirationSettingsCommand),\\n/* harmony export */ PutChannelMembershipPreferencesCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.PutChannelMembershipPreferencesCommand),\\n/* harmony export */ PutChannelMembershipPreferencesRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PutChannelMembershipPreferencesRequestFilterSensitiveLog),\\n/* harmony export */ PutChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PutChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ PutMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ RedactChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.RedactChannelMessageCommand),\\n/* harmony export */ ResourceLimitExceededException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ResourceLimitExceededException),\\n/* harmony export */ SearchChannelsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.SearchChannelsCommand),\\n/* harmony export */ SearchChannelsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchChannelsRequestFilterSensitiveLog),\\n/* harmony export */ SearchChannelsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchChannelsResponseFilterSensitiveLog),\\n/* harmony export */ SearchFieldKey: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchFieldKey),\\n/* harmony export */ SearchFieldOperator: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchFieldOperator),\\n/* harmony export */ SendChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.SendChannelMessageCommand),\\n/* harmony export */ SendChannelMessageRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SendChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ ServiceFailureException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ServiceFailureException),\\n/* harmony export */ ServiceUnavailableException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ServiceUnavailableException),\\n/* harmony export */ SortOrder: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SortOrder),\\n/* harmony export */ TagFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.TagFilterSensitiveLog),\\n/* harmony export */ TagResourceCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.TagResourceCommand),\\n/* harmony export */ TagResourceRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.TagResourceRequestFilterSensitiveLog),\\n/* harmony export */ ThrottledClientException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ThrottledClientException),\\n/* harmony export */ UnauthorizedClientException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.UnauthorizedClientException),\\n/* harmony export */ UntagResourceCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UntagResourceCommand),\\n/* harmony export */ UntagResourceRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.UpdateChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelMessageCommand),\\n/* harmony export */ UpdateChannelMessageRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.UpdateChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelReadMarkerCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelReadMarkerCommand),\\n/* harmony export */ UpdateChannelRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.UpdateChannelRequestFilterSensitiveLog),\\n/* harmony export */ __Client: () => (/* reexport safe */ _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_0__.__Client),\\n/* harmony export */ paginateListChannelBans: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelBans),\\n/* harmony export */ paginateListChannelFlows: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelFlows),\\n/* harmony export */ paginateListChannelMemberships: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelMemberships),\\n/* harmony export */ paginateListChannelMembershipsForAppInstanceUser: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelMembershipsForAppInstanceUser),\\n/* harmony export */ paginateListChannelMessages: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelMessages),\\n/* harmony export */ paginateListChannelModerators: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelModerators),\\n/* harmony export */ paginateListChannels: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannels),\\n/* harmony export */ paginateListChannelsAssociatedWithChannelFlow: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelsAssociatedWithChannelFlow),\\n/* harmony export */ paginateListChannelsModeratedByAppInstanceUser: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelsModeratedByAppInstanceUser),\\n/* harmony export */ paginateListSubChannels: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListSubChannels),\\n/* harmony export */ paginateSearchChannels: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateSearchChannels)\\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 _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ChimeSDKMessaging */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.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 _pagination__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pagination */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js\\\");\\n/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./models */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ChimeSDKMessagingServiceException: () => (/* binding */ ChimeSDKMessagingServiceException),\\n/* harmony export */ __ServiceException: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.ServiceException)\\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\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/index.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/index.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ 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 */ 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 */ 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 */ 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 */ 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 */ CreateChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelMembershipResponseFilterSensitiveLog),\\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 */ DescribeChannelBanResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelBanResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelFlowResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelFlowResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratorResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelResponseFilterSensitiveLog),\\n/* harmony export */ ErrorCode: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ErrorCode),\\n/* harmony export */ ExpirationCriterion: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ExpirationCriterion),\\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 */ GetChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMessageResponseFilterSensitiveLog),\\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 */ 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 */ 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 */ MessagingDataType: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.MessagingDataType),\\n/* harmony export */ NotFoundException: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.NotFoundException),\\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 */ 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 */ 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 */ 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 */ 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 */ UpdateChannelMessageRequestFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelRequestFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelRequestFilterSensitiveLog)\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ AllowNotifications: () => (/* binding */ AllowNotifications),\\n/* harmony export */ BadRequestException: () => (/* binding */ BadRequestException),\\n/* harmony export */ BatchChannelMembershipsFilterSensitiveLog: () => (/* binding */ BatchChannelMembershipsFilterSensitiveLog),\\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 */ 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 */ 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 */ CreateChannelBanResponseFilterSensitiveLog: () => (/* binding */ CreateChannelBanResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelFlowRequestFilterSensitiveLog: () => (/* binding */ CreateChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ CreateChannelMembershipResponseFilterSensitiveLog: () => (/* binding */ CreateChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelModeratorResponseFilterSensitiveLog: () => (/* binding */ CreateChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelRequestFilterSensitiveLog: () => (/* binding */ CreateChannelRequestFilterSensitiveLog),\\n/* harmony export */ DescribeChannelBanResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelBanResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelFlowResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelFlowResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratorResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelResponseFilterSensitiveLog),\\n/* harmony export */ ErrorCode: () => (/* binding */ ErrorCode),\\n/* harmony export */ ExpirationCriterion: () => (/* binding */ ExpirationCriterion),\\n/* harmony export */ FallbackAction: () => (/* binding */ FallbackAction),\\n/* harmony export */ ForbiddenException: () => (/* binding */ ForbiddenException),\\n/* harmony export */ GetChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* binding */ GetChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageResponseFilterSensitiveLog: () => (/* binding */ GetChannelMessageResponseFilterSensitiveLog),\\n/* harmony export */ IdentityFilterSensitiveLog: () => (/* binding */ IdentityFilterSensitiveLog),\\n/* harmony export */ InvocationType: () => (/* binding */ InvocationType),\\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 */ ListTagsForResourceResponseFilterSensitiveLog: () => (/* binding */ ListTagsForResourceResponseFilterSensitiveLog),\\n/* harmony export */ MessageAttributeValueFilterSensitiveLog: () => (/* binding */ MessageAttributeValueFilterSensitiveLog),\\n/* harmony export */ MessagingDataType: () => (/* binding */ MessagingDataType),\\n/* harmony export */ NotFoundException: () => (/* binding */ NotFoundException),\\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 */ ResourceLimitExceededException: () => (/* binding */ ResourceLimitExceededException),\\n/* harmony export */ SearchChannelsRequestFilterSensitiveLog: () => (/* binding */ SearchChannelsRequestFilterSensitiveLog),\\n/* harmony export */ SearchChannelsResponseFilterSensitiveLog: () => (/* binding */ SearchChannelsResponseFilterSensitiveLog),\\n/* harmony export */ SearchFieldKey: () => (/* binding */ SearchFieldKey),\\n/* harmony export */ SearchFieldOperator: () => (/* binding */ SearchFieldOperator),\\n/* harmony export */ SendChannelMessageRequestFilterSensitiveLog: () => (/* binding */ SendChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ ServiceFailureException: () => (/* binding */ ServiceFailureException),\\n/* harmony export */ ServiceUnavailableException: () => (/* binding */ ServiceUnavailableException),\\n/* harmony export */ SortOrder: () => (/* binding */ SortOrder),\\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 */ UpdateChannelMessageRequestFilterSensitiveLog: () => (/* binding */ UpdateChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelRequestFilterSensitiveLog: () => (/* binding */ UpdateChannelRequestFilterSensitiveLog)\\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\\nconst AllowNotifications = {\\n ALL: \\\"ALL\\\",\\n FILTERED: \\\"FILTERED\\\",\\n NONE: \\\"NONE\\\",\\n};\\nconst ChannelMembershipType = {\\n DEFAULT: \\\"DEFAULT\\\",\\n HIDDEN: \\\"HIDDEN\\\",\\n};\\nconst ErrorCode = {\\n AccessDenied: \\\"AccessDenied\\\",\\n BadRequest: \\\"BadRequest\\\",\\n Conflict: \\\"Conflict\\\",\\n Forbidden: \\\"Forbidden\\\",\\n NotFound: \\\"NotFound\\\",\\n PhoneNumberAssociationsExist: \\\"PhoneNumberAssociationsExist\\\",\\n PreconditionFailed: \\\"PreconditionFailed\\\",\\n ResourceLimitExceeded: \\\"ResourceLimitExceeded\\\",\\n ServiceFailure: \\\"ServiceFailure\\\",\\n ServiceUnavailable: \\\"ServiceUnavailable\\\",\\n Throttled: \\\"Throttled\\\",\\n Throttling: \\\"Throttling\\\",\\n Unauthorized: \\\"Unauthorized\\\",\\n Unprocessable: \\\"Unprocessable\\\",\\n VoiceConnectorGroupAssociationsExist: \\\"VoiceConnectorGroupAssociationsExist\\\",\\n};\\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}\\nconst ExpirationCriterion = {\\n CREATED_TIMESTAMP: \\\"CREATED_TIMESTAMP\\\",\\n LAST_MESSAGE_TIMESTAMP: \\\"LAST_MESSAGE_TIMESTAMP\\\",\\n};\\nconst ChannelMode = {\\n RESTRICTED: \\\"RESTRICTED\\\",\\n UNRESTRICTED: \\\"UNRESTRICTED\\\",\\n};\\nconst ChannelPrivacy = {\\n PRIVATE: \\\"PRIVATE\\\",\\n PUBLIC: \\\"PUBLIC\\\",\\n};\\nconst InvocationType = {\\n ASYNC: \\\"ASYNC\\\",\\n};\\nconst FallbackAction = {\\n ABORT: \\\"ABORT\\\",\\n CONTINUE: \\\"CONTINUE\\\",\\n};\\nconst PushNotificationType = {\\n DEFAULT: \\\"DEFAULT\\\",\\n VOIP: \\\"VOIP\\\",\\n};\\nconst ChannelMessagePersistenceType = {\\n NON_PERSISTENT: \\\"NON_PERSISTENT\\\",\\n PERSISTENT: \\\"PERSISTENT\\\",\\n};\\nconst ChannelMessageStatus = {\\n DENIED: \\\"DENIED\\\",\\n FAILED: \\\"FAILED\\\",\\n PENDING: \\\"PENDING\\\",\\n SENT: \\\"SENT\\\",\\n};\\nconst ChannelMessageType = {\\n CONTROL: \\\"CONTROL\\\",\\n STANDARD: \\\"STANDARD\\\",\\n};\\nconst MessagingDataType = {\\n Channel: \\\"Channel\\\",\\n ChannelMessage: \\\"ChannelMessage\\\",\\n};\\nconst SortOrder = {\\n ASCENDING: \\\"ASCENDING\\\",\\n DESCENDING: \\\"DESCENDING\\\",\\n};\\nconst SearchFieldKey = {\\n MEMBERS: \\\"MEMBERS\\\",\\n};\\nconst SearchFieldOperator = {\\n EQUALS: \\\"EQUALS\\\",\\n INCLUDES: \\\"INCLUDES\\\",\\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 BatchCreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.BatchChannelMemberships && {\\n BatchChannelMemberships: BatchChannelMembershipsFilterSensitiveLog(obj.BatchChannelMemberships),\\n }),\\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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\n});\\nconst ChannelFlowCallbackRequestFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMessage && { ChannelMessage: ChannelMessageCallbackFilterSensitiveLog(obj.ChannelMessage) }),\\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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 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 CreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\\n});\\nconst CreateChannelModeratorResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelModerator && { ChannelModerator: IdentityFilterSensitiveLog(obj.ChannelModerator) }),\\n});\\nconst DescribeChannelResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Channel && { Channel: ChannelFilterSensitiveLog(obj.Channel) }),\\n});\\nconst DescribeChannelBanResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelBan && { ChannelBan: ChannelBanFilterSensitiveLog(obj.ChannelBan) }),\\n});\\nconst DescribeChannelFlowResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelFlow && { ChannelFlow: ChannelFlowFilterSensitiveLog(obj.ChannelFlow) }),\\n});\\nconst DescribeChannelMembershipResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMembership && { ChannelMembership: ChannelMembershipFilterSensitiveLog(obj.ChannelMembership) }),\\n});\\nconst DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMembership && {\\n ChannelMembership: ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(obj.ChannelMembership),\\n }),\\n});\\nconst DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Channel && { Channel: ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(obj.Channel) }),\\n});\\nconst DescribeChannelModeratorResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelModerator && { ChannelModerator: ChannelModeratorFilterSensitiveLog(obj.ChannelModerator) }),\\n});\\nconst GetChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\\n ...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),\\n});\\nconst GetChannelMessageResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMessage && { ChannelMessage: ChannelMessageFilterSensitiveLog(obj.ChannelMessage) }),\\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 ListSubChannelsResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelBansPaginator.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelBansPaginator.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelBansCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelBansCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelFlowsPaginator.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelFlowsPaginator.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelFlowsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelFlowsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js\":\n/*!**********************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js ***!\n \\**********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMembershipsForAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsForAppInstanceUserCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsPaginator.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsPaginator.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMembershipsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMessagesPaginator.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMessagesPaginator.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMessagesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMessagesCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelModeratorsPaginator.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelModeratorsPaginator.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelModeratorsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelModeratorsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js\":\n/*!*******************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js ***!\n \\*******************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsAssociatedWithChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsAssociatedWithChannelFlowCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js\":\n/*!********************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js ***!\n \\********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsModeratedByAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsModeratedByAppInstanceUserCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsPaginator.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsPaginator.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListSubChannelsPaginator.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListSubChannelsPaginator.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListSubChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.ListSubChannelsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/SearchChannelsPaginator.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/SearchChannelsPaginator.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/SearchChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.SearchChannelsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ de_AssociateChannelFlowCommand: () => (/* binding */ de_AssociateChannelFlowCommand),\\n/* harmony export */ de_BatchCreateChannelMembershipCommand: () => (/* binding */ de_BatchCreateChannelMembershipCommand),\\n/* harmony export */ de_ChannelFlowCallbackCommand: () => (/* binding */ de_ChannelFlowCallbackCommand),\\n/* harmony export */ de_CreateChannelBanCommand: () => (/* binding */ de_CreateChannelBanCommand),\\n/* harmony export */ de_CreateChannelCommand: () => (/* binding */ de_CreateChannelCommand),\\n/* harmony export */ de_CreateChannelFlowCommand: () => (/* binding */ de_CreateChannelFlowCommand),\\n/* harmony export */ de_CreateChannelMembershipCommand: () => (/* binding */ de_CreateChannelMembershipCommand),\\n/* harmony export */ de_CreateChannelModeratorCommand: () => (/* binding */ de_CreateChannelModeratorCommand),\\n/* harmony export */ de_DeleteChannelBanCommand: () => (/* binding */ de_DeleteChannelBanCommand),\\n/* harmony export */ de_DeleteChannelCommand: () => (/* binding */ de_DeleteChannelCommand),\\n/* harmony export */ de_DeleteChannelFlowCommand: () => (/* binding */ de_DeleteChannelFlowCommand),\\n/* harmony export */ de_DeleteChannelMembershipCommand: () => (/* binding */ de_DeleteChannelMembershipCommand),\\n/* harmony export */ de_DeleteChannelMessageCommand: () => (/* binding */ de_DeleteChannelMessageCommand),\\n/* harmony export */ de_DeleteChannelModeratorCommand: () => (/* binding */ de_DeleteChannelModeratorCommand),\\n/* harmony export */ de_DeleteMessagingStreamingConfigurationsCommand: () => (/* binding */ de_DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ de_DescribeChannelBanCommand: () => (/* binding */ de_DescribeChannelBanCommand),\\n/* harmony export */ de_DescribeChannelCommand: () => (/* binding */ de_DescribeChannelCommand),\\n/* harmony export */ de_DescribeChannelFlowCommand: () => (/* binding */ de_DescribeChannelFlowCommand),\\n/* harmony export */ de_DescribeChannelMembershipCommand: () => (/* binding */ de_DescribeChannelMembershipCommand),\\n/* harmony export */ de_DescribeChannelMembershipForAppInstanceUserCommand: () => (/* binding */ de_DescribeChannelMembershipForAppInstanceUserCommand),\\n/* harmony export */ de_DescribeChannelModeratedByAppInstanceUserCommand: () => (/* binding */ de_DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ de_DescribeChannelModeratorCommand: () => (/* binding */ de_DescribeChannelModeratorCommand),\\n/* harmony export */ de_DisassociateChannelFlowCommand: () => (/* binding */ de_DisassociateChannelFlowCommand),\\n/* harmony export */ de_GetChannelMembershipPreferencesCommand: () => (/* binding */ de_GetChannelMembershipPreferencesCommand),\\n/* harmony export */ de_GetChannelMessageCommand: () => (/* binding */ de_GetChannelMessageCommand),\\n/* harmony export */ de_GetChannelMessageStatusCommand: () => (/* binding */ de_GetChannelMessageStatusCommand),\\n/* harmony export */ de_GetMessagingSessionEndpointCommand: () => (/* binding */ de_GetMessagingSessionEndpointCommand),\\n/* harmony export */ de_GetMessagingStreamingConfigurationsCommand: () => (/* binding */ de_GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ de_ListChannelBansCommand: () => (/* binding */ de_ListChannelBansCommand),\\n/* harmony export */ de_ListChannelFlowsCommand: () => (/* binding */ de_ListChannelFlowsCommand),\\n/* harmony export */ de_ListChannelMembershipsCommand: () => (/* binding */ de_ListChannelMembershipsCommand),\\n/* harmony export */ de_ListChannelMembershipsForAppInstanceUserCommand: () => (/* binding */ de_ListChannelMembershipsForAppInstanceUserCommand),\\n/* harmony export */ de_ListChannelMessagesCommand: () => (/* binding */ de_ListChannelMessagesCommand),\\n/* harmony export */ de_ListChannelModeratorsCommand: () => (/* binding */ de_ListChannelModeratorsCommand),\\n/* harmony export */ de_ListChannelsAssociatedWithChannelFlowCommand: () => (/* binding */ de_ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ de_ListChannelsCommand: () => (/* binding */ de_ListChannelsCommand),\\n/* harmony export */ de_ListChannelsModeratedByAppInstanceUserCommand: () => (/* binding */ de_ListChannelsModeratedByAppInstanceUserCommand),\\n/* harmony export */ de_ListSubChannelsCommand: () => (/* binding */ de_ListSubChannelsCommand),\\n/* harmony export */ de_ListTagsForResourceCommand: () => (/* binding */ de_ListTagsForResourceCommand),\\n/* harmony export */ de_PutChannelExpirationSettingsCommand: () => (/* binding */ de_PutChannelExpirationSettingsCommand),\\n/* harmony export */ de_PutChannelMembershipPreferencesCommand: () => (/* binding */ de_PutChannelMembershipPreferencesCommand),\\n/* harmony export */ de_PutMessagingStreamingConfigurationsCommand: () => (/* binding */ de_PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ de_RedactChannelMessageCommand: () => (/* binding */ de_RedactChannelMessageCommand),\\n/* harmony export */ de_SearchChannelsCommand: () => (/* binding */ de_SearchChannelsCommand),\\n/* harmony export */ de_SendChannelMessageCommand: () => (/* binding */ de_SendChannelMessageCommand),\\n/* harmony export */ de_TagResourceCommand: () => (/* binding */ de_TagResourceCommand),\\n/* harmony export */ de_UntagResourceCommand: () => (/* binding */ de_UntagResourceCommand),\\n/* harmony export */ de_UpdateChannelCommand: () => (/* binding */ de_UpdateChannelCommand),\\n/* harmony export */ de_UpdateChannelFlowCommand: () => (/* binding */ de_UpdateChannelFlowCommand),\\n/* harmony export */ de_UpdateChannelMessageCommand: () => (/* binding */ de_UpdateChannelMessageCommand),\\n/* harmony export */ de_UpdateChannelReadMarkerCommand: () => (/* binding */ de_UpdateChannelReadMarkerCommand),\\n/* harmony export */ se_AssociateChannelFlowCommand: () => (/* binding */ se_AssociateChannelFlowCommand),\\n/* harmony export */ se_BatchCreateChannelMembershipCommand: () => (/* binding */ se_BatchCreateChannelMembershipCommand),\\n/* harmony export */ se_ChannelFlowCallbackCommand: () => (/* binding */ se_ChannelFlowCallbackCommand),\\n/* harmony export */ se_CreateChannelBanCommand: () => (/* binding */ se_CreateChannelBanCommand),\\n/* harmony export */ se_CreateChannelCommand: () => (/* binding */ se_CreateChannelCommand),\\n/* harmony export */ se_CreateChannelFlowCommand: () => (/* binding */ se_CreateChannelFlowCommand),\\n/* harmony export */ se_CreateChannelMembershipCommand: () => (/* binding */ se_CreateChannelMembershipCommand),\\n/* harmony export */ se_CreateChannelModeratorCommand: () => (/* binding */ se_CreateChannelModeratorCommand),\\n/* harmony export */ se_DeleteChannelBanCommand: () => (/* binding */ se_DeleteChannelBanCommand),\\n/* harmony export */ se_DeleteChannelCommand: () => (/* binding */ se_DeleteChannelCommand),\\n/* harmony export */ se_DeleteChannelFlowCommand: () => (/* binding */ se_DeleteChannelFlowCommand),\\n/* harmony export */ se_DeleteChannelMembershipCommand: () => (/* binding */ se_DeleteChannelMembershipCommand),\\n/* harmony export */ se_DeleteChannelMessageCommand: () => (/* binding */ se_DeleteChannelMessageCommand),\\n/* harmony export */ se_DeleteChannelModeratorCommand: () => (/* binding */ se_DeleteChannelModeratorCommand),\\n/* harmony export */ se_DeleteMessagingStreamingConfigurationsCommand: () => (/* binding */ se_DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ se_DescribeChannelBanCommand: () => (/* binding */ se_DescribeChannelBanCommand),\\n/* harmony export */ se_DescribeChannelCommand: () => (/* binding */ se_DescribeChannelCommand),\\n/* harmony export */ se_DescribeChannelFlowCommand: () => (/* binding */ se_DescribeChannelFlowCommand),\\n/* harmony export */ se_DescribeChannelMembershipCommand: () => (/* binding */ se_DescribeChannelMembershipCommand),\\n/* harmony export */ se_DescribeChannelMembershipForAppInstanceUserCommand: () => (/* binding */ se_DescribeChannelMembershipForAppInstanceUserCommand),\\n/* harmony export */ se_DescribeChannelModeratedByAppInstanceUserCommand: () => (/* binding */ se_DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ se_DescribeChannelModeratorCommand: () => (/* binding */ se_DescribeChannelModeratorCommand),\\n/* harmony export */ se_DisassociateChannelFlowCommand: () => (/* binding */ se_DisassociateChannelFlowCommand),\\n/* harmony export */ se_GetChannelMembershipPreferencesCommand: () => (/* binding */ se_GetChannelMembershipPreferencesCommand),\\n/* harmony export */ se_GetChannelMessageCommand: () => (/* binding */ se_GetChannelMessageCommand),\\n/* harmony export */ se_GetChannelMessageStatusCommand: () => (/* binding */ se_GetChannelMessageStatusCommand),\\n/* harmony export */ se_GetMessagingSessionEndpointCommand: () => (/* binding */ se_GetMessagingSessionEndpointCommand),\\n/* harmony export */ se_GetMessagingStreamingConfigurationsCommand: () => (/* binding */ se_GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ se_ListChannelBansCommand: () => (/* binding */ se_ListChannelBansCommand),\\n/* harmony export */ se_ListChannelFlowsCommand: () => (/* binding */ se_ListChannelFlowsCommand),\\n/* harmony export */ se_ListChannelMembershipsCommand: () => (/* binding */ se_ListChannelMembershipsCommand),\\n/* harmony export */ se_ListChannelMembershipsForAppInstanceUserCommand: () => (/* binding */ se_ListChannelMembershipsForAppInstanceUserCommand),\\n/* harmony export */ se_ListChannelMessagesCommand: () => (/* binding */ se_ListChannelMessagesCommand),\\n/* harmony export */ se_ListChannelModeratorsCommand: () => (/* binding */ se_ListChannelModeratorsCommand),\\n/* harmony export */ se_ListChannelsAssociatedWithChannelFlowCommand: () => (/* binding */ se_ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ se_ListChannelsCommand: () => (/* binding */ se_ListChannelsCommand),\\n/* harmony export */ se_ListChannelsModeratedByAppInstanceUserCommand: () => (/* binding */ se_ListChannelsModeratedByAppInstanceUserCommand),\\n/* harmony export */ se_ListSubChannelsCommand: () => (/* binding */ se_ListSubChannelsCommand),\\n/* harmony export */ se_ListTagsForResourceCommand: () => (/* binding */ se_ListTagsForResourceCommand),\\n/* harmony export */ se_PutChannelExpirationSettingsCommand: () => (/* binding */ se_PutChannelExpirationSettingsCommand),\\n/* harmony export */ se_PutChannelMembershipPreferencesCommand: () => (/* binding */ se_PutChannelMembershipPreferencesCommand),\\n/* harmony export */ se_PutMessagingStreamingConfigurationsCommand: () => (/* binding */ se_PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ se_RedactChannelMessageCommand: () => (/* binding */ se_RedactChannelMessageCommand),\\n/* harmony export */ se_SearchChannelsCommand: () => (/* binding */ se_SearchChannelsCommand),\\n/* harmony export */ se_SendChannelMessageCommand: () => (/* binding */ se_SendChannelMessageCommand),\\n/* harmony export */ se_TagResourceCommand: () => (/* binding */ se_TagResourceCommand),\\n/* harmony export */ se_UntagResourceCommand: () => (/* binding */ se_UntagResourceCommand),\\n/* harmony export */ se_UpdateChannelCommand: () => (/* binding */ se_UpdateChannelCommand),\\n/* harmony export */ se_UpdateChannelFlowCommand: () => (/* binding */ se_UpdateChannelFlowCommand),\\n/* harmony export */ se_UpdateChannelMessageCommand: () => (/* binding */ se_UpdateChannelMessageCommand),\\n/* harmony export */ se_UpdateChannelReadMarkerCommand: () => (/* binding */ se_UpdateChannelReadMarkerCommand)\\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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @smithy/protocol-http */ \\\"./node_modules/@smithy/protocol-http/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 se_AssociateChannelFlowCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ChannelFlowArn: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_BatchCreateChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"batch-create\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n MemberArns: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n SubChannelId: [],\\n Type: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ChannelFlowCallbackCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"channel-flow-callback\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n CallbackId: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n ChannelMessage: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n DeleteResource: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_CreateChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n AppInstanceArn: [],\\n ChannelId: [],\\n ClientRequestToken: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n ElasticChannelConfiguration: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n ExpirationSettings: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n MemberArns: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Metadata: [],\\n Mode: [],\\n ModeratorArns: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Name: [],\\n Privacy: [],\\n Tags: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelBanCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n MemberArn: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelFlowCommand = 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((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n AppInstanceArn: [],\\n ClientRequestToken: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n Name: [],\\n Processors: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Tags: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n MemberArn: [],\\n SubChannelId: [],\\n Type: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelModeratorCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ChannelModeratorArn: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelBanCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelFlowCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DeleteChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DeleteChannelModeratorCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelModeratorArn\\\", () => input.ChannelModeratorArn, \\\"{ChannelModeratorArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteMessagingStreamingConfigurationsCommand = 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 || \\\"\\\"}` +\\n \\\"/app-instances/{AppInstanceArn}/streaming-configurations\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"AppInstanceArn\\\", () => input.AppInstanceArn, \\\"{AppInstanceArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelBanCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelFlowCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DescribeChannelMembershipForAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"app-instance-user-membership\\\"],\\n \\\"app-instance-user-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DescribeChannelModeratedByAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"app-instance-user-moderated-channel\\\"],\\n \\\"app-instance-user-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DescribeChannelModeratorCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelModeratorArn\\\", () => input.ChannelModeratorArn, \\\"{ChannelModeratorArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DisassociateChannelFlowCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_GetChannelMembershipPreferencesCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_GetChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_GetChannelMessageStatusCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"message-status\\\"],\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_GetMessagingSessionEndpointCommand = 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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_GetMessagingStreamingConfigurationsCommand = 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 || \\\"\\\"}` +\\n \\\"/app-instances/{AppInstanceArn}/streaming-configurations\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"AppInstanceArn\\\", () => input.AppInstanceArn, \\\"{AppInstanceArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_ListChannelBansCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"max-results\\\": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\\n \\\"next-token\\\": [, input.NextToken],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelFlowsCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"app-instance-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelMembershipsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelMembershipsForAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\n \\\"x-amz-chime-bearer\\\": input.ChimeBearer,\\n });\\n const resolvedPath = `${basePath?.endsWith(\\\"/\\\") ? basePath.slice(0, -1) : basePath || \\\"\\\"}` + \\\"/channels\\\";\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelMessagesCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelModeratorsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"max-results\\\": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\\n \\\"next-token\\\": [, input.NextToken],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\n \\\"x-amz-chime-bearer\\\": input.ChimeBearer,\\n });\\n const resolvedPath = `${basePath?.endsWith(\\\"/\\\") ? basePath.slice(0, -1) : basePath || \\\"\\\"}` + \\\"/channels\\\";\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"app-instance-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelsAssociatedWithChannelFlowCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"channel-flow-associations\\\"],\\n \\\"channel-flow-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelsModeratedByAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\n \\\"x-amz-chime-bearer\\\": input.ChimeBearer,\\n });\\n const resolvedPath = `${basePath?.endsWith(\\\"/\\\") ? basePath.slice(0, -1) : basePath || \\\"\\\"}` + \\\"/channels\\\";\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListSubChannelsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"max-results\\\": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\\n \\\"next-token\\\": [, input.NextToken],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListTagsForResourceCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n arn: [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)(input.ResourceARN, `ResourceARN`)],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_PutChannelExpirationSettingsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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}/expiration-settings\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ExpirationSettings: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_PutChannelMembershipPreferencesCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Preferences: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_PutMessagingStreamingConfigurationsCommand = 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 || \\\"\\\"}` +\\n \\\"/app-instances/{AppInstanceArn}/streaming-configurations\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"AppInstanceArn\\\", () => input.AppInstanceArn, \\\"{AppInstanceArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n StreamingConfigurations: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_RedactChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"redact\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n SubChannelId: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_SearchChannelsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Fields: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_SendChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ClientRequestToken: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n Content: [],\\n ContentType: [],\\n MessageAttributes: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Metadata: [],\\n Persistence: [],\\n PushNotification: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n SubChannelId: [],\\n Type: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_TagResourceCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"tag-resource\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ResourceARN: [],\\n Tags: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_UntagResourceCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"untag-resource\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ResourceARN: [],\\n TagKeys: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_UpdateChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Metadata: [],\\n Mode: [],\\n Name: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_UpdateChannelFlowCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Name: [],\\n Processors: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_UpdateChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Content: [],\\n ContentType: [],\\n Metadata: [],\\n SubChannelId: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_UpdateChannelReadMarkerCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst de_AssociateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_AssociateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_AssociateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_BatchCreateChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_BatchCreateChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n BatchChannelMemberships: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Errors: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_BatchCreateChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ChannelFlowCallbackCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ChannelFlowCallbackCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n CallbackId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ChannelFlowCallbackCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelBanCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelBanCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelBanCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelModeratorCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelModeratorCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelModerator: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelModeratorCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelBanCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelBanCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelBanCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelModeratorCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelModeratorCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelModeratorCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteMessagingStreamingConfigurationsCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteMessagingStreamingConfigurationsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteMessagingStreamingConfigurationsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channel: (_) => de_Channel(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelBanCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelBanCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelBan: (_) => de_ChannelBan(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelBanCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlow: (_) => de_ChannelFlow(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMembership: (_) => de_ChannelMembership(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelMembershipForAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelMembershipForAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMembership: (_) => de_ChannelMembershipForAppInstanceUserSummary(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelMembershipForAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelModeratedByAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelModeratedByAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channel: (_) => de_ChannelModeratedByAppInstanceUserSummary(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelModeratedByAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelModeratorCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelModeratorCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelModerator: (_) => de_ChannelModerator(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelModeratorCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DisassociateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DisassociateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DisassociateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetChannelMembershipPreferencesCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetChannelMembershipPreferencesCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Preferences: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetChannelMembershipPreferencesCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMessage: (_) => de_ChannelMessage(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetChannelMessageStatusCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetChannelMessageStatusCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetChannelMessageStatusCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetMessagingSessionEndpointCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetMessagingSessionEndpointCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Endpoint: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetMessagingSessionEndpointCommandError = 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 de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetMessagingStreamingConfigurationsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetMessagingStreamingConfigurationsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n StreamingConfigurations: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetMessagingStreamingConfigurationsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelBansCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelBansCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelBans: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelBansCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelFlowsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelFlowsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlows: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelFlowsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelMembershipsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelMembershipsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelMemberships: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelMembershipsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelMembershipsForAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelMembershipsForAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMemberships: (_) => de_ChannelMembershipForAppInstanceUserSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelMembershipsForAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelMessagesCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelMessagesCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelMessages: (_) => de_ChannelMessageSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelMessagesCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelModeratorsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelModeratorsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelModerators: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelModeratorsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: (_) => de_ChannelSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelsAssociatedWithChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelsAssociatedWithChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelsAssociatedWithChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelsModeratedByAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelsModeratedByAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: (_) => de_ChannelModeratedByAppInstanceUserSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelsModeratedByAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListSubChannelsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListSubChannelsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n SubChannels: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListSubChannelsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListTagsForResourceCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListTagsForResourceCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Tags: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListTagsForResourceCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_PutChannelExpirationSettingsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_PutChannelExpirationSettingsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ExpirationSettings: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_PutChannelExpirationSettingsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_PutChannelMembershipPreferencesCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_PutChannelMembershipPreferencesCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Preferences: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_PutChannelMembershipPreferencesCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_PutMessagingStreamingConfigurationsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_PutMessagingStreamingConfigurationsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n StreamingConfigurations: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_PutMessagingStreamingConfigurationsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_RedactChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_RedactChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_RedactChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_SearchChannelsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_SearchChannelsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: (_) => de_ChannelSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_SearchChannelsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_SendChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_SendChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_SendChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_TagResourceCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_TagResourceCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_TagResourceCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UntagResourceCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_UntagResourceCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_UntagResourceCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelReadMarkerCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelReadMarkerCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelReadMarkerCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst throwDefaultError = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.withBaseException)(_models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException);\\nconst de_BadRequestExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ConflictExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ForbiddenExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_NotFoundExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ServiceFailureExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ThrottledClientExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_AppInstanceUserMembershipSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ReadMarkerTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_Channel = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n ElasticChannelConfiguration: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n ExpirationSettings: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n LastMessageTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Mode: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Privacy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelBan = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n};\\nconst de_ChannelFlow = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Processors: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n};\\nconst de_ChannelMembership = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n InvitedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelMembershipForAppInstanceUserSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n AppInstanceUserMembershipSummary: (_) => de_AppInstanceUserMembershipSummary(_, context),\\n ChannelSummary: (_) => de_ChannelSummary(_, context),\\n });\\n};\\nconst de_ChannelMembershipForAppInstanceUserSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelMembershipForAppInstanceUserSummary(entry, context);\\n });\\n return retVal;\\n};\\nconst de_ChannelMessage = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastEditedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n MessageAttributes: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Persistence: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Redacted: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectBoolean,\\n Sender: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelMessageSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastEditedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n MessageAttributes: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Redacted: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectBoolean,\\n Sender: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelMessageSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelMessageSummary(entry, context);\\n });\\n return retVal;\\n};\\nconst de_ChannelModeratedByAppInstanceUserSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelSummary: (_) => de_ChannelSummary(_, context),\\n });\\n};\\nconst de_ChannelModeratedByAppInstanceUserSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelModeratedByAppInstanceUserSummary(entry, context);\\n });\\n return retVal;\\n};\\nconst de_ChannelModerator = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Moderator: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n};\\nconst de_ChannelSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n LastMessageTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Mode: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Privacy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelSummary(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.browser.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.browser.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.shared.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.shared.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/index.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/index.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/config.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/config.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/index.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/index.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/PartitionHash.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/PartitionHash.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/RegionHash.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/RegionHash.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getRegionInfo.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getRegionInfo.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedHostname.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedHostname.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedPartition.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedPartition.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/index.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/index.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ EventStreamCodec: () => (/* binding */ EventStreamCodec)\\n/* harmony export */ });\\n/* harmony import */ var _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-crypto/crc32 */ \\\"./node_modules/@aws-crypto/crc32/build/index.js\\\");\\n/* harmony import */ var _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./HeaderMarshaller */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js\\\");\\n/* harmony import */ var _splitMessage__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./splitMessage */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js\\\");\\n\\n\\n\\nclass EventStreamCodec {\\n constructor(toUtf8, fromUtf8) {\\n this.headerMarshaller = new _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__.HeaderMarshaller(toUtf8, fromUtf8);\\n this.messageBuffer = [];\\n this.isEndOfStream = false;\\n }\\n feed(message) {\\n this.messageBuffer.push(this.decode(message));\\n }\\n endOfStream() {\\n this.isEndOfStream = true;\\n }\\n getMessage() {\\n const message = this.messageBuffer.pop();\\n const isEndOfStream = this.isEndOfStream;\\n return {\\n getMessage() {\\n return message;\\n },\\n isEndOfStream() {\\n return isEndOfStream;\\n },\\n };\\n }\\n getAvailableMessages() {\\n const messages = this.messageBuffer;\\n this.messageBuffer = [];\\n const isEndOfStream = this.isEndOfStream;\\n return {\\n getMessages() {\\n return messages;\\n },\\n isEndOfStream() {\\n return isEndOfStream;\\n },\\n };\\n }\\n encode({ headers: rawHeaders, body }) {\\n const headers = this.headerMarshaller.format(rawHeaders);\\n const length = headers.byteLength + body.byteLength + 16;\\n const out = new Uint8Array(length);\\n const view = new DataView(out.buffer, out.byteOffset, out.byteLength);\\n const checksum = new _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__.Crc32();\\n view.setUint32(0, length, false);\\n view.setUint32(4, headers.byteLength, false);\\n view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);\\n out.set(headers, 12);\\n out.set(body, headers.byteLength + 12);\\n view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);\\n return out;\\n }\\n decode(message) {\\n const { headers, body } = (0,_splitMessage__WEBPACK_IMPORTED_MODULE_2__.splitMessage)(message);\\n return { headers: this.headerMarshaller.parse(headers), body };\\n }\\n formatHeaders(rawHeaders) {\\n return this.headerMarshaller.format(rawHeaders);\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ HeaderMarshaller: () => (/* binding */ HeaderMarshaller)\\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 _Int64__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Int64 */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js\\\");\\n\\n\\nclass HeaderMarshaller {\\n constructor(toUtf8, fromUtf8) {\\n this.toUtf8 = toUtf8;\\n this.fromUtf8 = fromUtf8;\\n }\\n format(headers) {\\n const chunks = [];\\n for (const headerName of Object.keys(headers)) {\\n const bytes = this.fromUtf8(headerName);\\n chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));\\n }\\n const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));\\n let position = 0;\\n for (const chunk of chunks) {\\n out.set(chunk, position);\\n position += chunk.byteLength;\\n }\\n return out;\\n }\\n formatHeaderValue(header) {\\n switch (header.type) {\\n case \\\"boolean\\\":\\n return Uint8Array.from([header.value ? 0 : 1]);\\n case \\\"byte\\\":\\n return Uint8Array.from([2, header.value]);\\n case \\\"short\\\":\\n const shortView = new DataView(new ArrayBuffer(3));\\n shortView.setUint8(0, 3);\\n shortView.setInt16(1, header.value, false);\\n return new Uint8Array(shortView.buffer);\\n case \\\"integer\\\":\\n const intView = new DataView(new ArrayBuffer(5));\\n intView.setUint8(0, 4);\\n intView.setInt32(1, header.value, false);\\n return new Uint8Array(intView.buffer);\\n case \\\"long\\\":\\n const longBytes = new Uint8Array(9);\\n longBytes[0] = 5;\\n longBytes.set(header.value.bytes, 1);\\n return longBytes;\\n case \\\"binary\\\":\\n const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));\\n binView.setUint8(0, 6);\\n binView.setUint16(1, header.value.byteLength, false);\\n const binBytes = new Uint8Array(binView.buffer);\\n binBytes.set(header.value, 3);\\n return binBytes;\\n case \\\"string\\\":\\n const utf8Bytes = this.fromUtf8(header.value);\\n const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));\\n strView.setUint8(0, 7);\\n strView.setUint16(1, utf8Bytes.byteLength, false);\\n const strBytes = new Uint8Array(strView.buffer);\\n strBytes.set(utf8Bytes, 3);\\n return strBytes;\\n case \\\"timestamp\\\":\\n const tsBytes = new Uint8Array(9);\\n tsBytes[0] = 8;\\n tsBytes.set(_Int64__WEBPACK_IMPORTED_MODULE_1__.Int64.fromNumber(header.value.valueOf()).bytes, 1);\\n return tsBytes;\\n case \\\"uuid\\\":\\n if (!UUID_PATTERN.test(header.value)) {\\n throw new Error(`Invalid UUID received: ${header.value}`);\\n }\\n const uuidBytes = new Uint8Array(17);\\n uuidBytes[0] = 9;\\n uuidBytes.set((0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.fromHex)(header.value.replace(/\\\\-/g, \\\"\\\")), 1);\\n return uuidBytes;\\n }\\n }\\n parse(headers) {\\n const out = {};\\n let position = 0;\\n while (position < headers.byteLength) {\\n const nameLength = headers.getUint8(position++);\\n const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));\\n position += nameLength;\\n switch (headers.getUint8(position++)) {\\n case 0:\\n out[name] = {\\n type: BOOLEAN_TAG,\\n value: true,\\n };\\n break;\\n case 1:\\n out[name] = {\\n type: BOOLEAN_TAG,\\n value: false,\\n };\\n break;\\n case 2:\\n out[name] = {\\n type: BYTE_TAG,\\n value: headers.getInt8(position++),\\n };\\n break;\\n case 3:\\n out[name] = {\\n type: SHORT_TAG,\\n value: headers.getInt16(position, false),\\n };\\n position += 2;\\n break;\\n case 4:\\n out[name] = {\\n type: INT_TAG,\\n value: headers.getInt32(position, false),\\n };\\n position += 4;\\n break;\\n case 5:\\n out[name] = {\\n type: LONG_TAG,\\n value: new _Int64__WEBPACK_IMPORTED_MODULE_1__.Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),\\n };\\n position += 8;\\n break;\\n case 6:\\n const binaryLength = headers.getUint16(position, false);\\n position += 2;\\n out[name] = {\\n type: BINARY_TAG,\\n value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength),\\n };\\n position += binaryLength;\\n break;\\n case 7:\\n const stringLength = headers.getUint16(position, false);\\n position += 2;\\n out[name] = {\\n type: STRING_TAG,\\n value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength)),\\n };\\n position += stringLength;\\n break;\\n case 8:\\n out[name] = {\\n type: TIMESTAMP_TAG,\\n value: new Date(new _Int64__WEBPACK_IMPORTED_MODULE_1__.Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),\\n };\\n position += 8;\\n break;\\n case 9:\\n const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);\\n position += 16;\\n out[name] = {\\n type: UUID_TAG,\\n value: `${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(0, 4))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(4, 6))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(6, 8))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(8, 10))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(10))}`,\\n };\\n break;\\n default:\\n throw new Error(`Unrecognized header type tag`);\\n }\\n }\\n return out;\\n }\\n}\\nvar HEADER_VALUE_TYPE;\\n(function (HEADER_VALUE_TYPE) {\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"boolTrue\\\"] = 0] = \\\"boolTrue\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"boolFalse\\\"] = 1] = \\\"boolFalse\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"byte\\\"] = 2] = \\\"byte\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"short\\\"] = 3] = \\\"short\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"integer\\\"] = 4] = \\\"integer\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"long\\\"] = 5] = \\\"long\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"byteArray\\\"] = 6] = \\\"byteArray\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"string\\\"] = 7] = \\\"string\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"timestamp\\\"] = 8] = \\\"timestamp\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"uuid\\\"] = 9] = \\\"uuid\\\";\\n})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));\\nconst BOOLEAN_TAG = \\\"boolean\\\";\\nconst BYTE_TAG = \\\"byte\\\";\\nconst SHORT_TAG = \\\"short\\\";\\nconst INT_TAG = \\\"integer\\\";\\nconst LONG_TAG = \\\"long\\\";\\nconst BINARY_TAG = \\\"binary\\\";\\nconst STRING_TAG = \\\"string\\\";\\nconst TIMESTAMP_TAG = \\\"timestamp\\\";\\nconst UUID_TAG = \\\"uuid\\\";\\nconst UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Int64: () => (/* binding */ Int64)\\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\\nclass Int64 {\\n constructor(bytes) {\\n this.bytes = bytes;\\n if (bytes.byteLength !== 8) {\\n throw new Error(\\\"Int64 buffers must be exactly 8 bytes\\\");\\n }\\n }\\n static fromNumber(number) {\\n if (number > 9223372036854776000 || number < -9223372036854776000) {\\n throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);\\n }\\n const bytes = new Uint8Array(8);\\n for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {\\n bytes[i] = remaining;\\n }\\n if (number < 0) {\\n negate(bytes);\\n }\\n return new Int64(bytes);\\n }\\n valueOf() {\\n const bytes = this.bytes.slice(0);\\n const negative = bytes[0] & 0b10000000;\\n if (negative) {\\n negate(bytes);\\n }\\n return parseInt((0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(bytes), 16) * (negative ? -1 : 1);\\n }\\n toString() {\\n return String(this.valueOf());\\n }\\n}\\nfunction negate(bytes) {\\n for (let i = 0; i < 8; i++) {\\n bytes[i] ^= 0xff;\\n }\\n for (let i = 7; i > -1; i--) {\\n bytes[i]++;\\n if (bytes[i] !== 0)\\n break;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ MessageDecoderStream: () => (/* binding */ MessageDecoderStream)\\n/* harmony export */ });\\nclass MessageDecoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const bytes of this.options.inputStream) {\\n const decoded = this.options.decoder.decode(bytes);\\n yield decoded;\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ MessageEncoderStream: () => (/* binding */ MessageEncoderStream)\\n/* harmony export */ });\\nclass MessageEncoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const msg of this.options.messageStream) {\\n const encoded = this.options.encoder.encode(msg);\\n yield encoded;\\n }\\n if (this.options.includeEndFrame) {\\n yield new Uint8Array(0);\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ SmithyMessageDecoderStream: () => (/* binding */ SmithyMessageDecoderStream)\\n/* harmony export */ });\\nclass SmithyMessageDecoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const message of this.options.messageStream) {\\n const deserialized = await this.options.deserializer(message);\\n if (deserialized === undefined)\\n continue;\\n yield deserialized;\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ SmithyMessageEncoderStream: () => (/* binding */ SmithyMessageEncoderStream)\\n/* harmony export */ });\\nclass SmithyMessageEncoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const chunk of this.options.inputStream) {\\n const payloadBuf = this.options.serializer(chunk);\\n yield payloadBuf;\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ EventStreamCodec: () => (/* reexport safe */ _EventStreamCodec__WEBPACK_IMPORTED_MODULE_0__.EventStreamCodec),\\n/* harmony export */ HeaderMarshaller: () => (/* reexport safe */ _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__.HeaderMarshaller),\\n/* harmony export */ Int64: () => (/* reexport safe */ _Int64__WEBPACK_IMPORTED_MODULE_2__.Int64),\\n/* harmony export */ MessageDecoderStream: () => (/* reexport safe */ _MessageDecoderStream__WEBPACK_IMPORTED_MODULE_4__.MessageDecoderStream),\\n/* harmony export */ MessageEncoderStream: () => (/* reexport safe */ _MessageEncoderStream__WEBPACK_IMPORTED_MODULE_5__.MessageEncoderStream),\\n/* harmony export */ SmithyMessageDecoderStream: () => (/* reexport safe */ _SmithyMessageDecoderStream__WEBPACK_IMPORTED_MODULE_6__.SmithyMessageDecoderStream),\\n/* harmony export */ SmithyMessageEncoderStream: () => (/* reexport safe */ _SmithyMessageEncoderStream__WEBPACK_IMPORTED_MODULE_7__.SmithyMessageEncoderStream)\\n/* harmony export */ });\\n/* harmony import */ var _EventStreamCodec__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EventStreamCodec */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js\\\");\\n/* harmony import */ var _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./HeaderMarshaller */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js\\\");\\n/* harmony import */ var _Int64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Int64 */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js\\\");\\n/* harmony import */ var _Message__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Message */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js\\\");\\n/* harmony import */ var _MessageDecoderStream__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./MessageDecoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js\\\");\\n/* harmony import */ var _MessageEncoderStream__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MessageEncoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js\\\");\\n/* harmony import */ var _SmithyMessageDecoderStream__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SmithyMessageDecoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js\\\");\\n/* harmony import */ var _SmithyMessageEncoderStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SmithyMessageEncoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ splitMessage: () => (/* binding */ splitMessage)\\n/* harmony export */ });\\n/* harmony import */ var _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-crypto/crc32 */ \\\"./node_modules/@aws-crypto/crc32/build/index.js\\\");\\n\\nconst PRELUDE_MEMBER_LENGTH = 4;\\nconst PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;\\nconst CHECKSUM_LENGTH = 4;\\nconst MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;\\nfunction splitMessage({ byteLength, byteOffset, buffer }) {\\n if (byteLength < MINIMUM_MESSAGE_LENGTH) {\\n throw new Error(\\\"Provided message too short to accommodate event stream message overhead\\\");\\n }\\n const view = new DataView(buffer, byteOffset, byteLength);\\n const messageLength = view.getUint32(0, false);\\n if (byteLength !== messageLength) {\\n throw new Error(\\\"Reported message length does not match received message length\\\");\\n }\\n const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);\\n const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);\\n const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);\\n const checksummer = new _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));\\n if (expectedPreludeChecksum !== checksummer.digest()) {\\n throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);\\n }\\n checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));\\n if (expectedMessageChecksum !== checksummer.digest()) {\\n throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);\\n }\\n return {\\n headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),\\n body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)),\\n };\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 const queryString = (0,_aws_sdk_querystring_builder__WEBPACK_IMPORTED_MODULE_1__.buildQueryString)(request.query || {});\\n if (queryString) {\\n path += `?${queryString}`;\\n }\\n if (request.fragment) {\\n path += `#${request.fragment}`;\\n }\\n let auth = \\\"\\\";\\n if (request.username != null || request.password != null) {\\n const username = request.username ?? \\\"\\\";\\n const password = request.password ?? \\\"\\\";\\n auth = `${username}:${password}@`;\\n }\\n const { port, method } = request;\\n const url = `${request.protocol}//${auth}${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 reason: response.statusText,\\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 reason: response.statusText,\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/invalid-dependency/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/invalid-dependency/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidFunction.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidFunction.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/index.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/index.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/index.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/index.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/types.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/types.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 let host = request.hostname;\\n if (request.port != null)\\n host += `:${request.port}`;\\n request.headers[\\\"host\\\"] = host;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-logger/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-logger/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 try {\\n const response = await next(args);\\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\\n const { $metadata, ...outputWithoutMetadata } = response.output;\\n logger?.info?.({\\n clientName,\\n commandName,\\n input: inputFilterSensitiveLog(args.input),\\n output: outputFilterSensitiveLog(outputWithoutMetadata),\\n metadata: $metadata,\\n });\\n return response;\\n }\\n catch (error) {\\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\\n logger?.error?.({\\n clientName,\\n commandName,\\n input: inputFilterSensitiveLog(args.input),\\n error,\\n metadata: error.$metadata,\\n });\\n throw error;\\n }\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 = getRetryErrorInfo(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 getRetryErrorInfo = (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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/util.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/util.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 if (!('$metadata' in error)) {\\n const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;\\n error.message += \\\"\\\\n \\\" + hint;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/awsAuthConfiguration.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/awsAuthMiddleware.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ awsAuthMiddleware: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.awsAuthMiddleware),\\n/* harmony export */ awsAuthMiddlewareOptions: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.awsAuthMiddlewareOptions),\\n/* harmony export */ getAwsAuthPlugin: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.getAwsAuthPlugin),\\n/* harmony export */ getSigV4AuthPlugin: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.getSigV4AuthPlugin),\\n/* harmony export */ resolveAwsAuthConfig: () => (/* reexport safe */ _awsAuthConfiguration__WEBPACK_IMPORTED_MODULE_0__.resolveAwsAuthConfig),\\n/* harmony export */ resolveSigV4AuthConfig: () => (/* reexport safe */ _awsAuthConfiguration__WEBPACK_IMPORTED_MODULE_0__.resolveSigV4AuthConfig)\\n/* harmony export */ });\\n/* harmony import */ var _awsAuthConfiguration__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./awsAuthConfiguration */ \\\"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js\\\");\\n/* harmony import */ var _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./awsAuthMiddleware */ \\\"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js\\\");\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-stack/dist-es/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-stack/dist-es/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ SPACE: () => (/* binding */ SPACE),\\n/* harmony export */ UA_ESCAPE_CHAR: () => (/* binding */ UA_ESCAPE_CHAR),\\n/* harmony export */ UA_NAME_ESCAPE_REGEX: () => (/* binding */ UA_NAME_ESCAPE_REGEX),\\n/* harmony export */ UA_NAME_SEPARATOR: () => (/* binding */ UA_NAME_SEPARATOR),\\n/* harmony export */ UA_VALUE_ESCAPE_REGEX: () => (/* binding */ UA_VALUE_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_NAME_SEPARATOR = \\\"/\\\";\\nconst UA_NAME_ESCAPE_REGEX = /[^\\\\!\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\.\\\\^\\\\_\\\\`\\\\|\\\\~\\\\d\\\\w]/g;\\nconst UA_VALUE_ESCAPE_REGEX = /[^\\\\!\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\.\\\\^\\\\_\\\\`\\\\|\\\\~\\\\d\\\\w\\\\#]/g;\\nconst UA_ESCAPE_CHAR = \\\"-\\\";\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _aws_sdk_util_endpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/util-endpoints */ \\\"./node_modules/@aws-sdk/util-endpoints/dist-es/index.js\\\");\\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \\\"./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js\\\");\\n\\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 prefix = (0,_aws_sdk_util_endpoints__WEBPACK_IMPORTED_MODULE_1__.getUserAgentPrefix)();\\n const sdkUserAgentValue = (prefix ? [prefix] : [])\\n .concat([...defaultUserAgent, ...userAgent, ...customUserAgent])\\n .join(_constants__WEBPACK_IMPORTED_MODULE_2__.SPACE);\\n const normalUAValue = [\\n ...defaultUserAgent.filter((section) => section.startsWith(\\\"aws-sdk-\\\")),\\n ...customUserAgent,\\n ].join(_constants__WEBPACK_IMPORTED_MODULE_2__.SPACE);\\n if (options.runtime !== \\\"browser\\\") {\\n if (normalUAValue) {\\n headers[_constants__WEBPACK_IMPORTED_MODULE_2__.X_AMZ_USER_AGENT] = headers[_constants__WEBPACK_IMPORTED_MODULE_2__.X_AMZ_USER_AGENT]\\n ? `${headers[_constants__WEBPACK_IMPORTED_MODULE_2__.USER_AGENT]} ${normalUAValue}`\\n : normalUAValue;\\n }\\n headers[_constants__WEBPACK_IMPORTED_MODULE_2__.USER_AGENT] = sdkUserAgentValue;\\n }\\n else {\\n headers[_constants__WEBPACK_IMPORTED_MODULE_2__.X_AMZ_USER_AGENT] = sdkUserAgentValue;\\n }\\n return next({\\n ...args,\\n request,\\n });\\n};\\nconst escapeUserAgent = (userAgentPair) => {\\n const name = userAgentPair[0]\\n .split(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_SEPARATOR)\\n .map((part) => part.replace(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_ESCAPE_REGEX, _constants__WEBPACK_IMPORTED_MODULE_2__.UA_ESCAPE_CHAR))\\n .join(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_SEPARATOR);\\n const version = userAgentPair[1]?.replace(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_VALUE_ESCAPE_REGEX, _constants__WEBPACK_IMPORTED_MODULE_2__.UA_ESCAPE_CHAR);\\n const prefixSeparatorIndex = name.indexOf(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_SEPARATOR);\\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 .reduce((acc, item, index) => {\\n switch (index) {\\n case 0:\\n return item;\\n case 1:\\n return `${acc}/${item}`;\\n default:\\n return `${acc}#${item}`;\\n }\\n }, \\\"\\\");\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/chain.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/chain.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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\\nconst chain = (...providers) => async () => {\\n if (providers.length === 0) {\\n throw new _ProviderError__WEBPACK_IMPORTED_MODULE_0__.ProviderError(\\\"No providers in chain\\\");\\n }\\n let lastProviderError;\\n for (const provider of providers) {\\n try {\\n const credentials = await provider();\\n return credentials;\\n }\\n catch (err) {\\n lastProviderError = err;\\n if (err?.tryNextLink) {\\n continue;\\n }\\n throw err;\\n }\\n }\\n throw lastProviderError;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/chain.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/fromStatic.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/fromStatic.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/memoize.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/memoize.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/Field.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/Field.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.map((v) => (v.includes(\\\",\\\") || v.includes(\\\" \\\") ? `\\\"${v}\\\"` : v)).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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/Fields.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/Fields.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.toLowerCase()] = field;\\n }\\n getField(name) {\\n return this.entries[name.toLowerCase()];\\n }\\n removeField(name) {\\n delete this.entries[name.toLowerCase()];\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/httpHandler.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/httpHandler.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 this.username = options.username;\\n this.password = options.password;\\n this.fragment = options.fragment;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.reason = options.reason;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/index.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/index.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/isValidHostname.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/isValidHostname.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/querystring-builder/dist-es/index.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/querystring-builder/dist-es/index.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/querystring-parser/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/querystring-parser/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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\\\", \\\"ECONNREFUSED\\\", \\\"EPIPE\\\", \\\"ETIMEDOUT\\\"];\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/service-error-classification/dist-es/index.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/service-error-classification/dist-es/index.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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_eventstream_codec__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/eventstream-codec */ \\\"./node_modules/@aws-sdk/eventstream-codec/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_middleware__WEBPACK_IMPORTED_MODULE_2__ = __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_3__ = __webpack_require__(/*! @aws-sdk/util-utf8 */ \\\"./node_modules/@aws-sdk/util-utf8/dist-es/index.js\\\");\\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/constants.js\\\");\\n/* harmony import */ var _credentialDerivation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./credentialDerivation */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js\\\");\\n/* harmony import */ var _getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getCanonicalHeaders */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js\\\");\\n/* harmony import */ var _getCanonicalQuery__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getCanonicalQuery */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js\\\");\\n/* harmony import */ var _getPayloadHash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getPayloadHash */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js\\\");\\n/* harmony import */ var _headerUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./headerUtil */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js\\\");\\n/* harmony import */ var _moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./moveHeadersToQuery */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js\\\");\\n/* harmony import */ var _prepareRequest__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./prepareRequest */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js\\\");\\n/* harmony import */ var _utilDate__WEBPACK_IMPORTED_MODULE_12__ = __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\\n\\nclass SignatureV4 {\\n constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {\\n this.headerMarshaller = new _aws_sdk_eventstream_codec__WEBPACK_IMPORTED_MODULE_0__.HeaderMarshaller(_aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_3__.toUtf8, _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_3__.fromUtf8);\\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_2__.normalizeProvider)(region);\\n this.credentialProvider = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.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_4__.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_5__.createScope)(shortDate, region, signingService ?? this.service);\\n const request = (0,_moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_10__.moveHeadersToQuery)((0,_prepareRequest__WEBPACK_IMPORTED_MODULE_11__.prepareRequest)(originalRequest), { unhoistableHeaders });\\n if (credentials.sessionToken) {\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.TOKEN_QUERY_PARAM] = credentials.sessionToken;\\n }\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.ALGORITHM_QUERY_PARAM] = _constants__WEBPACK_IMPORTED_MODULE_4__.ALGORITHM_IDENTIFIER;\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`;\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.AMZ_DATE_QUERY_PARAM] = longDate;\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.EXPIRES_QUERY_PARAM] = expiresIn.toString(10);\\n const canonicalHeaders = (0,_getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_6__.getCanonicalHeaders)(request, unsignableHeaders, signableHeaders);\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.SIGNED_HEADERS_QUERY_PARAM] = getCanonicalHeaderList(canonicalHeaders);\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_8__.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 if (toSign.message) {\\n return this.signMessage(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_5__.createScope)(shortDate, region, signingService ?? this.service);\\n const hashedPayload = await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_8__.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_1__.toHex)(await hash.digest());\\n const stringToSign = [\\n _constants__WEBPACK_IMPORTED_MODULE_4__.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 signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) {\\n const promise = this.signEvent({\\n headers: this.headerMarshaller.format(signableMessage.message.headers),\\n payload: signableMessage.message.body,\\n }, {\\n signingDate,\\n signingRegion,\\n signingService,\\n priorSignature: signableMessage.priorSignature,\\n });\\n return promise.then((signature) => {\\n return { message: signableMessage.message, signature };\\n });\\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_3__.toUint8Array)(stringToSign));\\n return (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__.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_11__.prepareRequest)(requestToSign);\\n const { longDate, shortDate } = formatDate(signingDate);\\n const scope = (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_5__.createScope)(shortDate, region, signingService ?? this.service);\\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_4__.AMZ_DATE_HEADER] = longDate;\\n if (credentials.sessionToken) {\\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_4__.TOKEN_HEADER] = credentials.sessionToken;\\n }\\n const payloadHash = await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_8__.getPayloadHash)(request, this.sha256);\\n if (!(0,_headerUtil__WEBPACK_IMPORTED_MODULE_9__.hasHeader)(_constants__WEBPACK_IMPORTED_MODULE_4__.SHA256_HEADER, request.headers) && this.applyChecksum) {\\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_4__.SHA256_HEADER] = payloadHash;\\n }\\n const canonicalHeaders = (0,_getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_6__.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_4__.AUTH_HEADER] =\\n `${_constants__WEBPACK_IMPORTED_MODULE_4__.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_7__.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_3__.toUint8Array)(canonicalRequest));\\n const hashedRequest = await hash.digest();\\n return `${_constants__WEBPACK_IMPORTED_MODULE_4__.ALGORITHM_IDENTIFIER}\\n${longDate}\\n${credentialScope}\\n${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__.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_3__.toUint8Array)(stringToSign));\\n return (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__.toHex)(await hash.digest());\\n }\\n getSigningKey(credentials, region, shortDate, service) {\\n return (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_5__.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_12__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/constants.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/constants.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/index.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/index.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/client.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/client.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/command.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/command.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/constants.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/constants.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ createAggregatedClient: () => (/* binding */ createAggregatedClient)\\n/* harmony export */ });\\nconst createAggregatedClient = (commands, Client) => {\\n for (const command of Object.keys(commands)) {\\n const CommandCtor = commands[command];\\n const methodImpl = async function (args, optionsOrCb, cb) {\\n const command = new CommandCtor(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(`Expected http options but got ${typeof optionsOrCb}`);\\n this.send(command, optionsOrCb || {}, cb);\\n }\\n else {\\n return this.send(command, optionsOrCb);\\n }\\n };\\n const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, \\\"\\\");\\n Client.prototype[methodName] = methodImpl;\\n }\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ throwDefaultError: () => (/* binding */ throwDefaultError),\\n/* harmony export */ withBaseException: () => (/* binding */ withBaseException)\\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 withBaseException = (ExceptionCtor) => {\\n return ({ output, parsedBody, errorCode }) => {\\n throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });\\n };\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/get-array-if-single-item.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/get-array-if-single-item.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/index.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/index.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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_13__.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_9__.ServiceException),\\n/* harmony export */ StringWrapper: () => (/* reexport safe */ _lazy_json__WEBPACK_IMPORTED_MODULE_13__.StringWrapper),\\n/* harmony export */ _json: () => (/* reexport safe */ _serde_json__WEBPACK_IMPORTED_MODULE_18__._json),\\n/* harmony export */ convertMap: () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_14__.convertMap),\\n/* harmony export */ createAggregatedClient: () => (/* reexport safe */ _create_aggregated_client__WEBPACK_IMPORTED_MODULE_4__.createAggregatedClient),\\n/* harmony export */ dateToUtcString: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.dateToUtcString),\\n/* harmony export */ decorateServiceException: () => (/* reexport safe */ _exceptions__WEBPACK_IMPORTED_MODULE_9__.decorateServiceException),\\n/* harmony export */ emitWarningIfUnsupportedVersion: () => (/* reexport safe */ _emitWarningIfUnsupportedVersion__WEBPACK_IMPORTED_MODULE_8__.emitWarningIfUnsupportedVersion),\\n/* harmony export */ expectBoolean: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectBoolean),\\n/* harmony export */ expectByte: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectByte),\\n/* harmony export */ expectFloat32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectFloat32),\\n/* harmony export */ expectInt: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectInt),\\n/* harmony export */ expectInt32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectInt32),\\n/* harmony export */ expectLong: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectLong),\\n/* harmony export */ expectNonNull: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectNonNull),\\n/* harmony export */ expectNumber: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectNumber),\\n/* harmony export */ expectObject: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectObject),\\n/* harmony export */ expectShort: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectShort),\\n/* harmony export */ expectString: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectString),\\n/* harmony export */ expectUnion: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectUnion),\\n/* harmony export */ extendedEncodeURIComponent: () => (/* reexport safe */ _extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_10__.extendedEncodeURIComponent),\\n/* harmony export */ getArrayIfSingleItem: () => (/* reexport safe */ _get_array_if_single_item__WEBPACK_IMPORTED_MODULE_11__.getArrayIfSingleItem),\\n/* harmony export */ getValueFromTextNode: () => (/* reexport safe */ _get_value_from_text_node__WEBPACK_IMPORTED_MODULE_12__.getValueFromTextNode),\\n/* harmony export */ handleFloat: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.handleFloat),\\n/* harmony export */ limitedParseDouble: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.limitedParseDouble),\\n/* harmony export */ limitedParseFloat: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.limitedParseFloat),\\n/* harmony export */ limitedParseFloat32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.limitedParseFloat32),\\n/* harmony export */ loadConfigsForDefaultMode: () => (/* reexport safe */ _defaults_mode__WEBPACK_IMPORTED_MODULE_7__.loadConfigsForDefaultMode),\\n/* harmony export */ logger: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.logger),\\n/* harmony export */ map: () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_14__.map),\\n/* harmony export */ parseBoolean: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.parseBoolean),\\n/* harmony export */ parseEpochTimestamp: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseEpochTimestamp),\\n/* harmony export */ parseRfc3339DateTime: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseRfc3339DateTime),\\n/* harmony export */ parseRfc3339DateTimeWithOffset: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseRfc3339DateTimeWithOffset),\\n/* harmony export */ parseRfc7231DateTime: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseRfc7231DateTime),\\n/* harmony export */ resolvedPath: () => (/* reexport safe */ _resolve_path__WEBPACK_IMPORTED_MODULE_16__.resolvedPath),\\n/* harmony export */ serializeFloat: () => (/* reexport safe */ _ser_utils__WEBPACK_IMPORTED_MODULE_17__.serializeFloat),\\n/* harmony export */ splitEvery: () => (/* reexport safe */ _split_every__WEBPACK_IMPORTED_MODULE_19__.splitEvery),\\n/* harmony export */ strictParseByte: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseByte),\\n/* harmony export */ strictParseDouble: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseDouble),\\n/* harmony export */ strictParseFloat: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseFloat),\\n/* harmony export */ strictParseFloat32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseFloat32),\\n/* harmony export */ strictParseInt: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseInt),\\n/* harmony export */ strictParseInt32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseInt32),\\n/* harmony export */ strictParseLong: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseLong),\\n/* harmony export */ strictParseShort: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseShort),\\n/* harmony export */ take: () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_14__.take),\\n/* harmony export */ throwDefaultError: () => (/* reexport safe */ _default_error_handler__WEBPACK_IMPORTED_MODULE_6__.throwDefaultError),\\n/* harmony export */ withBaseException: () => (/* reexport safe */ _default_error_handler__WEBPACK_IMPORTED_MODULE_6__.withBaseException)\\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 _create_aggregated_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./create-aggregated-client */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js\\\");\\n/* harmony import */ var _date_utils__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __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_7__ = __webpack_require__(/*! ./defaults-mode */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js\\\");\\n/* harmony import */ var _emitWarningIfUnsupportedVersion__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./emitWarningIfUnsupportedVersion */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js\\\");\\n/* harmony import */ var _exceptions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./exceptions */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js\\\");\\n/* harmony import */ var _extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_10__ = __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_11__ = __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_12__ = __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_13__ = __webpack_require__(/*! ./lazy-json */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js\\\");\\n/* harmony import */ var _object_mapping__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./object-mapping */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js\\\");\\n/* harmony import */ var _parse_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./parse-utils */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js\\\");\\n/* harmony import */ var _resolve_path__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./resolve-path */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js\\\");\\n/* harmony import */ var _ser_utils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ser-utils */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js\\\");\\n/* harmony import */ var _serde_json__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./serde-json */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js\\\");\\n/* harmony import */ var _split_every__WEBPACK_IMPORTED_MODULE_19__ = __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\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ take: () => (/* binding */ take)\\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 applyInstruction(target, null, instructions, key);\\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 take = (source, instructions) => {\\n const out = {};\\n for (const key in instructions) {\\n applyInstruction(out, source, instructions, key);\\n }\\n return out;\\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};\\nconst applyInstruction = (target, source, instructions, targetKey) => {\\n if (source !== null) {\\n let instruction = instructions[targetKey];\\n if (typeof instruction === \\\"function\\\") {\\n instruction = [, instruction];\\n }\\n const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;\\n if ((typeof filter === \\\"function\\\" && filter(source[sourceKey])) || (typeof filter !== \\\"function\\\" && !!filter)) {\\n target[targetKey] = valueFn(source[sourceKey]);\\n }\\n return;\\n }\\n let [filter, value] = instructions[targetKey];\\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[targetKey] = _value;\\n }\\n else if (customFilterPassed) {\\n target[targetKey] = 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[targetKey] = value;\\n }\\n }\\n};\\nconst nonNullish = (_) => _ != null;\\nconst pass = (_) => _;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ _json: () => (/* binding */ _json)\\n/* harmony export */ });\\nconst _json = (obj) => {\\n if (obj == null) {\\n return {};\\n }\\n if (Array.isArray(obj)) {\\n return obj.filter((_) => _ != null);\\n }\\n if (typeof obj === \\\"object\\\") {\\n const target = {};\\n for (const key of Object.keys(obj)) {\\n if (obj[key] == null) {\\n continue;\\n }\\n target[key] = _json(obj[key]);\\n }\\n return target;\\n }\\n return obj;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/split-every.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/split-every.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/abort.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/abort.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/auth.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/auth.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/checksum.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/checksum.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/client.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/client.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/command.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/command.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/config.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/config.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/config.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/config.js\\\");\\n/* harmony import */ var _manager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./manager */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/manager.js\\\");\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pool */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/pool.js\\\");\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/manager.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/manager.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/manager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/pool.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/pool.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/pool.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/credentials.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/credentials.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/crypto.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/crypto.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/dns.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/dns.js ***!\n \\****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/encode.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/encode.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/encode.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/endpoint.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/endpoint.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/eventStream.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/eventStream.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/http.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/http.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/Identity.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/Identity.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/Identity.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/index.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/index.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/index.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/index.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ EndpointURLScheme: () => (/* reexport safe */ _endpoint__WEBPACK_IMPORTED_MODULE_10__.EndpointURLScheme),\\n/* harmony export */ HostAddressType: () => (/* reexport safe */ _dns__WEBPACK_IMPORTED_MODULE_8__.HostAddressType),\\n/* harmony export */ HttpAuthLocation: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_1__.HttpAuthLocation),\\n/* harmony export */ RequestHandlerProtocol: () => (/* reexport safe */ _transfer__WEBPACK_IMPORTED_MODULE_26__.RequestHandlerProtocol)\\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 _connection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./connection */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/index.js\\\");\\n/* harmony import */ var _credentials__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./credentials */ \\\"./node_modules/@aws-sdk/types/dist-es/credentials.js\\\");\\n/* harmony import */ var _crypto__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./crypto */ \\\"./node_modules/@aws-sdk/types/dist-es/crypto.js\\\");\\n/* harmony import */ var _dns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dns */ \\\"./node_modules/@aws-sdk/types/dist-es/dns.js\\\");\\n/* harmony import */ var _encode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./encode */ \\\"./node_modules/@aws-sdk/types/dist-es/encode.js\\\");\\n/* harmony import */ var _endpoint__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./endpoint */ \\\"./node_modules/@aws-sdk/types/dist-es/endpoint.js\\\");\\n/* harmony import */ var _eventStream__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./eventStream */ \\\"./node_modules/@aws-sdk/types/dist-es/eventStream.js\\\");\\n/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./http */ \\\"./node_modules/@aws-sdk/types/dist-es/http.js\\\");\\n/* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./identity */ \\\"./node_modules/@aws-sdk/types/dist-es/identity/index.js\\\");\\n/* harmony import */ var _logger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./logger */ \\\"./node_modules/@aws-sdk/types/dist-es/logger.js\\\");\\n/* harmony import */ var _middleware__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./middleware */ \\\"./node_modules/@aws-sdk/types/dist-es/middleware.js\\\");\\n/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./pagination */ \\\"./node_modules/@aws-sdk/types/dist-es/pagination.js\\\");\\n/* harmony import */ var _profile__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./profile */ \\\"./node_modules/@aws-sdk/types/dist-es/profile.js\\\");\\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./request */ \\\"./node_modules/@aws-sdk/types/dist-es/request.js\\\");\\n/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./response */ \\\"./node_modules/@aws-sdk/types/dist-es/response.js\\\");\\n/* harmony import */ var _retry__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./retry */ \\\"./node_modules/@aws-sdk/types/dist-es/retry.js\\\");\\n/* harmony import */ var _serde__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./serde */ \\\"./node_modules/@aws-sdk/types/dist-es/serde.js\\\");\\n/* harmony import */ var _shapes__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./shapes */ \\\"./node_modules/@aws-sdk/types/dist-es/shapes.js\\\");\\n/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./signature */ \\\"./node_modules/@aws-sdk/types/dist-es/signature.js\\\");\\n/* harmony import */ var _stream__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./stream */ \\\"./node_modules/@aws-sdk/types/dist-es/stream.js\\\");\\n/* harmony import */ var _token__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./token */ \\\"./node_modules/@aws-sdk/types/dist-es/token.js\\\");\\n/* harmony import */ var _transfer__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./transfer */ \\\"./node_modules/@aws-sdk/types/dist-es/transfer.js\\\");\\n/* harmony import */ var _uri__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./uri */ \\\"./node_modules/@aws-sdk/types/dist-es/uri.js\\\");\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./util */ \\\"./node_modules/@aws-sdk/types/dist-es/util.js\\\");\\n/* harmony import */ var _waiter__WEBPACK_IMPORTED_MODULE_29__ = __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\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/logger.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/logger.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/middleware.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/middleware.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/pagination.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/pagination.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/profile.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/profile.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/request.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/request.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/response.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/response.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/retry.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/retry.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/serde.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/serde.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/shapes.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/shapes.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/signature.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/signature.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/stream.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/stream.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/token.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/token.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/transfer.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/transfer.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ RequestHandlerProtocol: () => (/* binding */ RequestHandlerProtocol)\\n/* harmony export */ });\\nvar RequestHandlerProtocol;\\n(function (RequestHandlerProtocol) {\\n RequestHandlerProtocol[\\\"HTTP_0_9\\\"] = \\\"http/0.9\\\";\\n RequestHandlerProtocol[\\\"HTTP_1_0\\\"] = \\\"http/1.0\\\";\\n RequestHandlerProtocol[\\\"TDS_8_0\\\"] = \\\"tds/8.0\\\";\\n})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/transfer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/uri.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/uri.js ***!\n \\****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/uri.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/util.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/util.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/waiter.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/waiter.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/url-parser/dist-es/index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/url-parser/dist-es/index.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/index.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/index.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-body-length-browser/dist-es/index.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-body-length-browser/dist-es/index.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-config-provider/dist-es/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-config-provider/dist-es/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/index.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/index.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/index.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/index.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ getUserAgentPrefix: () => (/* reexport safe */ _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__.getUserAgentPrefix),\\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 */ setPartitionInfo: () => (/* reexport safe */ _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__.setPartitionInfo),\\n/* harmony export */ useDefaultPartitionInfo: () => (/* reexport safe */ _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__.useDefaultPartitionInfo)\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ getUserAgentPrefix: () => (/* reexport safe */ _partition__WEBPACK_IMPORTED_MODULE_2__.getUserAgentPrefix),\\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 */ setPartitionInfo: () => (/* reexport safe */ _partition__WEBPACK_IMPORTED_MODULE_2__.setPartitionInfo),\\n/* harmony export */ useDefaultPartitionInfo: () => (/* reexport safe */ _partition__WEBPACK_IMPORTED_MODULE_2__.useDefaultPartitionInfo)\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ getUserAgentPrefix: () => (/* binding */ getUserAgentPrefix),\\n/* harmony export */ partition: () => (/* binding */ partition),\\n/* harmony export */ setPartitionInfo: () => (/* binding */ setPartitionInfo),\\n/* harmony export */ useDefaultPartitionInfo: () => (/* binding */ useDefaultPartitionInfo)\\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\\nlet selectedPartitionsInfo = _partitions_json__WEBPACK_IMPORTED_MODULE_0__;\\nlet selectedUserAgentPrefix = \\\"\\\";\\nconst partition = (value) => {\\n const { partitions } = selectedPartitionsInfo;\\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 const DEFAULT_PARTITION = partitions.find((partition) => partition.id === \\\"aws\\\");\\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};\\nconst setPartitionInfo = (partitionsInfo, userAgentPrefix = \\\"\\\") => {\\n selectedPartitionsInfo = partitionsInfo;\\n selectedUserAgentPrefix = userAgentPrefix;\\n};\\nconst useDefaultPartitionInfo = () => {\\n setPartitionInfo(_partitions_json__WEBPACK_IMPORTED_MODULE_0__, \\\"\\\");\\n};\\nconst getUserAgentPrefix = () => selectedUserAgentPrefix;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-locate-window/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-locate-window/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-middleware/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-middleware/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ConfiguredRetryStrategy: () => (/* binding */ ConfiguredRetryStrategy)\\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 _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./StandardRetryStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js\\\");\\n\\n\\nclass ConfiguredRetryStrategy extends _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__.StandardRetryStrategy {\\n constructor(maxAttempts, computeNextBackoffDelay = _constants__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_RETRY_DELAY_BASE) {\\n super(typeof maxAttempts === \\\"function\\\" ? maxAttempts : async () => maxAttempts);\\n if (typeof computeNextBackoffDelay === \\\"number\\\") {\\n this.computeNextBackoffDelay = () => computeNextBackoffDelay;\\n }\\n else {\\n this.computeNextBackoffDelay = computeNextBackoffDelay;\\n }\\n }\\n async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {\\n const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo);\\n token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount());\\n return token;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _defaultRetryBackoffStrategy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultRetryBackoffStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js\\\");\\n/* harmony import */ var _defaultRetryToken__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultRetryToken */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js\\\");\\n\\n\\n\\n\\nclass StandardRetryStrategy {\\n constructor(maxAttempts) {\\n this.maxAttempts = maxAttempts;\\n this.mode = _config__WEBPACK_IMPORTED_MODULE_0__.RETRY_MODES.STANDARD;\\n this.capacity = _constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_RETRY_TOKENS;\\n this.retryBackoffStrategy = (0,_defaultRetryBackoffStrategy__WEBPACK_IMPORTED_MODULE_2__.getDefaultRetryBackoffStrategy)();\\n this.maxAttemptsProvider = typeof maxAttempts === \\\"function\\\" ? maxAttempts : async () => maxAttempts;\\n }\\n async acquireInitialRetryToken(retryTokenScope) {\\n return (0,_defaultRetryToken__WEBPACK_IMPORTED_MODULE_3__.createDefaultRetryToken)({\\n retryDelay: _constants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_RETRY_DELAY_BASE,\\n retryCount: 0,\\n });\\n }\\n async refreshRetryTokenForRetry(token, errorInfo) {\\n const maxAttempts = await this.getMaxAttempts();\\n if (this.shouldRetry(token, errorInfo, maxAttempts)) {\\n const errorType = errorInfo.errorType;\\n this.retryBackoffStrategy.setDelayBase(errorType === \\\"THROTTLING\\\" ? _constants__WEBPACK_IMPORTED_MODULE_1__.THROTTLING_RETRY_DELAY_BASE : _constants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_RETRY_DELAY_BASE);\\n const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount());\\n const retryDelay = errorInfo.retryAfterHint\\n ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType)\\n : delayFromErrorType;\\n const capacityCost = this.getCapacityCost(errorType);\\n this.capacity -= capacityCost;\\n return (0,_defaultRetryToken__WEBPACK_IMPORTED_MODULE_3__.createDefaultRetryToken)({\\n retryDelay,\\n retryCount: token.getRetryCount() + 1,\\n retryCost: capacityCost,\\n });\\n }\\n throw new Error(\\\"No retry token available\\\");\\n }\\n recordSuccess(token) {\\n this.capacity = Math.max(_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? _constants__WEBPACK_IMPORTED_MODULE_1__.NO_RETRY_INCREMENT));\\n }\\n getCapacity() {\\n return this.capacity;\\n }\\n async getMaxAttempts() {\\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 this.capacity >= this.getCapacityCost(errorInfo.errorType) &&\\n this.isRetryableError(errorInfo.errorType));\\n }\\n getCapacityCost(errorType) {\\n return errorType === \\\"TRANSIENT\\\" ? _constants__WEBPACK_IMPORTED_MODULE_1__.TIMEOUT_RETRY_COST : _constants__WEBPACK_IMPORTED_MODULE_1__.RETRY_COST;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/config.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/config.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 = RETRY_MODES.STANDARD;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/config.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/constants.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/constants.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ createDefaultRetryToken: () => (/* binding */ createDefaultRetryToken)\\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 createDefaultRetryToken = ({ retryDelay, retryCount, retryCost, }) => {\\n const getRetryCount = () => retryCount;\\n const getRetryDelay = () => Math.min(_constants__WEBPACK_IMPORTED_MODULE_0__.MAXIMUM_RETRY_DELAY, retryDelay);\\n const getRetryCost = () => retryCost;\\n return {\\n getRetryCount,\\n getRetryDelay,\\n getRetryCost,\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/index.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ ConfiguredRetryStrategy: () => (/* reexport safe */ _ConfiguredRetryStrategy__WEBPACK_IMPORTED_MODULE_1__.ConfiguredRetryStrategy),\\n/* harmony export */ DEFAULT_MAX_ATTEMPTS: () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_MAX_ATTEMPTS),\\n/* harmony export */ DEFAULT_RETRY_DELAY_BASE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_RETRY_DELAY_BASE),\\n/* harmony export */ DEFAULT_RETRY_MODE: () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_RETRY_MODE),\\n/* harmony export */ DefaultRateLimiter: () => (/* reexport safe */ _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_2__.DefaultRateLimiter),\\n/* harmony export */ INITIAL_RETRY_TOKENS: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.INITIAL_RETRY_TOKENS),\\n/* harmony export */ INVOCATION_ID_HEADER: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.INVOCATION_ID_HEADER),\\n/* harmony export */ MAXIMUM_RETRY_DELAY: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.MAXIMUM_RETRY_DELAY),\\n/* harmony export */ NO_RETRY_INCREMENT: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.NO_RETRY_INCREMENT),\\n/* harmony export */ REQUEST_HEADER: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.REQUEST_HEADER),\\n/* harmony export */ RETRY_COST: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.RETRY_COST),\\n/* harmony export */ RETRY_MODES: () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_4__.RETRY_MODES),\\n/* harmony export */ StandardRetryStrategy: () => (/* reexport safe */ _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_3__.StandardRetryStrategy),\\n/* harmony export */ THROTTLING_RETRY_DELAY_BASE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.THROTTLING_RETRY_DELAY_BASE),\\n/* harmony export */ TIMEOUT_RETRY_COST: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.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 _ConfiguredRetryStrategy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ConfiguredRetryStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js\\\");\\n/* harmony import */ var _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DefaultRateLimiter */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js\\\");\\n/* harmony import */ var _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./StandardRetryStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js\\\");\\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/config.js\\\");\\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/constants.js\\\");\\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./types */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/types.js\\\");\\n\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/types.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/types.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri-path.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri-path.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 [\\\"ua\\\", \\\"2.0\\\"],\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/aspromise/index.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@protobufjs/aspromise/index.js ***!\n \\*****************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/base64/index.js\":\n/*!**************************************************!*\\\n !*** ./node_modules/@protobufjs/base64/index.js ***!\n \\**************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/eventemitter/index.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@protobufjs/eventemitter/index.js ***!\n \\********************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/float/index.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/@protobufjs/float/index.js ***!\n \\*************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/inquire/index.js\":\n/*!***************************************************!*\\\n !*** ./node_modules/@protobufjs/inquire/index.js ***!\n \\***************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/pool/index.js\":\n/*!************************************************!*\\\n !*** ./node_modules/@protobufjs/pool/index.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/utf8/index.js\":\n/*!************************************************!*\\\n !*** ./node_modules/@protobufjs/utf8/index.js ***!\n \\************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/Field.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/Field.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types */ \\\"./node_modules/@smithy/protocol-http/dist-es/types.js\\\");\\n\\nclass Field {\\n constructor({ name, kind = _types__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.map((v) => (v.includes(\\\",\\\") || v.includes(\\\" \\\") ? `\\\"${v}\\\"` : v)).join(\\\", \\\");\\n }\\n get() {\\n return this.values;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@smithy/protocol-http/dist-es/Field.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/Fields.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/Fields.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.toLowerCase()] = field;\\n }\\n getField(name) {\\n return this.entries[name.toLowerCase()];\\n }\\n removeField(name) {\\n delete this.entries[name.toLowerCase()];\\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/@smithy/protocol-http/dist-es/Fields.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/httpHandler.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/httpHandler.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@smithy/protocol-http/dist-es/httpHandler.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/httpRequest.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/httpRequest.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/httpRequest.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/httpResponse.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/httpResponse.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/httpResponse.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/index.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/index.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ _types__WEBPACK_IMPORTED_MODULE_6__.FieldPosition),\\n/* harmony export */ Fields: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_1__.Fields),\\n/* harmony export */ HttpRequest: () => (/* reexport safe */ _httpRequest__WEBPACK_IMPORTED_MODULE_3__.HttpRequest),\\n/* harmony export */ HttpResponse: () => (/* reexport safe */ _httpResponse__WEBPACK_IMPORTED_MODULE_4__.HttpResponse),\\n/* harmony export */ isValidHostname: () => (/* reexport safe */ _isValidHostname__WEBPACK_IMPORTED_MODULE_5__.isValidHostname)\\n/* harmony export */ });\\n/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Field */ \\\"./node_modules/@smithy/protocol-http/dist-es/Field.js\\\");\\n/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Fields */ \\\"./node_modules/@smithy/protocol-http/dist-es/Fields.js\\\");\\n/* harmony import */ var _httpHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./httpHandler */ \\\"./node_modules/@smithy/protocol-http/dist-es/httpHandler.js\\\");\\n/* harmony import */ var _httpRequest__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpRequest */ \\\"./node_modules/@smithy/protocol-http/dist-es/httpRequest.js\\\");\\n/* harmony import */ var _httpResponse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./httpResponse */ \\\"./node_modules/@smithy/protocol-http/dist-es/httpResponse.js\\\");\\n/* harmony import */ var _isValidHostname__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isValidHostname */ \\\"./node_modules/@smithy/protocol-http/dist-es/isValidHostname.js\\\");\\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./types */ \\\"./node_modules/@smithy/protocol-http/dist-es/types.js\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@smithy/protocol-http/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/isValidHostname.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/isValidHostname.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/isValidHostname.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/types.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/types.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/types.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js ***!\n \\******************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js ***!\n \\************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js ***!\n \\****************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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`, 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 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 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 const connect = this.connectWithPromises(needsToWaitForAttendeePresence);\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js ***!\n \\***********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 /** @internal */\\n setEventController(eventController) {\\n /*\\n if this is a first time we set the eventController, need to publish the current BackgroundFilterConfig.\\n Otherwise, just set the eventController.\\n */\\n if (this.eventController) {\\n this.eventController = eventController;\\n }\\n else {\\n this.eventController = eventController;\\n this.publishBackgroundFilterEvent();\\n }\\n }\\n publishBackgroundFilterEvent() {\\n const backgroundFilterEventAttributes = {\\n backgroundBlurEnabled: 'true',\\n backgroundBlurStrength: this._blurStrength,\\n backgroundReplacementEnabled: 'false',\\n backgroundFilterVersion: 1,\\n };\\n this.eventController.publishEvent('backgroundFilterConfigSelected', backgroundFilterEventAttributes);\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js ***!\n \\*************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js ***!\n \\**********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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, eventController) {\\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 this.eventController = eventController;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js ***!\n \\**************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 /** @internal */\\n setEventController(eventController) {\\n /*\\n if this is a first time we set the eventController, need to publish the current BackgroundFilterConfig.\\n Otherwise, just set the eventController.\\n */\\n if (this.eventController) {\\n this.eventController = eventController;\\n }\\n else {\\n this.eventController = eventController;\\n this.publishBackgroundFilterEvent();\\n }\\n }\\n publishBackgroundFilterEvent() {\\n const backgroundFilterEventAttributes = {\\n backgroundBlurEnabled: 'false',\\n backgroundBlurStrength: 'low',\\n backgroundReplacementEnabled: 'true',\\n backgroundFilterVersion: 1,\\n };\\n this.eventController.publishEvent('backgroundFilterConfigSelected', backgroundFilterEventAttributes);\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js\":\n/*!***************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js ***!\n \\***************************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js\":\n/*!***********************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js ***!\n \\***********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js ***!\n \\******************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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.FALLBACK_BROWSER = {\\n type: 'browser',\\n name: 'unknown',\\n version: 'unknown',\\n os: 'unknown',\\n };\\n this.browser = detect_browser_1.detect() || this.FALLBACK_BROWSER;\\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 /**\\n * Check if the current browser supports the [[VideoFxProcessor]].\\n * @returns boolean representing if browser supports [[VideoFxProcessor]].\\n */\\n isVideoFxSupportedBrowser() {\\n // Not supported on safari 15 and on environments without canvas capture playback\\n return this.supportsBackgroundFilter();\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js\":\n/*!********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js ***!\n \\********************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultVideoTransformDevice_1 = __webpack_require__(/*! ../videoframeprocessor/DefaultVideoTransformDevice */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.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 (this.eventController && device instanceof DefaultVideoTransformDevice_1.default) {\\n device.passEventControllerToProcessors(this.eventController);\\n }\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js ***!\n \\*****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js ***!\n \\***************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js ***!\n \\***************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js ***!\n \\******************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js ***!\n \\*********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/index.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/index.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.VideoPriorityBasedPolicyConfig = exports.VideoPriorityBasedPolicy = exports.VideoPreferences = exports.VideoPreference = exports.VideoOnlyTransceiverController = exports.VideoLogEvent = exports.VideoFxProcessor = 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 = exports.VideoQualitySettings = 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 VideoFxProcessor_1 = __webpack_require__(/*! ./videofx/VideoFxProcessor */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js\\\");\\nexports.VideoFxProcessor = VideoFxProcessor_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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/Log.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/Log.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js ***!\n \\*********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js ***!\n \\**********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js ***!\n \\****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/message/Message.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/message/Message.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 Utils_1 = __webpack_require__(/*! ../utils/Utils */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Utils.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 clientUtcOffset: Utils_1.getFormattedOffset(new Date().getTimezoneOffset()),\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js ***!\n \\***************************************************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/*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 * @property {string|null} [clientUtcOffset] SdkClientDetails clientUtcOffset\\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 * SdkClientDetails clientUtcOffset.\\n * @member {string} clientUtcOffset\\n * @memberof SdkClientDetails\\n * @instance\\n */\\n SdkClientDetails.prototype.clientUtcOffset = \\\"\\\";\\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 if (message.clientUtcOffset != null && Object.hasOwnProperty.call(message, \\\"clientUtcOffset\\\"))\\n writer.uint32(/* id 9, wireType 2 =*/74).string(message.clientUtcOffset);\\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 case 9:\\n message.clientUtcOffset = 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 if (message.clientUtcOffset != null && message.hasOwnProperty(\\\"clientUtcOffset\\\"))\\n if (!$util.isString(message.clientUtcOffset))\\n return \\\"clientUtcOffset: 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 if (object.clientUtcOffset != null)\\n message.clientUtcOffset = String(object.clientUtcOffset);\\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 object.clientUtcOffset = \\\"\\\";\\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 if (message.clientUtcOffset != null && message.hasOwnProperty(\\\"clientUtcOffset\\\"))\\n object.clientUtcOffset = message.clientUtcOffset;\\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.} Plain object\\n */\\n SdkPrimaryMeetingJoinAckFrame.toObject = function toObject() {\\n return {};\\n };\\n\\n /**\\n * Converts this SdkPrimaryMeetingJoinAckFrame to JSON.\\n * @function toJSON\\n * @memberof SdkPrimaryMeetingJoinAckFrame\\n * @instance\\n * @returns {Object.} JSON object\\n */\\n SdkPrimaryMeetingJoinAckFrame.prototype.toJSON = function toJSON() {\\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\\n };\\n\\n return SdkPrimaryMeetingJoinAckFrame;\\n})();\\n\\n$root.SdkPrimaryMeetingLeaveFrame = (function() {\\n\\n /**\\n * Properties of a SdkPrimaryMeetingLeaveFrame.\\n * @exports ISdkPrimaryMeetingLeaveFrame\\n * @interface ISdkPrimaryMeetingLeaveFrame\\n */\\n\\n /**\\n * Constructs a new SdkPrimaryMeetingLeaveFrame.\\n * @exports SdkPrimaryMeetingLeaveFrame\\n * @classdesc Represents a SdkPrimaryMeetingLeaveFrame.\\n * @implements ISdkPrimaryMeetingLeaveFrame\\n * @constructor\\n * @param {ISdkPrimaryMeetingLeaveFrame=} [properties] Properties to set\\n */\\n function SdkPrimaryMeetingLeaveFrame(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 SdkPrimaryMeetingLeaveFrame instance using the specified properties.\\n * @function create\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {ISdkPrimaryMeetingLeaveFrame=} [properties] Properties to set\\n * @returns {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame instance\\n */\\n SdkPrimaryMeetingLeaveFrame.create = function create(properties) {\\n return new SdkPrimaryMeetingLeaveFrame(properties);\\n };\\n\\n /**\\n * Encodes the specified SdkPrimaryMeetingLeaveFrame message. Does not implicitly {@link SdkPrimaryMeetingLeaveFrame.verify|verify} messages.\\n * @function encode\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {ISdkPrimaryMeetingLeaveFrame} message SdkPrimaryMeetingLeaveFrame message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkPrimaryMeetingLeaveFrame.encode = function encode(message, writer) {\\n if (!writer)\\n writer = $Writer.create();\\n return writer;\\n };\\n\\n /**\\n * Encodes the specified SdkPrimaryMeetingLeaveFrame message, length delimited. Does not implicitly {@link SdkPrimaryMeetingLeaveFrame.verify|verify} messages.\\n * @function encodeDelimited\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {ISdkPrimaryMeetingLeaveFrame} message SdkPrimaryMeetingLeaveFrame message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkPrimaryMeetingLeaveFrame.encodeDelimited = function encodeDelimited(message, writer) {\\n return this.encode(message, writer).ldelim();\\n };\\n\\n /**\\n * Decodes a SdkPrimaryMeetingLeaveFrame message from the specified reader or buffer.\\n * @function decode\\n * @memberof SdkPrimaryMeetingLeaveFrame\\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 {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame\\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 SdkPrimaryMeetingLeaveFrame.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.SdkPrimaryMeetingLeaveFrame();\\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 SdkPrimaryMeetingLeaveFrame message from the specified reader or buffer, length delimited.\\n * @function decodeDelimited\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\\n * @returns {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame\\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 SdkPrimaryMeetingLeaveFrame.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 SdkPrimaryMeetingLeaveFrame message.\\n * @function verify\\n * @memberof SdkPrimaryMeetingLeaveFrame\\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 SdkPrimaryMeetingLeaveFrame.verify = function verify(message) {\\n if (typeof message !== \\\"object\\\" || message === null)\\n return \\\"object expected\\\";\\n return null;\\n };\\n\\n /**\\n * Creates a SdkPrimaryMeetingLeaveFrame message from a plain object. Also converts values to their respective internal types.\\n * @function fromObject\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {Object.} object Plain object\\n * @returns {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame\\n */\\n SdkPrimaryMeetingLeaveFrame.fromObject = function fromObject(object) {\\n if (object instanceof $root.SdkPrimaryMeetingLeaveFrame)\\n return object;\\n return new $root.SdkPrimaryMeetingLeaveFrame();\\n };\\n\\n /**\\n * Creates a plain object from a SdkPrimaryMeetingLeaveFrame message. Also converts values to other types if specified.\\n * @function toObject\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {SdkPrimaryMeetingLeaveFrame} message SdkPrimaryMeetingLeaveFrame\\n * @param {$protobuf.IConversionOptions} [options] Conversion options\\n * @returns {Object.} Plain object\\n */\\n SdkPrimaryMeetingLeaveFrame.toObject = function toObject() {\\n return {};\\n };\\n\\n /**\\n * Converts this SdkPrimaryMeetingLeaveFrame to JSON.\\n * @function toJSON\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @instance\\n * @returns {Object.} JSON object\\n */\\n SdkPrimaryMeetingLeaveFrame.prototype.toJSON = function toJSON() {\\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\\n };\\n\\n return SdkPrimaryMeetingLeaveFrame;\\n})();\\n\\n$root.SdkMeetingSessionCredentials = (function() {\\n\\n /**\\n * Properties of a SdkMeetingSessionCredentials.\\n * @exports ISdkMeetingSessionCredentials\\n * @interface ISdkMeetingSessionCredentials\\n * @property {string|null} [attendeeId] SdkMeetingSessionCredentials attendeeId\\n * @property {string|null} [externalUserId] SdkMeetingSessionCredentials externalUserId\\n * @property {string|null} [joinToken] SdkMeetingSessionCredentials joinToken\\n */\\n\\n /**\\n * Constructs a new SdkMeetingSessionCredentials.\\n * @exports SdkMeetingSessionCredentials\\n * @classdesc Represents a SdkMeetingSessionCredentials.\\n * @implements ISdkMeetingSessionCredentials\\n * @constructor\\n * @param {ISdkMeetingSessionCredentials=} [properties] Properties to set\\n */\\n function SdkMeetingSessionCredentials(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 * SdkMeetingSessionCredentials attendeeId.\\n * @member {string} attendeeId\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n */\\n SdkMeetingSessionCredentials.prototype.attendeeId = \\\"\\\";\\n\\n /**\\n * SdkMeetingSessionCredentials externalUserId.\\n * @member {string} externalUserId\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n */\\n SdkMeetingSessionCredentials.prototype.externalUserId = \\\"\\\";\\n\\n /**\\n * SdkMeetingSessionCredentials joinToken.\\n * @member {string} joinToken\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n */\\n SdkMeetingSessionCredentials.prototype.joinToken = \\\"\\\";\\n\\n /**\\n * Creates a new SdkMeetingSessionCredentials instance using the specified properties.\\n * @function create\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {ISdkMeetingSessionCredentials=} [properties] Properties to set\\n * @returns {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials instance\\n */\\n SdkMeetingSessionCredentials.create = function create(properties) {\\n return new SdkMeetingSessionCredentials(properties);\\n };\\n\\n /**\\n * Encodes the specified SdkMeetingSessionCredentials message. Does not implicitly {@link SdkMeetingSessionCredentials.verify|verify} messages.\\n * @function encode\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {ISdkMeetingSessionCredentials} message SdkMeetingSessionCredentials message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkMeetingSessionCredentials.encode = function encode(message, writer) {\\n if (!writer)\\n writer = $Writer.create();\\n if (message.attendeeId != null && Object.hasOwnProperty.call(message, \\\"attendeeId\\\"))\\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.attendeeId);\\n if (message.externalUserId != null && Object.hasOwnProperty.call(message, \\\"externalUserId\\\"))\\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.externalUserId);\\n if (message.joinToken != null && Object.hasOwnProperty.call(message, \\\"joinToken\\\"))\\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.joinToken);\\n return writer;\\n };\\n\\n /**\\n * Encodes the specified SdkMeetingSessionCredentials message, length delimited. Does not implicitly {@link SdkMeetingSessionCredentials.verify|verify} messages.\\n * @function encodeDelimited\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {ISdkMeetingSessionCredentials} message SdkMeetingSessionCredentials message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkMeetingSessionCredentials.encodeDelimited = function encodeDelimited(message, writer) {\\n return this.encode(message, writer).ldelim();\\n };\\n\\n /**\\n * Decodes a SdkMeetingSessionCredentials message from the specified reader or buffer.\\n * @function decode\\n * @memberof SdkMeetingSessionCredentials\\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 {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials\\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 SdkMeetingSessionCredentials.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.SdkMeetingSessionCredentials();\\n while (reader.pos < end) {\\n var tag = reader.uint32();\\n switch (tag >>> 3) {\\n case 1:\\n message.attendeeId = reader.string();\\n break;\\n case 2:\\n message.externalUserId = reader.string();\\n break;\\n case 3:\\n message.joinToken = reader.string();\\n break;\\n default:\\n reader.skipType(tag & 7);\\n break;\\n }\\n }\\n return message;\\n };\\n\\n /**\\n * Decodes a SdkMeetingSessionCredentials message from the specified reader or buffer, length delimited.\\n * @function decodeDelimited\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\\n * @returns {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials\\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 SdkMeetingSessionCredentials.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 SdkMeetingSessionCredentials message.\\n * @function verify\\n * @memberof SdkMeetingSessionCredentials\\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 SdkMeetingSessionCredentials.verify = function verify(message) {\\n if (typeof message !== \\\"object\\\" || message === null)\\n return \\\"object expected\\\";\\n if (message.attendeeId != null && message.hasOwnProperty(\\\"attendeeId\\\"))\\n if (!$util.isString(message.attendeeId))\\n return \\\"attendeeId: string expected\\\";\\n if (message.externalUserId != null && message.hasOwnProperty(\\\"externalUserId\\\"))\\n if (!$util.isString(message.externalUserId))\\n return \\\"externalUserId: string expected\\\";\\n if (message.joinToken != null && message.hasOwnProperty(\\\"joinToken\\\"))\\n if (!$util.isString(message.joinToken))\\n return \\\"joinToken: string expected\\\";\\n return null;\\n };\\n\\n /**\\n * Creates a SdkMeetingSessionCredentials message from a plain object. Also converts values to their respective internal types.\\n * @function fromObject\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {Object.} object Plain object\\n * @returns {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials\\n */\\n SdkMeetingSessionCredentials.fromObject = function fromObject(object) {\\n if (object instanceof $root.SdkMeetingSessionCredentials)\\n return object;\\n var message = new $root.SdkMeetingSessionCredentials();\\n if (object.attendeeId != null)\\n message.attendeeId = String(object.attendeeId);\\n if (object.externalUserId != null)\\n message.externalUserId = String(object.externalUserId);\\n if (object.joinToken != null)\\n message.joinToken = String(object.joinToken);\\n return message;\\n };\\n\\n /**\\n * Creates a plain object from a SdkMeetingSessionCredentials message. Also converts values to other types if specified.\\n * @function toObject\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {SdkMeetingSessionCredentials} message SdkMeetingSessionCredentials\\n * @param {$protobuf.IConversionOptions} [options] Conversion options\\n * @returns {Object.} Plain object\\n */\\n SdkMeetingSessionCredentials.toObject = function toObject(message, options) {\\n if (!options)\\n options = {};\\n var object = {};\\n if (options.defaults) {\\n object.attendeeId = \\\"\\\";\\n object.externalUserId = \\\"\\\";\\n object.joinToken = \\\"\\\";\\n }\\n if (message.attendeeId != null && message.hasOwnProperty(\\\"attendeeId\\\"))\\n object.attendeeId = message.attendeeId;\\n if (message.externalUserId != null && message.hasOwnProperty(\\\"externalUserId\\\"))\\n object.externalUserId = message.externalUserId;\\n if (message.joinToken != null && message.hasOwnProperty(\\\"joinToken\\\"))\\n object.joinToken = message.joinToken;\\n return object;\\n };\\n\\n /**\\n * Converts this SdkMeetingSessionCredentials to JSON.\\n * @function toJSON\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n * @returns {Object.} JSON object\\n */\\n SdkMeetingSessionCredentials.prototype.toJSON = function toJSON() {\\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\\n };\\n\\n return SdkMeetingSessionCredentials;\\n})();\\n\\n/**\\n * SdkVideoCodecCapability enum.\\n * @exports SdkVideoCodecCapability\\n * @enum {number}\\n * @property {number} VP8=1 VP8 value\\n * @property {number} H264_CONSTRAINED_BASELINE_PROFILE=3 H264_CONSTRAINED_BASELINE_PROFILE value\\n */\\n$root.SdkVideoCodecCapability = (function() {\\n var valuesById = {}, values = Object.create(valuesById);\\n values[valuesById[1] = \\\"VP8\\\"] = 1;\\n values[valuesById[3] = \\\"H264_CONSTRAINED_BASELINE_PROFILE\\\"] = 3;\\n return values;\\n})();\\n\\nmodule.exports = $root;\\n$util.Long = undefined;\\n$protobuf.configure();\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js ***!\n \\**********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 sha256_js_1 = __webpack_require__(/*! @aws-crypto/sha256-js */ \\\"./node_modules/@aws-crypto/sha256-js/build/index.js\\\");\\nconst util_hex_encoding_1 = __webpack_require__(/*! @aws-sdk/util-hex-encoding */ \\\"./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nclass DefaultSigV4 {\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\\n constructor(chimeClient) {\\n this.chimeClient = chimeClient;\\n }\\n makeTwoDigits(n) {\\n /* istanbul ignore if */\\n /* istanbul ignore else */\\n if (n > 9) {\\n return n.toString();\\n }\\n else {\\n return '0' + n.toString();\\n }\\n }\\n hmac(data, secret) {\\n const hash = new sha256_js_1.Sha256(secret);\\n hash.update(data);\\n return hash.digest();\\n }\\n getDateTimeString() {\\n const d = new Date();\\n return (d.getUTCFullYear() +\\n this.makeTwoDigits(d.getUTCMonth() + 1) +\\n this.makeTwoDigits(d.getUTCDate()) +\\n 'T' +\\n this.makeTwoDigits(d.getUTCHours()) +\\n this.makeTwoDigits(d.getUTCMinutes()) +\\n this.makeTwoDigits(d.getUTCSeconds()) +\\n 'Z');\\n }\\n getDateString(dateTimeString) {\\n return dateTimeString.substring(0, dateTimeString.indexOf('T'));\\n }\\n getSignatureKey(key, date, regionName, serviceName) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const kDate = yield this.hmac(date, 'AWS4' + key);\\n const kRegion = yield this.hmac(regionName, kDate);\\n const kService = yield this.hmac(serviceName, kRegion);\\n const kSigning = yield this.hmac('aws4_request', kService);\\n return kSigning;\\n });\\n }\\n signURL(method, scheme, serviceName, hostname, path, payload, queryParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const now = this.getDateTimeString();\\n const today = this.getDateString(now);\\n const algorithm = 'AWS4-HMAC-SHA256';\\n let region = '';\\n // in AWS SDK v3 region is a function\\n if (this.chimeClient.config.region instanceof Function) {\\n region = yield this.chimeClient.config.region();\\n }\\n else {\\n region = this.chimeClient.config.region;\\n }\\n const signedHeaders = 'host';\\n const canonicalHeaders = 'host:' + hostname.toLowerCase() + '\\\\n';\\n const credentialScope = today + '/' + region + '/' + serviceName + '/' + 'aws4_request';\\n let credentials = undefined;\\n // in AWS SDK v3 credentials is a function\\n if (this.chimeClient.config.credentials instanceof Function) {\\n credentials = yield this.chimeClient.config.credentials();\\n }\\n else {\\n credentials = this.chimeClient.config.credentials;\\n }\\n let params = new Map();\\n params.set('X-Amz-Algorithm', [algorithm]);\\n params.set('X-Amz-Credential', [\\n encodeURIComponent(credentials.accessKeyId + '/' + credentialScope),\\n ]);\\n params.set('X-Amz-Date', [now]);\\n params.set('X-Amz-Expires', ['10']);\\n params.set('X-Amz-SignedHeaders', ['host']);\\n if (credentials.sessionToken) {\\n params.set('X-Amz-Security-Token', [encodeURIComponent(credentials.sessionToken)]);\\n }\\n params.set(Versioning_1.default.X_AMZN_VERSION, [encodeURIComponent(Versioning_1.default.sdkVersion)]);\\n params.set(Versioning_1.default.X_AMZN_USER_AGENT, [\\n encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution),\\n ]);\\n queryParams === null || queryParams === void 0 ? void 0 : queryParams.forEach((values, key) => {\\n const encodedKey = encodeURIComponent(key);\\n values.sort().forEach((value) => {\\n if (!params.has(encodedKey)) {\\n params.set(encodedKey, []);\\n }\\n params.get(encodedKey).push(encodeURIComponent(value));\\n });\\n });\\n let canonicalQuerystring = '';\\n params = new Map([...params.entries()].sort());\\n params.forEach((values, key) => {\\n values.forEach(value => {\\n if (canonicalQuerystring.length) {\\n canonicalQuerystring += '&';\\n }\\n canonicalQuerystring += key + '=' + value;\\n });\\n });\\n const canonicalRequest = method +\\n '\\\\n' +\\n path +\\n '\\\\n' +\\n canonicalQuerystring +\\n '\\\\n' +\\n canonicalHeaders +\\n '\\\\n' +\\n signedHeaders +\\n '\\\\n' +\\n util_hex_encoding_1.toHex(yield this.hmac(payload));\\n const hashedCanonicalRequest = util_hex_encoding_1.toHex(yield this.hmac(canonicalRequest));\\n const stringToSign = 'AWS4-HMAC-SHA256\\\\n' +\\n now +\\n '\\\\n' +\\n today +\\n '/' +\\n region +\\n '/' +\\n serviceName +\\n '/aws4_request\\\\n' +\\n hashedCanonicalRequest;\\n const signingKey = yield this.getSignatureKey(credentials.secretAccessKey, today, region, serviceName);\\n const signature = util_hex_encoding_1.toHex(yield this.hmac(stringToSign, signingKey));\\n const finalParams = canonicalQuerystring + '&X-Amz-Signature=' + signature;\\n return scheme + '://' + hostname + path + '?' + finalParams;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = DefaultSigV4;\\n//# sourceMappingURL=DefaultSigV4.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.SimulcastLayers = void 0;\\n/**\\n * [[SimulcastLayers]] represents simulcast layers for selected simulcast video streams.\\n */\\nvar SimulcastLayers;\\n(function (SimulcastLayers) {\\n /**\\n * Low resolution video stream.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"Low\\\"] = 0] = \\\"Low\\\";\\n /**\\n * Low and medium resolution video streams.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"LowAndMedium\\\"] = 1] = \\\"LowAndMedium\\\";\\n /**\\n * Low and high resolution video streams.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"LowAndHigh\\\"] = 2] = \\\"LowAndHigh\\\";\\n /**\\n * Medium resolution video stream.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"Medium\\\"] = 3] = \\\"Medium\\\";\\n /**\\n * Medium and high resolution video streams.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"MediumAndHigh\\\"] = 4] = \\\"MediumAndHigh\\\";\\n /**\\n * High resolution video stream.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"High\\\"] = 5] = \\\"High\\\";\\n})(SimulcastLayers = exports.SimulcastLayers || (exports.SimulcastLayers = {}));\\nexports[\\\"default\\\"] = SimulcastLayers;\\n//# sourceMappingURL=SimulcastLayers.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.AudioLogEvent = void 0;\\nvar AudioLogEvent;\\n(function (AudioLogEvent) {\\n AudioLogEvent[AudioLogEvent[\\\"DeviceChanged\\\"] = 0] = \\\"DeviceChanged\\\";\\n AudioLogEvent[AudioLogEvent[\\\"MutedLocal\\\"] = 1] = \\\"MutedLocal\\\";\\n AudioLogEvent[AudioLogEvent[\\\"UnmutedLocal\\\"] = 2] = \\\"UnmutedLocal\\\";\\n AudioLogEvent[AudioLogEvent[\\\"Connected\\\"] = 3] = \\\"Connected\\\";\\n AudioLogEvent[AudioLogEvent[\\\"ConnectFailed\\\"] = 4] = \\\"ConnectFailed\\\";\\n AudioLogEvent[AudioLogEvent[\\\"RedmicStartLoss\\\"] = 5] = \\\"RedmicStartLoss\\\";\\n AudioLogEvent[AudioLogEvent[\\\"RedmicEndLoss\\\"] = 6] = \\\"RedmicEndLoss\\\";\\n})(AudioLogEvent = exports.AudioLogEvent || (exports.AudioLogEvent = {}));\\nexports[\\\"default\\\"] = AudioLogEvent;\\n//# sourceMappingURL=AudioLogEvent.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 ClientMetricReport_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReport */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js\\\");\\nconst ClientMetricReportDirection_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportDirection */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\\\");\\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportMediaType */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\\\");\\nconst StreamMetricReport_1 = __webpack_require__(/*! ../clientmetricreport/StreamMetricReport */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js\\\");\\nconst MeetingSessionLifecycleEvent_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionLifecycleEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js\\\");\\nconst MeetingSessionLifecycleEventCondition_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionLifecycleEventCondition */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js\\\");\\nconst IntervalScheduler_1 = __webpack_require__(/*! ../scheduler/IntervalScheduler */ \\\"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.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\\\");\\nconst AudioLogEvent_1 = __webpack_require__(/*! ./AudioLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js\\\");\\nconst VideoLogEvent_1 = __webpack_require__(/*! ./VideoLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js\\\");\\n/**\\n * [[StatsCollector]] gathers statistics and sends metrics.\\n */\\nclass StatsCollector {\\n constructor(audioVideoController, logger, interval = StatsCollector.INTERVAL_MS) {\\n this.audioVideoController = audioVideoController;\\n this.logger = logger;\\n this.interval = interval;\\n this.intervalScheduler = null;\\n // TODO: Implement metricsAddTime() and metricsLogEvent().\\n this.metricsAddTime = (_name, _duration, _attributes) => { };\\n this.metricsLogEvent = (_name, _attributes) => { };\\n }\\n // TODO: Update toAttribute() and toSuffix() methods to convert raw data to a required type.\\n /**\\n * Converts string to attribute format.\\n */\\n toAttribute(str) {\\n return this.toSuffix(str).substring(1);\\n }\\n /**\\n * Converts string to suffix format.\\n */\\n toSuffix(str) {\\n if (str.toLowerCase() === str) {\\n // e.g. lower_case -> _lower_case\\n return `_${str}`;\\n }\\n else if (str.toUpperCase() === str) {\\n // e.g. UPPER_CASE -> _upper_case\\n return `_${str.toLowerCase()}`;\\n }\\n else {\\n // e.g. CamelCaseWithCAPS -> _camel_case_with_caps\\n return str\\n .replace(/([A-Z][a-z]+)/g, function ($1) {\\n return `_${$1}`;\\n })\\n .replace(/([A-Z][A-Z]+)/g, function ($1) {\\n return `_${$1}`;\\n })\\n .toLowerCase();\\n }\\n }\\n /**\\n * Logs the latency.\\n */\\n logLatency(eventName, timeMs, attributes) {\\n const event = this.toSuffix(eventName);\\n this.logEventTime('meeting' + event, timeMs, attributes);\\n }\\n /**\\n * Logs the state timeout.\\n */\\n logStateTimeout(stateName, attributes) {\\n const state = this.toSuffix(stateName);\\n this.logEvent('meeting_session_state_timeout', Object.assign(Object.assign({}, attributes), { state: `state${state}` }));\\n }\\n /**\\n * Logs the audio event.\\n */\\n logAudioEvent(eventName, attributes) {\\n const event = 'audio' + this.toSuffix(AudioLogEvent_1.default[eventName]);\\n this.logEvent(event, attributes);\\n }\\n /**\\n * Logs the video event.\\n */\\n logVideoEvent(eventName, attributes) {\\n const event = 'video' + this.toSuffix(VideoLogEvent_1.default[eventName]);\\n this.logEvent(event, attributes);\\n }\\n logEventTime(eventName, timeMs, attributes = {}) {\\n const finalAttributes = Object.assign(Object.assign({}, attributes), { call_id: this.audioVideoController.configuration.meetingId, client_type: StatsCollector.CLIENT_TYPE, metric_type: 'latency' });\\n this.logger.debug(() => {\\n return `[StatsCollector] ${eventName}: ${JSON.stringify(finalAttributes)}`;\\n });\\n this.metricsAddTime(eventName, timeMs, finalAttributes);\\n }\\n /**\\n * Logs the session status.\\n */\\n logMeetingSessionStatus(status) {\\n // TODO: Generate the status event name given the status code.\\n const statusEventName = `${status.statusCode()}`;\\n this.logEvent(statusEventName);\\n const statusAttribute = {\\n status: statusEventName,\\n status_code: `${status.statusCode()}`,\\n };\\n this.logEvent('meeting_session_status', statusAttribute);\\n if (status.isTerminal()) {\\n this.logEvent('meeting_session_stopped', statusAttribute);\\n }\\n if (status.isAudioConnectionFailure()) {\\n this.logEvent('meeting_session_audio_failed', statusAttribute);\\n }\\n if (status.isFailure()) {\\n this.logEvent('meeting_session_failed', statusAttribute);\\n }\\n }\\n /**\\n * Logs the lifecycle event.\\n */\\n logLifecycleEvent(lifecycleEvent, condition) {\\n const attributes = {\\n lifecycle_event: `lifecycle${this.toSuffix(MeetingSessionLifecycleEvent_1.default[lifecycleEvent])}`,\\n lifecycle_event_code: `${lifecycleEvent}`,\\n lifecycle_event_condition: `condition${this.toSuffix(MeetingSessionLifecycleEventCondition_1.default[condition])}`,\\n lifecycle_event_condition_code: `${condition}`,\\n };\\n this.logEvent('meeting_session_lifecycle', attributes);\\n }\\n /**\\n * Logs the events.\\n */\\n logEvent(eventName, attributes = {}) {\\n const finalAttributes = Object.assign(Object.assign({}, attributes), { call_id: this.audioVideoController.configuration.meetingId, client_type: StatsCollector.CLIENT_TYPE });\\n this.logger.debug(() => {\\n return `[StatsCollector] ${eventName}: ${JSON.stringify(finalAttributes)}`;\\n });\\n this.metricsLogEvent(eventName, finalAttributes);\\n }\\n /**\\n * Starts collecting statistics.\\n */\\n start(signalingClient, videoStreamIndex) {\\n if (this.intervalScheduler) {\\n return false;\\n }\\n this.logger.info('Starting StatsCollector');\\n this.signalingClient = signalingClient;\\n this.videoStreamIndex = videoStreamIndex;\\n this.clientMetricReport = new ClientMetricReport_1.default(this.logger, this.videoStreamIndex, this.audioVideoController.configuration.credentials.attendeeId);\\n this.intervalScheduler = new IntervalScheduler_1.default(this.interval);\\n this.intervalScheduler.start(() => __awaiter(this, void 0, void 0, function* () {\\n yield this.getStatsWrapper();\\n }));\\n return true;\\n }\\n /*\\n * Stops the stats collector.\\n */\\n stop() {\\n this.logger.info('Stopping StatsCollector');\\n if (this.intervalScheduler) {\\n this.intervalScheduler.stop();\\n }\\n this.intervalScheduler = null;\\n }\\n /**\\n * Convert raw metrics to client metric report.\\n */\\n updateMetricValues(rawMetricReport, isStream) {\\n const metricReport = isStream\\n ? this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)]\\n : this.clientMetricReport.globalMetricReport;\\n let metricMap;\\n if (isStream) {\\n metricMap = this.clientMetricReport.getMetricMap(metricReport.mediaType, metricReport.direction);\\n }\\n else {\\n metricMap = this.clientMetricReport.getMetricMap();\\n }\\n for (const rawMetric in rawMetricReport) {\\n if (rawMetric in metricMap) {\\n if (typeof rawMetricReport[rawMetric] === 'number') {\\n metricReport.previousMetrics[rawMetric] = metricReport.currentMetrics[rawMetric];\\n metricReport.currentMetrics[rawMetric] = rawMetricReport[rawMetric];\\n }\\n else if (typeof rawMetricReport[rawMetric] === 'string') {\\n metricReport.currentStringMetrics[rawMetric] = rawMetricReport[rawMetric];\\n }\\n else {\\n this.logger.error(`Unknown metric value type ${typeof rawMetricReport[rawMetric]} for metric ${rawMetric}`);\\n }\\n }\\n }\\n }\\n /**\\n * Converts RawMetricReport to StreamMetricReport and GlobalMetricReport and stores them as clientMetricReport.\\n */\\n processRawMetricReports(rawMetricReports) {\\n this.clientMetricReport.currentSsrcs = {};\\n const timeStamp = Date.now();\\n for (const rawMetricReport of rawMetricReports) {\\n const isStream = this.isStreamRawMetricReport(rawMetricReport.type);\\n if (isStream) {\\n const existingStreamMetricReport = this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)];\\n if (!existingStreamMetricReport) {\\n const streamMetricReport = new StreamMetricReport_1.default();\\n streamMetricReport.mediaType = this.getMediaType(rawMetricReport);\\n streamMetricReport.direction = this.getDirectionType(rawMetricReport);\\n if (!this.videoStreamIndex.allStreams().empty()) {\\n streamMetricReport.streamId = this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc));\\n }\\n this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)] = streamMetricReport;\\n }\\n else {\\n // Update stream ID in case we have overridden it locally in the case of remote video\\n // updates completed without a negotiation\\n existingStreamMetricReport.streamId = this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc));\\n }\\n this.clientMetricReport.currentSsrcs[Number(rawMetricReport.ssrc)] = 1;\\n }\\n this.updateMetricValues(rawMetricReport, isStream);\\n }\\n this.clientMetricReport.removeDestroyedSsrcs();\\n this.clientMetricReport.previousTimestampMs = this.clientMetricReport.currentTimestampMs;\\n this.clientMetricReport.currentTimestampMs = timeStamp;\\n this.clientMetricReport.print();\\n }\\n /**\\n * Add stream metric dimension frames derived from metrics\\n */\\n addStreamMetricDimensionFrames(streamMetricFrame, streamMetricReport) {\\n const streamDimensionMap = this.clientMetricReport.getStreamDimensionMap();\\n for (const metricName in streamMetricReport.currentStringMetrics) {\\n if (metricName in streamDimensionMap) {\\n const dimensionFrame = SignalingProtocol_js_1.SdkStreamDimension.create();\\n dimensionFrame.type = streamDimensionMap[metricName];\\n const dimensionValue = SignalingProtocol_js_1.SdkDimensionValue.create();\\n dimensionValue.stringValue = streamMetricReport.currentStringMetrics[metricName];\\n dimensionFrame.value = dimensionValue;\\n streamMetricFrame.dimensions.push(dimensionFrame);\\n }\\n }\\n }\\n /**\\n * Packages a metric into the MetricFrame.\\n */\\n addMetricFrame(metricName, clientMetricFrame, metricSpec, ssrc) {\\n const type = metricSpec.type;\\n const transform = metricSpec.transform;\\n const sourceMetric = metricSpec.source;\\n const streamMetricFramesLength = clientMetricFrame.streamMetricFrames.length;\\n const latestStreamMetricFrame = clientMetricFrame.streamMetricFrames[streamMetricFramesLength - 1];\\n if (type) {\\n const metricFrame = SignalingProtocol_js_1.SdkMetric.create();\\n metricFrame.type = type;\\n metricFrame.value = sourceMetric\\n ? transform(sourceMetric, ssrc)\\n : transform(metricName, ssrc);\\n ssrc\\n ? latestStreamMetricFrame.metrics.push(metricFrame)\\n : clientMetricFrame.globalMetrics.push(metricFrame);\\n }\\n }\\n /**\\n * Packages metrics in GlobalMetricReport into the MetricFrame.\\n */\\n addGlobalMetricsToProtobuf(clientMetricFrame) {\\n const metricMap = this.clientMetricReport.getMetricMap();\\n for (const metricName in this.clientMetricReport.globalMetricReport.currentMetrics) {\\n this.addMetricFrame(metricName, clientMetricFrame, metricMap[metricName]);\\n }\\n }\\n /**\\n * Packages metrics in StreamMetricReport into the MetricFrame.\\n */\\n addStreamMetricsToProtobuf(clientMetricFrame) {\\n for (const ssrc in this.clientMetricReport.streamMetricReports) {\\n const streamMetricReport = this.clientMetricReport.streamMetricReports[ssrc];\\n const streamMetricFrame = SignalingProtocol_js_1.SdkStreamMetricFrame.create();\\n streamMetricFrame.streamId = streamMetricReport.streamId;\\n streamMetricFrame.metrics = [];\\n this.addStreamMetricDimensionFrames(streamMetricFrame, streamMetricReport);\\n clientMetricFrame.streamMetricFrames.push(streamMetricFrame);\\n const metricMap = this.clientMetricReport.getMetricMap(streamMetricReport.mediaType, streamMetricReport.direction);\\n for (const metricName in streamMetricReport.currentMetrics) {\\n this.addMetricFrame(metricName, clientMetricFrame, metricMap[metricName], Number(ssrc));\\n }\\n for (const metricName in streamMetricReport.currentStringMetrics) {\\n this.addMetricFrame(metricName, clientMetricFrame, metricMap[metricName], Number(ssrc));\\n }\\n }\\n }\\n /**\\n * Packages all metrics into the MetricFrame.\\n */\\n makeClientMetricProtobuf() {\\n const clientMetricFrame = SignalingProtocol_js_1.SdkClientMetricFrame.create();\\n clientMetricFrame.globalMetrics = [];\\n clientMetricFrame.streamMetricFrames = [];\\n this.addGlobalMetricsToProtobuf(clientMetricFrame);\\n this.addStreamMetricsToProtobuf(clientMetricFrame);\\n return clientMetricFrame;\\n }\\n /**\\n * Sends the MetricFrame to Tincan via ProtoBuf.\\n */\\n sendClientMetricProtobuf(clientMetricFrame) {\\n this.signalingClient.sendClientMetrics(clientMetricFrame);\\n }\\n /**\\n * Checks if the type of RawMetricReport is stream related.\\n */\\n isStreamRawMetricReport(type) {\\n return ['inbound-rtp', 'outbound-rtp', 'remote-inbound-rtp', 'remote-outbound-rtp'].includes(type);\\n }\\n /**\\n * Returns the MediaType for a RawMetricReport.\\n */\\n getMediaType(rawMetricReport) {\\n return rawMetricReport.kind === 'audio' ? ClientMetricReportMediaType_1.default.AUDIO : ClientMetricReportMediaType_1.default.VIDEO;\\n }\\n /**\\n * Returns the Direction for a RawMetricReport.\\n */\\n getDirectionType(rawMetricReport) {\\n const { type } = rawMetricReport;\\n return type === 'inbound-rtp' || type === 'remote-outbound-rtp'\\n ? ClientMetricReportDirection_1.default.DOWNSTREAM\\n : ClientMetricReportDirection_1.default.UPSTREAM;\\n }\\n /**\\n * Checks if a RawMetricReport belongs to certain types.\\n */\\n isValidStandardRawMetric(rawMetricReport) {\\n return (rawMetricReport.type === 'inbound-rtp' ||\\n rawMetricReport.type === 'outbound-rtp' ||\\n rawMetricReport.type === 'remote-inbound-rtp' ||\\n rawMetricReport.type === 'remote-outbound-rtp' ||\\n (rawMetricReport.type === 'candidate-pair' && rawMetricReport.state === 'succeeded'));\\n }\\n /**\\n * Checks if a RawMetricReport is stream related.\\n */\\n isValidSsrc(rawMetricReport) {\\n let validSsrc = true;\\n if (this.isStreamRawMetricReport(rawMetricReport.type) &&\\n this.getDirectionType(rawMetricReport) === ClientMetricReportDirection_1.default.DOWNSTREAM &&\\n this.getMediaType(rawMetricReport) === ClientMetricReportMediaType_1.default.VIDEO) {\\n validSsrc = this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc)) > 0;\\n }\\n return validSsrc;\\n }\\n /**\\n * Checks if a RawMetricReport is valid.\\n */\\n isValidRawMetricReport(rawMetricReport) {\\n return this.isValidStandardRawMetric(rawMetricReport) && this.isValidSsrc(rawMetricReport);\\n }\\n /**\\n * Filters RawMetricReports and keeps the required parts.\\n */\\n filterRawMetricReports(rawMetricReports) {\\n const filteredRawMetricReports = [];\\n for (const rawMetricReport of rawMetricReports) {\\n if (this.isValidRawMetricReport(rawMetricReport)) {\\n filteredRawMetricReports.push(rawMetricReport);\\n }\\n }\\n return filteredRawMetricReports;\\n }\\n /**\\n * Performs a series operation on RawMetricReport.\\n */\\n handleRawMetricReports(rawMetricReports) {\\n const filteredRawMetricReports = this.filterRawMetricReports(rawMetricReports);\\n this.logger.debug(() => {\\n return `Filtered raw metrics : ${JSON.stringify(filteredRawMetricReports)}`;\\n });\\n this.processRawMetricReports(filteredRawMetricReports);\\n const clientMetricFrame = this.makeClientMetricProtobuf();\\n this.sendClientMetricProtobuf(clientMetricFrame);\\n this.audioVideoController.forEachObserver(observer => {\\n Types_1.Maybe.of(observer.metricsDidReceive).map(f => f.bind(observer)(this.clientMetricReport.clone()));\\n });\\n }\\n /**\\n * Gets raw WebRTC metrics.\\n */\\n getStatsWrapper() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.audioVideoController.rtcPeerConnection) {\\n return;\\n }\\n const rawMetricReports = [];\\n // @ts-ignore\\n try {\\n const report = yield this.audioVideoController.rtcPeerConnection.getStats();\\n this.clientMetricReport.rtcStatsReport = report;\\n report.forEach((item) => {\\n rawMetricReports.push(item);\\n });\\n this.handleRawMetricReports(rawMetricReports);\\n }\\n catch (error) {\\n this.logger.error(error.message);\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = StatsCollector;\\nStatsCollector.INTERVAL_MS = 1000;\\nStatsCollector.CLIENT_TYPE = 'amazon-chime-sdk-js';\\n//# sourceMappingURL=StatsCollector.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.VideoLogEvent = void 0;\\nvar VideoLogEvent;\\n(function (VideoLogEvent) {\\n VideoLogEvent[VideoLogEvent[\\\"InputAttached\\\"] = 0] = \\\"InputAttached\\\";\\n VideoLogEvent[VideoLogEvent[\\\"SendingFailed\\\"] = 1] = \\\"SendingFailed\\\";\\n VideoLogEvent[VideoLogEvent[\\\"SendingSuccess\\\"] = 2] = \\\"SendingSuccess\\\";\\n})(VideoLogEvent = exports.VideoLogEvent || (exports.VideoLogEvent = {}));\\nexports[\\\"default\\\"] = VideoLogEvent;\\n//# sourceMappingURL=VideoLogEvent.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js ***!\n \\*****************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 VideoLogEvent_1 = __webpack_require__(/*! ../statscollector/VideoLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[AttachMediaInputTask]] adds audio and video input to peer connection.\\n */\\nclass AttachMediaInputTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'AttachMediaInputTask';\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const transceiverController = this.context.transceiverController;\\n transceiverController.setPeer(this.context.peer);\\n transceiverController.setupLocalTransceivers();\\n const audioInput = this.context.activeAudioInput;\\n if (audioInput) {\\n const audioTracks = audioInput.getAudioTracks();\\n this.context.logger.info('attaching audio track to peer connection');\\n yield transceiverController.setAudioInput(audioTracks.length ? audioTracks[0] : null);\\n }\\n else {\\n yield transceiverController.setAudioInput(null);\\n this.context.logger.info('no audio track');\\n }\\n const videoInput = this.context.activeVideoInput;\\n if (videoInput) {\\n const videoTracks = videoInput.getVideoTracks();\\n const videoTrack = videoTracks.length ? videoTracks[0] : null;\\n this.context.logger.info('attaching video track to peer connection');\\n yield transceiverController.setVideoInput(videoTrack);\\n if (this.context.enableSimulcast && this.context.videoUplinkBandwidthPolicy) {\\n const encodingParam = this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();\\n transceiverController.setEncodingParameters(encodingParam);\\n }\\n if (videoTrack) {\\n this.context.statsCollector.logVideoEvent(VideoLogEvent_1.default.InputAttached, this.context.videoDeviceInformation);\\n }\\n }\\n else {\\n yield transceiverController.setVideoInput(null);\\n this.context.logger.info('no video track');\\n }\\n this.context.videoSubscriptions = transceiverController.updateVideoTransceivers(this.context.videoStreamIndex, this.context.videosToReceive);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = AttachMediaInputTask;\\n//# sourceMappingURL=AttachMediaInputTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js ***!\n \\*****************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 OnceTask_1 = __webpack_require__(/*! ./OnceTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js\\\");\\nconst TaskStatus_1 = __webpack_require__(/*! ./TaskStatus */ \\\"./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js\\\");\\n/*\\n * [[BaseTask]] provides common utilities for task implementations.\\n */\\nclass BaseTask {\\n constructor(logger) {\\n this.logger = logger;\\n this.taskName = 'BaseTask';\\n this.parentTask = null;\\n this.status = TaskStatus_1.default.IDLE;\\n this.run = this.baseRun.bind(this, this.run);\\n this.cancel = this.baseCancel.bind(this, this.cancel);\\n }\\n once(...dependencies) {\\n return new OnceTask_1.default(this.logger, this, dependencies);\\n }\\n cancel() { }\\n name() {\\n return this.parentTask ? `${this.parentTask.name()}/${this.taskName}` : this.taskName;\\n }\\n setParent(parentTask) {\\n this.parentTask = parentTask;\\n }\\n getStatus() {\\n return this.status;\\n }\\n logAndThrow(message) {\\n this.logger.info(message);\\n throw new Error(message);\\n }\\n baseRun(originalRun) {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n const startTime = Date.now();\\n this.logger.info(`running task ${this.name()}`);\\n switch (this.status) {\\n case TaskStatus_1.default.RUNNING:\\n this.logAndThrow(`${this.name()} is already running`);\\n case TaskStatus_1.default.CANCELED:\\n this.logAndThrow(`${this.name()} was canceled before running`);\\n case TaskStatus_1.default.FINISHED:\\n this.logAndThrow(`${this.name()} was already finished`);\\n }\\n this.status = TaskStatus_1.default.RUNNING;\\n yield originalRun.call(this);\\n this.logger.info(`${this.name()} took ${Math.round(Date.now() - startTime)} ms`);\\n }\\n catch (err) {\\n throw err;\\n }\\n finally {\\n if (this.status !== TaskStatus_1.default.CANCELED) {\\n this.status = TaskStatus_1.default.FINISHED;\\n }\\n }\\n });\\n }\\n baseCancel(originalCancel) {\\n if (this.status === TaskStatus_1.default.CANCELED || this.status === TaskStatus_1.default.FINISHED) {\\n this.logger.info(`Not canceling ${this.name()}: state is ${this.status}`);\\n return;\\n }\\n this.logger.info(`canceling task ${this.name()}`);\\n this.status = TaskStatus_1.default.CANCELED;\\n originalCancel.call(this);\\n }\\n}\\nexports[\\\"default\\\"] = BaseTask;\\n//# sourceMappingURL=BaseTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js ***!\n \\**********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass CleanRestartedSessionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CleanRestartedSessionTask';\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.resetConnectionSpecificState();\\n });\\n }\\n}\\nexports[\\\"default\\\"] = CleanRestartedSessionTask;\\n//# sourceMappingURL=CleanRestartedSessionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js ***!\n \\********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * `CleanStoppedSessionTask` permenently cleans up all components of `AudioVideoControllerState` after a stop call.\\n */\\nclass CleanStoppedSessionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CleanStoppedSessionTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n if (this.context.signalingClient.ready()) {\\n this.context.signalingClient.closeConnection();\\n yield this.receiveWebSocketClosedEvent();\\n }\\n }\\n catch (error) {\\n throw error;\\n }\\n finally {\\n for (const observer of this.context.removableObservers) {\\n observer.removeObserver();\\n }\\n this.context.resetConnectionSpecificState();\\n this.context.statsCollector.stop();\\n this.context.statsCollector = null;\\n this.context.connectionMonitor.stop();\\n this.context.connectionMonitor = null;\\n if (this.context.videoUplinkBandwidthPolicy.setTransceiverController) {\\n this.context.videoUplinkBandwidthPolicy.setTransceiverController(undefined);\\n }\\n if (this.context.videoDownlinkBandwidthPolicy.bindToTileController) {\\n this.context.videoDownlinkBandwidthPolicy.bindToTileController(undefined);\\n }\\n // This state may be reused to join another conference, so clear out all the existing video tiles\\n const tile = this.context.videoTileController.getLocalVideoTile();\\n if (tile) {\\n tile.bindVideoStream('', true, null, null, null, null);\\n }\\n this.context.videoTileController.removeAllVideoTiles();\\n }\\n });\\n }\\n receiveWebSocketClosedEvent() {\\n return new Promise((resolve, reject) => {\\n class Interceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`CleanStoppedSessionTask got canceled while waiting for the WebSocket closed event`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type === SignalingClientEventType_1.default.WebSocketClosed) {\\n this.signalingClient.removeObserver(this);\\n resolve();\\n }\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient);\\n this.taskCanceler = interceptor;\\n this.context.signalingClient.registerObserver(interceptor);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = CleanStoppedSessionTask;\\n//# sourceMappingURL=CleanStoppedSessionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[CreatePeerConnectionTask]] sets up the peer connection object.\\n */\\nclass CreatePeerConnectionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CreatePeerConnectionTask';\\n this.removeTrackAddedEventListener = null;\\n this.removeTrackRemovedEventListeners = {};\\n this.trackEvents = [\\n 'ended',\\n 'mute',\\n 'unmute',\\n 'isolationchange',\\n 'overconstrained',\\n ];\\n this.removeVideoTrackEventListeners = {};\\n this.trackAddedHandler = (event) => {\\n const track = event.track;\\n this.context.logger.info(`received track event: kind=${track.kind} id=${track.id} label=${track.label}`);\\n if (event.transceiver && event.transceiver.currentDirection === 'inactive') {\\n return;\\n }\\n if (event.streams.length === 0) {\\n this.context.logger.warn(`Track event but no stream`);\\n return;\\n }\\n const stream = event.streams[0];\\n if (track.kind === 'audio') {\\n this.context.audioMixController.bindAudioStream(stream);\\n }\\n else if (track.kind === 'video' && !this.trackIsVideoInput(track)) {\\n this.addRemoteVideoTrack(track, stream);\\n }\\n };\\n }\\n removeObserver() {\\n this.removeTrackAddedEventListener && this.removeTrackAddedEventListener();\\n for (const trackId in this.removeTrackRemovedEventListeners) {\\n this.removeTrackRemovedEventListeners[trackId]();\\n }\\n }\\n addPeerConnectionEventLogger() {\\n const peer = this.context.peer;\\n peer.addEventListener('connectionstatechange', () => {\\n this.context.logger.info(`peer connection state changed: ${peer.connectionState}`);\\n });\\n peer.addEventListener('negotiationneeded', () => {\\n this.context.logger.info('peer connection negotiation is needed');\\n });\\n peer.addEventListener('icegatheringstatechange', () => {\\n this.context.logger.info(`peer connection ice gathering state changed: ${peer.iceGatheringState}`);\\n });\\n peer.addEventListener('icecandidate', (event) => {\\n this.context.logger.info(`peer connection ice candidate: ${event.candidate ? event.candidate.candidate : '(null)'}`);\\n });\\n peer.addEventListener('iceconnectionstatechange', () => {\\n this.context.logger.info(`peer connection ice connection state changed: ${peer.iceConnectionState}`);\\n });\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n const hasTurnCredentials = this.context.turnCredentials && this.context.turnCredentials.uris.length > 0;\\n const configuration = hasTurnCredentials\\n ? {\\n iceServers: [\\n {\\n urls: this.context.turnCredentials.uris,\\n username: this.context.turnCredentials.username,\\n credential: this.context.turnCredentials.password,\\n credentialType: 'password',\\n },\\n ],\\n iceTransportPolicy: 'relay',\\n }\\n : {};\\n configuration.bundlePolicy = this.context.browserBehavior.requiresBundlePolicy();\\n // @ts-ignore\\n configuration.sdpSemantics = 'unified-plan';\\n if (this.context.peer) {\\n this.context.logger.info('reusing peer connection');\\n }\\n else {\\n this.context.logger.info('creating new peer connection');\\n // @ts-ignore\\n this.context.peer = new RTCPeerConnection(configuration);\\n this.addPeerConnectionEventLogger();\\n }\\n this.removeTrackAddedEventListener = () => {\\n if (this.context.peer) {\\n this.context.peer.removeEventListener('track', this.trackAddedHandler);\\n }\\n this.removeTrackAddedEventListener = null;\\n };\\n this.context.peer.addEventListener('track', this.trackAddedHandler);\\n });\\n }\\n trackIsVideoInput(track) {\\n if (this.context.transceiverController.useTransceivers()) {\\n this.logger.debug(() => {\\n return `getting video track type`;\\n });\\n return this.context.transceiverController.trackIsVideoInput(track);\\n }\\n return false;\\n }\\n addRemoteVideoTrack(track, stream) {\\n var _a;\\n const trackId = stream.id;\\n const attendeeId = this.context.videoStreamIndex.attendeeIdForTrack(trackId);\\n let skipAdding;\\n let tile;\\n if (this.context.videoTileController.getVideoTileForAttendeeId) {\\n tile = this.context.videoTileController.getVideoTileForAttendeeId(attendeeId);\\n skipAdding = !!((_a = tile === null || tile === void 0 ? void 0 : tile.state()) === null || _a === void 0 ? void 0 : _a.boundVideoStream);\\n }\\n else {\\n skipAdding = this.context.videoTileController.haveVideoTileForAttendeeId(attendeeId);\\n }\\n if (skipAdding) {\\n this.context.logger.info(`Not adding remote track. Already have tile for attendeeId: ${attendeeId}`);\\n return;\\n }\\n if (!tile) {\\n tile = this.context.videoTileController.addVideoTile();\\n this.logger.info(`Created video tile ${tile.id()}`);\\n }\\n let streamId = this.context.videoStreamIndex.streamIdForTrack(trackId);\\n if (typeof streamId === 'undefined') {\\n this.logger.warn(`stream not found for tile=${tile.id()} track=${trackId}`);\\n streamId = null;\\n }\\n for (let i = 0; i < this.trackEvents.length; i++) {\\n const trackEvent = this.trackEvents[i];\\n const videoTracks = stream.getVideoTracks();\\n if (videoTracks && videoTracks.length) {\\n const videoTrack = videoTracks[0];\\n const callback = () => {\\n this.context.logger.info(`received the ${trackEvent} event for tile=${tile.id()} id=${track.id} streamId=${streamId}`);\\n if (trackEvent === 'ended') {\\n this.removeRemoteVideoTrack(track, tile.state());\\n }\\n };\\n videoTrack.addEventListener(trackEvent, callback);\\n if (!this.removeVideoTrackEventListeners[track.id]) {\\n this.removeVideoTrackEventListeners[track.id] = [];\\n }\\n this.removeVideoTrackEventListeners[track.id].push(() => {\\n videoTrack.removeEventListener(trackEvent, callback);\\n });\\n }\\n }\\n let width;\\n let 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 const externalUserId = this.context.videoStreamIndex.externalUserIdForTrack(trackId);\\n tile.bindVideoStream(attendeeId, false, stream, width, height, streamId, externalUserId);\\n this.logger.info(`video track added, use tile=${tile.id()} track=${trackId} streamId=${streamId}`);\\n const endEvent = 'removetrack';\\n const target = stream;\\n const trackRemovedHandler = () => this.removeRemoteVideoTrack(track, tile.state());\\n this.removeTrackRemovedEventListeners[track.id] = () => {\\n target.removeEventListener(endEvent, trackRemovedHandler);\\n delete this.removeTrackRemovedEventListeners[track.id];\\n };\\n target.addEventListener(endEvent, trackRemovedHandler);\\n }\\n removeRemoteVideoTrack(track, tileState) {\\n if (this.removeTrackRemovedEventListeners.hasOwnProperty(track.id)) {\\n this.removeTrackRemovedEventListeners[track.id]();\\n for (const removeVideoTrackEventListener of this.removeVideoTrackEventListeners[track.id]) {\\n removeVideoTrackEventListener();\\n }\\n delete this.removeVideoTrackEventListeners[track.id];\\n }\\n this.logger.info(`video track ended, removing tile=${tileState.tileId} id=${track.id} stream=${tileState.streamId}`);\\n if (tileState.streamId) {\\n this.context.videosPaused.remove(tileState.streamId);\\n }\\n else {\\n this.logger.warn(`no stream found for tile=${tileState.tileId}`);\\n }\\n this.context.videoTileController.removeVideoTile(tileState.tileId);\\n }\\n}\\nexports[\\\"default\\\"] = CreatePeerConnectionTask;\\nCreatePeerConnectionTask.REMOVE_HANDLER_INTERVAL_MS = 10000;\\n//# sourceMappingURL=CreatePeerConnectionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js ***!\n \\**********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[CreateSDPTask]] asynchronously calls [[createOffer]] on peer connection.\\n */\\nclass CreateSDPTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CreateSDPTask';\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n sessionUsesAudio() {\\n var _a, _b;\\n return !!((_b = (_a = this.context.meetingSessionConfiguration) === null || _a === void 0 ? void 0 : _a.urls) === null || _b === void 0 ? void 0 : _b.audioHostURL);\\n }\\n sessionUsesVideo() {\\n const enabled = true;\\n let sending;\\n if (this.context.transceiverController.useTransceivers()) {\\n sending = this.context.transceiverController.hasVideoInput();\\n }\\n else {\\n sending = this.context.videoTileController.hasStartedLocalVideoTile();\\n }\\n const receiving = !!this.context.videosToReceive && !this.context.videosToReceive.empty();\\n const usesVideo = enabled && (sending || receiving);\\n this.context.logger.info(`uses video: ${usesVideo} (enabled: ${enabled}, sending: ${sending}, receiving: ${receiving})`);\\n return usesVideo;\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const offerOptions = {\\n offerToReceiveAudio: this.sessionUsesAudio(),\\n offerToReceiveVideo: this.sessionUsesVideo(),\\n };\\n this.logger.info(`peer connection offerOptions: ${JSON.stringify(offerOptions)}`);\\n yield new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n this.cancelPromise = (error) => {\\n reject(error);\\n };\\n try {\\n this.context.sdpOfferInit = yield this.context.peer.createOffer(offerOptions);\\n this.context.logger.info('peer connection created offer');\\n if (this.context.previousSdpOffer) {\\n if (new SDP_1.default(this.context.sdpOfferInit.sdp).videoSendSectionHasDifferentSSRC(this.context.previousSdpOffer)) {\\n const error = new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.IncompatibleSDP}`);\\n this.context.previousSdpOffer = null;\\n reject(error);\\n return;\\n }\\n }\\n resolve();\\n }\\n catch (error) {\\n reject(error);\\n }\\n finally {\\n delete this.cancelPromise;\\n }\\n }));\\n });\\n }\\n}\\nexports[\\\"default\\\"] = CreateSDPTask;\\n//# sourceMappingURL=CreateSDPTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js ***!\n \\*****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[FinishGatheringICECandidatesTask]] add ice-candidate event handler on peer connection to\\n * collect ice candidates and wait for peer connection ice gathering state to complete\\n */\\nclass FinishGatheringICECandidatesTask extends BaseTask_1.default {\\n constructor(context, chromeVpnTimeoutMs = FinishGatheringICECandidatesTask.CHROME_VPN_TIMEOUT_MS) {\\n super(context.logger);\\n this.context = context;\\n this.chromeVpnTimeoutMs = chromeVpnTimeoutMs;\\n this.taskName = 'FinishGatheringICECandidatesTask';\\n }\\n removeEventListener() {\\n if (this.context.peer) {\\n this.context.peer.removeEventListener('icecandidate', this.context.iceCandidateHandler);\\n if (!this.context.turnCredentials) {\\n this.context.peer.removeEventListener('icegatheringstatechange', this.context.iceGatheringStateEventHandler);\\n }\\n }\\n }\\n cancel() {\\n let error;\\n // TODO: Remove when the Chrome VPN reconnect bug is fixed.\\n // In Chrome, SDK may fail to establish TURN session after VPN reconnect.\\n // https://bugs.chromium.org/p/webrtc/issues/detail?id=9097\\n if (this.context.browserBehavior.requiresIceCandidateGatheringTimeoutWorkaround()) {\\n if (this.chromeVpnTimeoutMs < this.context.meetingSessionConfiguration.connectionTimeoutMs) {\\n const duration = Date.now() - this.startTimestampMs;\\n if (duration > this.chromeVpnTimeoutMs) {\\n error = new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround}`);\\n }\\n }\\n }\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n error = error || new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.context.peer) {\\n this.logAndThrow(`session does not have peer connection; bypass ice gathering`);\\n }\\n if (this.context.browserBehavior.requiresCheckForSdpConnectionAttributes()) {\\n if (new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidatesForAllMLines()) {\\n this.context.logger.info(`ice gathering already complete; bypass gathering, current local description ${this.context.peer.localDescription.sdp}`);\\n return;\\n }\\n }\\n else {\\n this.context.logger.info(`iOS device does not require checking for connection attributes in SDP, current local description ${this.context.peer.localDescription.sdp}`);\\n }\\n /*\\n * To bypass waiting for events, it is required that \\\"icegatheringstate\\\" to be complete and sdp to have candidate\\n * For Firefox, it takes long for iceGatheringState === 'complete'\\n * Ref: https://github.com/aws/amazon-chime-sdk-js/issues/609\\n */\\n if ((this.context.browserBehavior.hasFirefoxWebRTC() ||\\n this.context.peer.iceGatheringState === 'complete') &&\\n new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidates()) {\\n this.context.logger.info('ice gathering state is complete and candidates are in SDP; bypass gathering');\\n return;\\n }\\n try {\\n yield new Promise((resolve, reject) => {\\n this.cancelPromise = (error) => {\\n this.removeEventListener();\\n reject(error);\\n };\\n if (!this.context.turnCredentials) {\\n // if one day, we found a case where a FinishGatheringICECandidate did not resolve but ice gathering state is complete and SDP answer has ice candidates\\n // we may need to enable this\\n this.context.iceGatheringStateEventHandler = () => {\\n if (this.context.peer.iceGatheringState === 'complete') {\\n this.removeEventListener();\\n resolve();\\n delete this.cancelPromise;\\n return;\\n }\\n };\\n this.context.peer.addEventListener('icegatheringstatechange', this.context.iceGatheringStateEventHandler);\\n }\\n this.context.iceCandidateHandler = (event) => {\\n this.context.logger.info(`ice candidate: ${event.candidate ? event.candidate.candidate : '(null)'} state: ${this.context.peer.iceGatheringState}`);\\n // Ice candidate arrives, do not need to wait anymore.\\n // https://webrtcglossary.com/trickle-ice/\\n if (event.candidate) {\\n if (SDP_1.default.isRTPCandidate(event.candidate.candidate)) {\\n this.context.iceCandidates.push(event.candidate);\\n }\\n // Could there be a case the candidate is not written to SDP ?\\n if (this.context.turnCredentials && this.context.iceCandidates.length >= 1) {\\n this.context.logger.info('gathered at least one relay candidate');\\n this.removeEventListener();\\n resolve();\\n delete this.cancelPromise;\\n return;\\n }\\n }\\n // Ice candidate gathering is complete, additional barrier to make sure sdp contain an ice candidate.\\n // TODO: Could there be a race where iceGatheringState is flipped after this task is run ? This could only be handled if ice state is monitored persistently.\\n if (this.context.peer.iceGatheringState === 'complete') {\\n this.context.logger.info('done gathering ice candidates');\\n this.removeEventListener();\\n if (!new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidates() ||\\n this.context.iceCandidates.length === 0) {\\n reject(new Error('no ice candidates were gathered'));\\n delete this.cancelPromise;\\n }\\n else {\\n resolve();\\n delete this.cancelPromise;\\n }\\n }\\n };\\n // SDK does not catch candidate itself and send to sever. Rather, WebRTC handles candidate events and writes candidate to SDP.\\n this.context.peer.addEventListener('icecandidate', this.context.iceCandidateHandler);\\n this.startTimestampMs = Date.now();\\n });\\n }\\n catch (error) {\\n throw error;\\n }\\n finally {\\n /* istanbul ignore else */\\n if (this.startTimestampMs) {\\n this.context.iceGatheringDurationMs = Math.round(Date.now() - this.startTimestampMs);\\n }\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = FinishGatheringICECandidatesTask;\\nFinishGatheringICECandidatesTask.CHROME_VPN_TIMEOUT_MS = 5000;\\n//# sourceMappingURL=FinishGatheringICECandidatesTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js ***!\n \\********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 MeetingSessionTURNCredentials_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionTURNCredentials */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js\\\");\\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst SignalingClientJoin_1 = __webpack_require__(/*! ../signalingclient/SignalingClientJoin */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js\\\");\\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[JoinAndReceiveIndexTask]] sends the JoinFrame and asynchronously waits for the server to send the [[SdkIndexFrame]].\\n * It should run with the [[TimeoutTask]] as the subtask so it can get canceled after timeout.\\n */\\nclass JoinAndReceiveIndexTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'JoinAndReceiveIndexTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const indexFrame = yield new Promise((resolve, reject) => {\\n const context = this.context;\\n context.turnCredentials = null;\\n class IndexFrameInterceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`JoinAndReceiveIndexTask got canceled while waiting for SdkIndexFrame`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type === SignalingClientEventType_1.default.WebSocketClosed) {\\n let message = `The signaling connection was closed with code ${event.closeCode} and reason: ${event.closeReason}`;\\n context.logger.warn(message);\\n let statusCode = MeetingSessionStatusCode_1.default.SignalingBadRequest;\\n if (event.closeCode === 4410) {\\n message = 'The meeting already ended.';\\n context.logger.warn(message);\\n statusCode = MeetingSessionStatusCode_1.default.MeetingEnded;\\n }\\n else if (event.closeCode >= 4500 && event.closeCode < 4600) {\\n statusCode = MeetingSessionStatusCode_1.default.SignalingInternalServerError;\\n }\\n context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(statusCode), new Error(message));\\n return;\\n }\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame) {\\n return;\\n }\\n if (event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.JOIN_ACK) {\\n // @ts-ignore: force cast to SdkJoinAckFrame\\n const joinAckFrame = event.message.joinack;\\n if (joinAckFrame && joinAckFrame.videoSubscriptionLimit) {\\n context.videoSubscriptionLimit = joinAckFrame.videoSubscriptionLimit;\\n }\\n context.serverSupportsCompression = joinAckFrame === null || joinAckFrame === void 0 ? void 0 : joinAckFrame.wantsCompressedSdp;\\n if ((joinAckFrame === null || joinAckFrame === void 0 ? void 0 : joinAckFrame.defaultServerSideNetworkAdaption) !== undefined &&\\n joinAckFrame.defaultServerSideNetworkAdaption !== ServerSideNetworkAdaption_1.default.Default &&\\n context.videoDownlinkBandwidthPolicy.setServerSideNetworkAdaption !== undefined) {\\n const defaultServerSideNetworkAdaption = joinAckFrame.defaultServerSideNetworkAdaption;\\n context.logger.info(`Overriding server side network adaption value to ${defaultServerSideNetworkAdaption}`);\\n context.videoDownlinkBandwidthPolicy.setServerSideNetworkAdaption(ServerSideNetworkAdaption_1.convertServerSideNetworkAdaptionEnumFromSignaled(defaultServerSideNetworkAdaption));\\n }\\n if (joinAckFrame && joinAckFrame.turnCredentials) {\\n context.turnCredentials = new MeetingSessionTURNCredentials_1.default();\\n context.turnCredentials.username = joinAckFrame.turnCredentials.username;\\n context.turnCredentials.password = joinAckFrame.turnCredentials.password;\\n context.turnCredentials.ttl = joinAckFrame.turnCredentials.ttl;\\n context.turnCredentials.uris = joinAckFrame.turnCredentials.uris\\n .map((uri) => {\\n return context.meetingSessionConfiguration.urls.urlRewriter(uri);\\n })\\n .filter((uri) => {\\n return !!uri;\\n });\\n }\\n else {\\n context.logger.error('missing TURN credentials in JoinAckFrame');\\n }\\n return;\\n }\\n if (event.message.type !== SignalingProtocol_js_1.SdkSignalFrame.Type.INDEX) {\\n return;\\n }\\n this.signalingClient.removeObserver(this);\\n // @ts-ignore: force cast to SdkIndexFrame\\n const indexFrame = event.message.index;\\n resolve(indexFrame);\\n }\\n }\\n const interceptor = new IndexFrameInterceptor(this.context.signalingClient);\\n this.context.signalingClient.registerObserver(interceptor);\\n this.taskCanceler = interceptor;\\n // reset SDP compression state\\n this.context.previousSdpAnswerAsString = '';\\n this.context.previousSdpOffer = null;\\n this.context.serverSupportsCompression = false;\\n const join = new SignalingClientJoin_1.default(this.context.meetingSessionConfiguration.applicationMetadata);\\n if (this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption !== undefined &&\\n this.context.videoDownlinkBandwidthPolicy.supportedServerSideNetworkAdaptions !== undefined) {\\n join.serverSideNetworkAdaption = this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption();\\n join.supportedServerSideNetworkAdaptions = this.context.videoDownlinkBandwidthPolicy.supportedServerSideNetworkAdaptions();\\n }\\n join.disablePeriodicKeyframeRequestOnContentSender = this.context.meetingSessionConfiguration.disablePeriodicKeyframeRequestOnContentSender;\\n this.context.signalingClient.join(join);\\n });\\n this.context.logger.info(`received first index ${JSON.stringify(indexFrame)}`);\\n // We currently don't bother ingesting this into the same places as `ReceiveVideoStreamIndexTask` as we synchronously attempt a first subscribe\\n // after this task completes and the state isn't quite in the right place to make it work without some refactoring. However that\\n // means that we will always have an initial subscribe without any received videos.\\n this.context.indexFrame = indexFrame;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = JoinAndReceiveIndexTask;\\n//# sourceMappingURL=JoinAndReceiveIndexTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[LeaveAndReceiveLeaveAckTask]] sends a Leave frame and waits for a LeaveAck.\\n */\\nclass LeaveAndReceiveLeaveAckTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'LeaveAndReceiveLeaveAckTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.context.signalingClient.ready()) {\\n this.context.signalingClient.leave();\\n this.context.logger.info('sent leave');\\n yield this.receiveLeaveAck();\\n }\\n });\\n }\\n receiveLeaveAck() {\\n return new Promise((resolve, reject) => {\\n class Interceptor {\\n constructor(signalingClient, logger) {\\n this.signalingClient = signalingClient;\\n this.logger = logger;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`LeaveAndReceiveLeaveAckTask got canceled while waiting for IndexFrame`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.isConnectionTerminated()) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('LeaveAndReceiveLeaveAckTask connection terminated');\\n // don't treat this as an error\\n resolve();\\n return;\\n }\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame &&\\n event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.LEAVE_ACK) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('got leave ack');\\n resolve();\\n }\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient, this.context.logger);\\n this.taskCanceler = interceptor;\\n this.context.signalingClient.registerObserver(interceptor);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = LeaveAndReceiveLeaveAckTask;\\n//# sourceMappingURL=LeaveAndReceiveLeaveAckTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js ***!\n \\**************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass ListenForVolumeIndicatorsTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ListenForVolumeIndicatorsTask';\\n this.realtimeMuteAndUnmuteHandler = (muted) => {\\n this.context.signalingClient.mute(muted);\\n };\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n this.context.signalingClient.registerObserver(this);\\n this.context.realtimeController.realtimeSubscribeToMuteAndUnmuteLocalAudio(this.realtimeMuteAndUnmuteHandler);\\n });\\n }\\n removeObserver() {\\n this.context.realtimeController.realtimeUnsubscribeToMuteAndUnmuteLocalAudio(this.realtimeMuteAndUnmuteHandler);\\n this.context.signalingClient.removeObserver(this);\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame) {\\n return;\\n }\\n if (event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_STREAM_ID_INFO) {\\n // @ts-ignore\\n const audioStreamIdInfo = event.message.audioStreamIdInfo;\\n this.context.volumeIndicatorAdapter.sendRealtimeUpdatesForAudioStreamIdInfo(audioStreamIdInfo);\\n }\\n else if (event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_METADATA) {\\n // @ts-ignore\\n const audioMetadata = event.message.audioMetadata;\\n this.context.volumeIndicatorAdapter.sendRealtimeUpdatesForAudioMetadata(audioMetadata);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = ListenForVolumeIndicatorsTask;\\n//# sourceMappingURL=ListenForVolumeIndicatorsTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js ***!\n \\********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 ClientMetricReportDirection_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportDirection */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\\\");\\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportMediaType */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\\\");\\nconst ClientVideoStreamReceivingReport_1 = __webpack_require__(/*! ../clientmetricreport/ClientVideoStreamReceivingReport */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js\\\");\\nconst ReconnectionHealthPolicy_1 = __webpack_require__(/*! ../connectionhealthpolicy/ReconnectionHealthPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js\\\");\\nconst SendingAudioFailureConnectionHealthPolicy_1 = __webpack_require__(/*! ../connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js\\\");\\nconst UnusableAudioWarningConnectionHealthPolicy_1 = __webpack_require__(/*! ../connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.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 SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst SignalingProtocol_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst AudioLogEvent_1 = __webpack_require__(/*! ../statscollector/AudioLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js\\\");\\nconst Types_1 = __webpack_require__(/*! ../utils/Types */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Types.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[MonitorTask]] monitors connections using SignalingAndMetricsConnectionMonitor.\\n */\\nclass MonitorTask extends BaseTask_1.default {\\n constructor(context, connectionHealthPolicyConfiguration, initialConnectionHealthData) {\\n super(context.logger);\\n this.context = context;\\n this.initialConnectionHealthData = initialConnectionHealthData;\\n this.taskName = 'MonitorTask';\\n this.prevSignalStrength = 1;\\n this.currentVideoDownlinkBandwidthEstimationKbps = 10000;\\n this.currentAvailableStreamAvgBitrates = null;\\n this.hasSignalingError = false;\\n this.presenceHandlerCalled = false;\\n // See comment above invocation of `pauseResubscribeCheck` in `DefaultAudioVideoController`\\n // for explanation.\\n this.isResubscribeCheckPaused = false;\\n this.pendingMetricsReport = undefined;\\n this.isMeetingConnected = false;\\n this.checkAndSendWeakSignalEvent = (signalStrength) => {\\n const isCurrentSignalBad = signalStrength < 1;\\n const isPrevSignalBad = this.prevSignalStrength < 1;\\n const signalStrengthEventType = isCurrentSignalBad\\n ? !isPrevSignalBad\\n ? AudioLogEvent_1.default.RedmicStartLoss\\n : null\\n : isPrevSignalBad\\n ? AudioLogEvent_1.default.RedmicEndLoss\\n : null;\\n if (signalStrengthEventType) {\\n this.context.statsCollector.logAudioEvent(signalStrengthEventType);\\n }\\n this.prevSignalStrength = signalStrength;\\n };\\n this.realtimeFatalErrorCallback = (error) => {\\n this.logger.error(`realtime error: ${error}: ${error.stack}`);\\n this.context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.RealtimeApiFailed), error);\\n };\\n this.realtimeAttendeeIdPresenceHandler = (presentAttendeeId, present) => {\\n var _a;\\n const attendeeId = this.context.meetingSessionConfiguration.credentials.attendeeId;\\n this.logger.info(`attendeePresenceReceived: ${attendeeId}`);\\n if (attendeeId === presentAttendeeId && present && !this.presenceHandlerCalled) {\\n this.presenceHandlerCalled = true;\\n this.context.attendeePresenceDurationMs = Date.now() - this.context.startAudioVideoTimestamp;\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('attendeePresenceReceived', {\\n attendeePresenceDurationMs: this.context.attendeePresenceDurationMs,\\n });\\n }\\n };\\n this.generateBaseAudioVideoEventAttributes = () => {\\n const { signalingOpenDurationMs, startTimeMs, iceGatheringDurationMs, attendeePresenceDurationMs, meetingStartDurationMs, } = this.context;\\n return {\\n meetingDurationMs: startTimeMs === null ? 0 : Math.round(Date.now() - startTimeMs),\\n signalingOpenDurationMs,\\n iceGatheringDurationMs,\\n attendeePresenceDurationMs,\\n meetingStartDurationMs,\\n };\\n };\\n this.generateAudioVideoEventAttributesForReceivingAudioDropped = () => {\\n const baseAttributes = this.generateBaseAudioVideoEventAttributes();\\n return Object.assign(Object.assign({}, baseAttributes), { maxVideoTileCount: this.context.maxVideoTileCount, poorConnectionCount: this.context.poorConnectionCount });\\n };\\n this.reconnectionHealthPolicy = new ReconnectionHealthPolicy_1.default(context.logger, Object.assign({}, connectionHealthPolicyConfiguration), this.initialConnectionHealthData.clone());\\n this.unusableAudioWarningHealthPolicy = new UnusableAudioWarningConnectionHealthPolicy_1.default(Object.assign({}, connectionHealthPolicyConfiguration), this.initialConnectionHealthData.clone());\\n this.sendingAudioFailureHealthPolicy = new SendingAudioFailureConnectionHealthPolicy_1.default(context.logger, Object.assign({}, connectionHealthPolicyConfiguration), this.initialConnectionHealthData.clone());\\n }\\n removeObserver() {\\n this.context.audioVideoController.removeObserver(this);\\n this.context.realtimeController.realtimeUnsubscribeToFatalError(this.realtimeFatalErrorCallback);\\n this.context.realtimeController.realtimeUnsubscribeToLocalSignalStrengthChange(this.checkAndSendWeakSignalEvent);\\n this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(this.realtimeAttendeeIdPresenceHandler);\\n this.context.signalingClient.removeObserver(this);\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n this.context.audioVideoController.addObserver(this);\\n this.context.realtimeController.realtimeSubscribeToFatalError(this.realtimeFatalErrorCallback);\\n this.context.realtimeController.realtimeSubscribeToLocalSignalStrengthChange(this.checkAndSendWeakSignalEvent);\\n this.context.realtimeController.realtimeSubscribeToAttendeeIdPresence(this.realtimeAttendeeIdPresenceHandler);\\n this.context.connectionMonitor.start();\\n this.context.statsCollector.start(this.context.signalingClient, this.context.videoStreamIndex);\\n this.context.signalingClient.registerObserver(this);\\n });\\n }\\n pauseResubscribeCheck() {\\n this.isResubscribeCheckPaused = true;\\n }\\n resumeResubscribeCheck() {\\n if (!this.isResubscribeCheckPaused) {\\n // Do not recheck subcribe if it wasn't paused to begin with.\\n return;\\n }\\n this.isResubscribeCheckPaused = false;\\n if (this.pendingMetricsReport) {\\n this.context.logger.info('Resuming resubscribe check with pending metrics report');\\n if (this.checkResubscribe(this.pendingMetricsReport)) {\\n this.context.audioVideoController.update({ needsRenegotiation: false });\\n }\\n }\\n }\\n videoTileDidUpdate(_tileState) {\\n this.context.maxVideoTileCount = Math.max(this.context.maxVideoTileCount, this.context.videoTileController.getAllVideoTiles().length);\\n }\\n checkResubscribe(clientMetricReport) {\\n if (this.isResubscribeCheckPaused) {\\n this.context.logger.info('Resubscribe check is paused, setting incoming client metric report as pending');\\n this.pendingMetricsReport = clientMetricReport;\\n return;\\n }\\n else {\\n this.pendingMetricsReport = undefined;\\n }\\n const metricReport = clientMetricReport.getObservableMetrics();\\n if (!metricReport) {\\n return false;\\n }\\n const availableSendBandwidth = metricReport.availableOutgoingBitrate;\\n const nackCountPerSecond = metricReport.nackCountReceivedPerSecond;\\n let needResubscribe = false;\\n this.context.videoDownlinkBandwidthPolicy.updateMetrics(clientMetricReport);\\n const resubscribeForDownlink = this.context.videoDownlinkBandwidthPolicy.wantsResubscribe();\\n needResubscribe = needResubscribe || resubscribeForDownlink;\\n if (resubscribeForDownlink) {\\n const videoSubscriptionIdSet = this.context.videoDownlinkBandwidthPolicy.chooseSubscriptions();\\n // Same logic as in `ReceiveVideoStreamIndexTask`, immediately truncating rather then truncating on subscribe\\n // avoids any issues with components (e.g. transceiver controller) along the way.\\n this.context.videosToReceive = videoSubscriptionIdSet.truncate(this.context.videoSubscriptionLimit);\\n if (videoSubscriptionIdSet.size() > this.context.videosToReceive.size()) {\\n this.logger.warn(`Video receive limit exceeded. Limiting the videos to ${this.context.videosToReceive.size()}. Please consider using AllHighestVideoBandwidthPolicy or VideoPriorityBasedPolicy along with chooseRemoteVideoSources api to select the video sources to be displayed.`);\\n }\\n this.logger.info(`trigger resubscribe for down=${resubscribeForDownlink}; videosToReceive=[${this.context.videosToReceive.array()}]`);\\n }\\n if (this.context.videoTileController.hasStartedLocalVideoTile()) {\\n this.context.videoUplinkBandwidthPolicy.updateConnectionMetric({\\n uplinkKbps: availableSendBandwidth / 1000,\\n nackCountPerSecond: nackCountPerSecond,\\n });\\n const resubscribeForUplink = this.context.videoUplinkBandwidthPolicy.wantsResubscribe();\\n needResubscribe = needResubscribe || resubscribeForUplink;\\n if (resubscribeForUplink) {\\n this.logger.info(`trigger resubscribe for up=${resubscribeForUplink}; videosToReceive=[${this.context.videosToReceive.array()}]`);\\n this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();\\n this.context.videoUplinkBandwidthPolicy.chooseMediaTrackConstraints();\\n }\\n }\\n return needResubscribe;\\n }\\n metricsDidReceive(clientMetricReport) {\\n const defaultClientMetricReport = clientMetricReport;\\n if (!defaultClientMetricReport) {\\n return;\\n }\\n if (this.checkResubscribe(clientMetricReport)) {\\n this.context.audioVideoController.update({ needsRenegotiation: false });\\n }\\n if (!this.currentAvailableStreamAvgBitrates) {\\n return;\\n }\\n const streamMetricReport = defaultClientMetricReport.streamMetricReports;\\n if (!streamMetricReport) {\\n return;\\n }\\n const metricReport = clientMetricReport.getObservableMetrics();\\n this.currentVideoDownlinkBandwidthEstimationKbps = metricReport.availableIncomingBitrate;\\n const downlinkVideoStream = new Map();\\n const videoReceivingBitrateMap = new Map();\\n // TODO: move those logic to stats collector.\\n for (const ssrc in streamMetricReport) {\\n if (streamMetricReport[ssrc].mediaType === ClientMetricReportMediaType_1.default.VIDEO &&\\n streamMetricReport[ssrc].direction === ClientMetricReportDirection_1.default.DOWNSTREAM) {\\n downlinkVideoStream.set(streamMetricReport[ssrc].streamId, streamMetricReport[ssrc]);\\n }\\n }\\n let fireCallback = false;\\n for (const bitrate of this.currentAvailableStreamAvgBitrates.bitrates) {\\n if (downlinkVideoStream.has(bitrate.sourceStreamId)) {\\n const report = downlinkVideoStream.get(bitrate.sourceStreamId);\\n const attendeeId = this.context.videoStreamIndex.attendeeIdForStreamId(bitrate.sourceStreamId);\\n if (!attendeeId) {\\n continue;\\n }\\n const newReport = new ClientVideoStreamReceivingReport_1.default();\\n const prevBytesReceived = report.previousMetrics['bytesReceived'];\\n const currBytesReceived = report.currentMetrics['bytesReceived'];\\n if (!prevBytesReceived || !currBytesReceived) {\\n continue;\\n }\\n const receivedBitrate = ((currBytesReceived - prevBytesReceived) * 8) / 1000;\\n newReport.expectedAverageBitrateKbps = bitrate.avgBitrateBps / 1000;\\n newReport.receivedAverageBitrateKbps = receivedBitrate;\\n newReport.attendeeId = attendeeId;\\n if (receivedBitrate <\\n (bitrate.avgBitrateBps / 1000) * MonitorTask.DEFAULT_DOWNLINK_CALLRATE_UNDERSHOOT_FACTOR) {\\n fireCallback = true;\\n }\\n videoReceivingBitrateMap.set(attendeeId, newReport);\\n }\\n }\\n if (fireCallback) {\\n this.logger.info(`One or more video streams are not receiving expected amounts of data ${JSON.stringify(Array.from(videoReceivingBitrateMap.values()))}`);\\n }\\n }\\n connectionHealthDidChange(connectionHealthData) {\\n if (connectionHealthData.consecutiveMissedPongs === 0) {\\n if (this.context.reconnectController) {\\n this.context.reconnectController.setLastActiveTimestampMs(Date.now());\\n }\\n }\\n this.applyHealthPolicy(this.reconnectionHealthPolicy, connectionHealthData, () => {\\n this.context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.ConnectionHealthReconnect), null);\\n });\\n this.applyHealthPolicy(this.unusableAudioWarningHealthPolicy, connectionHealthData, () => {\\n var _a;\\n this.context.poorConnectionCount += 1;\\n const attributes = this.generateAudioVideoEventAttributesForReceivingAudioDropped();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('receivingAudioDropped', attributes);\\n if (this.context.videoTileController.haveVideoTilesWithStreams()) {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.connectionDidSuggestStopVideo).map(f => f.bind(observer)());\\n });\\n }\\n else {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.connectionDidBecomePoor).map(f => f.bind(observer)());\\n });\\n }\\n }, () => {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.connectionDidBecomeGood).map(f => f.bind(observer)());\\n });\\n });\\n if (this.isMeetingConnected) {\\n this.applyHealthPolicy(this.sendingAudioFailureHealthPolicy, connectionHealthData, () => {\\n var _a;\\n const attributes = this.generateBaseAudioVideoEventAttributes();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('sendingAudioFailed', attributes);\\n }, () => {\\n var _a;\\n const attributes = this.generateBaseAudioVideoEventAttributes();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('sendingAudioRecovered', attributes);\\n });\\n }\\n }\\n audioVideoDidStart() {\\n this.isMeetingConnected = true;\\n }\\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\\n audioVideoDidStartConnecting(reconnecting) {\\n // The expectation here is that the flag will be set to true again when audioVideoDidStart() is eventually called.\\n this.isMeetingConnected = false;\\n }\\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\\n audioVideoDidStop(sessionStatus) {\\n this.isMeetingConnected = false;\\n }\\n applyHealthPolicy(healthPolicy, connectionHealthData, unhealthyCallback, healthyCallback) {\\n healthPolicy.update(connectionHealthData);\\n const healthValue = healthPolicy.healthIfChanged();\\n if (healthValue !== null) {\\n this.logger.info(`${healthPolicy.name} value is now ${healthValue}`);\\n if (healthValue <= healthPolicy.minimumHealth()) {\\n Types_1.Maybe.of(unhealthyCallback).map(f => f.bind(this)());\\n }\\n else {\\n Types_1.Maybe.of(healthyCallback).map(f => f.bind(this)());\\n }\\n }\\n }\\n handleBitrateFrame(bitrates) {\\n let requiredBandwidthKbps = 0;\\n this.currentAvailableStreamAvgBitrates = bitrates;\\n this.logger.debug(() => {\\n return `simulcast: bitrates from server ${JSON.stringify(bitrates)}`;\\n });\\n for (const bitrate of bitrates.bitrates) {\\n if (this.context.videosToReceive.contain(bitrate.sourceStreamId)) {\\n requiredBandwidthKbps += bitrate.avgBitrateBps;\\n }\\n }\\n requiredBandwidthKbps /= 1000;\\n if (this.currentVideoDownlinkBandwidthEstimationKbps *\\n MonitorTask.DEFAULT_DOWNLINK_CALLRATE_OVERSHOOT_FACTOR <\\n requiredBandwidthKbps) {\\n this.logger.info(`Downlink bandwidth pressure is high: estimated bandwidth ${this.currentVideoDownlinkBandwidthEstimationKbps}Kbps, required bandwidth ${requiredBandwidthKbps}Kbps`);\\n }\\n }\\n handleSignalingClientEvent(event) {\\n var _a;\\n // Don't add two or more consecutive \\\"signalingDropped\\\" states.\\n if ((event.type === SignalingClientEventType_1.default.WebSocketClosed &&\\n (event.closeCode === 4410 || (event.closeCode >= 4500 && event.closeCode < 4600))) ||\\n event.type === SignalingClientEventType_1.default.WebSocketError ||\\n event.type === SignalingClientEventType_1.default.WebSocketFailed) {\\n if (!this.hasSignalingError) {\\n const attributes = this.generateAudioVideoEventAttributesForReceivingAudioDropped();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('signalingDropped', attributes);\\n this.hasSignalingError = true;\\n }\\n }\\n else if (event.type === SignalingClientEventType_1.default.WebSocketOpen) {\\n this.hasSignalingError = false;\\n }\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame) {\\n if (!!event.message.bitrates) {\\n const bitrateFrame = event.message.bitrates;\\n this.context.videoStreamIndex.integrateBitratesFrame(bitrateFrame);\\n this.context.videoDownlinkBandwidthPolicy.updateIndex(this.context.videoStreamIndex);\\n this.handleBitrateFrame(event.message.bitrates);\\n }\\n const status = MeetingSessionStatus_1.default.fromSignalFrame(event.message);\\n // Primary meeting join ack status will be handled by `PromoteToPrimaryMeetingTask`\\n if (event.message.type !== SignalingProtocol_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN_ACK &&\\n status.statusCode() !== MeetingSessionStatusCode_1.default.OK) {\\n this.context.audioVideoController.handleMeetingSessionStatus(status, null);\\n }\\n }\\n }\\n}\\nexports[\\\"default\\\"] = MonitorTask;\\nMonitorTask.DEFAULT_DOWNLINK_CALLRATE_OVERSHOOT_FACTOR = 2.0;\\nMonitorTask.DEFAULT_DOWNLINK_CALLRATE_UNDERSHOOT_FACTOR = 0.2;\\n//# sourceMappingURL=MonitorTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 NoOpTask {\\n cancel() { }\\n name() {\\n return 'NoOpTask';\\n }\\n run() {\\n return Promise.resolve();\\n }\\n setParent(_parentTask) { }\\n}\\nexports[\\\"default\\\"] = NoOpTask;\\n//# sourceMappingURL=NoOpTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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__(/*! ../logger/LogLevel */ \\\"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\\\");\\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ \\\"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\\\");\\n/**\\n * A task that wraps another task and ensures it is run only once,\\n * regardless of how many times `run` is called.\\n *\\n * This allows you to implement a kind of barrier synchronization.\\n */\\nclass OnceTask {\\n constructor(logger, task, dependencies) {\\n this.logger = logger;\\n this.task = task;\\n this.dependencies = dependencies;\\n // Whether we have canceled.\\n this.canceled = false;\\n }\\n name() {\\n return `${this.task.name()} (once)`;\\n }\\n cancel() {\\n // We want to preserve one interesting property: the deepest dependency that hasn't\\n // already finished or been canceled is the first to be canceled, and its failure\\n // will propagate back up the promise chain.\\n //\\n // We can't just cancel ourselves with cancelPromise -- we will cut off the rest of\\n // the tree. Nor can we necessarily do it on the same event loop tick, because the\\n // cancelation might be subtly async.\\n //\\n // Instead, we immediately cancel each dependency, and then we cancel the current\\n // task (if it's running), and then we cancel via our promise escape hatch if needed.\\n /* istanbul ignore if */\\n if (this.canceled) {\\n return;\\n }\\n if (this.dependencies) {\\n for (const dep of this.dependencies) {\\n dep.cancel();\\n }\\n }\\n // Do this on the next tick so that our canceled dependencies cascade.\\n this.logger.info(`Canceling ${this.name()}`);\\n AsyncScheduler_1.default.nextTick(() => this.task.cancel());\\n this.canceled = true;\\n if (this.cancelPromise) {\\n AsyncScheduler_1.default.nextTick(() => this.cancelPromise(new Error(`canceling ${this.name()}`)));\\n }\\n }\\n logDependencies() {\\n if (this.logger.getLogLevel() > LogLevel_1.default.INFO) {\\n return;\\n }\\n if (!this.dependencies) {\\n return;\\n }\\n const names = this.dependencies\\n .filter(d => d)\\n .map(d => d.name())\\n .join(', ');\\n this.logger.info(`${this.task.name()} waiting for dependencies: ${names}`);\\n }\\n run() {\\n if (this.promise) {\\n return this.promise;\\n }\\n const dependencies = this.dependencies\\n ? Promise.all(this.dependencies.map(d => d === null || d === void 0 ? void 0 : d.run()))\\n : Promise.resolve();\\n this.logDependencies();\\n this.ongoing = dependencies.then(() => this.task.run());\\n return (this.promise = new Promise((resolve, reject) => {\\n this.cancelPromise = reject;\\n this.ongoing.then(resolve).catch(reject);\\n }));\\n }\\n setParent(parentTask) {\\n this.task.setParent(parentTask);\\n }\\n}\\nexports[\\\"default\\\"] = OnceTask;\\n//# sourceMappingURL=OnceTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SignalingClientConnectionRequest_1 = __webpack_require__(/*! ../signalingclient/SignalingClientConnectionRequest */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js\\\");\\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass OpenSignalingConnectionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'OpenSignalingConnectionTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const configuration = this.context.meetingSessionConfiguration;\\n this.context.signalingClient.openConnection(new SignalingClientConnectionRequest_1.default(configuration.urls.signalingURL, configuration.credentials.joinToken));\\n const startTimeMs = Date.now();\\n try {\\n yield new Promise((resolve, reject) => {\\n class WebSocketOpenInterceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`OpenSignalingConnectionTask got canceled while waiting to open signaling connection`));\\n }\\n handleSignalingClientEvent(event) {\\n switch (event.type) {\\n case SignalingClientEventType_1.default.WebSocketOpen:\\n this.signalingClient.removeObserver(this);\\n resolve();\\n break;\\n case SignalingClientEventType_1.default.WebSocketFailed:\\n this.signalingClient.removeObserver(this);\\n reject(new Error('WebSocket connection failed'));\\n break;\\n }\\n }\\n }\\n const interceptor = new WebSocketOpenInterceptor(this.context.signalingClient);\\n this.context.signalingClient.registerObserver(interceptor);\\n this.taskCanceler = interceptor;\\n });\\n }\\n catch (error) {\\n throw error;\\n }\\n finally {\\n this.context.signalingOpenDurationMs = Math.round(Date.now() - startTimeMs);\\n this.logger.info(`Opening signaling connection took ${this.context.signalingOpenDurationMs} ms`);\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = OpenSignalingConnectionTask;\\n//# sourceMappingURL=OpenSignalingConnectionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js ***!\n \\**************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[ParallelGroupTask]] runs a set of tasks in parallel. When canceled, it\\n * stops any currently running tasks.\\n */\\nclass ParallelGroupTask extends BaseTask_1.default {\\n constructor(logger, taskName, tasksToRunParallel) {\\n super(logger);\\n this.taskName = taskName;\\n this.tasksToRunParallel = tasksToRunParallel;\\n for (const task of tasksToRunParallel) {\\n task.setParent(this);\\n }\\n }\\n cancel() {\\n for (const task of this.tasksToRunParallel) {\\n this.logger.info(`canceling parallel group task ${this.name()} subtask ${task.name()}`);\\n task.cancel();\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const taskResults = [];\\n for (const task of this.tasksToRunParallel) {\\n this.logger.info(`parallel group task ${this.name()} running subtask ${task.name()}`);\\n taskResults.push(task.run());\\n }\\n const failures = [];\\n for (let i = 0; i < taskResults.length; i++) {\\n try {\\n yield taskResults[i];\\n }\\n catch (err) {\\n failures.push(`task ${this.tasksToRunParallel[i].name()} failed: ${err.message}`);\\n }\\n this.logger.info(`parallel group task ${this.name()} completed subtask ${this.tasksToRunParallel[i].name()}`);\\n }\\n if (failures.length > 0) {\\n const failureMessage = failures.join(', ');\\n this.logAndThrow(`parallel group task ${this.name()} failed for tasks: ${failureMessage}`);\\n }\\n this.logger.info(`parallel group task ${this.name()} completed`);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ParallelGroupTask;\\n//# sourceMappingURL=ParallelGroupTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 __1 = __webpack_require__(/*! .. */ \\\"./node_modules/amazon-chime-sdk-js/build/index.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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[PromoteToPrimaryMeetingTask]] sends a `SdkSignalFrame.PrimaryMeetingJoin` and waits for\\n * a `SdkSignalFrame.PrimaryMeetingJoinAck` frame.\\n */\\nclass PromoteToPrimaryMeetingTask extends BaseTask_1.default {\\n constructor(context, credentials, completionCallback) {\\n super(context.logger);\\n this.context = context;\\n this.credentials = credentials;\\n this.completionCallback = completionCallback;\\n this.taskName = 'PromoteToPrimaryMeetingTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.context.signalingClient.ready()) {\\n this.context.signalingClient.promoteToPrimaryMeeting(this.credentials);\\n this.context.logger.info('Sent request to join primary meeting');\\n yield this.receivePrimaryMeetingJoinAck();\\n }\\n else {\\n this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed));\\n }\\n });\\n }\\n receivePrimaryMeetingJoinAck() {\\n return new Promise((resolve, _) => {\\n class Interceptor {\\n constructor(signalingClient, completionCallback, logger) {\\n this.signalingClient = signalingClient;\\n this.completionCallback = completionCallback;\\n this.logger = logger;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n // Currently only cancel would come from timeout. Should\\n // be rare enough (ignoring bugs) that we don't need to bother\\n // retrying.\\n this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed));\\n resolve();\\n }\\n handleSignalingClientEvent(event) {\\n if (event.isConnectionTerminated()) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('PromoteToPrimaryMeetingTask connection terminated');\\n // This would happen either in happy or unhappy disconnections. The\\n // timing here is rare enough (ignoring bugs) that we don't need to bother\\n // retrying the unhappy case.\\n this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed));\\n resolve();\\n }\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame &&\\n event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN_ACK) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('Got a primary meeting join ACK');\\n this.completionCallback(__1.MeetingSessionStatus.fromSignalFrame(event.message));\\n resolve();\\n }\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient, this.completionCallback, this.context.logger);\\n this.taskCanceler = interceptor;\\n this.context.signalingClient.registerObserver(interceptor);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = PromoteToPrimaryMeetingTask;\\n//# sourceMappingURL=PromoteToPrimaryMeetingTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js ***!\n \\******************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[ReceiveAudioInputTask]] acquires an audio input.\\n */\\nclass ReceiveAudioInputTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveAudioInputTask';\\n }\\n run() {\\n var _a, _b;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!((_b = (_a = this.context.meetingSessionConfiguration) === null || _a === void 0 ? void 0 : _a.urls) === null || _b === void 0 ? void 0 : _b.audioHostURL)) {\\n this.context.logger.info('No audio connection: not acquiring audio input');\\n return;\\n }\\n if (this.context.activeAudioInput) {\\n this.context.logger.info('an active audio input exists');\\n return;\\n }\\n let audioInput;\\n try {\\n audioInput = yield this.context.mediaStreamBroker.acquireAudioInputStream();\\n }\\n catch (error) {\\n this.context.logger.warn('could not acquire audio input from current device');\\n }\\n if (audioInput) {\\n this.context.activeAudioInput = audioInput;\\n }\\n else {\\n this.context.logger.warn('an audio input is not available');\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveAudioInputTask;\\n//# sourceMappingURL=ReceiveAudioInputTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js ***!\n \\***********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst MeetingSessionTURNCredentials_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionTURNCredentials */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js\\\");\\nconst DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ \\\"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[ReceiveTURNCredentialsTask]] asynchronously retrieves TURN credentials.\\n */\\nclass ReceiveTURNCredentialsTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveTURNCredentialsTask';\\n this.url = context.meetingSessionConfiguration.urls.turnControlURL;\\n this.meetingId = context.meetingSessionConfiguration.meetingId;\\n this.joinToken = context.meetingSessionConfiguration.credentials.joinToken;\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.context.turnCredentials) {\\n this.context.logger.info('TURN credentials available, skipping credentials fetch');\\n return;\\n }\\n this.context.logger.error('missing TURN credentials - falling back to fetch');\\n if (!this.url) {\\n this.context.logger.info('TURN control url not supplied, skipping credentials fetch');\\n return;\\n }\\n const options = {\\n method: 'POST',\\n mode: 'cors',\\n cache: 'no-cache',\\n credentials: 'omit',\\n headers: {\\n 'Content-Type': 'application/json',\\n 'X-Chime-Auth-Token': '_aws_wt_session=' + new DefaultModality_1.default(this.joinToken).base(),\\n },\\n redirect: 'follow',\\n referrer: 'no-referrer',\\n body: JSON.stringify({ meetingId: this.meetingId }),\\n };\\n this.context.logger.info(`requesting TURN credentials from ${this.url}`);\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n const responseBodyJson = yield new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n this.cancelPromise = (error) => {\\n reject(error);\\n };\\n try {\\n const responseBody = yield fetch(Versioning_1.default.urlWithVersion(this.url), options);\\n this.context.logger.info(`received TURN credentials`);\\n if (responseBody.status && responseBody.status === 403) {\\n reject(new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.TURNCredentialsForbidden}`));\\n return;\\n }\\n if (responseBody.status && responseBody.status === 404) {\\n reject(new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.MeetingEnded}`));\\n return;\\n }\\n resolve(yield responseBody.json());\\n }\\n catch (error) {\\n reject(error);\\n }\\n finally {\\n delete this.cancelPromise;\\n }\\n }));\\n this.context.turnCredentials = new MeetingSessionTURNCredentials_1.default();\\n this.context.turnCredentials.password = responseBodyJson.password;\\n this.context.turnCredentials.ttl = responseBodyJson.ttl;\\n this.context.turnCredentials.uris = responseBodyJson.uris\\n .map((uri) => {\\n return this.context.meetingSessionConfiguration.urls.urlRewriter(uri);\\n })\\n .filter((uri) => {\\n return !!uri;\\n });\\n this.context.turnCredentials.username = responseBodyJson.username;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveTURNCredentialsTask;\\n//# sourceMappingURL=ReceiveTURNCredentialsTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js ***!\n \\******************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ \\\"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\\\");\\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[ReceiveVideoInputTask]] acquires a video input from [[DeviceController]].\\n */\\nclass ReceiveVideoInputTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveVideoInputTask';\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n // TODO: move videoDuplexMode and videoCaptureAndEncodeParameters to video tile controller\\n const receiveEnabled = this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.RX ||\\n this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;\\n if (this.context.videoTileController.hasStartedLocalVideoTile()) {\\n this.context.videoDuplexMode = receiveEnabled\\n ? SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX\\n : SignalingProtocol_js_1.SdkStreamServiceType.TX;\\n }\\n else {\\n this.context.videoDuplexMode = receiveEnabled ? SignalingProtocol_js_1.SdkStreamServiceType.RX : 0;\\n }\\n this.context.videoCaptureAndEncodeParameter = this.context.videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters();\\n if (!this.context.videoTileController.hasStartedLocalVideoTile()) {\\n this.context.logger.info('has not started local video tile');\\n if (this.context.activeVideoInput) {\\n this.context.activeVideoInput = undefined;\\n // Indicate to the stream index that we are no longer sending video. We will\\n // no longer be tracking irrelevant local sending bitrates sent via received Bitrate message, nor will\\n // we track any spurious allocated stream IDs from the backend.\\n this.context.videoStreamIndex.integrateUplinkPolicyDecision([]);\\n }\\n return;\\n }\\n // TODO: bind after ICE connection started in case of a failure to resubscribe\\n // or perform error handling to unbind video stream.\\n const localTile = this.context.videoTileController.getLocalVideoTile();\\n let videoInput = undefined;\\n try {\\n videoInput = yield this.context.mediaStreamBroker.acquireVideoInputStream();\\n }\\n catch (error) {\\n this.context.logger.warn('could not acquire video input from current device');\\n this.context.videoTileController.stopLocalVideoTile();\\n }\\n if (this.context.enableSimulcast) {\\n const encodingParams = this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();\\n this.context.videoStreamIndex.integrateUplinkPolicyDecision(Array.from(encodingParams.values()));\\n }\\n this.context.activeVideoInput = videoInput;\\n if (videoInput) {\\n const videoTracks = videoInput.getVideoTracks();\\n // There can be a race condition when there are several audioVideo.update calls (e.g., calling\\n // startLocalVideoTile and stopLocalVideoTile at the same time)\\n // that causes the video stream to not contain any video track.\\n // This should recovers in the next update call.\\n if (!videoTracks || videoTracks.length === 0) {\\n return;\\n }\\n const attendeeId = this.context.meetingSessionConfiguration.credentials.attendeeId;\\n const isContentAttendee = new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT);\\n const trackSettings = videoTracks[0].getSettings();\\n // For video, we currently enforce 720p for simulcast. This logic should be removed in the future.\\n if (this.context.enableSimulcast && !isContentAttendee) {\\n const constraint = this.context.videoUplinkBandwidthPolicy.chooseMediaTrackConstraints();\\n this.context.logger.info(`simulcast: choose constraint ${JSON.stringify(constraint)}`);\\n try {\\n yield videoTracks[0].applyConstraints(constraint);\\n }\\n catch (error) {\\n this.context.logger.info('simulcast: pass video without more constraint');\\n }\\n }\\n const externalUserId = this.context.audioVideoController.configuration.credentials\\n .externalUserId;\\n localTile.bindVideoStream(attendeeId, true, videoInput, trackSettings.width, trackSettings.height, null, externalUserId);\\n for (let i = 0; i < videoTracks.length; i++) {\\n const track = videoTracks[i];\\n this.logger.info(`using video device label=${track.label} id=${track.id}`);\\n this.context.videoDeviceInformation['current_camera_name'] = track.label;\\n this.context.videoDeviceInformation['current_camera_id'] = track.id;\\n }\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveVideoInputTask;\\n//# sourceMappingURL=ReceiveVideoInputTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 VideoCodecCapability_1 = __webpack_require__(/*! ../sdp/VideoCodecCapability */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.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\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[ReceiveVideoStreamIndexTask]] receives [[SdkIndexFrame]] and updates [[VideoUplinkBandwidthPolicy]] and [[VideoDownlinkBandwidthPolicy]].\\n */\\nclass ReceiveVideoStreamIndexTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveVideoStreamIndexTask';\\n // See comment above invocation of `pauseIngestion` in `DefaultAudioVideoController`\\n // for explanation.\\n this.isIngestionPaused = false;\\n this.pendingIndex = null;\\n }\\n removeObserver() {\\n this.context.signalingClient.removeObserver(this);\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.handleIndexFrame(this.context.indexFrame);\\n this.context.signalingClient.registerObserver(this);\\n this.context.removableObservers.push(this);\\n });\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame ||\\n event.message.type !== SignalingProtocol_js_1.SdkSignalFrame.Type.INDEX) {\\n return;\\n }\\n // @ts-ignore: force cast to SdkIndexFrame\\n const indexFrame = event.message.index;\\n this.context.logger.info(`received new index ${JSON.stringify(indexFrame)}`);\\n this.handleIndexFrame(indexFrame);\\n }\\n pauseIngestion() {\\n this.isIngestionPaused = true;\\n }\\n resumeIngestion() {\\n if (!this.isIngestionPaused) {\\n // Do not recheck subcribe if it wasn't paused to begin with.\\n return;\\n }\\n this.isIngestionPaused = false;\\n if (this.pendingIndex) {\\n this.context.logger.info('Resuming index ingestion with pending index');\\n this.handleIndexFrame(this.pendingIndex);\\n }\\n }\\n handleIndexFrame(indexFrame) {\\n if (!indexFrame) {\\n return;\\n }\\n if (this.isIngestionPaused) {\\n this.context.logger.info(`Index ingestion is paused, setting most recent index as pending`);\\n this.pendingIndex = indexFrame;\\n return;\\n }\\n else {\\n this.pendingIndex = null;\\n }\\n // Filter out self content share video\\n const selfAttendeeId = this.context.audioVideoController.configuration.credentials.attendeeId;\\n indexFrame.sources = indexFrame.sources.filter(source => {\\n const modality = new DefaultModality_1.default(source.attendeeId);\\n return !(modality.base() === selfAttendeeId && modality.hasModality(DefaultModality_1.default.MODALITY_CONTENT));\\n });\\n const { videoStreamIndex, videoDownlinkBandwidthPolicy, videoUplinkBandwidthPolicy, } = this.context;\\n const oldVideoSources = videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId);\\n videoStreamIndex.integrateIndexFrame(indexFrame);\\n videoDownlinkBandwidthPolicy.updateIndex(videoStreamIndex);\\n videoUplinkBandwidthPolicy.updateIndex(videoStreamIndex);\\n this.resubscribe(videoDownlinkBandwidthPolicy, videoUplinkBandwidthPolicy);\\n this.updateVideoAvailability(indexFrame);\\n this.handleIndexVideosPausedAtSource();\\n if (indexFrame.supportedReceiveCodecIntersection.length > 0) {\\n this.handleSupportedVideoReceiveCodecIntersection(indexFrame);\\n }\\n // `forEachObserver`is asynchronous anyways so it doesn't matter (for better or worse) whether we\\n // trigger it before or after the policy update + possible resubscribe kickoff\\n const newVideoSources = videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId);\\n if (!this.areVideoSourcesEqual(oldVideoSources, newVideoSources)) {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.remoteVideoSourcesDidChange).map(f => f.bind(observer)(newVideoSources));\\n });\\n }\\n }\\n areVideoSourcesEqual(oldVideoSources, newVideoSources) {\\n if (oldVideoSources.length !== newVideoSources.length) {\\n return false;\\n }\\n const compare = (videoSourceA, videoSourceB) => videoSourceA.attendee.attendeeId.localeCompare(videoSourceB.attendee.attendeeId);\\n const sortedOldVideoSources = [...oldVideoSources].sort(compare);\\n const sortedNewVideoSources = [...newVideoSources].sort(compare);\\n for (let i = 0; i < sortedOldVideoSources.length; i++) {\\n if (sortedOldVideoSources[i].attendee.attendeeId !==\\n sortedNewVideoSources[i].attendee.attendeeId) {\\n return false;\\n }\\n }\\n return true;\\n }\\n resubscribe(videoDownlinkBandwidthPolicy, videoUplinkBandwidthPolicy) {\\n const resubscribeForDownlink = videoDownlinkBandwidthPolicy.wantsResubscribe();\\n const resubscribeForUplink = (this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.TX ||\\n this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX) &&\\n videoUplinkBandwidthPolicy.wantsResubscribe();\\n const shouldResubscribe = resubscribeForDownlink || resubscribeForUplink;\\n this.logger.info(`should resubscribe: ${shouldResubscribe} (downlink: ${resubscribeForDownlink} uplink: ${resubscribeForUplink})`);\\n if (!shouldResubscribe) {\\n return;\\n }\\n const videoSubscriptionIdSet = videoDownlinkBandwidthPolicy.chooseSubscriptions();\\n this.context.videosToReceive = videoSubscriptionIdSet.truncate(this.context.videoSubscriptionLimit);\\n if (videoSubscriptionIdSet.size() > this.context.videosToReceive.size()) {\\n this.logger.warn(`Video receive limit exceeded. Limiting the videos to ${this.context.videosToReceive.size()}. Please consider using AllHighestVideoBandwidthPolicy or VideoPriorityBasedPolicy along with chooseRemoteVideoSources api to select the video sources to be displayed.`);\\n }\\n this.context.videoCaptureAndEncodeParameter = videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters();\\n this.logger.info(`trigger resubscribe for up=${resubscribeForUplink} down=${resubscribeForDownlink}; videosToReceive=[${this.context.videosToReceive.array()}] captureParams=${JSON.stringify(this.context.videoCaptureAndEncodeParameter)}`);\\n this.context.audioVideoController.update({ needsRenegotiation: false });\\n }\\n updateVideoAvailability(indexFrame) {\\n if (!this.context.videosToReceive) {\\n this.logger.error('videosToReceive must be set in the meeting context.');\\n return;\\n }\\n const videoAvailability = new MeetingSessionVideoAvailability_1.default();\\n videoAvailability.remoteVideoAvailable = !this.context.videosToReceive.empty();\\n videoAvailability.canStartLocalVideo = !indexFrame.atCapacity;\\n if (!this.context.lastKnownVideoAvailability ||\\n !this.context.lastKnownVideoAvailability.equal(videoAvailability)) {\\n this.context.lastKnownVideoAvailability = videoAvailability.clone();\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.videoAvailabilityDidChange).map(f => f.bind(observer)(videoAvailability.clone()));\\n });\\n }\\n }\\n handleSupportedVideoReceiveCodecIntersection(index) {\\n if (this.context.videoSendCodecPreferences === undefined) {\\n return;\\n }\\n const newMeetingSupportedVideoSendCodecPreferences = [];\\n let willNeedUpdate = false;\\n // Intersect `this.context.videoSendCodecPreferences` with `index.supportedReceiveCodecIntersection`\\n for (const capability of this.context.videoSendCodecPreferences) {\\n let codecSupported = false;\\n for (const signaledCapability of index.supportedReceiveCodecIntersection) {\\n if (capability.equals(VideoCodecCapability_1.default.fromSignaled(signaledCapability))) {\\n codecSupported = true;\\n newMeetingSupportedVideoSendCodecPreferences.push(capability);\\n break;\\n }\\n }\\n // We need to renegotiate if we are currently sending a codec that is no longer supported in the call.\\n if (this.context.currentVideoSendCodec !== undefined &&\\n !codecSupported &&\\n capability.equals(this.context.currentVideoSendCodec)) {\\n willNeedUpdate = true;\\n }\\n }\\n if (newMeetingSupportedVideoSendCodecPreferences.length > 0) {\\n this.context.meetingSupportedVideoSendCodecPreferences = newMeetingSupportedVideoSendCodecPreferences;\\n }\\n else {\\n this.logger.warn('Interesection of meeting receive codec support and send codec preferences has no overlap, falling back to just values provided in `setVideoCodecSendPreferences`');\\n this.context.meetingSupportedVideoSendCodecPreferences = undefined;\\n }\\n if (willNeedUpdate) {\\n this.context.audioVideoController.update({ needsRenegotiation: true });\\n }\\n }\\n handleIndexVideosPausedAtSource() {\\n const streamsPausedAtSource = this.context.videoStreamIndex.streamsPausedAtSource();\\n for (const tile of this.context.videoTileController.getAllVideoTiles()) {\\n const tileState = tile.state();\\n if (streamsPausedAtSource.contain(tileState.streamId)) {\\n if (tile.markPoorConnection()) {\\n this.logger.info(`marks the tile ${tileState.tileId} as having a poor connection`);\\n }\\n }\\n else {\\n if (tile.unmarkPoorConnection()) {\\n this.logger.info(`unmarks the tile ${tileState.tileId} as having a poor connection`);\\n }\\n }\\n }\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveVideoStreamIndexTask;\\n//# sourceMappingURL=ReceiveVideoStreamIndexTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[RunnableTask]] Task wrapper for any Promised-operation\\n */\\nclass RunnableTask extends BaseTask_1.default {\\n constructor(logger, fn, taskName = 'RunnableTask') {\\n super(logger);\\n this.fn = fn;\\n this.taskName = taskName;\\n }\\n run() {\\n return this.fn().then(() => { });\\n }\\n}\\nexports[\\\"default\\\"] = RunnableTask;\\n//# sourceMappingURL=RunnableTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js ***!\n \\***************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DataMessage_1 = __webpack_require__(/*! ../datamessage/DataMessage */ \\\"./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass SendAndReceiveDataMessagesTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SendAndReceiveDataMessagesTask';\\n this.sendDataMessageHandler = (topic, data, // eslint-disable-line @typescript-eslint/no-explicit-any\\n lifetimeMs) => {\\n if (this.context.signalingClient.ready()) {\\n let uint8Data;\\n if (data instanceof Uint8Array) {\\n uint8Data = data;\\n }\\n else if (typeof data === 'string') {\\n uint8Data = new TextEncoder().encode(data);\\n }\\n else {\\n uint8Data = new TextEncoder().encode(JSON.stringify(data));\\n }\\n this.validateDataMessage(topic, uint8Data, lifetimeMs);\\n const message = SignalingProtocol_js_1.SdkDataMessagePayload.create();\\n message.topic = topic;\\n message.lifetimeMs = lifetimeMs;\\n message.data = uint8Data;\\n const messageFrame = SignalingProtocol_js_1.SdkDataMessageFrame.create();\\n messageFrame.messages = [message];\\n this.context.signalingClient.sendDataMessage(messageFrame);\\n }\\n else {\\n this.context.logger.error('Signaling client is not ready');\\n }\\n };\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n this.context.signalingClient.registerObserver(this);\\n this.context.realtimeController.realtimeSubscribeToSendDataMessage(this.sendDataMessageHandler);\\n });\\n }\\n removeObserver() {\\n this.context.realtimeController.realtimeUnsubscribeFromSendDataMessage(this.sendDataMessageHandler);\\n this.context.signalingClient.removeObserver(this);\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame &&\\n event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.DATA_MESSAGE) {\\n for (const message of event.message.dataMessage.messages) {\\n const dataMessage = new DataMessage_1.default(message.ingestTimeNs / 1000000, message.topic, message.data, message.senderAttendeeId, message.senderExternalUserId, message.ingestTimeNs === 0);\\n this.context.realtimeController.realtimeReceiveDataMessage(dataMessage);\\n }\\n }\\n }\\n validateDataMessage(topic, data, lifetimeMs) {\\n if (!SendAndReceiveDataMessagesTask.TOPIC_REGEX.test(topic)) {\\n throw new Error('Invalid topic');\\n }\\n if (data.length > SendAndReceiveDataMessagesTask.DATA_SIZE) {\\n throw new Error('Data size has to be less than 2048 bytes');\\n }\\n if (lifetimeMs && lifetimeMs < 0) {\\n throw new Error('The life time of the message has to be non negative');\\n }\\n }\\n}\\nexports[\\\"default\\\"] = SendAndReceiveDataMessagesTask;\\nSendAndReceiveDataMessagesTask.TOPIC_REGEX = new RegExp(/^[a-zA-Z0-9_-]{1,36}$/);\\nSendAndReceiveDataMessagesTask.DATA_SIZE = 2048;\\n//# sourceMappingURL=SendAndReceiveDataMessagesTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js ***!\n \\************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nconst TaskStatus_1 = __webpack_require__(/*! ./TaskStatus */ \\\"./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js\\\");\\n/**\\n * [[SerialGroupTask]] runs a set of tasks in series. When canceled, it stops\\n * any currently running task and runs no further tasks in the group.\\n */\\nclass SerialGroupTask extends BaseTask_1.default {\\n constructor(logger, taskName, tasksToRunSerially) {\\n super(logger);\\n this.taskName = taskName;\\n this.tasksToRunSerially = tasksToRunSerially;\\n this.currentTask = null;\\n for (const task of tasksToRunSerially) {\\n task.setParent(this);\\n }\\n }\\n cancel() {\\n if (this.currentTask) {\\n this.logger.info(`canceling serial group task ${this.name()} subtask ${this.currentTask.name()}`);\\n this.currentTask.cancel();\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n for (const task of this.tasksToRunSerially) {\\n if (this.getStatus() === TaskStatus_1.default.CANCELED) {\\n this.logAndThrow(`serial group task ${this.name()} was canceled`);\\n }\\n try {\\n this.logger.info(`serial group task ${this.name()} running subtask ${task.name()}`);\\n this.currentTask = task;\\n yield task.run();\\n this.logger.info(`serial group task ${this.name()} completed subtask ${task.name()}`);\\n }\\n catch (err) {\\n this.logAndThrow(`serial group task ${this.name()} was canceled due to subtask ` +\\n `${this.currentTask.name()} error: ${err.message}`);\\n }\\n finally {\\n this.currentTask = null;\\n }\\n }\\n this.logger.info(`serial group task ${this.name()} completed`);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SerialGroupTask;\\n//# sourceMappingURL=SerialGroupTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js ***!\n \\********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[SetLocalDescriptionTask]] asynchronously calls [[setLocalDescription]] on peer connection.\\n */\\nclass SetLocalDescriptionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SetLocalDescriptionTask';\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const peer = this.context.peer;\\n const sdpOfferInit = this.context.sdpOfferInit;\\n let sdp = sdpOfferInit.sdp;\\n if (this.context.browserBehavior.supportsVideoLayersAllocationRtpHeaderExtension()) {\\n // This will be negotiatiated with backend, and we will only use it to skip resubscribes\\n // if we confirm support/negotiation via `RTCRtpTranceiver.sender.getParams`\\n sdp = new SDP_1.default(sdp).withVideoLayersAllocationRtpHeaderExtension(this.context.previousSdpOffer)\\n .sdp;\\n }\\n if (new DefaultBrowserBehavior_1.default().requiresDisablingH264Encoding()) {\\n sdp = new SDP_1.default(sdp).removeH264SupportFromSendSection().sdp;\\n }\\n if (this.context.videoSendCodecPreferences !== undefined &&\\n this.context.videoSendCodecPreferences.length > 0) {\\n sdp = new SDP_1.default(sdp).withVideoSendCodecPreferences(this.context.meetingSupportedVideoSendCodecPreferences !== undefined\\n ? this.context.meetingSupportedVideoSendCodecPreferences\\n : this.context.videoSendCodecPreferences).sdp;\\n }\\n if (this.context.audioProfile) {\\n sdp = new SDP_1.default(sdp).withAudioMaxAverageBitrate(this.context.audioProfile.audioBitrateBps).sdp;\\n if (this.context.audioProfile.isStereo()) {\\n sdp = new SDP_1.default(sdp).withStereoAudio().sdp;\\n }\\n }\\n this.logger.debug(() => {\\n return `local description is >>>${sdp}<<<`;\\n });\\n const sdpOffer = {\\n type: 'offer',\\n sdp: sdp,\\n toJSON: null,\\n };\\n yield new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n this.cancelPromise = (error) => {\\n reject(error);\\n };\\n try {\\n yield peer.setLocalDescription(sdpOffer);\\n resolve();\\n }\\n catch (error) {\\n reject(error);\\n }\\n finally {\\n delete this.cancelPromise;\\n }\\n }));\\n this.context.logger.info('set local description');\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SetLocalDescriptionTask;\\n//# sourceMappingURL=SetLocalDescriptionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[SetRemoteDescriptionTask]] asynchronously calls [[setRemoteDescription]] on the\\n * peer connection and then waits for the tracks to be added and for the ICE connection\\n * to complete.\\n */\\nclass SetRemoteDescriptionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SetRemoteDescriptionTask';\\n }\\n cancel() {\\n if (this.cancelICEPromise) {\\n this.cancelICEPromise();\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const peer = this.context.peer;\\n if (!peer) {\\n this.logAndThrow('session does not have peer connection; bypass set remote description');\\n }\\n let sdp = this.context.sdpAnswer;\\n sdp = new SDP_1.default(sdp).withoutServerReflexiveCandidates().sdp;\\n if (this.context.audioProfile) {\\n sdp = new SDP_1.default(sdp).withAudioMaxAverageBitrate(this.context.audioProfile.audioBitrateBps).sdp;\\n if (this.context.audioProfile.isStereo()) {\\n sdp = new SDP_1.default(sdp).withStereoAudio().sdp;\\n }\\n }\\n if (this.context.videoSendCodecPreferences !== undefined &&\\n this.context.videoSendCodecPreferences.length > 0) {\\n sdp = new SDP_1.default(sdp).withVideoSendCodecPreferences(this.context.meetingSupportedVideoSendCodecPreferences !== undefined\\n ? this.context.meetingSupportedVideoSendCodecPreferences\\n : this.context.videoSendCodecPreferences).sdp;\\n this.context.currentVideoSendCodec = new SDP_1.default(sdp).highestPriorityVideoSendCodec();\\n }\\n this.logger.info(`processed remote description is >>>${sdp}<<<`);\\n const remoteDescription = {\\n type: 'answer',\\n sdp: sdp,\\n toJSON: null,\\n };\\n try {\\n yield this.createICEConnectionCompletedPromise(remoteDescription);\\n }\\n catch (err) {\\n throw err;\\n }\\n });\\n }\\n createICEConnectionCompletedPromise(remoteDescription) {\\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n const checkConnectionCompleted = () => {\\n if (this.context.peer.iceConnectionState === 'connected' ||\\n this.context.peer.iceConnectionState === 'completed') {\\n this.context.peer.removeEventListener('iceconnectionstatechange', checkConnectionCompleted);\\n resolve();\\n }\\n };\\n this.cancelICEPromise = () => {\\n if (this.context.peer) {\\n this.context.peer.removeEventListener('iceconnectionstatechange', checkConnectionCompleted);\\n }\\n reject(new Error(`${this.name()} got canceled while waiting for the ICE connection state`));\\n };\\n this.context.peer.addEventListener('iceconnectionstatechange', checkConnectionCompleted);\\n try {\\n yield this.context.peer.setRemoteDescription(remoteDescription);\\n this.logger.info('set remote description, waiting for ICE connection');\\n checkConnectionCompleted();\\n }\\n catch (err) {\\n reject(err);\\n }\\n }));\\n }\\n}\\nexports[\\\"default\\\"] = SetRemoteDescriptionTask;\\n//# sourceMappingURL=SetRemoteDescriptionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst ZLIBTextCompressor_1 = __webpack_require__(/*! ../sdp/ZLIBTextCompressor */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js\\\");\\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst SignalingClientSubscribe_1 = __webpack_require__(/*! ../signalingclient/SignalingClientSubscribe */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[SubscribeAndReceiveSubscribeAckTask]] sends a subscribe frame with the given settings\\n * and receives SdkSubscribeAckFrame.\\n */\\nclass SubscribeAndReceiveSubscribeAckTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SubscribeAndReceiveSubscribeAckTask';\\n this.taskCanceler = null;\\n this.textCompressor = new ZLIBTextCompressor_1.default(context.logger);\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n let localSdp = '';\\n if (this.context.peer && this.context.peer.localDescription) {\\n localSdp = new SDP_1.default(this.context.peer.localDescription.sdp).withUnifiedPlanFormat().sdp;\\n }\\n if (!this.context.enableSimulcast) {\\n // backward compatibility\\n let frameRate = 0;\\n let maxEncodeBitrateKbps = 0;\\n if (this.context.videoCaptureAndEncodeParameter) {\\n frameRate = this.context.videoCaptureAndEncodeParameter.captureFrameRate();\\n maxEncodeBitrateKbps = this.context.videoCaptureAndEncodeParameter.encodeBitrates()[0];\\n }\\n const param = {\\n rid: 'hi',\\n maxBitrate: maxEncodeBitrateKbps * 1000,\\n maxFramerate: frameRate,\\n active: true,\\n };\\n this.context.videoStreamIndex.integrateUplinkPolicyDecision([param]);\\n }\\n // This will cache the current index so that we maintain the values over the course of the subscribe.\\n this.context.videoStreamIndex.subscribeFrameSent();\\n // See comment above `fixUpSubscriptionOrder`\\n const videoSubscriptions = this.fixUpSubscriptionOrder(localSdp, this.context.videoSubscriptions);\\n const isSendingStreams = this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.TX ||\\n this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;\\n let compressedSDPOffer;\\n const localSdpOffer = localSdp;\\n if (this.context.serverSupportsCompression) {\\n // If the server supports compression, then send the compressed version of the sdp\\n // and exclude the original sdp offer.\\n const prevOffer = this.context.previousSdpOffer ? this.context.previousSdpOffer.sdp : '';\\n compressedSDPOffer = this.textCompressor.compress(localSdpOffer, prevOffer);\\n this.context.logger.info(`Compressed the SDP message from ${localSdpOffer.length} to ${compressedSDPOffer.length} bytes.`);\\n localSdp = '';\\n }\\n this.context.previousSdpOffer = new SDP_1.default(localSdpOffer);\\n const subscribe = new SignalingClientSubscribe_1.default(this.context.meetingSessionConfiguration.credentials.attendeeId, localSdp, this.context.meetingSessionConfiguration.urls.audioHostURL, this.context.realtimeController.realtimeIsLocalAudioMuted(), false, videoSubscriptions, isSendingStreams, this.context.videoStreamIndex.localStreamDescriptions(), \\n // TODO: handle check-in mode, or remove this param\\n true, compressedSDPOffer);\\n if (this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption !== undefined &&\\n this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption() !==\\n ServerSideNetworkAdaption_1.default.None &&\\n this.context.videoDownlinkBandwidthPolicy.getVideoPreferences !== undefined) {\\n // Set initial configuration for the receive streams indicated by the rest of the subscribe\\n subscribe.videoSubscriptionConfiguration = this.convertVideoPreferencesToVideoSubscriptionConfiguration(videoSubscriptions, this.context.videoDownlinkBandwidthPolicy.getVideoPreferences());\\n }\\n this.context.logger.info(`sending subscribe: ${JSON.stringify(subscribe)}`);\\n this.context.signalingClient.subscribe(subscribe);\\n const subscribeAckFrame = yield this.receiveSubscribeAck();\\n this.context.logger.info(`got subscribe ack: ${JSON.stringify(subscribeAckFrame)}`);\\n let decompressedText = '';\\n if (subscribeAckFrame.compressedSdpAnswer && subscribeAckFrame.compressedSdpAnswer.length) {\\n decompressedText = this.textCompressor.decompress(subscribeAckFrame.compressedSdpAnswer, this.context.previousSdpAnswerAsString);\\n if (decompressedText.length === 0) {\\n this.context.sdpAnswer = '';\\n this.context.previousSdpAnswerAsString = '';\\n this.logAndThrow(`Error occurred while trying to decompress the SDP answer.`);\\n }\\n this.context.logger.info(`Decompressed the SDP message from ${subscribeAckFrame.compressedSdpAnswer.length} to ${decompressedText.length} bytes.`);\\n this.context.sdpAnswer = decompressedText;\\n }\\n else {\\n this.context.sdpAnswer = subscribeAckFrame.sdpAnswer;\\n }\\n this.context.previousSdpAnswerAsString = this.context.sdpAnswer;\\n this.context.videoStreamIndex.integrateSubscribeAckFrame(subscribeAckFrame);\\n });\\n }\\n // Our backends currently expect the video subscriptions passed in subscribe to precisely\\n // line up with the media sections, with a zero for any video send or inactive section.\\n //\\n // Firefox occasionally tosses stopped transceivers at the end of the SDP without reason\\n // and in general we don't want to be at the mercy of SDP sections not being in the same\\n // order as `getTransceivers`, so we simply recalculate the array here to enforce that\\n // expected invarient until we refactor our signaling to simply take a mapping of MID to\\n // subscription.\\n //\\n // This only works on Unified Plan SDPs\\n fixUpSubscriptionOrder(sdp, videoSubscriptions) {\\n if (this.context.transceiverController.getMidForStreamId === undefined) {\\n return videoSubscriptions;\\n }\\n const midsToStreamIds = new Map();\\n for (const streamId of videoSubscriptions) {\\n // The local description will have been set by the time this task is running, so all\\n // of the transceivers should have `mid` set by now (see comment above `getMidForStreamId`)\\n const mid = this.context.transceiverController.getMidForStreamId(streamId);\\n if (mid === undefined) {\\n if (streamId !== 0) {\\n // Send section or inactive section\\n this.logger.warn(`Could not find MID for stream ID: ${streamId}`);\\n }\\n continue;\\n }\\n midsToStreamIds.set(mid, streamId);\\n }\\n const sections = new SDP_1.default(sdp).mediaSections();\\n const newSubscriptions = [];\\n for (const section of sections) {\\n if (section.mediaType !== 'video') {\\n continue;\\n }\\n if (section.direction === 'recvonly') {\\n const streamId = midsToStreamIds.get(section.mid);\\n if (streamId === undefined) {\\n this.logger.warn(`Could not find stream ID for MID: ${section.mid}`);\\n continue;\\n }\\n newSubscriptions.push(streamId);\\n }\\n else {\\n newSubscriptions.push(0);\\n }\\n }\\n this.logger.info(`Fixed up ${JSON.stringify(videoSubscriptions)} to ${JSON.stringify(newSubscriptions)} (may be same))}`);\\n return newSubscriptions;\\n }\\n convertVideoPreferencesToVideoSubscriptionConfiguration(receiveStreamIds, preferences) {\\n if (this.context.transceiverController.getMidForStreamId === undefined ||\\n preferences === undefined) {\\n return [];\\n }\\n const configurations = new Array();\\n const attendeeIdToMid = new Map();\\n const attendeeIdToGroupId = new Map();\\n for (const streamId of receiveStreamIds) {\\n // The local description will have been set by the time this task is running, so all\\n // of the transceivers should have `mid` set by now (see comment above `getMidForStreamId`)\\n const mid = this.context.transceiverController.getMidForStreamId(streamId);\\n if (mid === undefined) {\\n // Likely imposible to hit the next `if` given use of `fixUpSubscriptionOrder`\\n /* istanbul ignore if */\\n if (streamId !== 0) {\\n // Send section or inactive section\\n this.context.logger.warn(`Could not find MID for stream ID: ${streamId}`);\\n }\\n continue;\\n }\\n const attendeeId = this.context.videoStreamIndex.attendeeIdForStreamId(streamId);\\n attendeeIdToMid.set(attendeeId, mid);\\n attendeeIdToGroupId.set(attendeeId, this.context.videoStreamIndex.groupIdForStreamId(streamId));\\n }\\n for (const preference of preferences) {\\n const configuration = new SignalingClientVideoSubscriptionConfiguration_1.default();\\n const mid = attendeeIdToMid.get(preference.attendeeId);\\n if (mid === undefined) {\\n this.context.logger.warn(`Could not find MID for attendee ID: ${preference.attendeeId}`);\\n continue;\\n }\\n configuration.mid = mid;\\n configuration.attendeeId = preference.attendeeId;\\n configuration.groupId = attendeeIdToGroupId.get(preference.attendeeId);\\n // The signaling protocol expects 'higher' values for 'higher' priorities\\n configuration.priority = Number.MAX_SAFE_INTEGER - preference.priority;\\n configuration.targetBitrateKbps = preference.targetSizeToBitrateKbps(preference.targetSize);\\n configurations.push(configuration);\\n }\\n return configurations;\\n }\\n receiveSubscribeAck() {\\n return new Promise((resolve, reject) => {\\n const context = this.context;\\n class Interceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`SubscribeAndReceiveSubscribeAckTask got canceled while waiting for SdkSubscribeAckFrame`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.isConnectionTerminated()) {\\n const message = `SubscribeAndReceiveSubscribeAckTask connection was terminated with code ${event.closeCode} and reason: ${event.closeReason}`;\\n context.logger.warn(message);\\n let statusCode = MeetingSessionStatusCode_1.default.TaskFailed;\\n if (event.closeCode >= 4500 && event.closeCode < 4600) {\\n statusCode = MeetingSessionStatusCode_1.default.SignalingInternalServerError;\\n }\\n context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(statusCode), new Error(message));\\n return;\\n }\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame ||\\n event.message.type !== SignalingProtocol_js_1.SdkSignalFrame.Type.SUBSCRIBE_ACK) {\\n return;\\n }\\n this.signalingClient.removeObserver(this);\\n // @ts-ignore: force cast to SdkSubscribeAckFrame\\n const subackFrame = event.message.suback;\\n resolve(subackFrame);\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient);\\n this.context.signalingClient.registerObserver(interceptor);\\n this.taskCanceler = interceptor;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SubscribeAndReceiveSubscribeAckTask;\\n//# sourceMappingURL=SubscribeAndReceiveSubscribeAckTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TaskStatus;\\n(function (TaskStatus) {\\n TaskStatus[\\\"IDLE\\\"] = \\\"IDLE\\\";\\n TaskStatus[\\\"RUNNING\\\"] = \\\"RUNNING\\\";\\n TaskStatus[\\\"CANCELED\\\"] = \\\"CANCELED\\\";\\n TaskStatus[\\\"FINISHED\\\"] = \\\"FINISHED\\\";\\n})(TaskStatus || (TaskStatus = {}));\\nexports[\\\"default\\\"] = TaskStatus;\\n//# sourceMappingURL=TaskStatus.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js ***!\n \\********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 TimeoutScheduler_1 = __webpack_require__(/*! ../scheduler/TimeoutScheduler */ \\\"./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[TimeoutTask]] runs a subtask until it either succeeds or reaches a\\n * timeout, at which point the subtask is canceled.\\n */\\nclass TimeoutTask extends BaseTask_1.default {\\n constructor(logger, taskToRunBeforeTimeout, timeoutMs) {\\n super(logger);\\n this.taskToRunBeforeTimeout = taskToRunBeforeTimeout;\\n this.timeoutMs = timeoutMs;\\n this.taskName = `Timeout${this.timeoutMs}ms`;\\n taskToRunBeforeTimeout.setParent(this);\\n }\\n cancel() {\\n this.logger.info(`canceling timeout task ${this.name()} subtask ${this.taskToRunBeforeTimeout}`);\\n this.taskToRunBeforeTimeout.cancel();\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const timer = new TimeoutScheduler_1.default(this.timeoutMs);\\n timer.start(() => {\\n this.logger.info(`timeout reached for task ${this.name()}`);\\n this.taskToRunBeforeTimeout.cancel();\\n });\\n try {\\n yield this.taskToRunBeforeTimeout.run();\\n }\\n finally {\\n timer.stop();\\n }\\n this.logger.info(`timeout task ${this.name()} completed`);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = TimeoutTask;\\n//# sourceMappingURL=TimeoutTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[WaitForAttendeePresenceTask]] waits until an attendee presence event happens.\\n */\\nclass WaitForAttendeePresenceTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'WaitForAttendeePresenceTask';\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.NoAttendeePresent}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const attendeeId = this.context.meetingSessionConfiguration.credentials.attendeeId;\\n return new Promise((resolve, reject) => {\\n const handler = (presentAttendeeId, present, _externalUserId, _dropped, _pos) => {\\n if (attendeeId === presentAttendeeId && present) {\\n this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);\\n resolve();\\n delete this.cancelPromise;\\n }\\n };\\n this.cancelPromise = (error) => {\\n this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);\\n reject(error);\\n };\\n this.context.realtimeController.realtimeSubscribeToAttendeeIdPresence(handler);\\n });\\n });\\n }\\n}\\nexports[\\\"default\\\"] = WaitForAttendeePresenceTask;\\n//# sourceMappingURL=WaitForAttendeePresenceTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js ***!\n \\******************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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 DefaultTransceiverController {\\n constructor(logger, browserBehavior) {\\n this.logger = logger;\\n this.browserBehavior = browserBehavior;\\n this._localCameraTransceiver = null;\\n this._localAudioTransceiver = null;\\n this.videoSubscriptions = [];\\n this.defaultMediaStream = null;\\n this.peer = null;\\n this.streamIdToTransceiver = new Map();\\n }\\n setEncodingParameters(encodingParamMap) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n if (!encodingParamMap || encodingParamMap.size === 0) {\\n return;\\n }\\n const newEncodingParams = Array.from(encodingParamMap.values());\\n const oldParam = sender.getParameters();\\n if (!oldParam.encodings || oldParam.encodings.length === 0) {\\n oldParam.encodings = newEncodingParams;\\n }\\n else {\\n for (const existing of oldParam.encodings) {\\n for (const changed of newEncodingParams) {\\n if ((existing.rid || changed.rid) && existing.rid !== changed.rid) {\\n continue;\\n }\\n let key;\\n for (key in changed) {\\n // These properties can't be changed.\\n if (key === 'rid' || key === 'codecPayloadType') {\\n continue;\\n }\\n /* istanbul ignore else */\\n if (changed.hasOwnProperty(key)) {\\n existing[key] = changed[key];\\n }\\n }\\n }\\n }\\n }\\n yield sender.setParameters(oldParam);\\n });\\n }\\n localAudioTransceiver() {\\n return this._localAudioTransceiver;\\n }\\n localVideoTransceiver() {\\n return this._localCameraTransceiver;\\n }\\n setVideoSendingBitrateKbps(bitrateKbps) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n if (!sender || bitrateKbps <= 0) {\\n return;\\n }\\n const param = sender.getParameters();\\n if (!param.encodings) {\\n param.encodings = [{}];\\n }\\n for (const encodeParam of param.encodings) {\\n encodeParam.maxBitrate = bitrateKbps * 1000;\\n }\\n yield sender.setParameters(param);\\n });\\n }\\n setPeer(peer) {\\n this.peer = peer;\\n }\\n reset() {\\n this._localCameraTransceiver = null;\\n this._localAudioTransceiver = null;\\n this.videoSubscriptions = [];\\n this.defaultMediaStream = null;\\n this.peer = null;\\n }\\n useTransceivers() {\\n return !!this.peer && typeof this.peer.getTransceivers !== 'undefined';\\n }\\n hasVideoInput() {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv')\\n return false;\\n return true;\\n }\\n trackIsVideoInput(track) {\\n if (!this._localCameraTransceiver) {\\n return false;\\n }\\n return (track === this._localCameraTransceiver.sender.track ||\\n track === this._localCameraTransceiver.receiver.track);\\n }\\n setupLocalTransceivers() {\\n if (!this.useTransceivers()) {\\n return;\\n }\\n if (!this.defaultMediaStream && typeof MediaStream !== 'undefined') {\\n this.defaultMediaStream = new MediaStream();\\n }\\n if (!this._localAudioTransceiver) {\\n this._localAudioTransceiver = this.peer.addTransceiver('audio', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n if (!this._localCameraTransceiver) {\\n this._localCameraTransceiver = this.peer.addTransceiver('video', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n }\\n replaceAudioTrack(track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localAudioTransceiver || this._localAudioTransceiver.direction !== 'sendrecv') {\\n this.logger.info(`audio transceiver direction is not set up or not activated`);\\n return false;\\n }\\n yield this._localAudioTransceiver.sender.replaceTrack(track);\\n return true;\\n });\\n }\\n setAudioInput(track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n yield this.setTransceiverInput(this._localAudioTransceiver, track);\\n return;\\n });\\n }\\n setVideoInput(track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n yield this.setTransceiverInput(this._localCameraTransceiver, track);\\n return;\\n });\\n }\\n updateVideoTransceivers(videoStreamIndex, videosToReceive) {\\n if (!this.useTransceivers()) {\\n return videosToReceive.array();\\n }\\n // See https://blog.mozilla.org/webrtc/rtcrtptransceiver-explored/ for details on transceivers\\n const transceivers = this.peer.getTransceivers();\\n // Subscription index 0 is reserved for transmitting camera.\\n // We mark inactive slots with 0 in the subscription array.\\n this.videoSubscriptions = [0];\\n videosToReceive = videosToReceive.clone();\\n this.updateTransceivers(transceivers, videoStreamIndex, videosToReceive);\\n this.logger.debug(() => {\\n return this.debugDumpTransceivers();\\n });\\n return this.videoSubscriptions;\\n }\\n updateTransceivers(transceivers, videoStreamIndex, videosToReceive) {\\n const videosRemaining = videosToReceive.array();\\n if (transceivers.length !== 0 && !transceivers[0].stop) {\\n // This function and its usage can be removed once we raise Chrome browser requirements\\n // to M88 (when `RTCRtpTransceiver.stop` was added)\\n this.logger.info('Updating transceivers without `stop` function');\\n this.updateTransceiverWithoutStop(transceivers, videoStreamIndex, videosRemaining);\\n }\\n else if (transceivers.length !== 0) {\\n this.updateTransceiverWithStop(transceivers, videoStreamIndex, videosRemaining);\\n }\\n // Add transceivers for the remaining subscriptions\\n for (const index of videosRemaining) {\\n // @ts-ignore\\n const transceiver = this.peer.addTransceiver('video', {\\n direction: 'recvonly',\\n streams: [new MediaStream()],\\n });\\n this.streamIdToTransceiver.set(index, transceiver);\\n this.videoSubscriptions.push(index);\\n this.logger.info(`adding transceiver mid: ${transceiver.mid} subscription: ${index} direction: recvonly`);\\n }\\n }\\n updateTransceiverWithStop(transceivers, videoStreamIndex, videosRemaining) {\\n // Begin counting out index in the the subscription array at 1 since the camera.\\n // Always occupies position 0 (whether active or not).\\n let n = 1;\\n // Reset since otherwise there will be stale indexes corresponding to\\n // stopped transceivers.\\n this.videoSubscriptions = [0];\\n for (const transceiver of transceivers) {\\n if (transceiver === this._localCameraTransceiver ||\\n !this.transceiverIsVideo(transceiver) ||\\n !transceiver.mid) {\\n continue;\\n }\\n let reusingTranceiver = false;\\n // See if we want this existing transceiver for a simulcast stream switch\\n //\\n // By convention with the service backend, msid is equal to the media section mid, prefixed with the string \\\"v_\\\";\\n // we use this to get the stream ID for the track\\n const streamId = videoStreamIndex.streamIdForTrack('v_' + transceiver.mid);\\n if (transceiver.direction !== 'inactive' && streamId !== undefined) {\\n for (const [index, recvStreamId] of videosRemaining.entries()) {\\n // `streamId` may still be the same as `recvStreamId`\\n if (videoStreamIndex.StreamIdsInSameGroup(streamId, recvStreamId)) {\\n transceiver.direction = 'recvonly';\\n this.videoSubscriptions[n] = recvStreamId;\\n reusingTranceiver = true;\\n this.streamIdToTransceiver.delete(streamId);\\n this.streamIdToTransceiver.set(recvStreamId, transceiver);\\n videosRemaining.splice(index, 1);\\n break;\\n }\\n }\\n }\\n if (!reusingTranceiver) {\\n this.videoSubscriptions[n] = 0;\\n this.logger.info(`Stopping MID: ${transceiver.mid}, direction: ${transceiver.direction}, current direction: ${transceiver.currentDirection}`);\\n // Clean up transceiver and mappings for streams that have been unsubscribed from. Note we do not try to reuse\\n // old inactive transceivers for new streams as Firefox will reuse the last frame from\\n // that transceiver, and additionally we simply don't want to risk wiring up a transceiver\\n // to the incorrect video stream for no real benefit besides possible a smaller SDP size.\\n transceiver.stop(); // Note (as of Firefox 94): Firefox will keep these around forever\\n for (const [streamId, previousTransceiver] of this.streamIdToTransceiver.entries()) {\\n if (transceiver.mid === previousTransceiver.mid) {\\n this.streamIdToTransceiver.delete(streamId);\\n }\\n }\\n }\\n n += 1;\\n }\\n }\\n // This function operates similarily to `updateTransceiverWithStop` with the following changes to account\\n // for the fact RTCRtpTransceiver.stop is not available on all supported browsers:\\n // * We attempt to reuse inactive transceivers because libwebrtc will not remove them otherwise and\\n // the SDP will grow endlessly.\\n // * We mark unsubscribed transceivers as 'inactive' so that they can be reused. This requires using a\\n // second for loop.\\n updateTransceiverWithoutStop(transceivers, videoStreamIndex, videosRemaining) {\\n let n = 1;\\n for (const transceiver of transceivers) {\\n if (transceiver === this._localCameraTransceiver || !this.transceiverIsVideo(transceiver)) {\\n continue;\\n }\\n this.videoSubscriptions[n] = 0;\\n if (transceiver.direction !== 'inactive') {\\n const streamId = videoStreamIndex.streamIdForTrack('v_' + transceiver.mid);\\n if (streamId !== undefined) {\\n for (const [index, recvStreamId] of videosRemaining.entries()) {\\n if (videoStreamIndex.StreamIdsInSameGroup(streamId, recvStreamId)) {\\n transceiver.direction = 'recvonly';\\n this.videoSubscriptions[n] = recvStreamId;\\n this.streamIdToTransceiver.delete(streamId);\\n this.streamIdToTransceiver.set(recvStreamId, transceiver);\\n videosRemaining.splice(index, 1);\\n break;\\n }\\n }\\n }\\n }\\n n += 1;\\n }\\n // Next fill in open slots and remove unused\\n n = 1;\\n for (const transceiver of transceivers) {\\n if (transceiver === this._localCameraTransceiver || !this.transceiverIsVideo(transceiver)) {\\n continue;\\n }\\n if (transceiver.direction === 'inactive' && videosRemaining.length > 0) {\\n // Fill available slot\\n transceiver.direction = 'recvonly';\\n const streamId = videosRemaining.shift();\\n this.videoSubscriptions[n] = streamId;\\n this.streamIdToTransceiver.set(streamId, transceiver);\\n }\\n else {\\n // Remove if no longer subscribed\\n if (this.videoSubscriptions[n] === 0) {\\n transceiver.direction = 'inactive';\\n for (const [streamId, previousTransceiver] of this.streamIdToTransceiver.entries()) {\\n if (transceiver === previousTransceiver) {\\n this.streamIdToTransceiver.delete(streamId);\\n }\\n }\\n }\\n }\\n n += 1;\\n }\\n }\\n getMidForStreamId(streamId) {\\n var _a;\\n return (_a = this.streamIdToTransceiver.get(streamId)) === null || _a === void 0 ? void 0 : _a.mid;\\n }\\n setStreamIdForMid(mid, newStreamId) {\\n for (const [streamId, transceiver] of this.streamIdToTransceiver.entries()) {\\n if (transceiver.mid === mid) {\\n this.streamIdToTransceiver.delete(streamId);\\n this.streamIdToTransceiver.set(newStreamId, transceiver);\\n return;\\n }\\n }\\n }\\n transceiverIsVideo(transceiver) {\\n return ((transceiver.receiver &&\\n transceiver.receiver.track &&\\n transceiver.receiver.track.kind === 'video') ||\\n (transceiver.sender && transceiver.sender.track && transceiver.sender.track.kind === 'video'));\\n }\\n debugDumpTransceivers() {\\n let msg = '';\\n let n = 0;\\n for (const transceiver of this.peer.getTransceivers()) {\\n if (!this.transceiverIsVideo(transceiver)) {\\n continue;\\n }\\n msg += `transceiver index=${n} mid=${transceiver.mid} subscription=${this.videoSubscriptions[n]} direction=${transceiver.direction}\\\\n`;\\n n += 1;\\n }\\n return msg;\\n }\\n setTransceiverInput(transceiver, track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!transceiver) {\\n return;\\n }\\n if (track) {\\n transceiver.direction = 'sendrecv';\\n }\\n else {\\n transceiver.direction = 'inactive';\\n }\\n yield transceiver.sender.replaceTrack(track);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = DefaultTransceiverController;\\n//# sourceMappingURL=DefaultTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js\":\n/*!********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js ***!\n \\********************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SimulcastTransceiverController_1 = __webpack_require__(/*! ./SimulcastTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js\\\");\\nclass SimulcastContentShareTransceiverController extends SimulcastTransceiverController_1.default {\\n constructor(logger, browserBehavior) {\\n super(logger, browserBehavior);\\n let scale = 2;\\n this.videoQualityControlParameterMap = new Map();\\n for (let i = 0; i < SimulcastContentShareTransceiverController.NAME_ARR_ASCENDING.length; i++) {\\n const ridName = SimulcastContentShareTransceiverController.NAME_ARR_ASCENDING[i];\\n this.videoQualityControlParameterMap.set(ridName, {\\n rid: ridName,\\n scaleResolutionDownBy: scale,\\n maxBitrate: SimulcastContentShareTransceiverController.BITRATE_ARR_ASCENDING[i] * 1000,\\n });\\n scale = scale / 2;\\n }\\n }\\n // Note: `scaleResolutionDownBy` has only been tested with values 1, 2, and 4.\\n setEncodingParameters(encodingParamMap) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n const newEncodingParams = Array.from(encodingParamMap.values());\\n if (newEncodingParams.length <= 0) {\\n return;\\n }\\n const oldParam = sender.getParameters();\\n if (!oldParam.encodings) {\\n oldParam.encodings = newEncodingParams;\\n }\\n else {\\n for (let i = 0; i < oldParam.encodings.length; i++) {\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController_1.default.LOW_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController_1.default.LOW_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController_1.default.HIGH_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController_1.default.HIGH_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n }\\n }\\n yield sender.setParameters(oldParam);\\n this.logVideoTransceiverParameters();\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SimulcastContentShareTransceiverController;\\nSimulcastContentShareTransceiverController.NAME_ARR_ASCENDING = ['low', 'hi'];\\nSimulcastContentShareTransceiverController.BITRATE_ARR_ASCENDING = [300, 1200];\\n//# sourceMappingURL=SimulcastContentShareTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultTransceiverController_1 = __webpack_require__(/*! ./DefaultTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js\\\");\\nclass SimulcastTransceiverController extends DefaultTransceiverController_1.default {\\n constructor(logger, browserBehavior) {\\n super(logger, browserBehavior);\\n this.videoQualityControlParameterMap = new Map();\\n let scale = 4;\\n for (let i = 0; i < SimulcastTransceiverController.NAME_ARR_ASCENDING.length; i++) {\\n const ridName = SimulcastTransceiverController.NAME_ARR_ASCENDING[i];\\n this.videoQualityControlParameterMap.set(ridName, {\\n rid: ridName,\\n scaleResolutionDownBy: scale,\\n maxBitrate: SimulcastTransceiverController.BITRATE_ARR_ASCENDING[i] * 1000,\\n });\\n scale = scale / 2;\\n }\\n }\\n // Note: `scaleResolutionDownBy` has only been tested with values 1, 2, and 4.\\n setEncodingParameters(encodingParamMap) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n const newEncodingParams = Array.from(encodingParamMap.values());\\n if (newEncodingParams.length <= 0) {\\n return;\\n }\\n const oldParam = sender.getParameters();\\n if (!oldParam.encodings) {\\n oldParam.encodings = newEncodingParams;\\n }\\n else {\\n for (let i = 0; i < oldParam.encodings.length; i++) {\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController.LOW_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController.LOW_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController.MID_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController.MID_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController.HIGH_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController.HIGH_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n }\\n }\\n yield sender.setParameters(oldParam);\\n this.logVideoTransceiverParameters();\\n });\\n }\\n setVideoSendingBitrateKbps(_bitrateKbps) {\\n return __awaiter(this, void 0, void 0, function* () {\\n return;\\n });\\n }\\n setupLocalTransceivers() {\\n if (!this.useTransceivers()) {\\n return;\\n }\\n if (!this.defaultMediaStream && typeof MediaStream !== 'undefined') {\\n this.defaultMediaStream = new MediaStream();\\n }\\n if (!this._localAudioTransceiver) {\\n this._localAudioTransceiver = this.peer.addTransceiver('audio', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n if (!this._localCameraTransceiver) {\\n const encodingParams = Array.from(this.videoQualityControlParameterMap.values());\\n this._localCameraTransceiver = this.peer.addTransceiver('video', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n sendEncodings: encodingParams,\\n });\\n }\\n }\\n logVideoTransceiverParameters() {\\n const params = this._localCameraTransceiver.sender.getParameters();\\n const encodings = params.encodings;\\n let msg = 'simulcast: current encoding parameters \\\\n';\\n for (const encodingParam of encodings) {\\n msg += `rid=${encodingParam.rid} maxBitrate=${encodingParam.maxBitrate} active=${encodingParam.active} scaleDownBy=${encodingParam.scaleResolutionDownBy} maxFrameRate = ${encodingParam.maxFramerate} \\\\n`;\\n }\\n this.logger.info(msg);\\n }\\n copyEncodingParams(fromEncodingParams, toEncodingParams) {\\n toEncodingParams.active = fromEncodingParams.active;\\n toEncodingParams.maxBitrate = fromEncodingParams.maxBitrate;\\n toEncodingParams.scaleResolutionDownBy = fromEncodingParams.scaleResolutionDownBy;\\n toEncodingParams.maxFramerate = fromEncodingParams.maxFramerate;\\n }\\n}\\nexports[\\\"default\\\"] = SimulcastTransceiverController;\\nSimulcastTransceiverController.LOW_LEVEL_NAME = 'low';\\nSimulcastTransceiverController.MID_LEVEL_NAME = 'mid';\\nSimulcastTransceiverController.HIGH_LEVEL_NAME = 'hi';\\nSimulcastTransceiverController.NAME_ARR_ASCENDING = ['low', 'mid', 'hi'];\\nSimulcastTransceiverController.BITRATE_ARR_ASCENDING = [200, 400, 1100];\\n//# sourceMappingURL=SimulcastTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultTransceiverController_1 = __webpack_require__(/*! ./DefaultTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js\\\");\\nclass VideoOnlyTransceiverController extends DefaultTransceiverController_1.default {\\n constructor(logger, browserBehavior) {\\n super(logger, browserBehavior);\\n }\\n setupLocalTransceivers() {\\n if (!this.useTransceivers()) {\\n return;\\n }\\n if (!this.defaultMediaStream && typeof MediaStream !== 'undefined') {\\n this.defaultMediaStream = new MediaStream();\\n }\\n if (!this._localCameraTransceiver) {\\n this._localCameraTransceiver = this.peer.addTransceiver('video', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VideoOnlyTransceiverController;\\n//# sourceMappingURL=VideoOnlyTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.TRANSCRIPTION_DATA_MESSAGE_TOPIC = void 0;\\nconst TranscriptEvent_1 = __webpack_require__(/*! ./TranscriptEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js\\\");\\nexports.TRANSCRIPTION_DATA_MESSAGE_TOPIC = 'aws:chime:transcription';\\nclass DefaultTranscriptionController {\\n constructor(realtimeController) {\\n this.realtimeController = realtimeController;\\n this.transcriptEventCallbacks = new Set();\\n }\\n subscribeToTranscriptEvent(callback) {\\n if (this.transcriptEventCallbacks.size === 0) {\\n this.realtimeController.realtimeSubscribeToReceiveDataMessage(exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC, (dataMessage) => {\\n for (const transcriptEvent of TranscriptEvent_1.TranscriptEventConverter.from(dataMessage)) {\\n for (const transcriptEventCallback of this.transcriptEventCallbacks) {\\n transcriptEventCallback(transcriptEvent);\\n }\\n }\\n });\\n }\\n this.transcriptEventCallbacks.add(callback);\\n }\\n unsubscribeFromTranscriptEvent(callback) {\\n this.transcriptEventCallbacks.delete(callback);\\n if (this.transcriptEventCallbacks.size === 0) {\\n this.realtimeController.realtimeUnsubscribeFromReceiveDataMessage(exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultTranscriptionController;\\n//# sourceMappingURL=DefaultTranscriptionController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 Transcript {\\n}\\nexports[\\\"default\\\"] = Transcript;\\n//# sourceMappingURL=Transcript.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptAlternative {\\n}\\nexports[\\\"default\\\"] = TranscriptAlternative;\\n//# sourceMappingURL=TranscriptAlternative.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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* When redacting personally identifiable information (PII) from a streaming transcription, Amazon Transcribe replaces each identified instance of PII with [PII] in your transcript.\\n* An additional option available for streaming audio is PII identification.\\n* When you activate PII Identification, Amazon Transcribe labels the PII in your transcription results under an Entities object.\\n* PII identification and redaction for streaming jobs is performed only upon complete transcription of the audio segments.\\n* category refers to whether the entity is a PII or PHI data.\\n* confidence refers to the confidence that the speech it flagged for redaction/identification is truly PII. Confidence value ranges from 0 to 1 inclusive.\\n* type refers to the type of PII/PHI data that is identified. The current supported type values are: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN.\\n* type is only available in case of engine transcribe and not in medical transcribe\\n* type can be expected to change and grow as Transcribe evolves\\n* endTimeMs and startTimeMs are epoch timestamps in milliseconds\\n* Sample Redacted PII Data would look similar to this :\\n* \\\"Entities\\\": [\\n {\\n \\\"Content\\\": \\\"[NAME]\\\",\\n \\\"Category\\\": \\\"PII\\\",\\n \\\"Type\\\": \\\"NAME\\\",\\n \\\"StartTime\\\" : 1636493289421,\\n \\\"EndTime\\\" : 1636493290016,\\n \\\"Confidence\\\": 0.9989\\n }\\n ]\\n* Sample PII Identified data would look similar to this :\\n* \\\"Entities\\\": [\\n {\\n \\\"Content\\\": \\\"janet smithy\\\",\\n \\\"Category\\\": \\\"PII\\\",\\n \\\"Type\\\": \\\"NAME\\\",\\n \\\"StartTime\\\" : 1636493289421,\\n \\\"EndTime\\\" : 1636493290016,\\n \\\"Confidence\\\": 0.9989\\n }\\n ]\\n*/\\nclass TranscriptEntity {\\n}\\nexports[\\\"default\\\"] = TranscriptEntity;\\n//# sourceMappingURL=TranscriptEntity.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.TranscriptEventConverter = void 0;\\nconst SignalingProtocol_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst Transcript_1 = __webpack_require__(/*! ./Transcript */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js\\\");\\nconst TranscriptionStatus_1 = __webpack_require__(/*! ./TranscriptionStatus */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js\\\");\\nconst TranscriptionStatusType_1 = __webpack_require__(/*! ./TranscriptionStatusType */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js\\\");\\nconst TranscriptItemType_1 = __webpack_require__(/*! ./TranscriptItemType */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js\\\");\\nconst TranscriptionStatusTypes = {\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.STARTED]: TranscriptionStatusType_1.default.STARTED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.INTERRUPTED]: TranscriptionStatusType_1.default.INTERRUPTED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.RESUMED]: TranscriptionStatusType_1.default.RESUMED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.STOPPED]: TranscriptionStatusType_1.default.STOPPED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.FAILED]: TranscriptionStatusType_1.default.FAILED,\\n};\\nclass TranscriptEventConverter {\\n /**\\n * Decodes a list of TranscriptEvent from a data message.\\n * @param dataMessage Data message to decode from\\n * @returns List of TranscriptEvent\\n * @throws {Error} If the data message payload cannot be decoded\\n */\\n static from(dataMessage) {\\n let frame;\\n try {\\n frame = SignalingProtocol_1.SdkTranscriptFrame.decode(dataMessage.data);\\n }\\n catch (e) {\\n throw new Error('Cannot decode transcript data message: ' + e);\\n }\\n const transcriptEvents = [];\\n for (const sdkTranscriptEvent of frame.events) {\\n if (sdkTranscriptEvent.status) {\\n const transcriptionStatusType = TranscriptionStatusTypes[sdkTranscriptEvent.status.type];\\n if (!transcriptionStatusType) {\\n continue;\\n }\\n const transcriptionStatus = new TranscriptionStatus_1.default();\\n transcriptionStatus.type = transcriptionStatusType;\\n transcriptionStatus.eventTimeMs = sdkTranscriptEvent.status.eventTime;\\n transcriptionStatus.transcriptionRegion = sdkTranscriptEvent.status.transcriptionRegion;\\n transcriptionStatus.transcriptionConfiguration =\\n sdkTranscriptEvent.status.transcriptionConfiguration;\\n if (sdkTranscriptEvent.status.message) {\\n transcriptionStatus.message = sdkTranscriptEvent.status.message;\\n }\\n transcriptEvents.push(transcriptionStatus);\\n }\\n else if (sdkTranscriptEvent.transcript) {\\n const transcript = new Transcript_1.default();\\n transcript.results = [];\\n for (const result of sdkTranscriptEvent.transcript.results) {\\n const transcriptResult = {\\n channelId: result.channelId,\\n isPartial: result.isPartial,\\n resultId: result.resultId,\\n startTimeMs: result.startTime,\\n endTimeMs: result.endTime,\\n alternatives: [],\\n };\\n if (result.languageCode) {\\n transcriptResult.languageCode = result.languageCode;\\n }\\n if (result.languageIdentification && result.languageIdentification.length > 0) {\\n transcriptResult.languageIdentification = [];\\n for (const languageIdentification of result.languageIdentification) {\\n const transcriptLanguageWithScore = {\\n languageCode: languageIdentification.languageCode,\\n score: languageIdentification.score,\\n };\\n transcriptResult.languageIdentification.push(transcriptLanguageWithScore);\\n }\\n }\\n for (const alternative of result.alternatives) {\\n const transcriptAlternative = {\\n items: [],\\n transcript: alternative.transcript,\\n };\\n for (const item of alternative.items) {\\n const transcriptItem = {\\n content: item.content,\\n attendee: {\\n attendeeId: item.speakerAttendeeId,\\n externalUserId: item.speakerExternalUserId,\\n },\\n startTimeMs: item.startTime,\\n endTimeMs: item.endTime,\\n type: null,\\n };\\n if (item.vocabularyFilterMatch) {\\n transcriptItem.vocabularyFilterMatch = item.vocabularyFilterMatch;\\n }\\n if (item.hasOwnProperty('stable')) {\\n transcriptItem.stable = item.stable;\\n }\\n if (item.hasOwnProperty('confidence')) {\\n transcriptItem.confidence = item.confidence;\\n }\\n switch (item.type) {\\n case SignalingProtocol_1.SdkTranscriptItem.Type.PRONUNCIATION:\\n transcriptItem.type = TranscriptItemType_1.default.PRONUNCIATION;\\n break;\\n case SignalingProtocol_1.SdkTranscriptItem.Type.PUNCTUATION:\\n transcriptItem.type = TranscriptItemType_1.default.PUNCTUATION;\\n break;\\n }\\n transcriptAlternative.items.push(transcriptItem);\\n }\\n for (const entity of alternative.entities) {\\n if (!transcriptAlternative.entities) {\\n transcriptAlternative.entities = [];\\n }\\n const transcriptEntity = {\\n category: entity.category,\\n confidence: entity.confidence,\\n content: entity.content,\\n startTimeMs: entity.startTime,\\n endTimeMs: entity.endTime,\\n };\\n if (entity.type) {\\n transcriptEntity.type = entity.type;\\n }\\n transcriptAlternative.entities.push(transcriptEntity);\\n }\\n transcriptResult.alternatives.push(transcriptAlternative);\\n }\\n transcript.results.push(transcriptResult);\\n }\\n transcriptEvents.push(transcript);\\n }\\n }\\n return transcriptEvents;\\n }\\n}\\nexports.TranscriptEventConverter = TranscriptEventConverter;\\n//# sourceMappingURL=TranscriptEvent.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptItem {\\n}\\nexports[\\\"default\\\"] = TranscriptItem;\\n//# sourceMappingURL=TranscriptItem.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptItemType;\\n(function (TranscriptItemType) {\\n TranscriptItemType[\\\"PRONUNCIATION\\\"] = \\\"pronunciation\\\";\\n TranscriptItemType[\\\"PUNCTUATION\\\"] = \\\"punctuation\\\";\\n})(TranscriptItemType || (TranscriptItemType = {}));\\nexports[\\\"default\\\"] = TranscriptItemType;\\n//# sourceMappingURL=TranscriptItemType.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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* When using automatic language identification for streaming transcription,\\n* Amazon Transcribe provides the language codes of the identified languages and their associated confidence scores.\\n* languageCode refers to one of language code from the set of languageOptions provided during start transcription call\\n* score refers to the confidence score is a value between zero and one; a larger value indicates a higher confidence in the identified language.\\n* Sample LanguageWithScore would look similar to this :\\n* \\\"LanguageIdentification\\\": [\\n {\\n \\\"LanguageCode\\\": \\\"en-US\\\",\\n \\\"Score\\\": 0.805\\n },\\n {\\n \\\"LanguageCode\\\": \\\"ja-JP\\\",\\n \\\"Score\\\": 0.195\\n }\\n ]\\n*/\\nclass TranscriptLanguageWithScore {\\n}\\nexports[\\\"default\\\"] = TranscriptLanguageWithScore;\\n//# sourceMappingURL=TranscriptLanguageWithScore.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptResult {\\n}\\nexports[\\\"default\\\"] = TranscriptResult;\\n//# sourceMappingURL=TranscriptResult.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptionStatus {\\n}\\nexports[\\\"default\\\"] = TranscriptionStatus;\\n//# sourceMappingURL=TranscriptionStatus.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptionStatusType;\\n(function (TranscriptionStatusType) {\\n TranscriptionStatusType[\\\"STARTED\\\"] = \\\"started\\\";\\n TranscriptionStatusType[\\\"INTERRUPTED\\\"] = \\\"interrupted\\\";\\n TranscriptionStatusType[\\\"RESUMED\\\"] = \\\"resumed\\\";\\n TranscriptionStatusType[\\\"STOPPED\\\"] = \\\"stopped\\\";\\n TranscriptionStatusType[\\\"FAILED\\\"] = \\\"failed\\\";\\n})(TranscriptionStatusType || (TranscriptionStatusType = {}));\\nexports[\\\"default\\\"] = TranscriptionStatusType;\\n//# sourceMappingURL=TranscriptionStatusType.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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// Use \\\"ua-parser-js\\\" over \\\"detect-browser\\\" to get more detailed information.\\nconst ua_parser_js_1 = __webpack_require__(/*! ua-parser-js */ \\\"./node_modules/ua-parser-js/src/ua-parser.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\n/**\\n * [[DefaultUserAgentParser]] uses UAParser to parse the browser's user agent.\\n * It is responsible to hold and provide browser, OS and device specific information.\\n */\\nclass DefaultUserAgentParser {\\n constructor(logger) {\\n var _a, _b, _c, _d, _e, _f, _g;\\n try {\\n this.parserResult =\\n navigator && navigator.userAgent\\n ? new ua_parser_js_1.UAParser(navigator.userAgent).getResult()\\n : undefined;\\n }\\n catch (error) {\\n /* istanbul ignore next */\\n 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]) || DefaultUserAgentParser.UNAVAILABLE;\\n this.browserName = ((_d = this.parserResult) === null || _d === void 0 ? void 0 : _d.browser.name) || DefaultUserAgentParser.UNAVAILABLE;\\n this.browserVersion = ((_e = this.parserResult) === null || _e === void 0 ? void 0 : _e.browser.version) || DefaultUserAgentParser.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() || DefaultUserAgentParser.UNAVAILABLE;\\n }\\n getParserResult() {\\n var _a, _b;\\n return {\\n browserMajorVersion: this.browserMajorVersion,\\n browserName: this.browserName,\\n browserVersion: this.browserVersion,\\n deviceName: this.deviceName,\\n osName: ((_a = this.parserResult) === null || _a === void 0 ? void 0 : _a.os.name) || DefaultUserAgentParser.UNAVAILABLE,\\n osVersion: ((_b = this.parserResult) === null || _b === void 0 ? void 0 : _b.os.version) || DefaultUserAgentParser.UNAVAILABLE,\\n sdkVersion: Versioning_1.default.sdkVersion,\\n sdkName: Versioning_1.default.sdkName,\\n };\\n }\\n}\\nexports[\\\"default\\\"] = DefaultUserAgentParser;\\nDefaultUserAgentParser.UNAVAILABLE = 'Unavailable';\\n//# sourceMappingURL=DefaultUserAgentParser.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 simple promise queue to enforce the order of async APIs for example, start/stop video/audio input.\\n */\\nclass PromiseQueue {\\n constructor() {\\n this.queue = Promise.resolve();\\n }\\n // eslint-disable-next-line\\n add(func) {\\n return new Promise((resolve, reject) => {\\n this.queue = this.queue.then(func).then(resolve).catch(reject);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = PromiseQueue;\\n//# sourceMappingURL=PromiseQueue.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/utils/Types.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/utils/Types.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.None = exports.Some = exports.Maybe = void 0;\\nclass Maybe {\\n static of(value) {\\n return value === undefined || value === null ? None.of() : Some.of(value);\\n }\\n}\\nexports.Maybe = Maybe;\\nclass Some {\\n constructor(value) {\\n this.value = value;\\n this.isSome = true;\\n this.isNone = false;\\n }\\n map(f) {\\n return Maybe.of(f(this.value));\\n }\\n flatMap(f) {\\n return f(this.value);\\n }\\n get() {\\n return this.value;\\n }\\n getOrElse(_value) {\\n return this.value;\\n }\\n defaulting(value) {\\n return Maybe.of(this.getOrElse(value));\\n }\\n static of(value) {\\n if (value === null || value === undefined) {\\n throw new Error('value is ${value}');\\n }\\n return new Some(value);\\n }\\n}\\nexports.Some = Some;\\nclass None {\\n constructor() {\\n this.isSome = false;\\n this.isNone = true;\\n }\\n get() {\\n throw new Error('value is null');\\n }\\n getOrElse(value) {\\n return value;\\n }\\n map(_f) {\\n return new None();\\n }\\n flatMap(_f) {\\n return new None();\\n }\\n defaulting(value) {\\n return Maybe.of(this.getOrElse(value));\\n }\\n static of() {\\n return new None();\\n }\\n}\\nexports.None = None;\\n//# sourceMappingURL=Types.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/utils/Types.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/utils/Utils.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.getFormattedOffset = exports.getDefaultAssetSpec = exports.toLowerCasePropertyNames = exports.isIFramed = exports.wait = void 0;\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nfunction wait(waitTimeMs) {\\n return new Promise(resolve => setTimeout(resolve, waitTimeMs));\\n}\\nexports.wait = wait;\\n// This is impossible to adequately test in Node, so Istanbul ignore.\\n/* istanbul ignore next */\\nfunction isIFramed() {\\n var _a;\\n // Same-origin iframes can check `nodeName`.\\n // We can also check whether the parent window and the top window are the same.\\n // Cross-origin iframes will throw on the `parent` check, so catch here.\\n try {\\n return ((_a = window.frameElement) === null || _a === void 0 ? void 0 : _a.nodeName) === 'IFRAME' || parent !== top;\\n }\\n catch (e) {\\n // Very likely to be a cross-origin iframe.\\n return true;\\n }\\n}\\nexports.isIFramed = isIFramed;\\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\\nfunction toLowerCasePropertyNames(input) {\\n if (input === null) {\\n return null;\\n }\\n else if (typeof input !== 'object') {\\n return input;\\n }\\n else if (Array.isArray(input)) {\\n return input.map(toLowerCasePropertyNames);\\n }\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n return Object.keys(input).reduce((result, key) => {\\n const value = input[key];\\n const newValue = typeof value === 'object' ? toLowerCasePropertyNames(value) : value;\\n result[key.toLowerCase()] = newValue;\\n return result;\\n }, {});\\n}\\nexports.toLowerCasePropertyNames = toLowerCasePropertyNames;\\n/**\\n * Based on the SDK version, return an asset group.\\n *\\n * @returns the default asset spec, based on the SDK version.\\n */\\nfunction getDefaultAssetSpec() {\\n const version = Versioning_1.default.sdkVersionSemVer;\\n return {\\n assetGroup: `sdk-${version.major}.${version.minor}`,\\n };\\n}\\nexports.getDefaultAssetSpec = getDefaultAssetSpec;\\n/**\\n * Get UTC offset in (+|-)HH:mm format\\n * E.g. For Asia/Calcutta timezone, +05:30 UTC offset value is returned\\n */\\nfunction getFormattedOffset(utcOffset) {\\n const offset = Math.abs(utcOffset);\\n const offsetOperator = utcOffset <= 0 ? '+' : '-';\\n const offsetHours = Math.floor(offset / 60)\\n .toString()\\n .padStart(2, '0');\\n const offsetMinutes = Math.floor(offset % 60)\\n .toString()\\n .padStart(2, '0');\\n return `${offsetOperator}${offsetHours}:${offsetMinutes}`;\\n}\\nexports.getFormattedOffset = getFormattedOffset;\\n//# sourceMappingURL=Utils.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/utils/Utils.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 version_1 = __webpack_require__(/*! ./version */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/version.js\\\");\\nclass Versioning {\\n /**\\n * Return string representation of SDK name\\n */\\n static get sdkName() {\\n return 'amazon-chime-sdk-js';\\n }\\n /**\\n * Return string representation of SDK version\\n */\\n static get sdkVersion() {\\n return version_1.default.semverString;\\n }\\n /**\\n * Returns the parts of the semver, so major/minor/patch can be extracted individually.\\n */\\n static get sdkVersionSemVer() {\\n var _a, _b, _c, _d;\\n const v = version_1.default.semverString.match(/^(?[0-9]+)\\\\.(?[0-9]+)((?:\\\\.(?[0-9]+))(?:-(?[a-zA-Z]+(\\\\.[0-9])*))?)?/);\\n return {\\n major: (_a = v === null || v === void 0 ? void 0 : v.groups) === null || _a === void 0 ? void 0 : _a.major,\\n minor: (_b = v === null || v === void 0 ? void 0 : v.groups) === null || _b === void 0 ? void 0 : _b.minor,\\n patch: (_c = v === null || v === void 0 ? void 0 : v.groups) === null || _c === void 0 ? void 0 : _c.patch,\\n preRelease: (_d = v === null || v === void 0 ? void 0 : v.groups) === null || _d === void 0 ? void 0 : _d.preRelease,\\n };\\n }\\n /**\\n * Return the SHA-1 of the Git commit from which this build was created.\\n */\\n static get buildSHA() {\\n // Skip the leading 'g'.\\n return version_1.default.hash.substr(1);\\n }\\n /**\\n * Return low-resolution string representation of SDK user agent (e.g. `chrome-78`)\\n */\\n static get sdkUserAgentLowResolution() {\\n const browserBehavior = new DefaultBrowserBehavior_1.default();\\n return `${browserBehavior.name()}-${browserBehavior.majorVersion()}`;\\n }\\n /**\\n * Return URL with versioning information appended\\n */\\n static urlWithVersion(url) {\\n const urlWithVersion = new URL(url);\\n urlWithVersion.searchParams.append(Versioning.X_AMZN_VERSION, Versioning.sdkVersion);\\n urlWithVersion.searchParams.append(Versioning.X_AMZN_USER_AGENT, Versioning.sdkUserAgentLowResolution);\\n return urlWithVersion.toString();\\n }\\n}\\nexports[\\\"default\\\"] = Versioning;\\nVersioning.X_AMZN_VERSION = 'X-Amzn-Version';\\nVersioning.X_AMZN_USER_AGENT = 'X-Amzn-User-Agent';\\n//# sourceMappingURL=Versioning.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/versioning/version.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/versioning/version.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports[\\\"default\\\"] = {\\n \\\"hash\\\": \\\"bd71fb9\\\",\\n \\\"raw\\\": \\\"v3.14.1\\\",\\n \\\"semverString\\\": \\\"3.14.1\\\"\\n};\\n//# sourceMappingURL=version.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/versioning/version.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js\":\n/*!************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js ***!\n \\************************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoCaptureAndEncodeParameter {\\n constructor(cameraWidth, cameraHeight, cameraFrameRate, maxEncodeBitrateKbps, isSimulcast, scaleResolutionDownBy = 1) {\\n this.cameraWidth = cameraWidth;\\n this.cameraHeight = cameraHeight;\\n this.cameraFrameRate = cameraFrameRate;\\n this.maxEncodeBitrateKbps = maxEncodeBitrateKbps;\\n this.isSimulcast = isSimulcast;\\n this.scaleResolutionDownBy = scaleResolutionDownBy;\\n }\\n equal(other) {\\n let checkForEqual = other.captureWidth() === this.cameraWidth &&\\n other.captureHeight() === this.cameraHeight &&\\n other.captureFrameRate() === this.cameraFrameRate &&\\n other.encodeBitrates().length === this.encodeBitrates().length &&\\n other.encodeScaleResolutionDownBy().length === this.encodeScaleResolutionDownBy().length &&\\n other.encodeWidths().length === this.encodeWidths().length &&\\n other.encodeHeights().length === this.encodeHeights().length;\\n if (checkForEqual) {\\n for (let i = 0; i < other.encodeWidths().length; i++) {\\n if (other.encodeWidths()[i] !== this.encodeWidths()[i] ||\\n other.encodeHeights()[i] !== this.encodeHeights()[i] ||\\n other.encodeBitrates()[i] !== this.encodeBitrates()[i] ||\\n other.encodeScaleResolutionDownBy()[i] !== this.encodeScaleResolutionDownBy()[i]) {\\n checkForEqual = false;\\n return checkForEqual;\\n }\\n }\\n }\\n return checkForEqual;\\n }\\n clone() {\\n return new DefaultVideoCaptureAndEncodeParameter(this.cameraWidth, this.cameraHeight, this.cameraFrameRate, this.maxEncodeBitrateKbps, this.isSimulcast, this.scaleResolutionDownBy);\\n }\\n captureWidth() {\\n return this.cameraWidth;\\n }\\n captureHeight() {\\n return this.cameraHeight;\\n }\\n captureFrameRate() {\\n return this.cameraFrameRate;\\n }\\n encodeBitrates() {\\n // TODO: add simulcast layer\\n return [this.maxEncodeBitrateKbps];\\n }\\n encodeScaleResolutionDownBy() {\\n return [this.scaleResolutionDownBy];\\n }\\n encodeWidths() {\\n return [this.cameraWidth];\\n }\\n encodeHeights() {\\n return [this.cameraHeight];\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoCaptureAndEncodeParameter;\\n//# sourceMappingURL=DefaultVideoCaptureAndEncodeParameter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\n/**\\n * [[AllHighestVideoBandwidthPolicy]] implements is a rudimentary policy that simply\\n * always subscribes to the highest quality video stream available\\n * for all non-self participants.\\n */\\nclass AllHighestVideoBandwidthPolicy {\\n constructor(selfAttendeeId) {\\n this.selfAttendeeId = selfAttendeeId;\\n this.reset();\\n }\\n reset() {\\n this.optimalReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.subscribedReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.videoSources = undefined;\\n }\\n updateIndex(videoIndex) {\\n this.videoIndex = videoIndex;\\n this.optimalReceiveSet = this.calculateOptimalReceiveSet(videoIndex);\\n }\\n updateMetrics(_clientMetricReport) { }\\n wantsResubscribe() {\\n return !this.subscribedReceiveSet.equal(this.optimalReceiveSet);\\n }\\n chooseSubscriptions() {\\n this.subscribedReceiveSet = this.optimalReceiveSet.clone();\\n return this.subscribedReceiveSet.clone();\\n }\\n chooseRemoteVideoSources(videoSources) {\\n this.videoSources = videoSources;\\n this.optimalReceiveSet = this.calculateOptimalReceiveSet(this.videoIndex).clone();\\n }\\n calculateOptimalReceiveSet(videoIndex) {\\n const streamSelectionSet = new DefaultVideoStreamIdSet_1.default();\\n if (!this.videoIndex || this.videoIndex.allStreams().empty()) {\\n return streamSelectionSet;\\n }\\n const receiveSet = videoIndex.highestQualityStreamFromEachGroupExcludingSelf(this.selfAttendeeId);\\n // If video sources are not chosen, then return the default receive set.\\n if (this.videoSources === undefined) {\\n return receiveSet;\\n }\\n // Get the list of all the remote stream information\\n const remoteInfos = this.videoIndex.remoteStreamDescriptions();\\n const mapOfAttendeeIdToOptimalStreamId = new Map();\\n for (const info of remoteInfos) {\\n if (receiveSet.contain(info.streamId)) {\\n mapOfAttendeeIdToOptimalStreamId.set(info.attendeeId, info.streamId);\\n }\\n }\\n for (const videoSource of this.videoSources) {\\n const attendeeId = videoSource.attendee.attendeeId;\\n if (mapOfAttendeeIdToOptimalStreamId.has(attendeeId)) {\\n streamSelectionSet.add(mapOfAttendeeIdToOptimalStreamId.get(attendeeId));\\n }\\n }\\n return streamSelectionSet;\\n }\\n}\\nexports[\\\"default\\\"] = AllHighestVideoBandwidthPolicy;\\n//# sourceMappingURL=AllHighestVideoBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\nclass NoVideoDownlinkBandwidthPolicy {\\n reset() { }\\n updateIndex(_videoIndex) { }\\n updateMetrics(_clientMetricReport) { }\\n wantsResubscribe() {\\n return false;\\n }\\n chooseSubscriptions() {\\n return new DefaultVideoStreamIdSet_1.default();\\n }\\n}\\nexports[\\\"default\\\"] = NoVideoDownlinkBandwidthPolicy;\\n//# sourceMappingURL=NoVideoDownlinkBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.TargetDisplaySize = void 0;\\n/**\\n * [[TargetDisplaySize]] represents the max resolution that a video stream can have when simulcast is enabled in priority based downlink policy.\\n * If there is only one stream being sent, then this field will get ignored. Its values currently parallel [[SimulcastLayers]].\\n */\\nvar TargetDisplaySize;\\n(function (TargetDisplaySize) {\\n /**\\n * Low resolution video stream.\\n */\\n TargetDisplaySize[TargetDisplaySize[\\\"Low\\\"] = 0] = \\\"Low\\\";\\n /**\\n * Medium resolution video stream.\\n */\\n TargetDisplaySize[TargetDisplaySize[\\\"Medium\\\"] = 1] = \\\"Medium\\\";\\n /**\\n * High resolution video stream.\\n */\\n TargetDisplaySize[TargetDisplaySize[\\\"High\\\"] = 2] = \\\"High\\\";\\n})(TargetDisplaySize = exports.TargetDisplaySize || (exports.TargetDisplaySize = {}));\\nexports[\\\"default\\\"] = TargetDisplaySize;\\n//# sourceMappingURL=TargetDisplaySize.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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\\\");\\nconst VideoPreference_1 = __webpack_require__(/*! ./VideoPreference */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js\\\");\\nconst VideoPreferences_1 = __webpack_require__(/*! ./VideoPreferences */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js\\\");\\nconst VideoPriorityBasedPolicy_1 = __webpack_require__(/*! ./VideoPriorityBasedPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js\\\");\\nclass VideoAdaptiveProbePolicy extends VideoPriorityBasedPolicy_1.default {\\n constructor(logger) {\\n super(logger);\\n this.logger = logger;\\n super.shouldPauseTiles = false;\\n this.videoPreferences = undefined;\\n }\\n reset() {\\n super.reset();\\n super.shouldPauseTiles = false;\\n this.videoPreferences = undefined;\\n }\\n updateIndex(videoIndex) {\\n super.updateIndex(videoIndex);\\n const newPreferences = VideoPreferences_1.VideoPreferences.prepare();\\n let containsContent = false;\\n const remoteInfos = videoIndex.remoteStreamDescriptions();\\n // If there is active content then set that as high priority, and the rest at lower\\n for (const info of remoteInfos) {\\n // I don't know why we need to do this duplicate check.\\n if (!newPreferences.some(preference => preference.attendeeId === info.attendeeId)) {\\n // For now always subscribe to content even if higher bandwidth then target\\n if (info.attendeeId.endsWith(ContentShareConstants_1.default.Modality)) {\\n newPreferences.add(new VideoPreference_1.default(info.attendeeId, 1));\\n containsContent = true;\\n }\\n else {\\n newPreferences.add(new VideoPreference_1.default(info.attendeeId, 2));\\n }\\n }\\n }\\n if (containsContent) {\\n this.videoPreferences = newPreferences.build();\\n this.videoPreferencesUpdated = true;\\n }\\n else {\\n this.videoPreferences = undefined;\\n }\\n }\\n /**\\n * [[VideoAdaptiveProbePolicy]] does not allow setting video preferences and this function\\n * will be a no-op. Please use [[VideoPriorityBasedPolicy]] directly if you would like to set\\n * preferences.\\n */\\n chooseRemoteVideoSources(_preferences) {\\n this.logger.error('chooseRemoteVideoSources should not be called by VideoAdaptiveProbePolicy');\\n return;\\n }\\n}\\nexports[\\\"default\\\"] = VideoAdaptiveProbePolicy;\\n//# sourceMappingURL=VideoAdaptiveProbePolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 TargetDisplaySize_1 = __webpack_require__(/*! ./TargetDisplaySize */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js\\\");\\nclass VideoPreference {\\n /** Initializes a [[VideoPreference]] with the given properties.\\n *\\n * @param attendeeId Attendee ID of the client\\n * @param priority The relative priority of this attendee against others.\\n * @param targetSize The desired maximum simulcast layers to receive.\\n */\\n constructor(attendeeId, priority, targetSize) {\\n this.attendeeId = attendeeId;\\n this.priority = priority;\\n this.targetSize = targetSize !== undefined ? targetSize : TargetDisplaySize_1.default.High;\\n }\\n partialCompare(other) {\\n return this.priority - other.priority;\\n }\\n equals(other) {\\n return (this.attendeeId === other.attendeeId &&\\n this.targetSize === other.targetSize &&\\n this.priority === other.priority);\\n }\\n clone() {\\n return new VideoPreference(this.attendeeId, this.priority, this.targetSize);\\n }\\n targetSizeToBitrateKbps(targetSize) {\\n switch (targetSize) {\\n case TargetDisplaySize_1.default.High:\\n return VideoPreference.HIGH_BITRATE_KBPS;\\n case TargetDisplaySize_1.default.Medium:\\n return VideoPreference.MID_BITRATE_KBPS;\\n case TargetDisplaySize_1.default.Low:\\n return VideoPreference.LOW_BITRATE_KBPS;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VideoPreference;\\nVideoPreference.LOW_BITRATE_KBPS = 300;\\nVideoPreference.MID_BITRATE_KBPS = 600;\\nVideoPreference.HIGH_BITRATE_KBPS = 1200;\\n//# sourceMappingURL=VideoPreference.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.VideoPreferences = exports.MutableVideoPreferences = void 0;\\nclass ObjectSet {\\n constructor(items = []) {\\n this.items = items;\\n }\\n static default() {\\n return new ObjectSet([]);\\n }\\n // Returns the items in sorted order.\\n [Symbol.iterator]() {\\n let i = 0;\\n const items = this.items;\\n return {\\n next() {\\n if (i < items.length) {\\n return {\\n done: false,\\n value: items[i++],\\n };\\n }\\n return {\\n done: true,\\n value: null,\\n };\\n },\\n };\\n }\\n first() {\\n return this.items[0];\\n }\\n add(item) {\\n // If this is used elsewhere, there needs to be a duplicate check here\\n this.items.push(item);\\n }\\n replaceFirst(newItem, f) {\\n const pos = this.items.findIndex(f);\\n if (pos === -1) {\\n // If this is used elsewhere, there needs to be a duplicate check here\\n this.items.push(newItem);\\n }\\n else if (!this.has(newItem)) {\\n this.items[pos] = newItem;\\n }\\n else {\\n this.items.splice(pos, 1);\\n }\\n }\\n remove(item) {\\n this.items = this.items.filter(a => !a.equals(item));\\n }\\n clear() {\\n this.items = [];\\n }\\n isEmpty() {\\n return this.items.length === 0;\\n }\\n equals(other) {\\n if (other === this) {\\n return true;\\n }\\n if (other.items.length !== this.items.length) {\\n return false;\\n }\\n // TODO: if we keep the arrays sorted correctly, not just by priority, then\\n // we don't need to do this painstaking O(n^2) work.\\n for (const item of this.items) {\\n if (!other.items.some(a => a.equals(item))) {\\n return false;\\n }\\n }\\n return true;\\n }\\n has(item) {\\n return this.items.some(a => a.equals(item));\\n }\\n some(f) {\\n return this.items.some(f);\\n }\\n clone() {\\n return new ObjectSet([...this.items]);\\n }\\n sort() {\\n this.items.sort((a, b) => a.partialCompare(b));\\n }\\n modify() {\\n // COW.\\n return new SetBuilder(this);\\n }\\n}\\nclass SetBuilder {\\n constructor(items = new ObjectSet()) {\\n this.items = items;\\n this.copied = false;\\n }\\n cow() {\\n if (this.copied) {\\n return;\\n }\\n this.items = this.items.clone();\\n this.copied = true;\\n }\\n add(item) {\\n // Don't actually need to COW unless the item is there to add.\\n if (this.items.has(item)) {\\n return;\\n }\\n this.cow();\\n this.items.add(item);\\n }\\n replaceFirst(newItem, f) {\\n // Don't actually need to COW unless the item is already there\\n // and there are no items to replace\\n if (this.items.has(newItem) && !this.items.some(f)) {\\n return;\\n }\\n this.cow();\\n this.items.replaceFirst(newItem, f);\\n }\\n remove(item) {\\n // Don't actually need to COW unless the item is there to remove.\\n if (!this.items.has(item)) {\\n return;\\n }\\n this.cow();\\n this.items.remove(item);\\n }\\n some(f) {\\n return this.items.some(f);\\n }\\n clear() {\\n if (this.items.isEmpty()) {\\n return;\\n }\\n this.cow();\\n this.items.clear();\\n }\\n build() {\\n // Immutable sets are always kept sorted!\\n if (this.copied) {\\n this.items.sort();\\n }\\n this.copied = false;\\n return this.items;\\n }\\n}\\nclass MutableVideoPreferences {\\n constructor(builder) {\\n this.builder = builder;\\n }\\n add(pref) {\\n this.builder.add(pref);\\n }\\n replaceFirst(newPref, f) {\\n this.builder.replaceFirst(newPref, f);\\n }\\n remove(pref) {\\n this.builder.remove(pref);\\n }\\n some(f) {\\n return this.builder.some(f);\\n }\\n clear() {\\n this.builder.clear();\\n }\\n build() {\\n return new VideoPreferences(this.builder.build());\\n }\\n}\\nexports.MutableVideoPreferences = MutableVideoPreferences;\\nclass VideoPreferences {\\n /** @internal */\\n constructor(items) {\\n this.items = items;\\n }\\n static prepare() {\\n return new MutableVideoPreferences(new SetBuilder());\\n }\\n static default() {\\n return new VideoPreferences(ObjectSet.default());\\n }\\n [Symbol.iterator]() {\\n return this.items[Symbol.iterator]();\\n }\\n highestPriority() {\\n var _a;\\n return (_a = this.items.first()) === null || _a === void 0 ? void 0 : _a.priority;\\n }\\n // Our items happen to always be sorted!\\n sorted() {\\n return this.items[Symbol.iterator]();\\n }\\n equals(other) {\\n return other === this || this.items.equals(other.items);\\n }\\n modify() {\\n return new MutableVideoPreferences(this.items.modify());\\n }\\n some(f) {\\n return this.items.some(f);\\n }\\n isEmpty() {\\n return this.items.isEmpty();\\n }\\n clone() {\\n const videoPreferences = VideoPreferences.prepare();\\n for (const preference of this.items) {\\n videoPreferences.add(preference.clone());\\n }\\n return videoPreferences.build();\\n }\\n}\\nexports.VideoPreferences = VideoPreferences;\\nexports[\\\"default\\\"] = VideoPreferences;\\n//# sourceMappingURL=VideoPreferences.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 ClientMetricReportDirection_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportDirection */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\\\");\\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportMediaType */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\\\");\\nconst ContentShareConstants_1 = __webpack_require__(/*! ../contentsharecontroller/ContentShareConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js\\\");\\nconst LogLevel_1 = __webpack_require__(/*! ../logger/LogLevel */ \\\"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\\\");\\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\nconst DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\nconst TargetDisplaySize_1 = __webpack_require__(/*! ./TargetDisplaySize */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js\\\");\\nconst VideoPreference_1 = __webpack_require__(/*! ./VideoPreference */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js\\\");\\nconst VideoPreferences_1 = __webpack_require__(/*! ./VideoPreferences */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js\\\");\\nconst VideoPriorityBasedPolicyConfig_1 = __webpack_require__(/*! ./VideoPriorityBasedPolicyConfig */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js\\\");\\n/** @internal */\\nclass LinkMediaStats {\\n constructor() {\\n this.bandwidthEstimateKbps = 0;\\n this.usedBandwidthKbps = 0;\\n this.packetsLost = 0;\\n this.nackCount = 0;\\n this.rttMs = 0;\\n }\\n}\\nclass VideoPriorityBasedPolicy {\\n constructor(logger, videoPriorityBasedPolicyConfig = VideoPriorityBasedPolicyConfig_1.default.Default) {\\n this.logger = logger;\\n this.videoPriorityBasedPolicyConfig = videoPriorityBasedPolicyConfig;\\n this.shouldPauseTiles = true;\\n this.observerQueue = new Set();\\n this.pausedBwAttendeeIds = new Set();\\n this.reset();\\n }\\n reset() {\\n this.optimalReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.optimalReceiveStreams = [];\\n this.optimalNonPausedReceiveStreams = [];\\n this.subscribedReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.subscribedReceiveStreams = [];\\n this.videoPreferences = undefined;\\n this.defaultVideoPreferences = undefined;\\n this.shouldPauseTiles = true;\\n this.pausedStreamIds = new DefaultVideoStreamIdSet_1.default();\\n this.pausedBwAttendeeIds = new Set();\\n this.videoPreferencesUpdated = false;\\n this.logCount = 0;\\n this.startupPeriod = true;\\n this.usingPrevTargetRate = false;\\n this.rateProbeState = \\\"Not Probing\\\" /* NotProbing */;\\n this.firstEstimateTimestamp = 0;\\n this.lastUpgradeRateKbps = 0;\\n this.timeBeforeAllowSubscribeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS;\\n this.lastProbeTimestamp = Date.now();\\n this.timeBeforeAllowProbeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS;\\n this.downlinkStats = new LinkMediaStats();\\n this.prevDownlinkStats = new LinkMediaStats();\\n this.probeFailed = false;\\n this.serverSideNetworkAdaption = this.videoPriorityBasedPolicyConfig.serverSideNetworkAdaption;\\n }\\n bindToTileController(tileController) {\\n this.tileController = tileController;\\n this.logger.info('tileController bound');\\n }\\n // This function allows setting preferences without the need to inherit from this class\\n // which would require not using the internal keyword\\n chooseRemoteVideoSources(preferences) {\\n var _a;\\n if ((_a = this.videoPreferences) === null || _a === void 0 ? void 0 : _a.equals(preferences)) {\\n return;\\n }\\n this.videoPreferences = preferences === null || preferences === void 0 ? void 0 : preferences.clone();\\n this.videoPreferencesUpdated = true;\\n this.logger.info(`bwe: setVideoPreferences bwe: new preferences: ${JSON.stringify(preferences)}`);\\n return;\\n }\\n updateIndex(videoIndex) {\\n this.videoIndex = videoIndex;\\n if (!this.videoPreferences) {\\n this.updateDefaultVideoPreferences();\\n }\\n }\\n updateDefaultVideoPreferences() {\\n const attendeeIds = new Set();\\n for (const stream of this.videoIndex.remoteStreamDescriptions()) {\\n attendeeIds.add(stream.attendeeId);\\n }\\n const prefs = VideoPreferences_1.VideoPreferences.prepare();\\n const numAttendees = attendeeIds.size;\\n let targetDisplaySize = TargetDisplaySize_1.default.High;\\n if (numAttendees > 8) {\\n targetDisplaySize = TargetDisplaySize_1.default.Low;\\n }\\n else if (numAttendees > 4) {\\n targetDisplaySize = TargetDisplaySize_1.default.Medium;\\n }\\n for (const attendeeId of attendeeIds) {\\n prefs.add(new VideoPreference_1.default(attendeeId, 1, targetDisplaySize));\\n }\\n this.defaultVideoPreferences = prefs.build();\\n }\\n updateMetrics(clientMetricReport) {\\n if (!this.videoIndex || this.videoIndex.allStreams().empty()) {\\n return;\\n }\\n this.prevDownlinkStats = this.downlinkStats;\\n this.downlinkStats = new LinkMediaStats();\\n const metricReport = clientMetricReport.getObservableMetrics();\\n // availableIncomingBitrate is the standard stat but is not available in Firefox yet so only Safari for now.\\n this.downlinkStats.bandwidthEstimateKbps = metricReport.availableIncomingBitrate / 1000;\\n for (const ssrcStr in clientMetricReport.streamMetricReports) {\\n const ssrc = Number.parseInt(ssrcStr, 10);\\n const metrics = clientMetricReport.streamMetricReports[ssrc];\\n if (metrics.direction === ClientMetricReportDirection_1.default.DOWNSTREAM && metrics.mediaType === ClientMetricReportMediaType_1.default.VIDEO) {\\n // Only use video stream metrics\\n if (metrics.currentMetrics.hasOwnProperty('nackCount')) {\\n this.downlinkStats.nackCount += clientMetricReport.countPerSecond('nackCount', ssrc);\\n }\\n if (metrics.currentMetrics.hasOwnProperty('packetsLost')) {\\n this.downlinkStats.packetsLost += clientMetricReport.countPerSecond('packetsLost', ssrc);\\n }\\n if (metrics.currentMetrics.hasOwnProperty('bytesReceived')) {\\n this.downlinkStats.usedBandwidthKbps +=\\n clientMetricReport.bitsPerSecond('bytesReceived', ssrc) / 1000;\\n }\\n }\\n }\\n }\\n wantsResubscribe() {\\n this.calculateOptimalReceiveSet();\\n return !this.subscribedReceiveSet.equal(this.optimalReceiveSet);\\n }\\n chooseSubscriptions() {\\n if (!this.subscribedReceiveSet.equal(this.optimalReceiveSet)) {\\n this.lastSubscribeTimestamp = Date.now();\\n }\\n this.subscribedReceiveSet = this.optimalReceiveSet.clone();\\n this.subscribedReceiveStreams = this.optimalReceiveStreams.slice();\\n return this.subscribedReceiveSet.clone();\\n }\\n addObserver(observer) {\\n this.observerQueue.add(observer);\\n }\\n removeObserver(observer) {\\n this.observerQueue.delete(observer);\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observerQueue) {\\n observerFunc(observer);\\n }\\n }\\n setVideoPriorityBasedPolicyConfigs(config) {\\n this.videoPriorityBasedPolicyConfig = config;\\n }\\n calculateOptimalReceiveStreams() {\\n var _a;\\n const chosenStreams = [];\\n const remoteInfos = this.videoIndex.remoteStreamDescriptions();\\n if (remoteInfos.length === 0 || ((_a = this.videoPreferences) === null || _a === void 0 ? void 0 : _a.isEmpty())) {\\n this.optimalReceiveStreams = [];\\n return;\\n }\\n const lastProbeState = this.rateProbeState;\\n this.cleanBwPausedTiles(remoteInfos);\\n this.handleAppPausedStreams(chosenStreams, remoteInfos);\\n const sameStreamChoices = this.availStreamsSameAsLast(remoteInfos);\\n const noMajorChange = !this.startupPeriod && sameStreamChoices;\\n // If no major changes then don't allow subscribes for the allowed amount of time\\n if (noMajorChange &&\\n Date.now() - this.lastSubscribeTimestamp < this.timeBeforeAllowSubscribeMs) {\\n return;\\n }\\n // Sort streams by bitrate ascending.\\n remoteInfos.sort((a, b) => {\\n if (a.maxBitrateKbps === b.maxBitrateKbps) {\\n return a.streamId - b.streamId;\\n }\\n return a.maxBitrateKbps - b.maxBitrateKbps;\\n });\\n // Convert 0 avg bitrates to max and handle special cases\\n for (const info of remoteInfos) {\\n if (info.avgBitrateKbps === 0 || info.avgBitrateKbps > info.maxBitrateKbps) {\\n // Content can be a special case\\n if (info.attendeeId.endsWith(ContentShareConstants_1.default.Modality) && info.maxBitrateKbps < 100) {\\n info.maxBitrateKbps = info.avgBitrateKbps;\\n }\\n else {\\n info.avgBitrateKbps = info.maxBitrateKbps;\\n }\\n }\\n }\\n const rates = {\\n targetDownlinkBitrate: 0,\\n chosenTotalBitrate: 0,\\n deltaToNextUpgrade: 0,\\n };\\n rates.targetDownlinkBitrate = this.determineTargetRate();\\n const numberOfParticipants = this.subscribedReceiveSet.size();\\n const currentEstimated = this.downlinkStats.bandwidthEstimateKbps;\\n // Use videoPriorityBasedPolicyConfig to add additional delays based on network conditions\\n const dontAllowSubscribe = !this.videoPriorityBasedPolicyConfig.allowSubscribe(numberOfParticipants, currentEstimated);\\n if (this.probeFailed) {\\n // When probe failed, we set timeBeforeAllowSubscribeMs to 3x longer\\n // Since we have passed the subscribe interval now, we will try to probe again\\n this.probeFailed = false;\\n // For the same reason above, reset time before allow subscribe to default\\n this.timeBeforeAllowSubscribeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS;\\n if (noMajorChange && dontAllowSubscribe)\\n return;\\n }\\n const upgradeStream = this.priorityPolicy(rates, remoteInfos, chosenStreams);\\n const skipProbe = this.serverSideNetworkAdaption !== ServerSideNetworkAdaption_1.default.None &&\\n this.serverSideNetworkAdaption !== ServerSideNetworkAdaption_1.default.Default;\\n let subscriptionChoice = 0 /* NewOptimal */;\\n // Look for probing or override opportunities\\n if (!skipProbe && !this.startupPeriod && sameStreamChoices) {\\n if (this.rateProbeState === \\\"Probing\\\" /* Probing */) {\\n subscriptionChoice = this.handleProbe(chosenStreams, rates.targetDownlinkBitrate);\\n }\\n else if (rates.deltaToNextUpgrade !== 0) {\\n subscriptionChoice = this.maybeOverrideOrProbe(chosenStreams, rates, upgradeStream);\\n }\\n }\\n else {\\n // If there was a change in streams to choose from, then cancel any probing or upgrades\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n this.lastUpgradeRateKbps = 0;\\n }\\n this.prevRemoteInfos = remoteInfos;\\n this.videoPreferencesUpdated = false;\\n if (subscriptionChoice === 1 /* PreviousOptimal */) {\\n this.logger.info(`bwe: keepSameSubscriptions stats:${JSON.stringify(this.downlinkStats)}`);\\n this.prevTargetRateKbps = rates.targetDownlinkBitrate;\\n return;\\n }\\n if (subscriptionChoice === 2 /* PreProbe */) {\\n const subscribedRate = this.calculateSubscribeRate(this.preProbeNonPausedReceiveStreams);\\n this.optimalReceiveStreams = this.preProbeReceiveStreams.slice();\\n this.processBwPausedStreams(remoteInfos, this.preProbeNonPausedReceiveStreams);\\n this.logger.info('bwe: Use Pre-Probe subscription subscribedRate:' + subscribedRate);\\n return;\\n }\\n this.optimalNonPausedReceiveStreams = chosenStreams.slice();\\n const lastNumberPaused = this.pausedBwAttendeeIds.size;\\n this.processBwPausedStreams(remoteInfos, chosenStreams);\\n if (this.logger.getLogLevel() <= LogLevel_1.LogLevel.INFO &&\\n (this.logCount % 15 === 0 ||\\n this.rateProbeState !== lastProbeState ||\\n this.optimalReceiveStreams.length !== chosenStreams.length ||\\n lastNumberPaused !== this.pausedBwAttendeeIds.size)) {\\n this.logger.info(this.policyStateLogStr(remoteInfos, rates.targetDownlinkBitrate));\\n this.logCount = 0;\\n }\\n this.logCount++;\\n this.prevTargetRateKbps = rates.targetDownlinkBitrate;\\n this.optimalReceiveStreams = chosenStreams.slice();\\n }\\n calculateOptimalReceiveSet() {\\n const streamSelectionSet = new DefaultVideoStreamIdSet_1.default();\\n this.calculateOptimalReceiveStreams();\\n for (const stream of this.optimalReceiveStreams) {\\n streamSelectionSet.add(stream.streamId);\\n }\\n if (!this.optimalReceiveSet.equal(streamSelectionSet)) {\\n const subscribedRate = this.calculateSubscribeRate(this.optimalReceiveStreams);\\n this.logger.info(`bwe: new streamSelection: ${JSON.stringify(streamSelectionSet)} subscribedRate:${subscribedRate}`);\\n }\\n this.optimalReceiveSet = streamSelectionSet;\\n }\\n determineTargetRate() {\\n let targetBitrate = 0;\\n const now = Date.now();\\n // Startup phase handling. During this period the estimate can be 0 or\\n // could still be slowly hunting for a steady state. This startup ramp up\\n // can cause a series of subscribes which can be distracting. During this\\n // time just use our configured default value\\n if (this.downlinkStats.bandwidthEstimateKbps !== 0) {\\n if (this.firstEstimateTimestamp === 0) {\\n this.firstEstimateTimestamp = now;\\n }\\n // handle startup state where estimator is still converging.\\n if (this.startupPeriod) {\\n // Drop out of startup period if\\n // - estimate is above default\\n // - get packet loss and have a valid estimate\\n // - startup period has expired and rate is not still increasing\\n if (this.downlinkStats.bandwidthEstimateKbps >\\n VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS ||\\n this.downlinkStats.packetsLost > 0 ||\\n (now - this.firstEstimateTimestamp > VideoPriorityBasedPolicy.STARTUP_PERIOD_MS &&\\n this.downlinkStats.bandwidthEstimateKbps <=\\n this.prevDownlinkStats.bandwidthEstimateKbps)) {\\n this.startupPeriod = false;\\n this.prevTargetRateKbps = this.downlinkStats.bandwidthEstimateKbps;\\n }\\n }\\n // If we are in the startup period and we haven't detected any packet loss, then\\n // keep it at the default to let the estimation get to a steady state\\n if (this.startupPeriod) {\\n targetBitrate = VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS;\\n }\\n else {\\n // We rely on our target bitrate being above what we are receiving to mark a probe as complete,\\n // however in browsers, the estimate can heavily lag behind the actual receive rate, especially when low.\\n //\\n // To mitigate this we override with the actual estimate plus some buffer if we aren't seeing packet loss.\\n if (this.rateProbeState === \\\"Probing\\\" /* Probing */ &&\\n this.downlinkStats.usedBandwidthKbps > this.downlinkStats.bandwidthEstimateKbps &&\\n this.downlinkStats.packetsLost < VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD) {\\n this.logger.info(`bwe: In probe state, overriding estimate ${this.downlinkStats.bandwidthEstimateKbps} with actual receive bitrate ${this.downlinkStats.usedBandwidthKbps}`);\\n targetBitrate =\\n this.downlinkStats.usedBandwidthKbps +\\n VideoPriorityBasedPolicy.USED_BANDWIDTH_OVERRIDE_BUFFER_KBPS;\\n }\\n else {\\n targetBitrate = this.downlinkStats.bandwidthEstimateKbps;\\n }\\n }\\n }\\n else {\\n if (this.firstEstimateTimestamp === 0) {\\n targetBitrate = VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS;\\n }\\n else {\\n targetBitrate = this.prevTargetRateKbps;\\n }\\n }\\n // Estimated downlink rate can follow actual bandwidth or fall for a short period of time\\n // due to the absolute send time estimator incorrectly thinking that a delay in packets is\\n // a precursor to packet loss. We have seen too many false positives on this, so we\\n // will ignore largish drops in the estimate if there is no packet loss\\n if (!this.startupPeriod &&\\n ((this.usingPrevTargetRate &&\\n this.downlinkStats.bandwidthEstimateKbps < this.prevTargetRateKbps) ||\\n this.downlinkStats.bandwidthEstimateKbps <\\n (this.prevTargetRateKbps *\\n (100 - VideoPriorityBasedPolicy.LARGE_RATE_CHANGE_TRIGGER_PERCENT)) /\\n 100 ||\\n this.downlinkStats.bandwidthEstimateKbps <\\n (this.downlinkStats.usedBandwidthKbps *\\n VideoPriorityBasedPolicy.LARGE_RATE_CHANGE_TRIGGER_PERCENT) /\\n 100) &&\\n this.downlinkStats.packetsLost === 0) {\\n // Set target to be the same as last\\n this.logger.debug(() => {\\n return 'bwe: ValidateRate: Using Previous rate ' + this.prevTargetRateKbps;\\n });\\n this.usingPrevTargetRate = true;\\n targetBitrate = this.prevTargetRateKbps;\\n }\\n else {\\n this.usingPrevTargetRate = false;\\n }\\n return targetBitrate;\\n }\\n setProbeState(newState) {\\n if (this.rateProbeState === newState) {\\n return false;\\n }\\n const now = Date.now();\\n switch (newState) {\\n case \\\"Not Probing\\\" /* NotProbing */:\\n this.probePendingStartTimestamp = 0;\\n break;\\n case \\\"Probe Pending\\\" /* ProbePending */:\\n if (this.lastProbeTimestamp === 0 ||\\n now - this.lastProbeTimestamp > VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS) {\\n this.probePendingStartTimestamp = now;\\n }\\n else {\\n // Too soon to do a probe again\\n return false;\\n }\\n break;\\n case \\\"Probing\\\" /* Probing */:\\n if (now - this.probePendingStartTimestamp > this.timeBeforeAllowProbeMs) {\\n this.lastProbeTimestamp = now;\\n this.preProbeReceiveStreams = this.subscribedReceiveStreams.slice();\\n this.preProbeNonPausedReceiveStreams = this.optimalNonPausedReceiveStreams;\\n // Increase the time allowed until the next probe\\n this.timeBeforeAllowProbeMs = Math.min(this.timeBeforeAllowProbeMs * 2, VideoPriorityBasedPolicy.MAX_HOLD_BEFORE_PROBE_MS);\\n }\\n else {\\n // Too soon to do probe\\n return false;\\n }\\n break;\\n }\\n this.logger.info('bwe: setProbeState to ' + newState + ' from ' + this.rateProbeState);\\n this.rateProbeState = newState;\\n return true;\\n }\\n // Upgrade the stream id from the appropriate group or add it if it wasn't already in the list.\\n // Return the added amount of bandwidth\\n upgradeToStream(chosenStreams, upgradeStream) {\\n for (let i = 0; i < chosenStreams.length; i++) {\\n if (chosenStreams[i].groupId === upgradeStream.groupId) {\\n const diffRate = upgradeStream.avgBitrateKbps - chosenStreams[i].avgBitrateKbps;\\n this.logger.info('bwe: upgradeStream from ' + JSON.stringify(chosenStreams[i]) + ' to ' + upgradeStream);\\n this.lastUpgradeRateKbps = diffRate;\\n chosenStreams[i] = upgradeStream;\\n return diffRate;\\n }\\n }\\n // We are adding a stream and not upgrading.\\n chosenStreams.push(upgradeStream);\\n this.lastUpgradeRateKbps = upgradeStream.avgBitrateKbps;\\n return this.lastUpgradeRateKbps;\\n }\\n // Do specific behavior while we are currently in probing state and metrics\\n // indicate environment is still valid to do probing.\\n // Return true if the caller should not change from the previous subscriptions.\\n handleProbe(chosenStreams, targetDownlinkBitrate) {\\n // Don't allow probe to happen indefinitely\\n if (Date.now() - this.lastProbeTimestamp > VideoPriorityBasedPolicy.MAX_ALLOWED_PROBE_TIME_MS) {\\n this.logger.info(`bwe: Canceling probe due to timeout`);\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n return 0 /* NewOptimal */;\\n }\\n if (this.downlinkStats.packetsLost > 0) {\\n this.logger.info(`bwe: Probe encountering packets lost:${this.downlinkStats.packetsLost}`);\\n // See comment above `VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD`\\n if (this.downlinkStats.packetsLost > VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD) {\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n this.logger.info(`bwe: Canceling probe due to packets lost:${this.downlinkStats.packetsLost}`);\\n this.probeFailed = true;\\n this.timeBeforeAllowSubscribeMs =\\n Math.max(VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS, this.timeBeforeAllowSubscribeMs) * 3;\\n // packet lost indicates bad network and thus slowing down subscribing by extend delay by 3 times\\n return 2 /* PreProbe */;\\n }\\n }\\n const subscribedRate = this.calculateSubscribeRate(this.optimalReceiveStreams);\\n if (this.chosenStreamsSameAsLast(chosenStreams) || targetDownlinkBitrate > subscribedRate) {\\n this.logger.info(`bwe: Probe successful`);\\n // If target bitrate can sustain probe rate, then probe was successful.\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n // Reset the time allowed between probes since this was successful\\n this.timeBeforeAllowProbeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS;\\n return 0 /* NewOptimal */;\\n }\\n return 1 /* PreviousOptimal */;\\n }\\n maybeOverrideOrProbe(chosenStreams, rates, upgradeStream) {\\n const sameSubscriptions = this.chosenStreamsSameAsLast(chosenStreams);\\n let useLastSubscriptions = 0 /* NewOptimal */;\\n // We want to minimize thrashing between between low res and high res of different\\n // participants due to avg bitrate fluctuations. If there hasn't been much of a change in estimated bandwidth\\n // and the number of streams and their max rates are the same, then reuse the previous subscription\\n const triggerPercent = rates.targetDownlinkBitrate > VideoPriorityBasedPolicy.LOW_BITRATE_THRESHOLD_KBPS\\n ? VideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT\\n : VideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT * 2;\\n const minTargetBitrateDelta = (rates.targetDownlinkBitrate * triggerPercent) / 100;\\n this.targetRateBaselineForDeltaCheckKbps =\\n this.targetRateBaselineForDeltaCheckKbps !== undefined\\n ? this.targetRateBaselineForDeltaCheckKbps\\n : this.prevTargetRateKbps;\\n if (!sameSubscriptions &&\\n Math.abs(rates.targetDownlinkBitrate - this.targetRateBaselineForDeltaCheckKbps) <\\n minTargetBitrateDelta) {\\n this.logger.info('bwe: MaybeOverrideOrProbe: Reuse last decision based on delta rate. {' +\\n JSON.stringify(this.subscribedReceiveSet) +\\n `}`);\\n useLastSubscriptions = 1 /* PreviousOptimal */;\\n }\\n else {\\n this.targetRateBaselineForDeltaCheckKbps = rates.targetDownlinkBitrate;\\n }\\n // If there has been packet loss, then reset to no probing state\\n if (this.downlinkStats.packetsLost > this.prevDownlinkStats.packetsLost) {\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n this.lastUpgradeRateKbps = 0;\\n return useLastSubscriptions;\\n }\\n if (sameSubscriptions || useLastSubscriptions === 1 /* PreviousOptimal */) {\\n // If planned subscriptions are same as last, then either move to probe pending state\\n // or move to probing state if enough time has passed.\\n switch (this.rateProbeState) {\\n case \\\"Not Probing\\\" /* NotProbing */:\\n this.setProbeState(\\\"Probe Pending\\\" /* ProbePending */);\\n break;\\n case \\\"Probe Pending\\\" /* ProbePending */:\\n if (this.setProbeState(\\\"Probing\\\" /* Probing */)) {\\n this.upgradeToStream(chosenStreams, upgradeStream);\\n useLastSubscriptions = 0 /* NewOptimal */;\\n }\\n break;\\n }\\n }\\n else {\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n }\\n return useLastSubscriptions;\\n }\\n // Utility function to find max rate of streams in current decision\\n calculateSubscribeRate(streams) {\\n let subscribeRate = 0;\\n for (const stream of streams) {\\n if (!this.pausedStreamIds.contain(stream.streamId) &&\\n !this.pausedBwAttendeeIds.has(stream.attendeeId)) {\\n subscribeRate += stream.maxBitrateKbps;\\n }\\n }\\n return subscribeRate;\\n }\\n handleAppPausedStreams(chosenStreams, remoteInfos) {\\n if (!this.tileController) {\\n this.logger.warn('tileController not found!');\\n return;\\n }\\n this.pausedStreamIds = new DefaultVideoStreamIdSet_1.default();\\n const remoteTiles = this.tileController.getAllRemoteVideoTiles();\\n for (const tile of remoteTiles) {\\n const state = tile.state();\\n if (state.paused && !this.pausedBwAttendeeIds.has(state.boundAttendeeId)) {\\n let j = remoteInfos.length;\\n while (j--) {\\n if (remoteInfos[j].attendeeId === state.boundAttendeeId) {\\n this.logger.info('bwe: removed paused attendee ' +\\n state.boundAttendeeId +\\n ' streamId: ' +\\n remoteInfos[j].streamId);\\n this.pausedStreamIds.add(remoteInfos[j].streamId);\\n // Add the stream to the selection set to keep the tile around\\n if (this.subscribedReceiveSet.contain(remoteInfos[j].streamId)) {\\n chosenStreams.push(remoteInfos[j]);\\n }\\n remoteInfos.splice(j, 1);\\n }\\n }\\n }\\n }\\n }\\n processBwPausedStreams(remoteInfos, chosenStreams) {\\n if (!this.tileController) {\\n this.logger.warn('tileController not found!');\\n return;\\n }\\n const preferences = this.getCurrentVideoPreferences();\\n if (preferences && this.shouldPauseTiles) {\\n const videoTiles = this.tileController.getAllVideoTiles();\\n for (const preference of preferences) {\\n const videoTile = this.getVideoTileForAttendeeId(preference.attendeeId, videoTiles);\\n const paused = (videoTile === null || videoTile === void 0 ? void 0 : videoTile.state().paused) || false;\\n if (!chosenStreams.some(stream => stream.attendeeId === preference.attendeeId)) {\\n // We cannot rely on the existance of video tile to indicate that the source exists in the call\\n // because tiles will not be added or removed until after a full renegotiation (i.e. it will\\n // be behind the state provided by the index)\\n const streamExists = remoteInfos.some(stream => stream.attendeeId === preference.attendeeId);\\n if (videoTile && streamExists) {\\n const info = this.optimalReceiveStreams.find(stream => stream.attendeeId === preference.attendeeId);\\n if (info !== undefined) {\\n if (!paused) {\\n this.logger.info(`bwe: pausing streamId ${info.streamId} attendee ${preference.attendeeId} due to bandwidth`);\\n this.forEachObserver(observer => {\\n observer.tileWillBePausedByDownlinkPolicy(videoTile.id());\\n });\\n this.tileController.pauseVideoTile(videoTile.id());\\n }\\n chosenStreams.push(info);\\n }\\n this.pausedBwAttendeeIds.add(preference.attendeeId);\\n }\\n else if (streamExists) {\\n // Create a tile for this participant if one doesn't already exist and mark it as paused\\n // Don't include it in the chosen streams because we don't want to subscribe for it then have to pause it.\\n const newTile = this.tileController.addVideoTile();\\n newTile.bindVideoStream(preference.attendeeId, false, null, 0, 0, 0, null);\\n this.forEachObserver(observer => {\\n observer.tileWillBePausedByDownlinkPolicy(newTile.id());\\n });\\n newTile.pause();\\n this.logger.info(`bwe: Created video tile ${newTile.id()} for bw paused attendee ${preference.attendeeId}`);\\n this.pausedBwAttendeeIds.add(preference.attendeeId);\\n }\\n }\\n else if (paused && this.pausedBwAttendeeIds.has(preference.attendeeId)) {\\n this.logger.info(`bwe: unpausing attendee ${preference.attendeeId} due to bandwidth`);\\n this.forEachObserver(observer => {\\n observer.tileWillBeUnpausedByDownlinkPolicy(videoTile.id());\\n });\\n this.tileController.unpauseVideoTile(videoTile.id());\\n this.pausedBwAttendeeIds.delete(preference.attendeeId);\\n }\\n }\\n }\\n }\\n cleanBwPausedTiles(remoteInfos) {\\n if (!this.tileController) {\\n this.logger.warn('tileController not found!');\\n return;\\n }\\n const tiles = this.tileController.getAllRemoteVideoTiles();\\n const preferences = this.getCurrentVideoPreferences();\\n for (const tile of tiles) {\\n const state = tile.state();\\n if (!state.boundVideoStream) {\\n if (!remoteInfos.some(stream => stream.attendeeId === state.boundAttendeeId)) {\\n this.tileController.removeVideoTile(state.tileId);\\n this.logger.info(`bwe: Removed video tile ${state.tileId} for bw paused attendee ${state.boundAttendeeId}`);\\n }\\n else if (preferences !== undefined &&\\n !preferences.some(pref => pref.attendeeId === state.boundAttendeeId)) {\\n this.tileController.removeVideoTile(state.tileId);\\n }\\n }\\n }\\n }\\n priorityPolicy(rates, remoteInfos, chosenStreams) {\\n let upgradeStream;\\n const videoPreferences = this.getCurrentVideoPreferences();\\n const highestPriority = videoPreferences.highestPriority();\\n let nextPriority;\\n let priority = highestPriority;\\n while (priority !== -1) {\\n nextPriority = -1;\\n for (const preference of videoPreferences) {\\n if (preference.priority === priority) {\\n // First subscribe to at least low rate\\n for (const info of remoteInfos) {\\n if (info.attendeeId === preference.attendeeId) {\\n if (!chosenStreams.some(stream => stream.groupId === info.groupId)) {\\n if (rates.chosenTotalBitrate + info.avgBitrateKbps <= rates.targetDownlinkBitrate) {\\n chosenStreams.push(info);\\n rates.chosenTotalBitrate += info.avgBitrateKbps;\\n }\\n else if (rates.deltaToNextUpgrade === 0) {\\n // Keep track of step to next upgrade\\n rates.deltaToNextUpgrade = info.avgBitrateKbps;\\n upgradeStream = info;\\n }\\n }\\n }\\n }\\n }\\n else {\\n if (preference.priority > priority) {\\n nextPriority = preference.priority;\\n break;\\n }\\n }\\n }\\n // Now try to upgrade all attendee's with this priority\\n for (const preference of videoPreferences) {\\n if (preference.priority === priority) {\\n for (const info of remoteInfos) {\\n if (info.attendeeId === preference.attendeeId) {\\n const index = chosenStreams.findIndex(stream => stream.groupId === info.groupId && stream.maxBitrateKbps < info.maxBitrateKbps);\\n if (index !== -1) {\\n const increaseKbps = info.avgBitrateKbps - chosenStreams[index].avgBitrateKbps;\\n if (this.hasSimulcastStreams(remoteInfos, info.attendeeId, info.groupId) &&\\n this.canUpgrade(info.avgBitrateKbps, preference.targetSize, preference.targetSizeToBitrateKbps(preference.targetSize), info.attendeeId.endsWith(ContentShareConstants_1.default.Modality))) {\\n this.logger.info(`bwe: attendee: ${info.attendeeId} group: ${info.groupId} has simulcast and can upgrade avgBitrate: ${info.avgBitrateKbps} target: ${preference.targetSizeToBitrateKbps(preference.targetSize)} targetTotalBitrate: ${rates.targetDownlinkBitrate}`);\\n if (rates.chosenTotalBitrate + increaseKbps <= rates.targetDownlinkBitrate) {\\n rates.chosenTotalBitrate += increaseKbps;\\n chosenStreams[index] = info;\\n }\\n else if (rates.deltaToNextUpgrade === 0) {\\n // Keep track of step to next upgrade\\n rates.deltaToNextUpgrade = increaseKbps;\\n upgradeStream = info;\\n }\\n }\\n else {\\n this.logger.info('bwe: cannot upgrade stream quality beyond target size');\\n }\\n }\\n }\\n }\\n }\\n else {\\n if (preference.priority > priority) {\\n break;\\n }\\n }\\n }\\n // If we haven't subscribed to the highest rate of the top priority videos then\\n // do not subscribe to any other sources\\n if (priority === highestPriority && rates.deltaToNextUpgrade !== 0) {\\n break;\\n }\\n priority = nextPriority;\\n }\\n return upgradeStream;\\n }\\n getVideoTileForAttendeeId(attendeeId, videoTiles) {\\n for (const tile of videoTiles) {\\n const state = tile.state();\\n if (state.boundAttendeeId === attendeeId) {\\n return tile;\\n }\\n }\\n return null;\\n }\\n canUpgrade(bitrateKbp, targetResolution, targetBitrateKbp, isContent) {\\n // For content share, even if the higher quality stream has a high max bitrate of 1200 kbps for example\\n // the avg bitrate can be way lower so have to make sure that we do not update to a higher bitrate than the\\n // target value.\\n // This does not apply to video as video uplink bandwidth could change the max bitrate value without resubscribing\\n // so the max bitrate value might not be up-to-date on the downlink side. Also in the case of video, the avg\\n // bitrate is close to the actual max bitrate.\\n let canUpgrade = false;\\n if (isContent) {\\n // Content simulcast only have 2 layers right now so we always upgrade if the target resolution is high and\\n // skip if the target resolution is low. If the target resolution is medium then fall back to use avg bitrate\\n // as video.\\n if (targetResolution === TargetDisplaySize_1.default.High) {\\n canUpgrade = true;\\n }\\n else if (targetResolution === TargetDisplaySize_1.default.Medium && bitrateKbp <= targetBitrateKbp) {\\n canUpgrade = true;\\n }\\n }\\n else if (bitrateKbp <= targetBitrateKbp) {\\n canUpgrade = true;\\n }\\n if (canUpgrade) {\\n this.logger.info(`bwe: canUpgrade: bitrateKbp: ${bitrateKbp} targetBitrateKbp: ${targetBitrateKbp}`);\\n return true;\\n }\\n this.logger.info(`bwe: cannot Upgrade: bitrateKbp: ${bitrateKbp} targetBitrateKbp: ${targetBitrateKbp}`);\\n return false;\\n }\\n hasSimulcastStreams(remoteInfos, attendeeId, groupId) {\\n let streamCount = 0;\\n for (const info of remoteInfos) {\\n if (info.attendeeId === attendeeId && info.groupId === groupId) {\\n streamCount++;\\n }\\n }\\n this.logger.info(`bwe: attendeeId: ${attendeeId} groupId: ${groupId} hasSimulcastStreams: streamCount: ${streamCount}`);\\n return streamCount > 1;\\n }\\n availStreamsSameAsLast(remoteInfos) {\\n if (this.prevRemoteInfos === undefined ||\\n remoteInfos.length !== this.prevRemoteInfos.length ||\\n this.videoPreferencesUpdated === true) {\\n return false;\\n }\\n for (const info of remoteInfos) {\\n const infoMatch = this.prevRemoteInfos.find(prevInfo => prevInfo.groupId === info.groupId &&\\n prevInfo.streamId === info.streamId &&\\n prevInfo.maxBitrateKbps === info.maxBitrateKbps);\\n if (infoMatch === undefined) {\\n return false;\\n }\\n }\\n return true;\\n }\\n chosenStreamsSameAsLast(chosenStreams) {\\n if (this.optimalNonPausedReceiveStreams.length !== chosenStreams.length) {\\n return false;\\n }\\n for (const lastStream of this.optimalNonPausedReceiveStreams) {\\n if (!chosenStreams.some(stream => stream.streamId === lastStream.streamId)) {\\n return false;\\n }\\n }\\n return true;\\n }\\n policyStateLogStr(remoteInfos, targetDownlinkBitrate) {\\n const subscribedRate = this.calculateSubscribeRate(this.optimalReceiveStreams);\\n const optimalReceiveSet = {\\n targetBitrate: targetDownlinkBitrate,\\n subscribedRate: subscribedRate,\\n probeState: this.rateProbeState,\\n startupPeriod: this.startupPeriod,\\n };\\n // Reduced remote info logging:\\n let remoteInfoStr = `remoteInfos: [`;\\n for (const info of remoteInfos) {\\n remoteInfoStr += `{grpId:${info.groupId} strId:${info.streamId} maxBr:${info.maxBitrateKbps} avgBr:${info.avgBitrateKbps}}, `;\\n }\\n remoteInfoStr += `]`;\\n let logString = `bwe: optimalReceiveSet ${JSON.stringify(optimalReceiveSet)}\\\\n` +\\n `bwe: prev ${JSON.stringify(this.prevDownlinkStats)}\\\\n` +\\n `bwe: now ${JSON.stringify(this.downlinkStats)}\\\\n` +\\n `bwe: ${remoteInfoStr}\\\\n`;\\n if (this.pausedStreamIds.size() > 0 || this.pausedBwAttendeeIds.size > 0) {\\n logString += `bwe: paused: app stream ids ${JSON.stringify(this.pausedStreamIds)} bw attendees { ${Array.from(this.pausedBwAttendeeIds).join(' ')} }\\\\n`;\\n }\\n if (this.videoPreferences) {\\n logString += `bwe: preferences: ${JSON.stringify(this.videoPreferences)}`;\\n }\\n else {\\n logString += `bwe: default preferences: ${JSON.stringify(this.defaultVideoPreferences)}`;\\n }\\n return logString;\\n }\\n getCurrentVideoPreferences() {\\n return this.videoPreferences || this.defaultVideoPreferences;\\n }\\n getServerSideNetworkAdaption() {\\n return this.serverSideNetworkAdaption;\\n }\\n setServerSideNetworkAdaption(adaption) {\\n this.serverSideNetworkAdaption = adaption;\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */); // In case we were probing\\n }\\n supportedServerSideNetworkAdaptions() {\\n return [ServerSideNetworkAdaption_1.default.None, ServerSideNetworkAdaption_1.default.BandwidthProbing];\\n }\\n getVideoPreferences() {\\n let preferences = this.getCurrentVideoPreferences();\\n if (!preferences) {\\n const dummyPreferences = VideoPreferences_1.VideoPreferences.prepare();\\n // Can't be undefined, occasionally the audio video controller\\n // will call this function before the first index is received\\n preferences = dummyPreferences.build();\\n }\\n return preferences;\\n }\\n}\\nexports[\\\"default\\\"] = VideoPriorityBasedPolicy;\\nVideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS = 2800;\\nVideoPriorityBasedPolicy.STARTUP_PERIOD_MS = 6000;\\nVideoPriorityBasedPolicy.LARGE_RATE_CHANGE_TRIGGER_PERCENT = 20;\\nVideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT = 15;\\nVideoPriorityBasedPolicy.LOW_BITRATE_THRESHOLD_KBPS = 300;\\nVideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS = 5000;\\nVideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS = 2000;\\n// We apply exponentional backoff to probe attempts if they do not\\n// succeed, so we need to set a reasonable maximum.\\nVideoPriorityBasedPolicy.MAX_HOLD_BEFORE_PROBE_MS = 30000;\\nVideoPriorityBasedPolicy.MAX_ALLOWED_PROBE_TIME_MS = 60000;\\n// Occasionally we see that on unpause or upgrade we see a single packet lost\\n// or two, even in completely unconstrained scenarios. We should look into\\n// why this occurs on the backend, but for now we require a non-trivial\\n// amount of packets lost to fail the probe. These could also be from\\n// other senders given we don't yet use TWCC.\\nVideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD = 2;\\n// See usage\\nVideoPriorityBasedPolicy.USED_BANDWIDTH_OVERRIDE_BUFFER_KBPS = 100;\\n//# sourceMappingURL=VideoPriorityBasedPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\n/**\\n * [[VideoPriorityBasedPolicyConfig]] contains the network issue response delay and network issue recovery delay.\\n */\\nclass VideoPriorityBasedPolicyConfig {\\n /** Initializes a [[VideoPriorityBasedPolicyConfig]] with the network event delays.\\n *\\n * @param networkIssueResponseDelayFactor Delays before reducing subscribed video bitrate. Input should be a value between 0 and 1.\\n * @param networkIssueRecoveryDelayFactor Delays before starting to increase bitrates after a network event and\\n * delays between increasing video bitrates on each individual stream. Input should be a value between 0 and 1.\\n */\\n constructor(networkIssueResponseDelayFactor = 0, networkIssueRecoveryDelayFactor = 0) {\\n this.networkIssueResponseDelayFactor = networkIssueResponseDelayFactor;\\n this.networkIssueRecoveryDelayFactor = networkIssueRecoveryDelayFactor;\\n this.currentNetworkEvent = 0 /* Stable */;\\n this.bandwidthDecreaseTimestamp = 0; // the last time bandwidth decreases\\n this.referenceBitrate = 0;\\n /**\\n * Additional server side features to be enabled for network adaption. This\\n * may be overridden by the server.\\n */\\n this.serverSideNetworkAdaption = ServerSideNetworkAdaption_1.default.Default;\\n if (networkIssueResponseDelayFactor < 0) {\\n networkIssueResponseDelayFactor = 0;\\n }\\n else if (networkIssueResponseDelayFactor > 1) {\\n networkIssueResponseDelayFactor = 1;\\n }\\n this.networkIssueResponseDelayFactor = networkIssueResponseDelayFactor;\\n if (networkIssueRecoveryDelayFactor < 0) {\\n networkIssueRecoveryDelayFactor = 0;\\n }\\n else if (networkIssueRecoveryDelayFactor > 1) {\\n networkIssueRecoveryDelayFactor = 1;\\n }\\n this.networkIssueRecoveryDelayFactor = networkIssueRecoveryDelayFactor;\\n }\\n // determine if subscribe is allowed based on network issue/recovery delays\\n allowSubscribe(numberOfParticipants, currentEstimated) {\\n let timeBeforeAllowSubscribeMs = 0;\\n const previousNetworkEvent = this.currentNetworkEvent;\\n if (currentEstimated > this.referenceBitrate) {\\n // if bw increases\\n this.currentNetworkEvent = 2 /* Increase */;\\n this.referenceBitrate = currentEstimated;\\n return true;\\n }\\n else if (currentEstimated < this.referenceBitrate) {\\n // if bw decreases, we use response delay\\n this.currentNetworkEvent = 1 /* Decrease */;\\n timeBeforeAllowSubscribeMs = this.getSubscribeDelay(this.currentNetworkEvent, numberOfParticipants);\\n if (previousNetworkEvent !== 1 /* Decrease */) {\\n this.bandwidthDecreaseTimestamp = Date.now();\\n }\\n else if (Date.now() - this.bandwidthDecreaseTimestamp > timeBeforeAllowSubscribeMs) {\\n this.referenceBitrate = currentEstimated;\\n return true;\\n }\\n return false;\\n }\\n else {\\n this.currentNetworkEvent = 0 /* Stable */;\\n return false;\\n }\\n }\\n // convert network event delay factor to actual delay in ms\\n getSubscribeDelay(event, numberOfParticipants) {\\n // left and right boundary of the delay\\n let subscribeDelay = VideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS;\\n const range = VideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS -\\n VideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS;\\n const responseFactor = this.networkIssueResponseDelayFactor;\\n switch (event) {\\n case 1 /* Decrease */:\\n // we include number of participants here since bigger size of the meeting will generate higher bitrate\\n subscribeDelay += range * responseFactor * (1 + numberOfParticipants / 10);\\n subscribeDelay = Math.min(VideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS, subscribeDelay);\\n break;\\n }\\n return subscribeDelay;\\n }\\n}\\nexports[\\\"default\\\"] = VideoPriorityBasedPolicyConfig;\\nVideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS = 2000;\\nVideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS = 8000;\\n// presets\\nVideoPriorityBasedPolicyConfig.Default = new VideoPriorityBasedPolicyConfig(0, 0);\\nVideoPriorityBasedPolicyConfig.UnstableNetworkPreset = new VideoPriorityBasedPolicyConfig(0, 1);\\nVideoPriorityBasedPolicyConfig.StableNetworkPreset = new VideoPriorityBasedPolicyConfig(1, 0);\\n//# sourceMappingURL=VideoPriorityBasedPolicyConfig.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 NoOpVideoElementFactory {\\n create() {\\n const element = {\\n clientWidth: 400,\\n clientHeight: 300,\\n width: 400,\\n height: 300,\\n videoWidth: 400,\\n videoHeight: 300,\\n style: {\\n transform: '',\\n },\\n hasAttribute: () => {\\n return false;\\n },\\n removeAttribute: () => { },\\n setAttribute: () => { },\\n srcObject: false,\\n paused: true,\\n pause: () => {\\n element.paused = true;\\n },\\n play: () => {\\n element.paused = false;\\n return Promise.resolve();\\n },\\n };\\n // @ts-ignore\\n return element;\\n }\\n}\\nexports[\\\"default\\\"] = NoOpVideoElementFactory;\\n//# sourceMappingURL=NoOpVideoElementFactory.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js ***!\n \\**********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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 * [[CanvasVideoFrameBuffer]] implements [[VideoFrameBuffer]]. It internally holds an `HTMLCanvasElement`.\\n */\\nclass CanvasVideoFrameBuffer {\\n constructor(canvas) {\\n this.canvas = canvas;\\n this.destroyed = false;\\n }\\n destroy() {\\n this.canvas = null;\\n this.destroyed = true;\\n }\\n asCanvasImageSource() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.destroyed) {\\n return Promise.reject('canvas buffer is destroyed');\\n }\\n return Promise.resolve(this.canvas);\\n });\\n }\\n asCanvasElement() {\\n return this.canvas;\\n }\\n}\\nexports[\\\"default\\\"] = CanvasVideoFrameBuffer;\\n//# sourceMappingURL=CanvasVideoFrameBuffer.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 CanvasVideoFrameBuffer_1 = __webpack_require__(/*! ./CanvasVideoFrameBuffer */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js\\\");\\nconst DEFAULT_FRAMERATE = 15;\\n/**\\n * [[DefaultVideoFrameProcessorPipeline]] implements {@link VideoFrameProcessorPipeline}.\\n * It constructs a buffer {@link CanvasVideoFrameBuffer} as source by default and invokes processor based on `framerate`.\\n * The default output type is `MediaStream`.\\n */\\nclass DefaultVideoFrameProcessorPipeline {\\n constructor(logger, stages) {\\n this.logger = logger;\\n this.stages = stages;\\n this.fr = DEFAULT_FRAMERATE;\\n // initialize with dummy inactive MediaStream to keep strict type\\n this.outputMediaStream = new MediaStream();\\n this.videoInput = document.createElement('video');\\n this.canvasOutput = document.createElement('canvas');\\n this.outputCtx = this.canvasOutput.getContext('2d');\\n this.canvasInput = document.createElement('canvas');\\n this.inputCtx = this.canvasInput.getContext('2d');\\n this.inputVideoStream = null;\\n this.sourceBuffers = [];\\n this.destBuffers = [];\\n this.observers = new Set();\\n this.hasStarted = false;\\n this.process = (_event) => __awaiter(this, void 0, void 0, function* () {\\n if (!this.inputVideoStream) {\\n return;\\n }\\n const processVideoStart = performance.now();\\n // videoWidth is intrinsic video width\\n if (this.videoInput.videoWidth) {\\n if (this.canvasInput.width !== this.videoInput.videoWidth) {\\n this.canvasInput.width = this.videoInput.videoWidth;\\n this.canvasInput.height = this.videoInput.videoHeight;\\n this.sourceBuffers[0].height = this.canvasInput.height;\\n this.sourceBuffers[0].width = this.canvasInput.width;\\n this.sourceBuffers[0].framerate = this.framerate;\\n }\\n this.inputCtx.drawImage(this.videoInput, 0, 0);\\n }\\n // processes input buffers\\n let buffers = [];\\n buffers.push(this.sourceBuffers[0]);\\n try {\\n for (const proc of this.processors) {\\n buffers = yield proc.process(buffers);\\n }\\n }\\n catch (_error) {\\n this.forEachObserver(obs => {\\n if (obs.processingDidFailToStart) {\\n obs.processingDidFailToStart();\\n }\\n });\\n return;\\n }\\n this.destBuffers = buffers;\\n let imageSource;\\n try {\\n imageSource = yield this.destBuffers[0].asCanvasImageSource();\\n }\\n catch (error) {\\n if (this.inputVideoStream) {\\n this.logger.info('buffers are destroyed and pipeline could not start');\\n this.forEachObserver(obs => {\\n if (obs.processingDidFailToStart) {\\n obs.processingDidFailToStart();\\n }\\n });\\n }\\n return;\\n }\\n // finally draws the image\\n const frameWidth = imageSource.width;\\n const frameHeight = imageSource.height;\\n if (frameWidth !== 0 && frameHeight !== 0) {\\n if (this.canvasOutput.width !== frameWidth && this.canvasOutput.height !== frameHeight) {\\n this.canvasOutput.width = frameWidth;\\n this.canvasOutput.height = frameHeight;\\n }\\n this.outputCtx.drawImage(imageSource, 0, 0, frameWidth, frameHeight, 0, 0, frameWidth, frameHeight);\\n if (!this.hasStarted) {\\n this.hasStarted = true;\\n this.forEachObserver(observer => {\\n if (observer.processingDidStart) {\\n observer.processingDidStart();\\n }\\n });\\n }\\n }\\n // measures time\\n const processVideoLatency = performance.now() - processVideoStart;\\n const leave = (1000 * 2) / this.framerate - processVideoLatency; // half fps\\n const nextFrameDelay = Math.max(0, 1000 / this.framerate - processVideoLatency);\\n if (leave <= 0) {\\n this.forEachObserver(obs => {\\n if (obs.processingLatencyTooHigh) {\\n obs.processingLatencyTooHigh(processVideoLatency);\\n }\\n });\\n }\\n // TODO: use requestAnimationFrame which is more organic and allows browser to conserve resources by its choices.\\n /* @ts-ignore */\\n this.lastTimeOut = setTimeout(this.process, nextFrameDelay);\\n });\\n }\\n destroy() {\\n this.stop();\\n if (this.stages) {\\n for (const stage of this.stages) {\\n stage.destroy();\\n }\\n }\\n }\\n get framerate() {\\n return this.fr;\\n }\\n // A negative framerate will cause `captureStream` to throw `NotSupportedError`.\\n // The setter prevents this by switching to the default framerate if less than 0.\\n set framerate(value) {\\n this.fr = value < 0 ? DEFAULT_FRAMERATE : value;\\n }\\n stop() {\\n // empty stream, stop pipeline\\n // null input media stream stops the pipeline.\\n this.videoInput.removeEventListener('loadedmetadata', this.process);\\n this.videoInput.srcObject = null;\\n // Clean the input stream and buffers.\\n this.destroyInputMediaStreamAndBuffers();\\n // Stop all the output tracks, but don't discard the media stream,\\n // because it's how other parts of the codebase recognize when\\n // a selected stream is part of this transform device.\\n if (this.outputMediaStream) {\\n for (const track of this.outputMediaStream.getVideoTracks()) {\\n track.stop();\\n }\\n }\\n if (this.lastTimeOut) {\\n clearTimeout(this.lastTimeOut);\\n this.lastTimeOut = undefined;\\n }\\n if (this.hasStarted) {\\n this.hasStarted = false;\\n this.forEachObserver(observer => {\\n if (observer.processingDidStop) {\\n observer.processingDidStop();\\n }\\n });\\n }\\n }\\n addObserver(observer) {\\n this.observers.add(observer);\\n }\\n removeObserver(observer) {\\n this.observers.delete(observer);\\n }\\n getInputMediaStream() {\\n return __awaiter(this, void 0, void 0, function* () {\\n return this.inputVideoStream;\\n });\\n }\\n getActiveOutputMediaStream() {\\n if (this.isOutputMediaStreamActive()) {\\n return this.outputMediaStream;\\n }\\n this.outputMediaStream = this.canvasOutput.captureStream(this.framerate);\\n this.cloneInputAudioTracksToOutput();\\n return this.outputMediaStream;\\n }\\n /**\\n * `inputMediaStream` is by default used to construct one {@link CanvasVideoFrameBuffer}\\n * The buffer will be fed into the first {@link VideoFrameProcessor}.\\n */\\n setInputMediaStream(inputMediaStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!inputMediaStream) {\\n this.stop();\\n return;\\n }\\n if (inputMediaStream.getVideoTracks().length === 0) {\\n this.logger.error('No video tracks in input media stream, ignoring');\\n return;\\n }\\n this.inputVideoStream = inputMediaStream;\\n const settings = this.inputVideoStream.getVideoTracks()[0].getSettings();\\n this.logger.info(`processing pipeline input stream settings ${JSON.stringify(settings)}`);\\n this.canvasOutput.width = settings.width;\\n this.canvasOutput.height = settings.height;\\n this.videoInput.addEventListener('loadedmetadata', this.process);\\n this.videoInput.srcObject = this.inputVideoStream;\\n // avoid iOS safari full screen video\\n this.videoInput.setAttribute('playsinline', 'true');\\n // create sources\\n const canvasBuffer = new CanvasVideoFrameBuffer_1.default(this.canvasInput);\\n this.sourceBuffers.push(canvasBuffer);\\n this.videoInput.load();\\n try {\\n yield this.videoInput.play();\\n }\\n catch (_a) {\\n this.logger.warn('Video element play() overrided by another load().');\\n }\\n this.cloneInputAudioTracksToOutput();\\n });\\n }\\n cloneInputAudioTracksToOutput() {\\n if (!this.isOutputMediaStreamActive() || this.inputVideoStream === null) {\\n this.logger.info('Not cloning input audio tracks to output, do not have media streams ready');\\n return; // Just wait for `getActiveOutputMediaStream`\\n }\\n // Remove current audio tracks from output\\n for (const audioTrack of this.outputMediaStream.getAudioTracks()) {\\n this.logger.info(`Removing audio track ${audioTrack.id} from output stream`);\\n this.outputMediaStream.removeTrack(audioTrack);\\n }\\n for (const audioTrack of this.inputVideoStream.getAudioTracks()) {\\n this.logger.info(`Adding audio track ${audioTrack.id} to output stream`);\\n this.outputMediaStream.addTrack(audioTrack);\\n }\\n }\\n isOutputMediaStreamActive() {\\n return this.outputMediaStream && this.outputMediaStream.active;\\n }\\n set processors(stages) {\\n this.stages = stages;\\n }\\n get processors() {\\n return this.stages;\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observers) {\\n setTimeout(() => {\\n observerFunc(observer);\\n }, 0);\\n }\\n }\\n destroyInputMediaStreamAndBuffers() {\\n if (this.inputVideoStream) {\\n for (const track of this.inputVideoStream.getTracks()) {\\n track.stop();\\n }\\n }\\n this.inputVideoStream = null;\\n for (const buffer of this.sourceBuffers) {\\n buffer.destroy();\\n }\\n this.sourceBuffers = [];\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoFrameProcessorPipeline;\\n//# sourceMappingURL=DefaultVideoFrameProcessorPipeline.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js ***!\n \\***************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultVideoFrameProcessorPipeline_1 = __webpack_require__(/*! ./DefaultVideoFrameProcessorPipeline */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js\\\");\\n/**\\n * [[DefaultVideoTransformDevice]] is an augmented [[VideoInputDevice]].\\n * It transform the input {@link Device} with an array of {@link VideoFrameProcessor} to produce a `MediaStream`.\\n */\\nclass DefaultVideoTransformDevice {\\n constructor(logger, device, processors, browserBehavior = new DefaultBrowserBehavior_1.default()) {\\n this.logger = logger;\\n this.device = device;\\n this.processors = processors;\\n this.browserBehavior = browserBehavior;\\n this.observers = new Set();\\n this.pipe = new DefaultVideoFrameProcessorPipeline_1.default(this.logger, this.processors);\\n this.pipe.addObserver(this);\\n }\\n /**\\n * getter for `outputMediaStream`.\\n * `outputMediaStream` is returned by internal {@link VideoFrameProcessorPipeline}.\\n * It is possible, but unlikely, that this accessor will throw.\\n */\\n get outputMediaStream() {\\n return this.pipe.outputMediaStream;\\n }\\n /** @internal */\\n passEventControllerToProcessors(eventController) {\\n /* istanbul ignore else */\\n if (this.pipe.processors) {\\n for (const processor of this.pipe.processors) {\\n // Only certain processors are configured to provide event reporting,\\n // so here will confirm that the processor has event controller capablility\\n if (typeof processor.setEventController === 'function') {\\n processor.setEventController(eventController);\\n }\\n }\\n }\\n }\\n /**\\n * `chooseNewInnerDevice` preserves the inner pipeline and processing state and switches\\n * the inner device. Since the pipeline and processors are shared with the new transform device\\n * only one transform device can be used.\\n */\\n chooseNewInnerDevice(newDevice) {\\n const newTransformDevice = new DefaultVideoTransformDevice(this.logger, newDevice, this.processors, this.browserBehavior);\\n newTransformDevice.pipe = this.pipe;\\n return newTransformDevice;\\n }\\n /**\\n * Return the inner device as provided during construction.\\n */\\n getInnerDevice() {\\n return this.device;\\n }\\n intrinsicDevice() {\\n return __awaiter(this, void 0, void 0, function* () {\\n return this.device;\\n });\\n }\\n /**\\n * Create {@link VideoFrameProcessorPipeline} if there is not a existing one and start video processors.\\n * Returns output `MediaStream` produced by {@link VideoFrameProcessorPipeline}.\\n */\\n transformStream(mediaStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n yield this.pipe.setInputMediaStream(mediaStream);\\n this.inputMediaStream = mediaStream;\\n return this.pipe.getActiveOutputMediaStream();\\n });\\n }\\n /**\\n * onOutputStreamDisconnect is called when device controller wants to detach\\n * the transform device. The default behavior is to stop the output\\n * media stream and release the input the media stream. If the input media stream\\n * is the provided device, it will not be released.\\n */\\n onOutputStreamDisconnect() {\\n this.logger.info('DefaultVideoTransformDevice: detach stopping input media stream');\\n const deviceIsMediaStream = this.device && this.device.id;\\n // Stop processing but keep the pipe and processors\\n this.pipe.stop();\\n // Turn off the camera, unless device is a MediaStream\\n if (!deviceIsMediaStream) {\\n if (this.inputMediaStream) {\\n for (const track of this.inputMediaStream.getVideoTracks()) {\\n track.stop();\\n }\\n }\\n }\\n }\\n /**\\n * Dispose of the inner workings of the transform device, including pipeline and processors.\\n * `stop` can only be called when the transform device is not used by device controller anymore.\\n * After `stop` is called, all transform devices which share the pipeline must be discarded.\\n */\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.inputMediaStream) {\\n for (const track of this.inputMediaStream.getVideoTracks()) {\\n track.stop();\\n }\\n }\\n this.pipe.destroy();\\n this.inputMediaStream = null;\\n });\\n }\\n /**\\n * Add an observer to receive notifications about lifecycle events.\\n * See {@link DefaultVideoTransformDeviceObserver} for details.\\n * If the observer has already been added, this method call has no effect.\\n */\\n addObserver(observer) {\\n this.observers.add(observer);\\n }\\n /**\\n * Remove an existing observer. If the observer has not been previously. this method call has no effect.\\n */\\n removeObserver(observer) {\\n this.observers.delete(observer);\\n }\\n processingDidStart() {\\n this.logger.info('video transform device processing started');\\n this.forEachObserver(observer => {\\n if (observer.processingDidStart) {\\n observer.processingDidStart();\\n }\\n });\\n }\\n processingLatencyTooHigh(latencyMs) {\\n this.forEachObserver(observer => {\\n if (observer.processingLatencyTooHigh) {\\n observer.processingLatencyTooHigh(latencyMs);\\n }\\n });\\n }\\n processingDidFailToStart() {\\n this.logger.info('video transform device processing failed to start');\\n this.forEachObserver(observer => {\\n if (observer.processingDidFailToStart) {\\n observer.processingDidFailToStart();\\n }\\n });\\n }\\n processingDidStop() {\\n this.logger.info('video transform device processing stopped');\\n this.forEachObserver(observer => {\\n if (observer.processingDidStop) {\\n observer.processingDidStop();\\n }\\n });\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observers) {\\n setTimeout(() => {\\n observerFunc(observer);\\n }, 0);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTransformDevice;\\n//# sourceMappingURL=DefaultVideoTransformDevice.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js ***!\n \\***********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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 * [[NoOpVideoFrameProcessor]] implements [[VideoFrameProcessor]].\\n * It's a no-op processor and input is passed to output directly.\\n */\\nclass NoOpVideoFrameProcessor {\\n process(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n return buffers;\\n });\\n }\\n destroy() {\\n return __awaiter(this, void 0, void 0, function* () {\\n return;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = NoOpVideoFrameProcessor;\\n//# sourceMappingURL=NoOpVideoFrameProcessor.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.DeferredPromise = void 0;\\n/**\\n * [[DeferredPromise]] Is a wrapper around a javascript promise that\\n * will allow us to resolve and reject the promise from outside of the\\n * promise's executor block.\\n */\\nclass DeferredPromise {\\n constructor() {\\n this.promise = new Promise((resolve, reject) => {\\n this.resolve = resolve;\\n this.reject = reject;\\n });\\n }\\n /**\\n * Get the promise associated with the DeferredPromise.\\n * @returns Promise\\n */\\n getPromise() {\\n return this.promise;\\n }\\n /**\\n * Resolve this.promise.\\n */\\n resolvePromise(resolveParameter) {\\n this.resolve(resolveParameter);\\n }\\n /**\\n * Resolve this.promise with a resolveParameter. Then,\\n * replace the resolved promise with a new promise.\\n */\\n resolveAndReplacePromise(resolveParameter) {\\n this.resolve(resolveParameter);\\n this.promise = new Promise((resolve, reject) => {\\n this.resolve = resolve;\\n this.reject = reject;\\n });\\n }\\n /**\\n * Reject this.promise.\\n */\\n rejectPromise(rejectError) {\\n this.reject(rejectError);\\n }\\n /**\\n * Reject this.promise with a reject parameter. Then,\\n * replace the rejected promise with a new promise.\\n */\\n rejectAndReplacePromise(rejectError) {\\n this.reject(rejectError);\\n this.promise = new Promise((resolve, reject) => {\\n this.resolve = resolve;\\n this.reject = reject;\\n });\\n }\\n}\\nexports.DeferredPromise = DeferredPromise;\\n//# sourceMappingURL=DeferredPromise.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js ***!\n \\***********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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.VideoFxCanvasOpsManager = void 0;\\nconst VideoFxConstants_1 = __webpack_require__(/*! ./VideoFxConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\\\");\\n/**\\n * [[VideoFxCanvasOpsManager]] Mechanism drives the canvas based operations\\n * for the VideoFxProcessor. This includes input stream resizing to segmentation model\\n * dimensions and managing the canvas loading for background replacement.\\n */\\nclass VideoFxCanvasOpsManager {\\n constructor(streamParameters, outputCanvas) {\\n this.streamParameters = streamParameters;\\n this.outputCanvas = outputCanvas;\\n this.configureCanvasPipeline();\\n }\\n /**\\n * Generate the raw image data in a format that is directly importable into\\n * the segmentation model\\n * @param inputCanvas\\n * @returns ImageData\\n */\\n getInferenceInputData(inputCanvas) {\\n // Resize our full resolution frame into a new canvas scaled to the\\n // size of our segmentation model\\n this.inferenceCtx.save();\\n this.inferenceCtx.scale(this.horizontalResizeScalar, this.verticalResizeScalar);\\n this.inferenceCtx.drawImage(inputCanvas, 0, 0);\\n this.inferenceCtx.restore();\\n // Now we can directly take image data that is the desired size of\\n // of our segmentation model linput\\n const inferenceInputData = this.inferenceCtx.getImageData(0, 0, VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS, VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS);\\n return inferenceInputData;\\n }\\n /**\\n * Reconfigure the canvas operations/pipeline to fit the dimensions of the new\\n * video stream, and resize background replacement canvas.\\n * @param streamParameters an VideoFxStreamParameters object specifying stream dimensions\\n */\\n configureForStreamParameters(streamParameters) {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.streamParameters = streamParameters;\\n this.outputCanvas.width = this.streamParameters.width;\\n this.outputCanvas.height = this.streamParameters.height;\\n // Resize background replacement canvas -- if it exists\\n if (this.backgroundReplacementCanvas) {\\n const resizedCanvas = document.createElement('canvas');\\n resizedCanvas.width = this.streamParameters.width;\\n resizedCanvas.height = this.streamParameters.height;\\n resizedCanvas\\n .getContext('2d')\\n .drawImage(this.backgroundReplacementCanvas, 0, 0, this.streamParameters.width, this.streamParameters.height);\\n this.backgroundReplacementCanvas = resizedCanvas;\\n }\\n this.configureCanvasPipeline();\\n });\\n }\\n /**\\n * Configure the inference canvas so that write operations to the canvas\\n * result in an image resizing.\\n */\\n configureCanvasPipeline() {\\n // Create new inference canvas and context\\n this.inferenceCanvas = document.createElement('canvas');\\n this.inferenceCtx = this.inferenceCanvas.getContext('2d', {\\n willReadFrequently: true,\\n });\\n // Configure the resize operation, which will be utilized by calling scale\\n // and then drawing any sized input to the canvas\\n this.inferenceCanvas.width = VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS;\\n this.inferenceCanvas.height = VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS;\\n this.horizontalResizeScalar = VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS / this.streamParameters.width;\\n this.verticalResizeScalar = VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS / this.streamParameters.height;\\n }\\n /**\\n * Return the background replacement canvas\\n * @returns HTMLCanvasElement\\n */\\n getBackgroundReplacementCanvas() {\\n return this.backgroundReplacementCanvas;\\n }\\n /**\\n * Attempt to load custom replacement background image from URL, or the default background color.\\n * The backgroundReplacementCanvas is then set from the loaded image.\\n * @param effectConfig\\n */\\n loadReplacementBackground(effectConfig) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const imageURL = effectConfig.backgroundReplacement.backgroundImageURL;\\n const defaultColor = effectConfig.backgroundReplacement.defaultColor;\\n if (imageURL) {\\n try {\\n const backgroundImage = yield this.loadImage(imageURL);\\n this.backgroundReplacementImage = backgroundImage;\\n this.resizeAndSetReplacementImage(this.backgroundReplacementImage);\\n }\\n catch (error) /* istanbul ignore next */ {\\n // The following can only happen due to an intermittent network issue.\\n this.logger.error(error);\\n throw new Error('Failed to set the replacement image.');\\n }\\n }\\n else {\\n this.resizeAndSetReplacementColor(defaultColor);\\n }\\n });\\n }\\n /**\\n * Draw loaded image on a canvas sized to the stream parameters, which is then set to the\\n * backgroundReplacementCanvas member variable.\\n * @param backgroundImage\\n */\\n resizeAndSetReplacementImage(backgroundImage) {\\n const resizedCanvas = document.createElement('canvas');\\n const resizedCtx = resizedCanvas.getContext('2d');\\n resizedCanvas.width = this.streamParameters.width;\\n resizedCanvas.height = this.streamParameters.height;\\n resizedCtx.drawImage(backgroundImage, 0, 0, this.streamParameters.width, this.streamParameters.height);\\n this.backgroundReplacementCanvas = resizedCanvas;\\n }\\n /**\\n * Fill default color on a canvas sized to the stream parameters, which is then set to the\\n * backgroundReplacementCanvas member variable.\\n * @param defaultColor\\n */\\n resizeAndSetReplacementColor(defaultColor) {\\n const resizedCanvas = document.createElement('canvas');\\n const resizedCtx = resizedCanvas.getContext('2d');\\n resizedCanvas.width = this.streamParameters.width;\\n resizedCanvas.height = this.streamParameters.height;\\n resizedCtx.fillStyle = defaultColor;\\n resizedCtx.fillRect(0, 0, this.streamParameters.width, this.streamParameters.height);\\n this.backgroundReplacementCanvas = resizedCanvas;\\n }\\n /**\\n * Attempt to load background image from URL.\\n * @param backgroundImageURL\\n * @returns Promise\\n */\\n loadImage(backgroundImageURL) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Attempt to fetch the image\\n const image = yield fetch(backgroundImageURL).catch(error => {\\n this.logger.error(error.toString());\\n // Error returned in unit tests from mock fetch is non-compatible\\n /* istanbul ignore next */\\n throw new Error('Failed to fetch image.');\\n });\\n // Convert successful fetch into an HTMLImageElement\\n const imageBlob = yield image.blob();\\n const img = new Image();\\n img.src = URL.createObjectURL(imageBlob);\\n return new Promise((resolve, reject) => {\\n img.onload = () => {\\n resolve(img);\\n };\\n img.onerror = error => {\\n reject(error);\\n };\\n });\\n });\\n }\\n}\\nexports.VideoFxCanvasOpsManager = VideoFxCanvasOpsManager;\\n//# sourceMappingURL=VideoFxCanvasOpsManager.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.FXLIB_PATH = exports.WORKER_PATH = exports.CDN_BASE_PATH = exports.RESOURCE_CONSTRAINTS = exports.SEGMENTATION_MODEL = exports.DEFAULT_STREAM_PARAMETERS = exports.WORKER_MSG = void 0;\\n// These are constants relating to communication between the VideoFxProcessor\\n// and the VideoFxEngine\\nexports.WORKER_MSG = {\\n BUILD_ENGINE_REQUEST: 'BuildEngineRequest',\\n BUILD_ENGINE_RESPONSE: 'BuildEngineResponse',\\n PERFORM_SEGMENTATION_REQUEST: 'PerformSegmentationRequest',\\n PERFORM_SEGMENTATION_RESPONSE: 'PerformSegmentationResponse',\\n PERFORM_SEGMENTATION_SAB_REQUEST: 'PerformSegmentationSABRequest',\\n PERFORM_SEGMENTATION_SAB_RESPONSE: 'PerformSegmentationSABResponse',\\n DESTROY_ASSETS_REQUEST: 'DestroyAssetsRequest',\\n DESTROY_ASSETS_RESPONSE: 'DestroyAssetsResponse',\\n CLOSE_WORKER_REQUEST: 'CloseWorkerRequest',\\n};\\nexports.DEFAULT_STREAM_PARAMETERS = {\\n FRAMES_PER_SECOND: 15,\\n WIDTH_IN_PIXEL: 960,\\n HEIGHT_IN_PIXEL: 540,\\n CHANNEL_COUNT: 4,\\n};\\n// These are constants relating to the status of different processes that get returned\\n// by the VideoFxEngine\\nexports.SEGMENTATION_MODEL = {\\n LOAD_SUCCESS: 2,\\n WIDTH_IN_PIXELS: 176,\\n HEIGHT_IN_PIXELS: 160,\\n};\\n// These are constants relating to resource constraints\\nexports.RESOURCE_CONSTRAINTS = {\\n DEFAULT_PROCESSING_BUDGET_PER_FRAME: 50,\\n // Segmenation throttling constants\\n SEGMENTATION_DEFAULT_FRAMES_PER_SEGMENTATION: 1,\\n SEGMENTATION_SAMPLING_PERIOD_FRAME_COUNT: 500,\\n // Blur throttling constants\\n BLUR_DEFAULT_CYCLE_PERCENTAGE: 10,\\n BLUR_SAMPLING_PERIOD_FRAME_COUNT: 1000,\\n // General constants for throttling blur and segmentation\\n MIN_PROCESSING_BUDGET: 0,\\n MAX_PROCESSING_BUDGET: 100,\\n};\\nexports.CDN_BASE_PATH = 'https://static.sdkassets.chime.aws';\\nconst MFX_ASSET_PATH = '/ml_media_fx/otherassets';\\nexports.WORKER_PATH = `${MFX_ASSET_PATH}/worker.js`;\\nexports.FXLIB_PATH = `${MFX_ASSET_PATH}/fxlib.js`;\\n//# sourceMappingURL=VideoFxConstants.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js ***!\n \\****************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 fetch_1 = __webpack_require__(/*! ../../libs/voicefocus/fetch */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\\\");\\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 DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ \\\"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\\\");\\nconst NoOpLogger_1 = __webpack_require__(/*! ../logger/NoOpLogger */ \\\"./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js\\\");\\nconst Utils_1 = __webpack_require__(/*! ../utils/Utils */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst CanvasVideoFrameBuffer_1 = __webpack_require__(/*! ../videoframeprocessor/CanvasVideoFrameBuffer */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js\\\");\\nconst DeferredPromise_1 = __webpack_require__(/*! ./DeferredPromise */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js\\\");\\nconst VideoFxCanvasOpsManager_1 = __webpack_require__(/*! ./VideoFxCanvasOpsManager */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js\\\");\\nconst VideoFxConstants_1 = __webpack_require__(/*! ./VideoFxConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\\\");\\nconst VideoFxSegmentationRateManager_1 = __webpack_require__(/*! ./VideoFxSegmentationRateManager */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js\\\");\\n/**\\n * [[VideoFxProcessor]] Mechanism that drives the data transformation\\n * of individual video frames to apply ML-based background blur and\\n * background replacement effects on the video stream.\\n */\\nclass VideoFxProcessor {\\n /**\\n * Initializes a new instance of [[VideoFxProcessor]] with a default NoOp [[VideoFxConfig]].\\n * @param logger\\n * @param processingBudgetPerFrame throttling constraint for processing\\n * @param eventController EventController object to manage events\\n */\\n constructor(logger, processingBudgetPerFrame = VideoFxConstants_1.RESOURCE_CONSTRAINTS.DEFAULT_PROCESSING_BUDGET_PER_FRAME, eventController) {\\n this.logger = logger;\\n // Configure the buffer for where output frames will be placed\\n this.outputCanvas = document.createElement('canvas');\\n this.canvasVideoFrameBuffer = new CanvasVideoFrameBuffer_1.default(this.outputCanvas);\\n // Validate the inputted resource constraint\\n try {\\n this.validateProcessingBudgetPerFrame(processingBudgetPerFrame);\\n }\\n catch (error) {\\n this.logger.error(error);\\n throw new Error(`Cannot instantiate VideoFxProcessor due to invalid ` +\\n `processingBudgetPerFrame of ${processingBudgetPerFrame}`);\\n }\\n if (eventController) {\\n this.eventController = eventController;\\n }\\n // Create a basic effectConfig (noOp)\\n this.effectConfig = {\\n backgroundBlur: {\\n isEnabled: false,\\n strength: 'low',\\n },\\n backgroundReplacement: {\\n isEnabled: false,\\n backgroundImageURL: null,\\n defaultColor: 'black',\\n },\\n };\\n // This promise object will be used to coordinate timing of sending/receiving frames from engine\\n this.segmentationRequestPromise = new DeferredPromise_1.DeferredPromise();\\n // Configure resource management for the segmentation frequency\\n this.segmentationRateManager = new VideoFxSegmentationRateManager_1.VideoFxSegmentationRateManager(this.logger, processingBudgetPerFrame);\\n // Configure default streamParameters\\n this.streamParameters = {\\n framerate: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.FRAMES_PER_SECOND,\\n width: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.WIDTH_IN_PIXEL,\\n height: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.HEIGHT_IN_PIXEL,\\n channels: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.CHANNEL_COUNT,\\n };\\n // Determine if shared array buffer can be used to transfer frame data from\\n // main thread to web worker thread\\n if (VideoFxProcessor.isSharedArrayBufferSupported) {\\n this.sharedImageBuffer = new SharedArrayBuffer(VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS *\\n VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS *\\n this.streamParameters.channels);\\n this.sharedImageData = new Uint8ClampedArray(this.sharedImageBuffer);\\n }\\n this.logger.info(`VideoFx supports Shared Array Buffer: ` + `${VideoFxProcessor.isSharedArrayBufferSupported}`);\\n // Determine if filter operations are supported\\n this.canvasOpsManager = new VideoFxCanvasOpsManager_1.VideoFxCanvasOpsManager(this.streamParameters, this.outputCanvas);\\n // Configure the final transformed frame location\\n this.outputCanvas.width = this.streamParameters.width;\\n this.outputCanvas.height = this.streamParameters.height;\\n // Set an empty mask at initialization\\n this.segmentationMask = new ImageData(this.streamParameters.width, this.streamParameters.height);\\n this.logger.info(`VideoFxProcessor instantiated with a processingBudgetPerFrame of ${processingBudgetPerFrame}`);\\n }\\n /**\\n * Apply the [[VideoFxProcessor]]'s specialized effect onto the frame contained by\\n * the buffer parameter.\\n * @param buffers\\n * @returns buffers\\n */\\n process(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Note: Required method through implementation of VideoFrameProcessor.\\n return buffers;\\n });\\n }\\n /**\\n * Process an input stream and apply the visual effects specified in this effectConfig.\\n * @param buffers the input stream\\n * @returns an output stream of VideoFrameBuffer\\n */\\n fxProcess(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Process our input image into raw input data\\n const inputCanvas = buffers[0].asCanvasElement();\\n // We must confirm that our incoming stream did not change it's parameters\\n if (this.didStreamParametersChange(inputCanvas)) {\\n yield this.adjustProcessorForNewStreamParameters(inputCanvas);\\n }\\n // Decide to use the existing segmentation or perform a new segmentation\\n try {\\n yield this.manageSegmentationMask(inputCanvas);\\n }\\n catch (error) {\\n this.logger.error(error);\\n throw new Error(`Video stream could not be processed`);\\n }\\n // Render a final image using the input canvas and the segmentation mask\\n yield this.renderer.render(inputCanvas, this.segmentationMask);\\n // Send canvas video frame buffer to rest of processor pipeline\\n buffers[0] = this.canvasVideoFrameBuffer;\\n return buffers;\\n });\\n }\\n /**\\n * Perform a process call that just returns the input stream\\n * @param buffers the input stream\\n * @returns an output stream of VideoFrameBuffer\\n */\\n noOpProcess(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n return buffers;\\n });\\n }\\n /**\\n * Check if the stream dimensions/parameters have changed.\\n * @param stream frame from current video stream about to be processed\\n * @returns boolean representing if the stream parameters changed\\n */\\n didStreamParametersChange(stream) {\\n return (stream.width !== this.streamParameters.width || stream.height !== this.streamParameters.height);\\n }\\n /**\\n * Adjust the videoFxProcessor to handle new stream parameters.\\n * @param stream frame from current video stream about to be processed\\n */\\n adjustProcessorForNewStreamParameters(stream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Update the stored streamParameters\\n this.streamParameters.width = stream.width;\\n this.streamParameters.height = stream.height;\\n // Notify the canvas ops manager to reconfigure pipeline dimensions\\n yield this.canvasOpsManager.configureForStreamParameters(this.streamParameters);\\n // Configure the renderer to work with new stream dimensions\\n yield this.renderer.configure(this.streamParameters.width, this.streamParameters.height, this.effectConfig);\\n });\\n }\\n /**\\n * Clean up any excess memory that has been allocated by [[VideoFxProcessor]].\\n */\\n destroy() {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Note: Required method through implementation of VideoFrameProcessor.\\n this.canvasVideoFrameBuffer.destroy();\\n if (this.fxLibScript && this.fxLibScript.parentNode) {\\n this.fxLibScript.parentNode.removeChild(this.fxLibScript);\\n }\\n if (this.engineWorker) {\\n // Post message to destroy all assets\\n this.destroyedAssetsPromise = new DeferredPromise_1.DeferredPromise();\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.DESTROY_ASSETS_REQUEST,\\n });\\n // Wait until all the assets are destroyed\\n yield this.destroyedAssetsPromise.getPromise();\\n // Close the engine worker\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.CLOSE_WORKER_REQUEST,\\n });\\n }\\n this.logger.info(`VideoFxProcessor destroyed.`);\\n });\\n }\\n /**\\n * Manage the segmentation mask that is used to generate a final frame. This function\\n * will calculate whether or not to re-generate a segmenation and also monitor\\n * how computationally expensive the rate of segmentation are.\\n * @param inputCanvas canvas to be used for segmentation\\n */\\n manageSegmentationMask(inputCanvas) {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n this.segmentationRateManager.submitFrame();\\n if (this.segmentationRateManager.shouldApplySegmentation()) {\\n // Perform a segmentation inference on the downsampled current video frame\\n this.segmentationRateManager.startSegmentation();\\n const inferenceInputImageData = this.canvasOpsManager.getInferenceInputData(inputCanvas);\\n this.segmentationMask = yield this.generateSegmentationMask(inferenceInputImageData);\\n this.segmentationRateManager.completeSegmentation();\\n }\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Can not properly manage the returned segmentation mask`);\\n }\\n });\\n }\\n /**\\n * Generate a segmentation mask from the input frame.\\n * @param inferenceImageData\\n * @returns image data representing segmenation mask\\n */\\n generateSegmentationMask(inferenceImageData) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (VideoFxProcessor.isSharedArrayBufferSupported) {\\n this.sharedImageData.set(inferenceImageData.data);\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_SAB_REQUEST,\\n payload: this.sharedImageBuffer,\\n });\\n }\\n else {\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_REQUEST,\\n payload: inferenceImageData,\\n }, [inferenceImageData.data.buffer]);\\n }\\n // Wait for input image to be returned from VideoFxEngine\\n try {\\n const segmentationMask = yield this.segmentationRequestPromise.getPromise();\\n return segmentationMask;\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Segmentation mask could not be generated`);\\n }\\n });\\n }\\n /**\\n * Make a deep copy of the VideoFxConfig passed in. Needs to be updated if additional\\n * fields are added to VideoFxConfig.\\n * @param effectConfig\\n * @returns newEffectConfig\\n */\\n cloneConfigFrom(effectConfig) {\\n return {\\n backgroundBlur: {\\n isEnabled: effectConfig.backgroundBlur.isEnabled,\\n strength: effectConfig.backgroundBlur.strength,\\n },\\n backgroundReplacement: {\\n isEnabled: effectConfig.backgroundReplacement.isEnabled,\\n backgroundImageURL: effectConfig.backgroundReplacement.backgroundImageURL,\\n defaultColor: effectConfig.backgroundReplacement.defaultColor,\\n },\\n };\\n }\\n /**\\n * Update the [[VideoFxProcessor]] to apply a new set of effects by updating the instance property\\n * [[VideoFxConfig]]. If the effectConfig parameter fails validation, an error is thrown and there is\\n * no update.\\n * @Param effectConfig updated [[VideoFxConfig]] with new video effects\\n */\\n setEffectConfig(effectConfig) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.sameVideoFxConfig(effectConfig, this.effectConfig)) {\\n return;\\n }\\n const newEffectConfig = this.cloneConfigFrom(effectConfig);\\n // Validate the effect config\\n try {\\n yield this.validateEffectConfig(newEffectConfig);\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Provided effect config is invalid, not updating VideoFxProcessor`);\\n }\\n // Configure background replacement image/canvas\\n if (newEffectConfig.backgroundReplacement.isEnabled) {\\n yield this.canvasOpsManager.loadReplacementBackground(newEffectConfig);\\n yield this.renderer.setBackgroundReplacementCanvas(this.canvasOpsManager.getBackgroundReplacementCanvas());\\n }\\n // Configure the renderer to implement the desired effect configuration\\n yield this.renderer.configure(this.streamParameters.width, this.streamParameters.height, newEffectConfig);\\n // Can now officially set the effect config since the rest of the processor is\\n // configured for the new effects\\n this.effectConfig = newEffectConfig;\\n // If no effects are enabled, run no op process, otherwise run the effect based processing\\n if (!this.effectConfig.backgroundBlur.isEnabled &&\\n !this.effectConfig.backgroundReplacement.isEnabled) {\\n this.process = this.noOpProcess;\\n }\\n else {\\n this.process = this.fxProcess;\\n }\\n this.logger.info(`VideoFxProcessor effect configuration updated to: ${JSON.stringify(this.effectConfig)}`);\\n if (this.eventController) {\\n this.publishVideoFxConfigEvent();\\n }\\n });\\n }\\n /**\\n * Confirm that the config consists of valid values.\\n * @param config that will be validated\\n */\\n validateEffectConfig(config) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // We confirm that both blur and replacement are not enabled due to builder error\\n if (config.backgroundBlur.isEnabled && config.backgroundReplacement.isEnabled) {\\n throw new Error(`Invalid VideoFx configuration: Background Blur and Background Replacement ` +\\n `can not both be enabled`);\\n }\\n else if (config.backgroundReplacement.isEnabled) {\\n yield this.validateReplacementConfig(config);\\n }\\n // backgroundBlur does not need to be validated, as valid blurStrength value\\n // is checked at compile time.\\n });\\n }\\n /**\\n * Confirm that the config consists of valid values for background replacement.\\n * @param config that will be validated for background replacement\\n */\\n validateReplacementConfig(config) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (config.backgroundReplacement.backgroundImageURL &&\\n config.backgroundReplacement.defaultColor) {\\n throw new Error(`Invalid VideoFx configuration: Background Replacement can not have both an ` +\\n `image URL and default color`);\\n }\\n if (!config.backgroundReplacement.backgroundImageURL &&\\n !config.backgroundReplacement.defaultColor) {\\n throw new Error(`Invalid VideoFx configuration: Background Replacement image URL and default ` +\\n `can not both be null/undefined`);\\n }\\n // Confirm that the image properly loads\\n try {\\n if (config.backgroundReplacement.backgroundImageURL) {\\n yield this.canvasOpsManager.loadImage(config.backgroundReplacement.backgroundImageURL);\\n }\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Invalid VideoFx configuration: backgroundImageURL failed to load`);\\n }\\n const defaultColor = config.backgroundReplacement.defaultColor;\\n // Confirm that defaultColor is a valid color for fillStyle. We support black by default.\\n if (defaultColor &&\\n defaultColor !== 'black' &&\\n defaultColor !== '#000000' &&\\n defaultColor !== '#000') {\\n // First validate hexadecimal color code\\n if (defaultColor.includes('#')) {\\n const hexRegex = new RegExp(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/);\\n if (!hexRegex.test(defaultColor)) {\\n throw new Error(`Invalid hexadecimal color code for default replacement ` +\\n `background: ${defaultColor}`);\\n }\\n }\\n const testColorCanvas = document.createElement('canvas');\\n const testColorCtx = testColorCanvas.getContext('2d');\\n // fillStyle is #000000 black by default\\n const prevFillStyle = testColorCtx.fillStyle;\\n testColorCtx.fillStyle = defaultColor;\\n // fillStyle will not change after assignment if invalid value is used\\n /* istanbul ignore next */\\n if (testColorCtx.fillStyle === prevFillStyle) {\\n throw new Error(`Invalid color for default replacement background: ${defaultColor}`);\\n }\\n }\\n });\\n }\\n /**\\n * Confirm that the processingBudgePerFrame constraint holds valid values.\\n * @param constraint to be validated\\n */\\n validateProcessingBudgetPerFrame(processingBudgetPerFrame) {\\n if (processingBudgetPerFrame < VideoFxConstants_1.RESOURCE_CONSTRAINTS.MIN_PROCESSING_BUDGET ||\\n processingBudgetPerFrame > VideoFxConstants_1.RESOURCE_CONSTRAINTS.MAX_PROCESSING_BUDGET) {\\n throw new Error(`Invalid resource constraint: cycle percentage must be within ` +\\n `range of ${VideoFxConstants_1.RESOURCE_CONSTRAINTS.MIN_PROCESSING_BUDGET} and ` +\\n `${VideoFxConstants_1.RESOURCE_CONSTRAINTS.MAX_PROCESSING_BUDGET}`);\\n }\\n }\\n /**\\n * Loads all of the assets that are associated with the stored effectConfig.\\n */\\n loadAssets() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.logger.info(`Loading required assets for the VideoFxProcessor`);\\n try {\\n const videoFxAssetParams = this.getVideoFxAssetParams();\\n yield this.loadEngineWorker(videoFxAssetParams);\\n yield this.buildEngine(videoFxAssetParams);\\n yield this.loadFxLib(videoFxAssetParams);\\n // @ts-ignore\\n this.renderer = constructRenderer(VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS, VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS, this.effectConfig, this.outputCanvas);\\n }\\n catch (error) {\\n // NOTE: when we update to es2022, throw errors that are chained together\\n this.logger.error(error.toString());\\n throw new Error(`Failed to load necessary assets for the VideoFxProcessor`);\\n }\\n this.logger.info(`Finished loading of essential VideoFxProcessor assets.`);\\n });\\n }\\n /**\\n * Determines the current set of specifications that define the current SDK version.\\n * @returns an [[VideoFxAssetParams]] object defining the parameters of the\\n * current SDK\\n */\\n getVideoFxAssetParams() {\\n const defaultAssetSpec = Utils_1.getDefaultAssetSpec();\\n const videoFxAssetParams = {\\n assetGroup: defaultAssetSpec.assetGroup,\\n revisionID: defaultAssetSpec.revisionID,\\n sdk: encodeURIComponent(Versioning_1.default.sdkVersion),\\n ua: encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution),\\n };\\n return videoFxAssetParams;\\n }\\n /**\\n * Generate a final path to an asset belonging to current version of SDK.\\n * @param basePath Base of the path that will be used to generate a final path\\n * @param videoFxAssetParams Parameters of the current SDK version\\n * @returns A final path specific to an asset belonging to current SDK\\n * version\\n */\\n getPathFromVideoFxAssetParams(basePath, videoFxAssetParams) {\\n const path = new URL(basePath);\\n for (const [key, value] of Object.entries(videoFxAssetParams)) {\\n if (value !== undefined) {\\n // Encode the key and value into uri format\\n const uriEncodedKey = encodeURIComponent(key);\\n const uriEncodedValue = encodeURIComponent(value);\\n // Set encoded key/value as query params\\n path.searchParams.set(uriEncodedKey, uriEncodedValue);\\n }\\n }\\n return path.toString();\\n }\\n /**\\n * Fetch and then load the engine worker into a web-worker.\\n */\\n loadEngineWorker(videoFxAssetParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // The engine worker will always be a required asset for the VideoFxProcessor\\n try {\\n // Determine engine worker path from versioning of the SDK worker\\n const engineWorkerPath = this.getPathFromVideoFxAssetParams(VideoFxConstants_1.CDN_BASE_PATH + VideoFxConstants_1.WORKER_PATH, videoFxAssetParams);\\n // Load the worker that will communicate with the VideoFxEngine\\n this.engineWorker = yield loader_1.loadWorker(engineWorkerPath, 'VideoFxEngineWorker', {}, null);\\n this.logger.info(`Successfully loaded the VideoFxProcessor's engine worker`);\\n // Configure a handler to deal with messages received form the engine worker\\n this.engineWorker.addEventListener('message', event => this.engineWorkerReceiver(event));\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Failed to load the VideoFxProcessor's engine worker`);\\n }\\n });\\n }\\n /**\\n * Build the videoFxEngine.\\n * @param videoFxAssetParams [[VideoFxAssetParams]] defining current version of SDK\\n */\\n buildEngine(videoFxAssetParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Instantiate the deferred promise so we can wait for the worker to\\n // return a completion message\\n this.buildEnginePromise = new DeferredPromise_1.DeferredPromise();\\n // Send a message via the engine worker to instantiate\\n // the video fx engine\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.BUILD_ENGINE_REQUEST,\\n payload: {\\n cdnBasePath: VideoFxConstants_1.CDN_BASE_PATH,\\n sdkVersioningParams: videoFxAssetParams,\\n },\\n });\\n // Wait until the engine finishes building\\n try {\\n yield this.buildEnginePromise.getPromise();\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Failed to instantiate the VideoFxEngine`);\\n }\\n });\\n }\\n /**\\n * Loads the Video Fx library to drive video post-processing, given the versioning\\n * of the SDK worker from the VideoFxAssetParams interface passed as a parameter.\\n * @param videoFxAssetParams\\n */\\n loadFxLib(videoFxAssetParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Determine engine worker path from versioning of the SDK worker\\n const fxLibPath = this.getPathFromVideoFxAssetParams(VideoFxConstants_1.CDN_BASE_PATH + VideoFxConstants_1.FXLIB_PATH, videoFxAssetParams);\\n const WORKER_FETCH_OPTIONS = {\\n method: 'GET',\\n mode: 'cors',\\n credentials: 'omit',\\n redirect: 'follow',\\n referrerPolicy: 'no-referrer',\\n };\\n try {\\n const res = yield fetch_1.fetchWithBehavior(fxLibPath, WORKER_FETCH_OPTIONS, {});\\n if (!res.ok) {\\n throw new Error('Fetch failed.');\\n }\\n const blobURL = window.URL.createObjectURL(yield res.blob());\\n yield new Promise((resolve, reject) => {\\n this.fxLibScript = document.createElement('script');\\n this.fxLibScript.setAttribute('src', blobURL);\\n this.fxLibScript.setAttribute('type', 'module');\\n this.fxLibScript.setAttribute('async', 'false');\\n this.fxLibScript.addEventListener('load', resolve);\\n this.fxLibScript.addEventListener('error', reject);\\n document.body.appendChild(this.fxLibScript);\\n });\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Failed to load the fxlib`);\\n }\\n });\\n }\\n /**\\n * Getter for the current [[VideoFxConfig]] maintained as an instance property of\\n * [[VideoFxProcessor]].\\n * @returns currentEffectConfig\\n */\\n getEffectConfig() {\\n return this.cloneConfigFrom(this.effectConfig);\\n }\\n /**\\n * Receives messages from the engine worker and then delegates\\n * the proper response to a different function.\\n * @param event notification to be received from the engine worker\\n */\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n engineWorkerReceiver(event) {\\n const msg = event.data;\\n switch (msg.msg) {\\n case VideoFxConstants_1.WORKER_MSG.BUILD_ENGINE_RESPONSE:\\n this.settleEngineBuildPromise(msg.payload);\\n break;\\n case VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_RESPONSE:\\n this.settleSegmentationPromise(msg.payload.output);\\n break;\\n case VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_SAB_RESPONSE:\\n this.settleSegmentationPromiseSAB();\\n break;\\n case VideoFxConstants_1.WORKER_MSG.DESTROY_ASSETS_RESPONSE:\\n this.destroyedAssetsPromise.resolvePromise();\\n break;\\n default:\\n this.logger.info(`VideoFx worker received unknown event msg: ${JSON.stringify(msg)}`);\\n break;\\n }\\n }\\n /**\\n * Handle the message returned from the VideoFX Engine worker to\\n * settle (resolve/reject) the promise associated with initializing the engine.\\n * @param buildStatus status of the final result of building the engine\\n */\\n settleEngineBuildPromise(buildStatus) {\\n // Resolve or reject the engineInstantiatedPromise depending on success\\n // of instatiation\\n if (buildStatus !== VideoFxConstants_1.SEGMENTATION_MODEL.LOAD_SUCCESS) {\\n this.buildEnginePromise.rejectPromise(new Error(`Failed to build VideoFxProcessor's engine`));\\n }\\n else {\\n this.logger.info(`Successfully built the VideoFxEngine`);\\n this.buildEnginePromise.resolvePromise();\\n }\\n }\\n /**\\n * Handle the received segmentation mask and then resolve/reject the promise to notify\\n * the main processing function to prepare for the next frame (using ImageData transfer).\\n * @param segmentationMask\\n */\\n settleSegmentationPromise(segmentationMask) {\\n // Resolve or reject the frameRequestPromise depending on the success of transforming\\n // the input image\\n if (segmentationMask) {\\n // Resolve segmentation promise with mask data\\n this.segmentationRequestPromise.resolveAndReplacePromise(segmentationMask);\\n }\\n else {\\n this.segmentationRequestPromise.rejectAndReplacePromise(new Error(`Failed to perform a segmentation on the input image`));\\n }\\n }\\n /**\\n * Handle the received segmentation mask and then resolve/reject the promise to notify\\n * the main processing function to prepare for the next frame (using shared array buffer).\\n */\\n settleSegmentationPromiseSAB() {\\n try {\\n // Resolve segmentation promise with mask data\\n const transformedImageData = new ImageData(new Uint8ClampedArray(this.sharedImageData), VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS, VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS);\\n this.segmentationRequestPromise.resolveAndReplacePromise(transformedImageData);\\n }\\n catch (_a) {\\n this.segmentationRequestPromise.rejectAndReplacePromise(new Error(`Failed to perform a segmentation with a shared ` + `array buffer on the input image`));\\n }\\n }\\n /**\\n * Function that will convert the VideoFxProcessor into a NoOp version of itself.\\n * Will only return input video stream and not use worker, engine, or segmentation\\n * model.\\n */\\n setToNoOpProcess() {\\n this.process = this.noOpProcess;\\n }\\n /**\\n * Detect client environment to determine if the [[VideoFxProcessor]] is supported.\\n * @param logger to record/report events of checking processor support\\n * @param attemptAssetLoad will also fetch and build all relevant components of the\\n * processor to ensure end to end feature is supported\\n * @returns a boolean promise that will resolve to true if supported and false if not\\n */\\n static isSupported(logger = new NoOpLogger_1.default(), attemptAssetLoad = true) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // allCheckedPassed represents the state of support and we assume it is true until checkEnv tells us otherwise\\n let allCheckedPassed = true;\\n // checkEnv evaluates a boolean condition, badPromiseCondition, that when true would cause isSupported to fail.\\n // We also log a corresponding error message for each support check so a builder can see what is still needed\\n // in their environment.\\n const checkEnv = (badPromiseCondition, message) => {\\n if (badPromiseCondition) {\\n logger.info(message);\\n allCheckedPassed = false;\\n }\\n };\\n // Get context for operating environment\\n // could not figure out how to remove globalThis to test failure case\\n /* istanbul ignore next */\\n checkEnv(typeof globalThis === 'undefined', 'Browser does not have globalThis.');\\n // Check workers are supported\\n checkEnv(!support_1.supportsWorker(globalThis, logger), 'Browser does not support web workers.');\\n // Check wasm is supported\\n checkEnv(!support_1.supportsWASM(globalThis, logger), 'Browser does not support wasm.');\\n // Check webgl2 is supported\\n checkEnv(!document.createElement('canvas').getContext('webgl2'), 'Browser does not support webgl.');\\n // Check browser support\\n const browserBehavior = new DefaultBrowserBehavior_1.default();\\n checkEnv(!browserBehavior.isVideoFxSupportedBrowser(), 'Browser is unsupported for VideoFxProcessor');\\n // checkProcessor first checks if we can load all required assets and then tests VideoFxProcessor.\\n const checkProcessor = () => __awaiter(this, void 0, void 0, function* () {\\n if (attemptAssetLoad) {\\n try {\\n const testFxProcessor = new VideoFxProcessor(logger);\\n yield testFxProcessor.loadAssets();\\n yield testFxProcessor.destroy(); // destroy assets we just temp loaded\\n }\\n catch (_a) {\\n logger.info('Browser environment is unable to access the required external assets.');\\n return Promise.resolve(false);\\n }\\n }\\n return Promise.resolve(true);\\n });\\n return Promise.resolve(allCheckedPassed ? yield checkProcessor() : false);\\n });\\n }\\n /**\\n * Create a [[VideoFxProcessor]] that has loaded its necessary components, ready to instantly\\n * process a video stream with the effects specified in the passed [[VideoFxConfig]].\\n *\\n * ** NOTICE **\\n *\\n * Amazon Chime background blur 2.0 and background replacement 2.0\\n * Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n *\\n * By installing or using this package, you agree to the AWS Customer Agreement, AWS Service Terms, and AWS Privacy Notice.\\n * If you already have an AWS Customer Agreement, you agree that the terms of that agreement govern your download and use of this package.\\n * This package is provided as AWS Content and subject to the AWS Customer agreement and any other agreement with AWS governing your use of\\n * AWS services.\\n */\\n static create(logger, effectConfig, processingBudgetPerFrame = VideoFxConstants_1.RESOURCE_CONSTRAINTS.DEFAULT_PROCESSING_BUDGET_PER_FRAME) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Create the videoFxProcessor\\n const videoFxProcessor = new VideoFxProcessor(logger, processingBudgetPerFrame);\\n // Load the required assets and set desired effect config\\n try {\\n yield videoFxProcessor.loadAssets();\\n yield videoFxProcessor.setEffectConfig(effectConfig);\\n return videoFxProcessor;\\n }\\n catch (error) {\\n logger.error(error.toString());\\n // If we fail loading an essential asset from above, we overwrite our\\n // processor to process with no operations or effects\\n videoFxProcessor.setToNoOpProcess();\\n throw new Error(`VideoFxProcessor built with support for only NoOp processing`);\\n }\\n });\\n }\\n /** @internal */\\n setEventController(eventController) {\\n /*\\n if this is a first time we set the eventController, need to publish the current VideoFxConfig.\\n Otherwise, just set the eventController.\\n */\\n if (this.eventController) {\\n this.eventController = eventController;\\n }\\n else {\\n this.eventController = eventController;\\n this.publishVideoFxConfigEvent();\\n }\\n }\\n publishVideoFxConfigEvent() {\\n const mediaFXEventAttibutes = {\\n backgroundBlurEnabled: this.effectConfig.backgroundBlur.isEnabled.toString(),\\n backgroundBlurStrength: this.effectConfig.backgroundBlur.strength,\\n backgroundReplacementEnabled: this.effectConfig.backgroundReplacement.isEnabled.toString(),\\n backgroundFilterVersion: 2,\\n };\\n this.eventController.publishEvent('backgroundFilterConfigSelected', mediaFXEventAttibutes);\\n }\\n sameVideoFxConfig(firstConfig, secondConfig) {\\n return (firstConfig.backgroundBlur.isEnabled === secondConfig.backgroundBlur.isEnabled &&\\n firstConfig.backgroundBlur.strength === secondConfig.backgroundBlur.strength &&\\n firstConfig.backgroundReplacement.backgroundImageURL ===\\n secondConfig.backgroundReplacement.backgroundImageURL &&\\n firstConfig.backgroundReplacement.defaultColor ===\\n secondConfig.backgroundReplacement.defaultColor &&\\n firstConfig.backgroundReplacement.isEnabled === secondConfig.backgroundReplacement.isEnabled);\\n }\\n}\\nexports[\\\"default\\\"] = VideoFxProcessor;\\nVideoFxProcessor.isSharedArrayBufferSupported = typeof SharedArrayBuffer !== 'undefined';\\n//# sourceMappingURL=VideoFxProcessor.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.VideoFxSegmentationRateManager = void 0;\\nconst VideoFxConstants_1 = __webpack_require__(/*! ./VideoFxConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\\\");\\n/**\\n * [[VideoFxSegmentationRateManager]] Mechanism that can be used to maximize\\n * frequency of the segmentation operations while maintaining a target amount\\n * of resource utilization.\\n */\\nclass VideoFxSegmentationRateManager {\\n constructor(logger, targetSegmentationCycleTime) {\\n this.logger = logger;\\n // Max amount of compute we want to offer to action (converted from\\n // percentage to decimal)\\n this.targetSegmentationCyclePercentage = targetSegmentationCycleTime / 100;\\n // Variables for recording timing within cycle\\n this.frameCountOverSamplingPeriod = 0;\\n this.totalSegmentationDurationOverSamplingPeriod = 0;\\n this.samplingPeriodStartTime = performance.now();\\n this.framesPerSegmentation = VideoFxConstants_1.RESOURCE_CONSTRAINTS.SEGMENTATION_DEFAULT_FRAMES_PER_SEGMENTATION;\\n }\\n /**\\n * Invoked on every frame to increment the running count of frames being processed\\n */\\n submitFrame() {\\n this.frameCountOverSamplingPeriod++;\\n }\\n /**\\n * Invoked on every frame to coordinate when the segmentation should be\\n * executed so that we are maintaing a segmentation rate of once per every\\n * framesPerSegmentation frames.\\n * @returns boolean for whether or not we want to perform an action on the current\\n * frame\\n */\\n shouldApplySegmentation() {\\n return this.frameCountOverSamplingPeriod % this.framesPerSegmentation === 0;\\n }\\n /**\\n * Starts the timing of the current action\\n */\\n startSegmentation() {\\n this.frameSegmentationStartTime = performance.now();\\n }\\n /**\\n * Invoked after the action to notify the compute manager. Afterwards the\\n * manager will make adjustments to action rates to maintain a value below compute\\n * ceiling\\n */\\n completeSegmentation() {\\n this.totalSegmentationDurationOverSamplingPeriod +=\\n performance.now() - this.frameSegmentationStartTime;\\n // Check if the sampling period has ended. If so, check if frames per\\n // segmentation needs to be updated\\n if (this.frameCountOverSamplingPeriod >=\\n VideoFxConstants_1.RESOURCE_CONSTRAINTS.SEGMENTATION_SAMPLING_PERIOD_FRAME_COUNT) {\\n this.adjustFramesPerSegmentation(this.totalSegmentationDurationOverSamplingPeriod /\\n (performance.now() - this.samplingPeriodStartTime));\\n }\\n }\\n /**\\n * Increase or decrease the frames per segmentation so that we remain as performant as possible,\\n * but also below the targetSegmentationCycleTime\\n * @param currentSegmentationCycleTime Current ratio of frame processing allocated to a specific action\\n */\\n adjustFramesPerSegmentation(currentSegmentationCycleTime) {\\n // Compute is too high -> increase action period (slow down)\\n if (currentSegmentationCycleTime > this.targetSegmentationCyclePercentage) {\\n this.framesPerSegmentation++;\\n this.logger.info(`Segmentation cycle percentage above the configured maximal value. ` +\\n `Decreasing segmentation rate to 1 segmentation per ` +\\n `${this.framesPerSegmentation} frames`);\\n // Compute is too low -> decrease action period (speed up)\\n }\\n else if (this.framesPerSegmentation > 1 &&\\n currentSegmentationCycleTime < this.targetSegmentationCyclePercentage) {\\n this.framesPerSegmentation--;\\n this.logger.info(`Segmentation cycle percentage below the configured maximal value. ` +\\n `Increasing segmentation rate to 1 segmentation per ` +\\n `${this.framesPerSegmentation} frames`);\\n }\\n // Reset for next compute sample/cycle\\n this.totalSegmentationDurationOverSamplingPeriod = 0;\\n this.frameCountOverSamplingPeriod = 0;\\n this.samplingPeriodStartTime = performance.now();\\n }\\n}\\nexports.VideoFxSegmentationRateManager = VideoFxSegmentationRateManager;\\n//# sourceMappingURL=VideoFxSegmentationRateManager.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 * [[VideoSource]] contains the information of a video source.\\n */\\nclass VideoSource {\\n}\\nexports[\\\"default\\\"] = VideoSource;\\n//# sourceMappingURL=VideoSource.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 * [[DefaultVideoStreamIdSet]] implements [[VideoStreamIdSet]].\\n */\\nclass DefaultVideoStreamIdSet {\\n constructor(ids) {\\n this.ids = new Set(ids);\\n }\\n add(streamId) {\\n this.ids.add(streamId);\\n }\\n array() {\\n const values = Array.from(this.ids.values());\\n return values.sort((a, b) => a - b);\\n }\\n contain(streamId) {\\n return this.ids.has(streamId);\\n }\\n forEach(callbackFn) {\\n this.ids.forEach(callbackFn);\\n }\\n empty() {\\n return this.ids.size === 0;\\n }\\n size() {\\n return this.ids.size;\\n }\\n equal(other) {\\n if (!other) {\\n return this.ids.size === 0;\\n }\\n const x = this.array();\\n const y = other.array();\\n if (x.length !== y.length) {\\n return false;\\n }\\n for (let i = 0; i < x.length; i++) {\\n if (x[i] !== y[i]) {\\n return false;\\n }\\n }\\n return true;\\n }\\n clone() {\\n return new DefaultVideoStreamIdSet(this.array());\\n }\\n remove(streamId) {\\n this.ids.delete(streamId);\\n }\\n toJSON() {\\n return this.array();\\n }\\n truncate(length) {\\n const x = this.array();\\n return new DefaultVideoStreamIdSet(x.splice(0, length));\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoStreamIdSet;\\n//# sourceMappingURL=DefaultVideoStreamIdSet.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\nconst VideoStreamDescription_1 = __webpack_require__(/*! ./VideoStreamDescription */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js\\\");\\n/**\\n * [[DefaultVideoStreamIndex]] implements [[VideoStreamIndex]] to facilitate video stream subscription\\n * and includes query functions for stream id and attendee id.\\n */\\nclass DefaultVideoStreamIndex {\\n constructor(logger) {\\n this.logger = logger;\\n this.currentIndex = null;\\n this.indexForSubscribe = null;\\n this.currentSubscribeAck = null;\\n // These are based on the index at the time of the last Subscribe Ack\\n this.subscribeTrackToStreamMap = null;\\n this.subscribeStreamToAttendeeMap = null;\\n this.subscribeStreamToExternalUserIdMap = null;\\n this.subscribeSsrcToStreamMap = null;\\n // These are based on the most up to date index\\n this.streamToAttendeeMap = null;\\n this.streamToExternalUserIdMap = null;\\n this.videoStreamDescription = new VideoStreamDescription_1.default();\\n this.videoStreamDescription.trackLabel = 'AmazonChimeExpressVideo';\\n this.videoStreamDescription.streamId = 2;\\n this.videoStreamDescription.groupId = 2;\\n }\\n localStreamDescriptions() {\\n // localStreamDescriptions are used to construct IndexFrame\\n // old behavior for single video is to have streamId and groupId trackLabel fixed as the follows\\n return [this.videoStreamDescription.clone()];\\n }\\n convertBpsToKbps(avgBitrateBps) {\\n if (avgBitrateBps > 0 && avgBitrateBps < 1000) {\\n return 1;\\n }\\n else {\\n return Math.trunc(avgBitrateBps / 1000);\\n }\\n }\\n remoteStreamDescriptions() {\\n if (!this.currentIndex || !this.currentIndex.sources) {\\n return [];\\n }\\n const streamInfos = [];\\n this.currentIndex.sources.forEach(source => {\\n const description = new VideoStreamDescription_1.default();\\n description.attendeeId = source.attendeeId;\\n description.groupId = source.groupId;\\n description.streamId = source.streamId;\\n description.maxBitrateKbps = source.maxBitrateKbps;\\n description.avgBitrateKbps = this.convertBpsToKbps(source.avgBitrateBps);\\n streamInfos.push(description);\\n });\\n return streamInfos;\\n }\\n integrateUplinkPolicyDecision(param) {\\n if (!!param && param.length) {\\n const encodingParam = param[0];\\n this.videoStreamDescription.maxBitrateKbps = encodingParam.maxBitrate / 1000;\\n this.videoStreamDescription.maxFrameRate = encodingParam.maxFramerate;\\n }\\n }\\n integrateIndexFrame(indexFrame) {\\n this.currentIndex = indexFrame;\\n // In the Amazon Chime SDKs, we assume a one to one mapping of group ID to profile ID when creating\\n // video tiles (multiple video sources are supported through applying a `Modality` to a given profile/session token)\\n //\\n // We enforce this here to mitigate any possible duplicate group IDs left from a reconnection where the previous\\n // signal channel hasn't been timed out yet. To guarantee we receive the latest stream we use the highest group ID\\n // since they are monotonically increasing.\\n const attendeeIdToMainGroupIdMap = new Map();\\n // Improve performance by not filtering sources unless\\n // we know the list will actually change\\n let attendeeWithMultipleGroupIdsExists = false;\\n for (const source of indexFrame.sources) {\\n if (!attendeeIdToMainGroupIdMap.has(source.attendeeId)) {\\n // We haven't see this attendee ID so just keep track of it\\n attendeeIdToMainGroupIdMap.set(source.attendeeId, source.groupId);\\n continue;\\n }\\n // Otherwise see if we should use the group ID corresponding to this source (we prefer the highest for each attendee)\\n const currentGroupId = attendeeIdToMainGroupIdMap.get(source.attendeeId);\\n if (currentGroupId < source.groupId) {\\n this.logger.warn(`Old group ID ${currentGroupId} found for attendee ID ${source.attendeeId}, replacing with newer group ID ${source.groupId}`);\\n attendeeIdToMainGroupIdMap.set(source.attendeeId, source.groupId);\\n }\\n attendeeWithMultipleGroupIdsExists = true;\\n }\\n if (attendeeWithMultipleGroupIdsExists) {\\n // Only use the sources corresponding to the main group IDs for the given attendee ID\\n this.currentIndex.sources = this.currentIndex.sources.filter(source => attendeeIdToMainGroupIdMap.get(source.attendeeId) === source.groupId);\\n }\\n // Null out cached maps, these will be recreated on demand\\n this.streamToAttendeeMap = null;\\n this.streamToExternalUserIdMap = null;\\n }\\n subscribeFrameSent() {\\n // This is called just as a Subscribe is being sent. Save corresponding Index\\n this.indexForSubscribe = this.currentIndex;\\n }\\n integrateSubscribeAckFrame(subscribeAck) {\\n this.currentSubscribeAck = subscribeAck;\\n // These are valid until the next Subscribe Ack even if the index is updated\\n this.subscribeTrackToStreamMap = this.buildTrackToStreamMap(this.currentSubscribeAck);\\n this.subscribeSsrcToStreamMap = this.buildSSRCToStreamMap(this.currentSubscribeAck);\\n this.subscribeStreamToAttendeeMap = this.buildStreamToAttendeeMap(this.indexForSubscribe);\\n this.subscribeStreamToExternalUserIdMap = this.buildStreamExternalUserIdMap(this.indexForSubscribe);\\n }\\n integrateBitratesFrame(bitrates) {\\n if (this.currentIndex) {\\n for (const bitrate of bitrates.bitrates) {\\n const source = this.currentIndex.sources.find(source => source.streamId === bitrate.sourceStreamId);\\n if (source !== undefined) {\\n source.avgBitrateBps = bitrate.avgBitrateBps;\\n }\\n }\\n }\\n }\\n allStreams() {\\n const set = new DefaultVideoStreamIdSet_1.default();\\n if (this.currentIndex) {\\n for (const source of this.currentIndex.sources) {\\n set.add(source.streamId);\\n }\\n }\\n return set;\\n }\\n allVideoSendingSourcesExcludingSelf(selfAttendeeId) {\\n const videoSources = [];\\n const attendeeSet = new Set();\\n if (this.currentIndex) {\\n if (this.currentIndex.sources && this.currentIndex.sources.length) {\\n for (const stream of this.currentIndex.sources) {\\n const { attendeeId, externalUserId, mediaType } = stream;\\n if (attendeeId !== selfAttendeeId && mediaType === SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n if (!attendeeSet.has(attendeeId)) {\\n videoSources.push({ attendee: { attendeeId, externalUserId } });\\n attendeeSet.add(attendeeId);\\n }\\n }\\n }\\n }\\n }\\n return videoSources;\\n }\\n streamSelectionUnderBandwidthConstraint(selfAttendeeId, largeTileAttendeeIds, smallTileAttendeeIds, bandwidthKbps) {\\n const newAttendees = new Set();\\n if (this.currentIndex) {\\n for (const stream of this.currentIndex.sources) {\\n if (stream.attendeeId === selfAttendeeId || stream.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n if (!largeTileAttendeeIds.has(stream.attendeeId) &&\\n !smallTileAttendeeIds.has(stream.attendeeId)) {\\n newAttendees.add(stream.attendeeId);\\n }\\n }\\n }\\n const attendeeToStreamDescriptorMap = this.buildAttendeeToSortedStreamDescriptorMapExcludingSelf(selfAttendeeId);\\n const selectionMap = new Map();\\n let usage = 0;\\n attendeeToStreamDescriptorMap.forEach((streams, attendeeId) => {\\n selectionMap.set(attendeeId, streams[0]);\\n usage += streams[0].maxBitrateKbps;\\n });\\n usage = this.trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap, largeTileAttendeeIds, usage, bandwidthKbps, selectionMap);\\n this.trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap, newAttendees, usage, bandwidthKbps, selectionMap);\\n const streamSelectionSet = new DefaultVideoStreamIdSet_1.default();\\n for (const source of selectionMap.values()) {\\n streamSelectionSet.add(source.streamId);\\n }\\n return streamSelectionSet;\\n }\\n highestQualityStreamFromEachGroupExcludingSelf(selfAttendeeId) {\\n const set = new DefaultVideoStreamIdSet_1.default();\\n if (this.currentIndex) {\\n const maxes = new Map();\\n for (const source of this.currentIndex.sources) {\\n if (source.attendeeId === selfAttendeeId || source.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n if (!maxes.has(source.groupId) ||\\n source.maxBitrateKbps > maxes.get(source.groupId).maxBitrateKbps) {\\n maxes.set(source.groupId, source);\\n }\\n }\\n for (const source of maxes.values()) {\\n set.add(source.streamId);\\n }\\n }\\n return set;\\n }\\n numberOfVideoPublishingParticipantsExcludingSelf(selfAttendeeId) {\\n return this.highestQualityStreamFromEachGroupExcludingSelf(selfAttendeeId).array().length;\\n }\\n numberOfParticipants() {\\n if (!!this.currentIndex.numParticipants) {\\n return this.currentIndex.numParticipants;\\n }\\n return -1;\\n }\\n attendeeIdForTrack(trackId) {\\n const streamId = this.streamIdForTrack(trackId);\\n if (streamId === undefined || !this.subscribeStreamToAttendeeMap) {\\n this.logger.warn(`no attendee found for track ${trackId}`);\\n return '';\\n }\\n const attendeeId = this.subscribeStreamToAttendeeMap.get(streamId);\\n if (!attendeeId) {\\n this.logger.info(`track ${trackId} (stream ${streamId}) does not correspond to a known attendee`);\\n return '';\\n }\\n return attendeeId;\\n }\\n externalUserIdForTrack(trackId) {\\n const streamId = this.streamIdForTrack(trackId);\\n if (streamId === undefined || !this.subscribeStreamToExternalUserIdMap) {\\n this.logger.warn(`no external user id found for track ${trackId}`);\\n return '';\\n }\\n const externalUserId = this.subscribeStreamToExternalUserIdMap.get(streamId);\\n if (!externalUserId) {\\n this.logger.info(`track ${trackId} (stream ${streamId}) does not correspond to a known externalUserId`);\\n return '';\\n }\\n return externalUserId;\\n }\\n attendeeIdForStreamId(streamId) {\\n if (!this.streamToAttendeeMap) {\\n if (this.currentIndex) {\\n this.streamToAttendeeMap = this.buildStreamToAttendeeMap(this.currentIndex);\\n }\\n else {\\n return '';\\n }\\n }\\n const attendeeId = this.streamToAttendeeMap.get(streamId);\\n if (!attendeeId) {\\n this.logger.info(`stream ${streamId}) does not correspond to a known attendee`);\\n return '';\\n }\\n return attendeeId;\\n }\\n groupIdForStreamId(streamId) {\\n if (!this.currentIndex || !this.currentIndex.sources) {\\n return undefined;\\n }\\n for (const source of this.currentIndex.sources) {\\n if (source.streamId === streamId) {\\n return source.groupId;\\n }\\n }\\n // If wasn't found in current index, then it could be in index used in last subscribe\\n if (!!this.indexForSubscribe) {\\n for (const source of this.indexForSubscribe.sources) {\\n if (source.streamId === streamId) {\\n return source.groupId;\\n }\\n }\\n }\\n return undefined;\\n }\\n StreamIdsInSameGroup(streamId1, streamId2) {\\n if (this.groupIdForStreamId(streamId1) === this.groupIdForStreamId(streamId2)) {\\n return true;\\n }\\n return false;\\n }\\n streamIdForTrack(trackId) {\\n if (!this.subscribeTrackToStreamMap) {\\n return undefined;\\n }\\n return this.subscribeTrackToStreamMap.get(trackId);\\n }\\n streamIdForSSRC(ssrcId) {\\n if (!this.subscribeSsrcToStreamMap) {\\n return undefined;\\n }\\n return this.subscribeSsrcToStreamMap.get(ssrcId);\\n }\\n overrideStreamIdMappings(previous, current) {\\n if (this.subscribeTrackToStreamMap) {\\n for (const [track, streamId] of this.subscribeTrackToStreamMap.entries()) {\\n if (previous === streamId) {\\n this.subscribeTrackToStreamMap.set(track, current);\\n break;\\n }\\n }\\n }\\n if (this.subscribeSsrcToStreamMap) {\\n for (const [ssrc, streamId] of this.subscribeSsrcToStreamMap.entries()) {\\n if (previous === streamId) {\\n this.subscribeSsrcToStreamMap.set(ssrc, current);\\n break;\\n }\\n }\\n }\\n }\\n streamsPausedAtSource() {\\n const paused = new DefaultVideoStreamIdSet_1.default();\\n if (this.currentIndex) {\\n for (const streamId of this.currentIndex.pausedAtSourceIds) {\\n paused.add(streamId);\\n }\\n }\\n return paused;\\n }\\n buildTrackToStreamMap(subscribeAck) {\\n const map = new Map();\\n this.logger.debug(() => `trackMap ${JSON.stringify(subscribeAck.tracks)}`);\\n for (const trackMapping of subscribeAck.tracks) {\\n if (trackMapping.trackLabel.length > 0 && trackMapping.streamId > 0) {\\n map.set(trackMapping.trackLabel, trackMapping.streamId);\\n }\\n }\\n return map;\\n }\\n buildSSRCToStreamMap(subscribeAck) {\\n const map = new Map();\\n this.logger.debug(() => `ssrcMap ${JSON.stringify(subscribeAck.tracks)}`);\\n for (const trackMapping of subscribeAck.tracks) {\\n if (trackMapping.trackLabel.length > 0 && trackMapping.streamId > 0) {\\n map.set(trackMapping.ssrc, trackMapping.streamId);\\n }\\n }\\n return map;\\n }\\n buildStreamToAttendeeMap(indexFrame) {\\n const map = new Map();\\n if (indexFrame) {\\n for (const source of indexFrame.sources) {\\n map.set(source.streamId, source.attendeeId);\\n }\\n }\\n return map;\\n }\\n buildStreamExternalUserIdMap(indexFrame) {\\n const map = new Map();\\n if (indexFrame) {\\n for (const source of indexFrame.sources) {\\n if (!!source.externalUserId) {\\n map.set(source.streamId, source.externalUserId);\\n }\\n }\\n }\\n return map;\\n }\\n trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap, highAttendees, currentUsage, bandwidthKbps, currentSelectionRef) {\\n for (const attendeeId of highAttendees) {\\n if (currentUsage >= bandwidthKbps) {\\n break;\\n }\\n if (attendeeToStreamDescriptorMap.has(attendeeId)) {\\n const streams = attendeeToStreamDescriptorMap.get(attendeeId);\\n for (const l of streams.reverse()) {\\n if (currentUsage - currentSelectionRef.get(attendeeId).maxBitrateKbps + l.maxBitrateKbps <\\n bandwidthKbps) {\\n currentUsage =\\n currentUsage - currentSelectionRef.get(attendeeId).maxBitrateKbps + l.maxBitrateKbps;\\n currentSelectionRef.set(attendeeId, l);\\n break;\\n }\\n }\\n }\\n }\\n return currentUsage;\\n }\\n buildAttendeeToSortedStreamDescriptorMapExcludingSelf(selfAttendeeId) {\\n const attendeeToStreamDescriptorMap = new Map();\\n if (this.currentIndex) {\\n for (const source of this.currentIndex.sources) {\\n if (source.attendeeId === selfAttendeeId || source.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n if (attendeeToStreamDescriptorMap.has(source.attendeeId)) {\\n attendeeToStreamDescriptorMap.get(source.attendeeId).push(source);\\n }\\n else {\\n attendeeToStreamDescriptorMap.set(source.attendeeId, [source]);\\n }\\n }\\n }\\n attendeeToStreamDescriptorMap.forEach((streams, _attendeeId) => {\\n streams.sort((stream1, stream2) => {\\n if (stream1.maxBitrateKbps > stream2.maxBitrateKbps) {\\n return 1;\\n }\\n else if (stream1.maxBitrateKbps < stream2.maxBitrateKbps) {\\n return -1;\\n }\\n else {\\n return 0;\\n }\\n });\\n });\\n return attendeeToStreamDescriptorMap;\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoStreamIndex;\\n//# sourceMappingURL=DefaultVideoStreamIndex.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIndex_1 = __webpack_require__(/*! ./DefaultVideoStreamIndex */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js\\\");\\nconst VideoStreamDescription_1 = __webpack_require__(/*! ./VideoStreamDescription */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js\\\");\\n/**\\n * [[SimulcastTransceiverController]] implements [[VideoStreamIndex]] to facilitate video stream\\n * subscription and includes query functions for stream id and attendee id.\\n */\\nclass SimulcastVideoStreamIndex extends DefaultVideoStreamIndex_1.default {\\n constructor(logger) {\\n super(logger);\\n this.streamIdToBitrateKbpsMap = new Map();\\n this._localStreamInfos = [];\\n this._lastBitRateMsgTime = Date.now();\\n }\\n localStreamDescriptions() {\\n const clonedDescriptions = [];\\n this._localStreamInfos.forEach(desc => {\\n clonedDescriptions.push(desc.clone());\\n });\\n return clonedDescriptions;\\n }\\n integrateUplinkPolicyDecision(encodingParams) {\\n // Reuse local streams (that might already have stream IDs allocated) until\\n // there are no more and then add as many new local streams as needed\\n let hasStreamsToReuse = true;\\n let localStreamIndex = 0;\\n for (let i = 0; i < encodingParams.length; i++) {\\n const targetMaxBitrateKbps = encodingParams[i].maxBitrate / 1000;\\n const targetMaxFrameRate = encodingParams[i].maxFramerate;\\n if (!hasStreamsToReuse || i === this._localStreamInfos.length) {\\n hasStreamsToReuse = false;\\n const newInfo = new VideoStreamDescription_1.default();\\n newInfo.maxBitrateKbps = targetMaxBitrateKbps;\\n newInfo.maxFrameRate = targetMaxFrameRate;\\n newInfo.disabledByUplinkPolicy = targetMaxBitrateKbps === 0 ? true : false;\\n if (targetMaxBitrateKbps !== 0) {\\n newInfo.timeEnabled = Date.now();\\n }\\n this._localStreamInfos.push(newInfo);\\n localStreamIndex++;\\n continue;\\n }\\n if (this._localStreamInfos[localStreamIndex].maxBitrateKbps === 0 &&\\n targetMaxBitrateKbps > 0) {\\n this._localStreamInfos[localStreamIndex].timeEnabled = Date.now();\\n }\\n this._localStreamInfos[localStreamIndex].maxBitrateKbps = targetMaxBitrateKbps;\\n this._localStreamInfos[localStreamIndex].maxFrameRate = targetMaxFrameRate;\\n this._localStreamInfos[localStreamIndex].disabledByUplinkPolicy =\\n targetMaxBitrateKbps === 0 ? true : false;\\n if (this._localStreamInfos[localStreamIndex].disabledByUplinkPolicy === true) {\\n this._localStreamInfos[localStreamIndex].disabledByWebRTC = false;\\n }\\n localStreamIndex++;\\n }\\n if (hasStreamsToReuse) {\\n // splice is zero-based, remove stream starting from localStreamIndex\\n this._localStreamInfos.splice(localStreamIndex);\\n }\\n }\\n integrateBitratesFrame(bitrateFrame) {\\n super.integrateBitratesFrame(bitrateFrame);\\n const stillSending = new Set();\\n const existingSet = new Set(this.streamIdToBitrateKbpsMap.keys());\\n for (const bitrateMsg of bitrateFrame.bitrates) {\\n stillSending.add(bitrateMsg.sourceStreamId);\\n this.streamIdToBitrateKbpsMap.set(bitrateMsg.sourceStreamId, this.convertBpsToKbps(bitrateMsg.avgBitrateBps));\\n }\\n for (const id of existingSet) {\\n if (!stillSending.has(id)) {\\n const avgBitrateBps = this.streamIdToBitrateKbpsMap.get(id);\\n if (avgBitrateBps === SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE) {\\n this.streamIdToBitrateKbpsMap.set(id, SimulcastVideoStreamIndex.RECENTLY_INACTIVE_STREAM_BITRATE);\\n }\\n else {\\n this.streamIdToBitrateKbpsMap.set(id, SimulcastVideoStreamIndex.NOT_SENDING_STREAM_BITRATE);\\n }\\n }\\n }\\n for (let i = 0; i < this._localStreamInfos.length; i++) {\\n this._localStreamInfos[i].disabledByWebRTC = false;\\n const streamId = this._localStreamInfos[i].streamId;\\n if (this._localStreamInfos[i].disabledByUplinkPolicy) {\\n continue;\\n }\\n if (this.streamIdToBitrateKbpsMap.has(streamId)) {\\n const avgBitrateKbps = this.streamIdToBitrateKbpsMap.get(streamId);\\n if (avgBitrateKbps === SimulcastVideoStreamIndex.NOT_SENDING_STREAM_BITRATE &&\\n this._lastBitRateMsgTime - this._localStreamInfos[i].timeEnabled >\\n SimulcastVideoStreamIndex.BitratesMsgFrequencyMs) {\\n this._localStreamInfos[i].disabledByWebRTC = true;\\n }\\n }\\n else {\\n // Do not flag as disabled if it was recently enabled\\n if (this._lastBitRateMsgTime - this._localStreamInfos[i].timeEnabled >\\n SimulcastVideoStreamIndex.BitratesMsgFrequencyMs) {\\n this._localStreamInfos[i].disabledByWebRTC = true;\\n }\\n }\\n }\\n this._lastBitRateMsgTime = Date.now();\\n this.logLocalStreamDescriptions();\\n }\\n logLocalStreamDescriptions() {\\n let msg = '';\\n for (const desc of this._localStreamInfos) {\\n msg += `streamId=${desc.streamId} maxBitrate=${desc.maxBitrateKbps} disabledByWebRTC=${desc.disabledByWebRTC} disabledByUplink=${desc.disabledByUplinkPolicy}\\\\n`;\\n }\\n this.logger.debug(() => {\\n return msg;\\n });\\n }\\n integrateIndexFrame(indexFrame) {\\n super.integrateIndexFrame(indexFrame);\\n const newIndexStreamIdSet = new Set();\\n const existingSet = new Set(this.streamIdToBitrateKbpsMap.keys());\\n for (const stream of this.currentIndex.sources) {\\n if (stream.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n newIndexStreamIdSet.add(stream.streamId);\\n if (!this.streamIdToBitrateKbpsMap.has(stream.streamId)) {\\n this.streamIdToBitrateKbpsMap.set(stream.streamId, SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE);\\n }\\n }\\n for (const id of existingSet) {\\n if (!newIndexStreamIdSet.has(id)) {\\n this.streamIdToBitrateKbpsMap.delete(id);\\n }\\n }\\n }\\n integrateSubscribeAckFrame(subscribeAck) {\\n super.integrateSubscribeAckFrame(subscribeAck);\\n if (!subscribeAck.allocations || subscribeAck.allocations === undefined) {\\n return;\\n }\\n let localStreamStartIndex = 0;\\n for (const allocation of subscribeAck.allocations) {\\n // track label is what we offered to the server\\n if (this._localStreamInfos.length < localStreamStartIndex + 1) {\\n this.logger.info('simulcast: allocation has more than number of local streams');\\n break;\\n }\\n this._localStreamInfos[localStreamStartIndex].groupId = allocation.groupId;\\n this._localStreamInfos[localStreamStartIndex].streamId = allocation.streamId;\\n if (!this.streamIdToBitrateKbpsMap.has(allocation.streamId)) {\\n this.streamIdToBitrateKbpsMap.set(allocation.streamId, SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE);\\n }\\n localStreamStartIndex++;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = SimulcastVideoStreamIndex;\\n// First time when the bitrate of a stream id is missing from bitrate message, mark it as UNSEEN\\nSimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE = -2;\\n// Second time when the bitrate is missing, mark it as recently inactive\\nSimulcastVideoStreamIndex.RECENTLY_INACTIVE_STREAM_BITRATE = -1;\\n// Third time when bitrate is missing, mark it as not sending\\nSimulcastVideoStreamIndex.NOT_SENDING_STREAM_BITRATE = 0;\\nSimulcastVideoStreamIndex.BitratesMsgFrequencyMs = 4000;\\n//# sourceMappingURL=SimulcastVideoStreamIndex.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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\\\");\\nclass VideoStreamDescription {\\n constructor(attendeeId, groupId, streamId, maxBitrateKbps, avgBitrateKbps) {\\n this.attendeeId = '';\\n this.groupId = 0;\\n this.streamId = 0;\\n this.ssrc = 0;\\n this.trackLabel = '';\\n this.maxBitrateKbps = 0;\\n // average bitrate is updated every 2 seconds via bitrates messages\\n this.avgBitrateKbps = 0;\\n this.maxFrameRate = 0;\\n this.timeEnabled = 0;\\n this.disabledByWebRTC = false;\\n this.disabledByUplinkPolicy = false;\\n this.attendeeId = attendeeId;\\n this.groupId = groupId;\\n this.streamId = streamId;\\n this.maxBitrateKbps = maxBitrateKbps;\\n this.avgBitrateKbps = avgBitrateKbps;\\n }\\n clone() {\\n const newInfo = new VideoStreamDescription();\\n newInfo.attendeeId = this.attendeeId;\\n newInfo.groupId = this.groupId;\\n newInfo.streamId = this.streamId;\\n newInfo.ssrc = this.ssrc;\\n newInfo.trackLabel = this.trackLabel;\\n newInfo.maxBitrateKbps = this.maxBitrateKbps;\\n newInfo.avgBitrateKbps = this.avgBitrateKbps;\\n newInfo.maxFrameRate = this.maxFrameRate;\\n newInfo.timeEnabled = this.timeEnabled;\\n newInfo.disabledByWebRTC = this.disabledByWebRTC;\\n newInfo.disabledByUplinkPolicy = this.disabledByUplinkPolicy;\\n return newInfo;\\n }\\n toStreamDescriptor() {\\n const descriptor = SignalingProtocol_js_1.SdkStreamDescriptor.create();\\n descriptor.mediaType = SignalingProtocol_js_1.SdkStreamMediaType.VIDEO;\\n descriptor.trackLabel = this.trackLabel;\\n descriptor.attendeeId = this.attendeeId;\\n descriptor.streamId = this.streamId;\\n descriptor.groupId = this.groupId;\\n descriptor.framerate = this.maxFrameRate;\\n descriptor.maxBitrateKbps =\\n this.disabledByUplinkPolicy || this.disabledByWebRTC ? 0 : this.maxBitrateKbps;\\n descriptor.avgBitrateBps = this.avgBitrateKbps;\\n return descriptor;\\n }\\n}\\nexports[\\\"default\\\"] = VideoStreamDescription;\\n//# sourceMappingURL=VideoStreamDescription.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ \\\"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\\\");\\nconst VideoTileState_1 = __webpack_require__(/*! ./VideoTileState */ \\\"./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js\\\");\\nclass DefaultVideoTile {\\n constructor(tileId, localTile, tileController, devicePixelRatioMonitor) {\\n this.tileController = tileController;\\n this.devicePixelRatioMonitor = devicePixelRatioMonitor;\\n this.tileState = new VideoTileState_1.default();\\n this.tileState.tileId = tileId;\\n this.tileState.localTile = localTile;\\n this.devicePixelRatioMonitor.registerObserver(this);\\n }\\n /**\\n * Connect a video stream to a video element by setting the srcObject of the video element to the video stream.\\n * @param videoStream The video stream input.\\n * @param videoElement The video element input.\\n * @param localTile Flag to indicate whether this is a local video.\\n */\\n static connectVideoStreamToVideoElement(videoStream, videoElement, localTile) {\\n const transform = localTile && videoStream.getVideoTracks()[0].getSettings().facingMode !== 'environment'\\n ? 'rotateY(180deg)'\\n : '';\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disablePictureInPicture', localTile);\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disableRemotePlayback', localTile);\\n if (videoElement.style.transform !== transform) {\\n videoElement.style.transform = transform;\\n }\\n if (videoElement.hasAttribute('controls')) {\\n videoElement.removeAttribute('controls');\\n }\\n if (!videoElement.hasAttribute('autoplay')) {\\n videoElement.setAttribute('autoplay', 'true');\\n }\\n // playsinline is needed for video to play in iPhone in non-fullscreen mode.\\n // See https://developer.apple.com/documentation/webkit/safari_tools_and_features/delivering_video_content_for_safari#3030250\\n if (!videoElement.hasAttribute('playsinline')) {\\n videoElement.setAttribute('playsinline', 'true');\\n }\\n // Note that setting the *attribute* 'muted' affects whether the element\\n // is muted *by default* (`.defaultMuted`), not whether it is currently muted (`.muted`).\\n // https://html.spec.whatwg.org/#dom-media-defaultmuted\\n if (!videoElement.hasAttribute('muted')) {\\n // The default value…\\n videoElement.setAttribute('muted', 'true');\\n // … and the value right now.\\n videoElement.muted = true;\\n }\\n if (videoElement.srcObject !== videoStream) {\\n videoElement.srcObject = videoStream;\\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 if (new DefaultBrowserBehavior_1.default().requiresVideoPlayWorkaround() && videoElement.paused) {\\n const promise = videoElement.play();\\n // See https://bugs.webkit.org/show_bug.cgi?id=243519 for more information.\\n // https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/\\n /* istanbul ignore else */\\n if (promise !== undefined) {\\n promise\\n .catch(error => {\\n console.warn('Error playing video in Safari', error);\\n })\\n .then(() => {\\n // `then` block is needed, without it we run into black tile issue even though we catch the error.\\n console.debug('Video played successfully in Safari');\\n });\\n }\\n }\\n }\\n }\\n /**\\n * Disconnect a video stream from a video element by setting `HTMLVideoElement.srcObject` to `null`.\\n * @param videoElement The video element input.\\n * @param dueToPause A flag to indicate whether this function is called due to pausing video tile.\\n * Based on `keepLastFrameWhenPaused`, it sets `HTMLVideoElement.srcObject` to `null`.\\n * @param keepLastFrameWhenPaused If `true` and `dueToPause` is also `true`, then we will not set `HTMLVideoElement.srcObject` of the\\n * video element to `null` when it is paused and therefore, the last frame of the stream will be shown.\\n */\\n static disconnectVideoStreamFromVideoElement(videoElement, dueToPause, keepLastFrameWhenPaused = false) {\\n if (!videoElement) {\\n return;\\n }\\n if (dueToPause) {\\n if (!keepLastFrameWhenPaused) {\\n videoElement.srcObject = null;\\n videoElement.style.transform = '';\\n }\\n }\\n else {\\n if (!videoElement.srcObject) {\\n return;\\n }\\n videoElement.pause();\\n videoElement.style.transform = '';\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disablePictureInPicture', false);\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disableRemotePlayback', false);\\n videoElement.srcObject = null;\\n }\\n }\\n destroy() {\\n this.devicePixelRatioMonitor.removeObserver(this);\\n if (this.tileState.boundVideoElement &&\\n this.tileState.boundVideoElement.srcObject === this.tileState.boundVideoStream) {\\n DefaultVideoTile.disconnectVideoStreamFromVideoElement(this.tileState.boundVideoElement, false);\\n }\\n this.tileState = new VideoTileState_1.default();\\n }\\n devicePixelRatioChanged(newDevicePixelRatio) {\\n this.tileState.devicePixelRatio = newDevicePixelRatio;\\n this.sendTileStateUpdate();\\n }\\n id() {\\n return this.tileState.tileId;\\n }\\n state() {\\n return this.tileState.clone();\\n }\\n stateRef() {\\n return this.tileState;\\n }\\n bindVideoStream(attendeeId, localTile, mediaStream, contentWidth, contentHeight, streamId, externalUserId) {\\n let tileUpdated = false;\\n if (this.tileState.boundAttendeeId !== attendeeId) {\\n this.tileState.boundAttendeeId = attendeeId;\\n if (new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT)) {\\n this.tileState.isContent = true;\\n }\\n tileUpdated = true;\\n }\\n if (this.tileState.boundExternalUserId !== externalUserId) {\\n this.tileState.boundExternalUserId = externalUserId;\\n tileUpdated = true;\\n }\\n if (this.tileState.localTile !== localTile) {\\n this.tileState.localTile = localTile;\\n tileUpdated = true;\\n }\\n if (this.tileState.boundVideoStream !== mediaStream) {\\n this.tileState.boundVideoStream = mediaStream;\\n tileUpdated = true;\\n }\\n if (this.tileState.videoStreamContentWidth !== contentWidth) {\\n this.tileState.videoStreamContentWidth = contentWidth;\\n tileUpdated = true;\\n }\\n if (this.tileState.videoStreamContentHeight !== contentHeight) {\\n this.tileState.videoStreamContentHeight = contentHeight;\\n tileUpdated = true;\\n }\\n if (this.tileState.streamId !== streamId) {\\n this.tileState.streamId = streamId;\\n tileUpdated = true;\\n }\\n if (tileUpdated) {\\n this.sendTileStateUpdate();\\n }\\n }\\n bindVideoElement(videoElement) {\\n let tileUpdated = false;\\n if (this.tileState.boundVideoElement !== videoElement) {\\n this.tileState.boundVideoElement = videoElement;\\n tileUpdated = true;\\n }\\n if (this.tileState.boundVideoElement !== null) {\\n if (this.tileState.videoElementCSSWidthPixels !== videoElement.clientWidth) {\\n this.tileState.videoElementCSSWidthPixels = videoElement.clientWidth;\\n tileUpdated = true;\\n }\\n if (this.tileState.videoElementCSSHeightPixels !== videoElement.clientHeight) {\\n this.tileState.videoElementCSSHeightPixels = videoElement.clientHeight;\\n tileUpdated = true;\\n }\\n }\\n else {\\n this.tileState.videoElementCSSWidthPixels = null;\\n this.tileState.videoElementCSSHeightPixels = null;\\n }\\n if (tileUpdated) {\\n this.sendTileStateUpdate();\\n }\\n }\\n pause() {\\n if (!this.tileState.paused) {\\n this.tileState.paused = true;\\n this.sendTileStateUpdate();\\n }\\n }\\n unpause() {\\n if (this.tileState.paused) {\\n this.tileState.paused = false;\\n this.sendTileStateUpdate();\\n }\\n }\\n markPoorConnection() {\\n if (this.tileState.poorConnection) {\\n return false;\\n }\\n this.tileState.poorConnection = true;\\n this.sendTileStateUpdate();\\n return true;\\n }\\n unmarkPoorConnection() {\\n if (!this.tileState.poorConnection) {\\n return false;\\n }\\n this.tileState.poorConnection = false;\\n this.sendTileStateUpdate();\\n return true;\\n }\\n capture() {\\n if (!this.tileState.active) {\\n return null;\\n }\\n const canvas = document.createElement('canvas');\\n const video = this.tileState.boundVideoElement;\\n canvas.width = video.videoWidth || video.width;\\n canvas.height = video.videoHeight || video.height;\\n const ctx = canvas.getContext('2d');\\n ctx.drawImage(video, 0, 0, canvas.width, canvas.height);\\n return ctx.getImageData(0, 0, canvas.width, canvas.height);\\n }\\n setStreamId(id) {\\n this.tileState.streamId = id;\\n // `streamId` is not likely used by builders but we can't\\n // be sure so send a tile state update just in case.\\n this.tileController.sendTileStateUpdate(this.state());\\n }\\n sendTileStateUpdate() {\\n this.updateActiveState();\\n this.updateVideoStreamOnVideoElement();\\n this.updateVideoElementPhysicalPixels();\\n this.tileController.sendTileStateUpdate(this.state());\\n }\\n updateActiveState() {\\n this.tileState.active = !!(!this.tileState.paused &&\\n !this.tileState.poorConnection &&\\n this.tileState.boundAttendeeId &&\\n this.tileState.boundVideoElement &&\\n this.tileState.boundVideoStream);\\n }\\n updateVideoElementPhysicalPixels() {\\n if (typeof this.tileState.videoElementCSSWidthPixels === 'number' &&\\n typeof this.tileState.videoElementCSSHeightPixels === 'number') {\\n this.tileState.videoElementPhysicalWidthPixels =\\n this.tileState.devicePixelRatio * this.tileState.videoElementCSSWidthPixels;\\n this.tileState.videoElementPhysicalHeightPixels =\\n this.tileState.devicePixelRatio * this.tileState.videoElementCSSHeightPixels;\\n }\\n else {\\n this.tileState.videoElementPhysicalWidthPixels = null;\\n this.tileState.videoElementPhysicalHeightPixels = null;\\n }\\n }\\n updateVideoStreamOnVideoElement() {\\n if (this.tileState.active) {\\n DefaultVideoTile.connectVideoStreamToVideoElement(this.tileState.boundVideoStream, this.tileState.boundVideoElement, this.tileState.localTile);\\n }\\n else {\\n DefaultVideoTile.disconnectVideoStreamFromVideoElement(this.tileState.boundVideoElement, this.tileState.paused, this.tileController.keepLastFrameWhenPaused);\\n }\\n }\\n static setVideoElementFlag(videoElement, flag, value) {\\n if (flag in videoElement) {\\n // @ts-ignore\\n videoElement[flag] = value;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTile;\\n//# sourceMappingURL=DefaultVideoTile.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 * [[VideoTileState]] encapsulates the state of a [[VideoTile]]\\n */\\nclass VideoTileState {\\n constructor() {\\n /**\\n * The unique identifier for the [[VideoTile]] managed by [[VideoTileController]]. Each attendee can have at most one tileId.\\n */\\n this.tileId = null;\\n /**\\n * Indication of whether tile is associated with local video.\\n */\\n this.localTile = false;\\n /**\\n * Indication of whether the tile associated with the local attendee has started to play.\\n */\\n this.localTileStarted = false;\\n /**\\n * Indication of whether the tile has content-sharing video.\\n */\\n this.isContent = false;\\n /**\\n * Indication of whether the tile has active video stream. This value may be somewhat arbitrary in how it is calculated,\\n * it is recommended to use the more specific values (e.g. `paused`, `boundVideoElement`, and `boundVideoStream`) to\\n * determine activity as appropriate for your application.\\n */\\n this.active = false;\\n /**\\n * Indication of whether the tile has paused video stream.\\n */\\n this.paused = false;\\n /**\\n * Indication of whether the remote video is paused at publishing attendee. This field is not supported.\\n */\\n this.poorConnection = false;\\n /**\\n * The attendee id associated with the [[VideoTile]].\\n */\\n this.boundAttendeeId = null;\\n /**\\n * The user id associated with the [[VideoTile]].\\n */\\n this.boundExternalUserId = null;\\n /**\\n * The video stream bound with the [[VideoTile]].\\n */\\n this.boundVideoStream = null;\\n /**\\n * The HTMLVideoElement bound with the [[VideoTile]].\\n */\\n this.boundVideoElement = null;\\n /**\\n * The nameplate for the [[VideoTile]]. SDK users should use boundExternalUserId for user id instead of this field.\\n */\\n this.nameplate = null;\\n /**\\n * The intrinsic width of the video stream upon binding with the [[VideoTile]].\\n * Video stream intrinsic width could change and developers should use HTMLVideoElement listener for actual intrinsic width.\\n */\\n this.videoStreamContentWidth = null;\\n /**\\n * The intrinsic height of the video stream upon binding with the [[VideoTile]]\\n * Video stream intrinsic height could change and developers should use HTMLVideoElement listener for actual intrinsic height.\\n */\\n this.videoStreamContentHeight = null;\\n /**\\n * The CSS width in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementCSSWidthPixels = null;\\n /**\\n * The CSS height in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementCSSHeightPixels = null;\\n /**\\n * The device pixel ratio of the current display monitor.\\n */\\n this.devicePixelRatio = 0;\\n /**\\n * The physical width in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementPhysicalWidthPixels = null;\\n /**\\n * The physical height in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementPhysicalHeightPixels = null;\\n /**\\n * The unique identifier published by server to associate with bound video stream. It is defined in [[SignalingProtocol.proto]].\\n * Developers should avoid using this field directly.\\n */\\n this.streamId = null;\\n }\\n clone() {\\n const cloned = new VideoTileState();\\n cloned.tileId = this.tileId;\\n cloned.localTile = this.localTile;\\n cloned.isContent = this.isContent;\\n cloned.active = this.active;\\n cloned.paused = this.paused;\\n cloned.poorConnection = this.poorConnection;\\n cloned.boundAttendeeId = this.boundAttendeeId;\\n cloned.boundExternalUserId = this.boundExternalUserId;\\n cloned.boundVideoStream = this.boundVideoStream;\\n cloned.boundVideoElement = this.boundVideoElement;\\n cloned.nameplate = this.nameplate;\\n cloned.videoStreamContentWidth = this.videoStreamContentWidth;\\n cloned.videoStreamContentHeight = this.videoStreamContentHeight;\\n cloned.videoElementCSSWidthPixels = this.videoElementCSSWidthPixels;\\n cloned.videoElementCSSHeightPixels = this.videoElementCSSHeightPixels;\\n cloned.devicePixelRatio = this.devicePixelRatio;\\n cloned.videoElementPhysicalWidthPixels = this.videoElementPhysicalWidthPixels;\\n cloned.videoElementPhysicalHeightPixels = this.videoElementPhysicalHeightPixels;\\n cloned.streamId = this.streamId;\\n return cloned;\\n }\\n}\\nexports[\\\"default\\\"] = VideoTileState;\\n//# sourceMappingURL=VideoTileState.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js ***!\n \\**************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultDevicePixelRatioMonitor_1 = __webpack_require__(/*! ../devicepixelratiomonitor/DefaultDevicePixelRatioMonitor */ \\\"./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js\\\");\\nconst DevicePixelRatioWindowSource_1 = __webpack_require__(/*! ../devicepixelratiosource/DevicePixelRatioWindowSource */ \\\"./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.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\\\");\\nclass DefaultVideoTileController {\\n constructor(tileFactory, audioVideoController, logger) {\\n this.tileFactory = tileFactory;\\n this.audioVideoController = audioVideoController;\\n this.logger = logger;\\n this.tileMap = new Map();\\n this.nextTileId = 1;\\n this.currentLocalTile = null;\\n this.currentPausedTilesByIds = new Set();\\n this.keepLastFrameWhenPaused = false;\\n this.keepLastFrameWhenPaused = audioVideoController.configuration.keepLastFrameWhenPaused;\\n }\\n createDevicePixelRatioMonitorIfNeeded() {\\n if (this.devicePixelRatioMonitor) {\\n return;\\n }\\n this.devicePixelRatioMonitor = new DefaultDevicePixelRatioMonitor_1.default(new DevicePixelRatioWindowSource_1.default(), this.logger);\\n }\\n discardDevicePixelRatioMonitorIfNotNeeded() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.tileMap.size || !this.devicePixelRatioMonitor) {\\n return;\\n }\\n const monitor = this.devicePixelRatioMonitor;\\n this.devicePixelRatioMonitor = undefined;\\n return monitor.destroy();\\n });\\n }\\n bindVideoElement(tileId, videoElement) {\\n const tile = this.getVideoTile(tileId);\\n if (tile === null) {\\n this.logger.warn(`Ignoring video element binding for unknown tile id ${tileId}`);\\n return;\\n }\\n tile.bindVideoElement(videoElement);\\n }\\n unbindVideoElement(tileId, cleanUpVideoElement = true) {\\n const tile = this.getVideoTile(tileId);\\n if (tile === null) {\\n this.logger.warn(`Ignoring video element unbinding for unknown tile id ${tileId}`);\\n return;\\n }\\n this.logger.info('Unbinding the video element');\\n const videoElement = tile.stateRef().boundVideoElement;\\n tile.bindVideoElement(null);\\n if (cleanUpVideoElement) {\\n this.logger.info('Cleaning up the video element');\\n DefaultVideoTile_1.default.disconnectVideoStreamFromVideoElement(videoElement, false);\\n }\\n }\\n startLocalVideoTile() {\\n const tile = this.findOrCreateLocalVideoTile();\\n this.currentLocalTile.stateRef().localTileStarted = true;\\n this.audioVideoController.update({ needsRenegotiation: true });\\n return tile.id();\\n }\\n stopLocalVideoTile() {\\n if (!this.currentLocalTile) {\\n return;\\n }\\n this.currentLocalTile.stateRef().localTileStarted = false;\\n this.currentLocalTile.bindVideoStream(this.audioVideoController.configuration.credentials.attendeeId, true, null, null, null, null, this.audioVideoController.configuration.credentials.externalUserId);\\n this.audioVideoController.update({ needsRenegotiation: true });\\n }\\n hasStartedLocalVideoTile() {\\n return !!(this.currentLocalTile && this.currentLocalTile.stateRef().localTileStarted);\\n }\\n removeLocalVideoTile() {\\n if (this.currentLocalTile) {\\n this.removeVideoTile(this.currentLocalTile.id());\\n }\\n }\\n getLocalVideoTile() {\\n return this.currentLocalTile;\\n }\\n pauseVideoTile(tileId) {\\n const tile = this.getVideoTile(tileId);\\n if (tile) {\\n if (!this.currentPausedTilesByIds.has(tileId)) {\\n this.audioVideoController.pauseReceivingStream(tile.stateRef().streamId);\\n this.currentPausedTilesByIds.add(tileId);\\n }\\n tile.pause();\\n }\\n }\\n unpauseVideoTile(tileId) {\\n const tile = this.getVideoTile(tileId);\\n if (tile) {\\n if (this.currentPausedTilesByIds.has(tileId)) {\\n this.audioVideoController.resumeReceivingStream(tile.stateRef().streamId);\\n this.currentPausedTilesByIds.delete(tileId);\\n }\\n tile.unpause();\\n }\\n }\\n getVideoTile(tileId) {\\n return this.tileMap.has(tileId) ? this.tileMap.get(tileId) : null;\\n }\\n getVideoTileArea(tile) {\\n const state = tile.state();\\n let tileHeight = 0;\\n let tileWidth = 0;\\n if (state.boundVideoElement) {\\n tileHeight = state.boundVideoElement.clientHeight * state.devicePixelRatio;\\n tileWidth = state.boundVideoElement.clientWidth * state.devicePixelRatio;\\n }\\n return tileHeight * tileWidth;\\n }\\n getAllRemoteVideoTiles() {\\n const result = new Array();\\n this.tileMap.forEach((tile, tileId) => {\\n if (!this.currentLocalTile || tileId !== this.currentLocalTile.id()) {\\n result.push(tile);\\n }\\n });\\n return result;\\n }\\n getAllVideoTiles() {\\n return Array.from(this.tileMap.values());\\n }\\n addVideoTile(localTile = false) {\\n const tileId = this.nextTileId;\\n this.nextTileId += 1;\\n this.createDevicePixelRatioMonitorIfNeeded();\\n const tile = this.tileFactory.makeTile(tileId, localTile, this, this.devicePixelRatioMonitor);\\n this.tileMap.set(tileId, tile);\\n return tile;\\n }\\n removeVideoTile(tileId) {\\n if (!this.tileMap.has(tileId)) {\\n return;\\n }\\n const tile = this.tileMap.get(tileId);\\n if (this.currentLocalTile === tile) {\\n this.currentLocalTile = null;\\n }\\n tile.destroy();\\n this.tileMap.delete(tileId);\\n this.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.videoTileWasRemoved).map(f => f.bind(observer)(tileId));\\n });\\n this.discardDevicePixelRatioMonitorIfNotNeeded();\\n }\\n removeVideoTilesByAttendeeId(attendeeId) {\\n const tilesRemoved = [];\\n for (const tile of this.getAllVideoTiles()) {\\n const state = tile.state();\\n if (state.boundAttendeeId === attendeeId) {\\n this.removeVideoTile(state.tileId);\\n tilesRemoved.push(state.tileId);\\n }\\n }\\n return tilesRemoved;\\n }\\n removeAllVideoTiles() {\\n const tileIds = Array.from(this.tileMap.keys());\\n for (const tileId of tileIds) {\\n this.removeVideoTile(tileId);\\n }\\n }\\n sendTileStateUpdate(tileState) {\\n this.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.videoTileDidUpdate).map(f => f.bind(observer)(tileState));\\n });\\n }\\n haveVideoTilesWithStreams() {\\n for (const tile of this.getAllVideoTiles()) {\\n if (tile.state().boundVideoStream) {\\n return true;\\n }\\n }\\n return false;\\n }\\n haveVideoTileForAttendeeId(attendeeId) {\\n return !!this.getVideoTileForAttendeeId(attendeeId);\\n }\\n getVideoTileForAttendeeId(attendeeId) {\\n for (const tile of this.getAllVideoTiles()) {\\n const state = tile.state();\\n if (state.boundAttendeeId === attendeeId) {\\n return tile;\\n }\\n }\\n return undefined;\\n }\\n captureVideoTile(tileId) {\\n const tile = this.getVideoTile(tileId);\\n if (!tile) {\\n return null;\\n }\\n return tile.capture();\\n }\\n findOrCreateLocalVideoTile() {\\n if (this.currentLocalTile) {\\n return this.currentLocalTile;\\n }\\n this.currentLocalTile = this.addVideoTile(true);\\n this.currentLocalTile.bindVideoStream(this.audioVideoController.configuration.credentials.attendeeId, true, null, null, null, null, this.audioVideoController.configuration.credentials.externalUserId);\\n return this.currentLocalTile;\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTileController;\\n//# sourceMappingURL=DefaultVideoTileController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoTile_1 = __webpack_require__(/*! ../videotile/DefaultVideoTile */ \\\"./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js\\\");\\nclass DefaultVideoTileFactory {\\n makeTile(tileId, localTile, tileController, devicePixelRatioMonitor) {\\n return new DefaultVideoTile_1.default(tileId, localTile, tileController, devicePixelRatioMonitor);\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTileFactory;\\n//# sourceMappingURL=DefaultVideoTileFactory.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 BitrateParameters {\\n}\\nexports[\\\"default\\\"] = BitrateParameters;\\n//# sourceMappingURL=BitrateParameters.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 SimulcastLayers_1 = __webpack_require__(/*! ../simulcastlayers/SimulcastLayers */ \\\"./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js\\\");\\nconst SimulcastTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/SimulcastTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.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 BitrateParameters_1 = __webpack_require__(/*! ./BitrateParameters */ \\\"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js\\\");\\n/**\\n * [[DefaultSimulcastUplinkPolicy]] determines capture and encode\\n * parameters that reacts to estimated uplink bandwidth\\n */\\nclass DefaultSimulcastUplinkPolicy {\\n constructor(selfAttendeeId, logger) {\\n this.selfAttendeeId = selfAttendeeId;\\n this.logger = logger;\\n this.numSenders = 0;\\n // Simulcast is disabled when there are only 2 or fewer attendees, because in that case the backend will forward REMBs from\\n // receiver to sender. Therefore there is no need for simulcast based adaption.\\n this.shouldDisableSimulcast = false;\\n this.newQualityMap = new Map();\\n this.currentQualityMap = new Map();\\n this.newActiveStreams = 1 /* kHiAndLow */;\\n this.currentActiveStreams = 1 /* kHiAndLow */;\\n this.lastUplinkBandwidthKbps = DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps;\\n this.startTimeMs = 0;\\n this.lastUpdatedMs = Date.now();\\n this.videoIndex = null;\\n this.currLocalDescriptions = [];\\n this.nextLocalDescriptions = [];\\n this.observerQueue = new Set();\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, true);\\n this.parametersInEffect = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, true);\\n this.lastUplinkBandwidthKbps = DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps;\\n this.currentQualityMap = this.fillEncodingParamWithBitrates([300, 0, 1200]);\\n this.newQualityMap = this.fillEncodingParamWithBitrates([300, 0, 1200]);\\n }\\n updateConnectionMetric({ uplinkKbps = 0 }) {\\n if (isNaN(uplinkKbps)) {\\n return;\\n }\\n // Check if startup period in order to ignore estimate when video first enabled.\\n // If only audio was active then the estimate will be very low\\n if (this.startTimeMs === 0) {\\n this.startTimeMs = Date.now();\\n }\\n if (Date.now() - this.startTimeMs < DefaultSimulcastUplinkPolicy.startupDurationMs) {\\n this.lastUplinkBandwidthKbps = DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps;\\n }\\n else {\\n this.lastUplinkBandwidthKbps = uplinkKbps;\\n }\\n this.logger.debug(() => {\\n return `simulcast: uplink policy update metrics ${this.lastUplinkBandwidthKbps}`;\\n });\\n let holdTime = DefaultSimulcastUplinkPolicy.holdDownDurationMs;\\n if (this.currentActiveStreams === 3 /* kLow */) {\\n holdTime = DefaultSimulcastUplinkPolicy.holdDownDurationMs * 2;\\n }\\n else if ((this.currentActiveStreams === 2 /* kMidAndLow */ &&\\n uplinkKbps <= DefaultSimulcastUplinkPolicy.kMidDisabledRate) ||\\n (this.currentActiveStreams === 1 /* kHiAndLow */ &&\\n uplinkKbps <= DefaultSimulcastUplinkPolicy.kHiDisabledRate)) {\\n holdTime = DefaultSimulcastUplinkPolicy.holdDownDurationMs / 2;\\n }\\n if (Date.now() < this.lastUpdatedMs + holdTime) {\\n return;\\n }\\n this.newQualityMap = this.calculateEncodingParameters(false);\\n }\\n calculateEncodingParameters(numSendersChanged) {\\n // bitrates parameter min is not used for now\\n const newBitrates = [\\n new BitrateParameters_1.default(),\\n new BitrateParameters_1.default(),\\n new BitrateParameters_1.default(),\\n ];\\n let hysteresisIncrease = 0, hysteresisDecrease = 0;\\n if (this.currentActiveStreams === 0 /* kHi */) {\\n // Don't trigger redetermination based on rate if only one simulcast stream\\n hysteresisIncrease = this.lastUplinkBandwidthKbps + 1;\\n hysteresisDecrease = 0;\\n }\\n else if (this.currentActiveStreams === 1 /* kHiAndLow */) {\\n hysteresisIncrease = 2400;\\n hysteresisDecrease = DefaultSimulcastUplinkPolicy.kHiDisabledRate;\\n }\\n else if (this.currentActiveStreams === 2 /* kMidAndLow */) {\\n hysteresisIncrease = 1000;\\n hysteresisDecrease = DefaultSimulcastUplinkPolicy.kMidDisabledRate;\\n }\\n else {\\n hysteresisIncrease = 300;\\n hysteresisDecrease = 0;\\n }\\n if (numSendersChanged ||\\n this.lastUplinkBandwidthKbps >= hysteresisIncrease ||\\n this.lastUplinkBandwidthKbps <= hysteresisDecrease) {\\n if (this.shouldDisableSimulcast) {\\n // See comment above `shouldDisableSimulcast` for usage.\\n //\\n // The value of `newActiveStreams` is somewhat irrelevant since in one to one calls\\n // we forward REMBs, so this single stream will adapt anywhere from < 100 kbps to 1200 kbps\\n // based on both sender and receiver network conditions. E.g. A receiver may calculate it's\\n // receive BWE as 300 kbps, send that in a REMB which is forwarded, and on receipt the sender\\n // will set its own BWE at 300 kbps, and start sending that as well (again, only for one-to-one\\n // calls). Additionally the value `kHi` is only relevant to the send side (via\\n // `encodingSimulcastLayersDidChange`) as it is not transmitted in anyform to the receiver.\\n //\\n // We use middle layer here to work around a bug in Chromium where\\n // it seems when a transceiver is created when BWE is low (e.g. on a reconnection),\\n // it will never reset the encoder even when `setParameters` is called. WebRTC bug\\n // #12788 seems to call a similar issue out as fixed for VP8, it's not clear if this\\n // is the same issue for H.264. Additionally we are not able to force a keyframe\\n // request from the backend since it will only be sending padding (which also\\n // don't have MID due to #10822). Since we don't scale when simulcast is disabled\\n // this doesn't have any end-user effect.\\n //\\n // Note that this still relies on a little bit (5-6 packets) of padding on reconnect\\n // and that technically the browser will still eventually try to send all 3 streams.\\n //\\n // Also note that due to some uninvestigated logic in bitrate allocation, Chromium\\n // will skip the bottom layer if we try setting it to 1200 kbps instead so it will\\n // still take a while to recover (as it needs to send padding until it reaches around\\n // 1000 kbps).\\n this.newActiveStreams = 0 /* kHi */;\\n newBitrates[0].maxBitrateKbps = 0;\\n newBitrates[1].maxBitrateKbps = 1200;\\n newBitrates[2].maxBitrateKbps = 0;\\n }\\n else if (this.numSenders <= 4 &&\\n this.lastUplinkBandwidthKbps >= DefaultSimulcastUplinkPolicy.kHiDisabledRate) {\\n // 320x192+ (640x384) + 1280x768\\n this.newActiveStreams = 1 /* kHiAndLow */;\\n newBitrates[0].maxBitrateKbps = 300;\\n newBitrates[1].maxBitrateKbps = 0;\\n newBitrates[2].maxBitrateKbps = 1200;\\n }\\n else if (this.lastUplinkBandwidthKbps >= DefaultSimulcastUplinkPolicy.kMidDisabledRate) {\\n // 320x192 + 640x384 + (1280x768)\\n this.newActiveStreams = 2 /* kMidAndLow */;\\n newBitrates[0].maxBitrateKbps = this.lastUplinkBandwidthKbps >= 350 ? 200 : 150;\\n newBitrates[1].maxBitrateKbps = this.numSenders <= 6 ? 600 : 350;\\n newBitrates[2].maxBitrateKbps = 0;\\n }\\n else {\\n // 320x192 + 640x384 + (1280x768)\\n this.newActiveStreams = 3 /* kLow */;\\n newBitrates[0].maxBitrateKbps = 300;\\n newBitrates[1].maxBitrateKbps = 0;\\n newBitrates[2].maxBitrateKbps = 0;\\n }\\n const bitrates = newBitrates.map((v, _i, _a) => {\\n return v.maxBitrateKbps;\\n });\\n this.newQualityMap = this.fillEncodingParamWithBitrates(bitrates);\\n if (!this.encodingParametersEqual()) {\\n this.logger.info(`simulcast: policy:calculateEncodingParameters bw:${this.lastUplinkBandwidthKbps} numSources:${this.numSenders} shouldDisableSimulcast:${this.shouldDisableSimulcast} newQualityMap: ${this.getQualityMapString(this.newQualityMap)}`);\\n }\\n }\\n return this.newQualityMap;\\n }\\n chooseMediaTrackConstraints() {\\n // Changing MediaTrackConstraints causes a restart of video input and possible small\\n // scaling changes. Always use 720p for now\\n const trackConstraint = {\\n width: { ideal: 1280 },\\n height: { ideal: 768 },\\n frameRate: { ideal: 15 },\\n };\\n return trackConstraint;\\n }\\n chooseEncodingParameters() {\\n this.currentQualityMap = this.newQualityMap;\\n this.currentActiveStreams = this.newActiveStreams;\\n if (this.activeStreamsToPublish !== this.newActiveStreams) {\\n this.activeStreamsToPublish = this.newActiveStreams;\\n this.publishEncodingSimulcastLayer();\\n }\\n return this.currentQualityMap;\\n }\\n updateIndex(videoIndex) {\\n // the +1 for self is assuming that we intend to send video, since\\n // the context here is VideoUplinkBandwidthPolicy\\n const numSenders = videoIndex.numberOfVideoPublishingParticipantsExcludingSelf(this.selfAttendeeId) + 1;\\n const numSendersChanged = numSenders !== this.numSenders;\\n // See comment above `shouldDisableSimulcast`\\n const numParticipants = videoIndex.numberOfParticipants();\\n const newShouldDisableSimulcast = numParticipants >= 0 && numParticipants <= 2;\\n const shouldDisableSimulcastChanged = this.shouldDisableSimulcast !== newShouldDisableSimulcast;\\n this.numSenders = numSenders;\\n this.shouldDisableSimulcast = newShouldDisableSimulcast;\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(this.captureWidth(), this.captureHeight(), this.captureFrameRate(), this.maxBandwidthKbps(), false);\\n this.videoIndex = videoIndex;\\n this.newQualityMap = this.calculateEncodingParameters(numSendersChanged || shouldDisableSimulcastChanged);\\n }\\n wantsResubscribe() {\\n let constraintDiff = !this.encodingParametersEqual();\\n this.nextLocalDescriptions = this.videoIndex.localStreamDescriptions();\\n for (let i = 0; i < this.nextLocalDescriptions.length; i++) {\\n const streamId = this.nextLocalDescriptions[i].streamId;\\n if (streamId !== 0 && !!streamId) {\\n const prevIndex = this.currLocalDescriptions.findIndex(val => {\\n return val.streamId === streamId;\\n });\\n if (prevIndex !== -1) {\\n if (this.nextLocalDescriptions[i].disabledByWebRTC !==\\n this.currLocalDescriptions[prevIndex].disabledByWebRTC) {\\n constraintDiff = true;\\n }\\n }\\n }\\n }\\n if (constraintDiff) {\\n this.lastUpdatedMs = Date.now();\\n }\\n this.currLocalDescriptions = this.nextLocalDescriptions;\\n return constraintDiff;\\n }\\n compareEncodingParameter(encoding1, encoding2) {\\n return JSON.stringify(encoding1) === JSON.stringify(encoding2);\\n }\\n encodingParametersEqual() {\\n let different = false;\\n for (const ridName of SimulcastTransceiverController_1.default.NAME_ARR_ASCENDING) {\\n different =\\n different ||\\n !this.compareEncodingParameter(this.newQualityMap.get(ridName), this.currentQualityMap.get(ridName));\\n if (different) {\\n break;\\n }\\n }\\n return !different;\\n }\\n chooseCaptureAndEncodeParameters() {\\n // should deprecate in this policy\\n this.parametersInEffect = this.optimalParameters.clone();\\n return this.parametersInEffect.clone();\\n }\\n captureWidth() {\\n // should deprecate in this policy\\n const width = 1280;\\n return width;\\n }\\n captureHeight() {\\n // should deprecate in this policy\\n const height = 768;\\n return height;\\n }\\n captureFrameRate() {\\n // should deprecate in this policy\\n return 15;\\n }\\n maxBandwidthKbps() {\\n // should deprecate in this policy\\n return 1400;\\n }\\n setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps) {\\n // should deprecate in this policy\\n }\\n setHasBandwidthPriority(_hasBandwidthPriority) {\\n // should deprecate in this policy\\n }\\n fillEncodingParamWithBitrates(bitratesKbps) {\\n const newMap = new Map();\\n const toBps = 1000;\\n const nameArr = SimulcastTransceiverController_1.default.NAME_ARR_ASCENDING;\\n const bitrateArr = bitratesKbps;\\n // Don't scale the single simulcast stream regardless of its layer.\\n let scale = this.shouldDisableSimulcast ? 1 : 4;\\n for (let i = 0; i < nameArr.length; i++) {\\n const ridName = nameArr[i];\\n newMap.set(ridName, {\\n rid: ridName,\\n active: bitrateArr[i] > 0 ? true : false,\\n scaleResolutionDownBy: Math.max(scale, 1),\\n maxBitrate: bitrateArr[i] * toBps,\\n });\\n scale = scale / 2;\\n }\\n return newMap;\\n }\\n getQualityMapString(params) {\\n let qualityString = '';\\n const localDescriptions = this.videoIndex.localStreamDescriptions();\\n if (localDescriptions.length === 3) {\\n params.forEach((value) => {\\n let disabledByWebRTC = false;\\n if (value.rid === 'low')\\n disabledByWebRTC = localDescriptions[0].disabledByWebRTC;\\n else if (value.rid === 'mid')\\n disabledByWebRTC = localDescriptions[1].disabledByWebRTC;\\n else\\n disabledByWebRTC = localDescriptions[2].disabledByWebRTC;\\n qualityString += `{ rid: ${value.rid} active:${value.active} disabledByWebRTC: ${disabledByWebRTC} maxBitrate:${value.maxBitrate}}`;\\n });\\n }\\n return qualityString;\\n }\\n getEncodingSimulcastLayer(activeStreams) {\\n switch (activeStreams) {\\n case 0 /* kHi */:\\n return SimulcastLayers_1.default.High;\\n case 1 /* kHiAndLow */:\\n return SimulcastLayers_1.default.LowAndHigh;\\n case 2 /* kMidAndLow */:\\n return SimulcastLayers_1.default.LowAndMedium;\\n case 3 /* kLow */:\\n return SimulcastLayers_1.default.Low;\\n }\\n }\\n publishEncodingSimulcastLayer() {\\n const simulcastLayers = this.getEncodingSimulcastLayer(this.activeStreamsToPublish);\\n this.forEachObserver(observer => {\\n Types_1.Maybe.of(observer.encodingSimulcastLayersDidChange).map(f => f.bind(observer)(simulcastLayers));\\n });\\n }\\n addObserver(observer) {\\n this.logger.info('adding simulcast uplink observer');\\n this.observerQueue.add(observer);\\n }\\n removeObserver(observer) {\\n this.logger.info('removing simulcast uplink observer');\\n this.observerQueue.delete(observer);\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observerQueue) {\\n observerFunc(observer);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultSimulcastUplinkPolicy;\\nDefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps = 1200;\\nDefaultSimulcastUplinkPolicy.startupDurationMs = 6000;\\nDefaultSimulcastUplinkPolicy.holdDownDurationMs = 4000;\\nDefaultSimulcastUplinkPolicy.defaultMaxFrameRate = 15;\\n// Current rough estimates where webrtc disables streams\\nDefaultSimulcastUplinkPolicy.kHiDisabledRate = 700;\\nDefaultSimulcastUplinkPolicy.kMidDisabledRate = 240;\\n//# sourceMappingURL=DefaultSimulcastUplinkPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js\":\n/*!**************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js ***!\n \\**************************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 SimulcastContentShareTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/SimulcastContentShareTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js\\\");\\n/**\\n * [[DefaultSimulcastUplinkPolicyForContentShare]] sets the capture and encode\\n * parameters based on constructor input parameters\\n */\\nclass DefaultSimulcastUplinkPolicyForContentShare {\\n constructor(logger, encodingParams) {\\n this.logger = logger;\\n this.encodingParams = encodingParams;\\n this.videoIndex = null;\\n this.currLocalDescriptions = [];\\n this.nextLocalDescriptions = [];\\n }\\n updateConnectionMetric(_metrics) {\\n // Noop\\n }\\n chooseMediaTrackConstraints() {\\n // Changing MediaTrackConstraints causes a restart of video input and possible small\\n // scaling changes. Always use 720p for now\\n return undefined;\\n }\\n chooseEncodingParameters() {\\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;\\n const newMap = new Map();\\n const toBps = 1000;\\n const nameArr = SimulcastContentShareTransceiverController_1.default.NAME_ARR_ASCENDING;\\n newMap.set(nameArr[0], {\\n rid: nameArr[0],\\n active: true,\\n scaleResolutionDownBy: ((_b = (_a = this.encodingParams) === null || _a === void 0 ? void 0 : _a.low) === null || _b === void 0 ? void 0 : _b.scaleResolutionDownBy) || 2,\\n maxBitrate: (((_d = (_c = this.encodingParams) === null || _c === void 0 ? void 0 : _c.low) === null || _d === void 0 ? void 0 : _d.maxBitrateKbps) || 300) * toBps,\\n maxFramerate: ((_f = (_e = this.encodingParams) === null || _e === void 0 ? void 0 : _e.low) === null || _f === void 0 ? void 0 : _f.maxFramerate) || 5,\\n });\\n newMap.set(nameArr[1], {\\n rid: nameArr[1],\\n active: true,\\n scaleResolutionDownBy: ((_h = (_g = this.encodingParams) === null || _g === void 0 ? void 0 : _g.high) === null || _h === void 0 ? void 0 : _h.scaleResolutionDownBy) || 1,\\n maxBitrate: (((_k = (_j = this.encodingParams) === null || _j === void 0 ? void 0 : _j.high) === null || _k === void 0 ? void 0 : _k.maxBitrateKbps) || 1200) * toBps,\\n maxFramerate: (_m = (_l = this.encodingParams) === null || _l === void 0 ? void 0 : _l.high) === null || _m === void 0 ? void 0 : _m.maxFramerate,\\n });\\n this.getQualityMapString(newMap);\\n return newMap;\\n }\\n updateIndex(videoIndex) {\\n this.videoIndex = videoIndex;\\n }\\n wantsResubscribe() {\\n var _a, _b;\\n let constraintDiff = false;\\n this.nextLocalDescriptions = (_a = this.videoIndex) === null || _a === void 0 ? void 0 : _a.localStreamDescriptions();\\n for (let i = 0; i < ((_b = this.nextLocalDescriptions) === null || _b === void 0 ? void 0 : _b.length); i++) {\\n const streamId = this.nextLocalDescriptions[i].streamId;\\n if (streamId !== 0 && !!streamId) {\\n const prevIndex = this.currLocalDescriptions.findIndex(val => {\\n return val.streamId === streamId;\\n });\\n if (prevIndex !== -1) {\\n if (this.nextLocalDescriptions[i].disabledByWebRTC !==\\n this.currLocalDescriptions[prevIndex].disabledByWebRTC) {\\n constraintDiff = true;\\n }\\n }\\n }\\n }\\n this.currLocalDescriptions = this.nextLocalDescriptions;\\n return constraintDiff;\\n }\\n chooseCaptureAndEncodeParameters() {\\n // should deprecate in this policy\\n return undefined;\\n }\\n maxBandwidthKbps() {\\n // should deprecate in this policy\\n return 1200;\\n }\\n setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps) {\\n // should deprecate in this policy\\n }\\n setHasBandwidthPriority(_hasBandwidthPriority) {\\n // should deprecate in this policy\\n }\\n getQualityMapString(params) {\\n var _a;\\n let qualityString = '';\\n const localDescriptions = (_a = this.videoIndex) === null || _a === void 0 ? void 0 : _a.localStreamDescriptions();\\n if ((localDescriptions === null || localDescriptions === void 0 ? void 0 : localDescriptions.length) > 0) {\\n params.forEach((value) => {\\n let disabledByWebRTC = false;\\n if (value.rid === 'low')\\n disabledByWebRTC = localDescriptions[0].disabledByWebRTC;\\n else\\n disabledByWebRTC = localDescriptions[1].disabledByWebRTC;\\n qualityString += `{ rid: ${value.rid} active:${value.active} disabledByWebRTC: ${disabledByWebRTC} maxBitrate:${value.maxBitrate} scaleResolutionDownBy:${value.scaleResolutionDownBy} maxFrameRate:${value.maxFramerate}`;\\n });\\n this.logger.info(`simulcast: content policy:chooseEncodingParameters newQualityMap: ${qualityString}`);\\n }\\n }\\n addObserver(_observer) { }\\n removeObserver(_observer) { }\\n forEachObserver(_observerFunc) { }\\n}\\nexports[\\\"default\\\"] = DefaultSimulcastUplinkPolicyForContentShare;\\n//# sourceMappingURL=DefaultSimulcastUplinkPolicyForContentShare.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js ***!\n \\***************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultVideoCaptureAndEncodeParameter_1 = __webpack_require__(/*! ../videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter */ \\\"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js\\\");\\n/** NScaleVideoUplinkBandwidthPolicy implements capture and encode\\n * parameters that are nearly equivalent to those chosen by the\\n * traditional native clients, except for a modification to\\n * maxBandwidthKbps and scaleResolutionDownBy described below. */\\nclass NScaleVideoUplinkBandwidthPolicy {\\n constructor(selfAttendeeId, scaleResolution = true, logger = undefined, browserBehavior = undefined) {\\n this.selfAttendeeId = selfAttendeeId;\\n this.scaleResolution = scaleResolution;\\n this.logger = logger;\\n this.browserBehavior = browserBehavior;\\n this.numberOfPublishedVideoSources = 0;\\n this.idealMaxBandwidthKbps = 1400;\\n this.hasBandwidthPriority = false;\\n this.encodingParamMap = new Map();\\n this.reset();\\n }\\n reset() {\\n // Don't reset `idealMaxBandwidthKbps` or `hasBandwidthPriority` which are set via builder API paths\\n this.numberOfPublishedVideoSources = 0;\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, false);\\n this.parametersInEffect = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, false);\\n this.encodingParamMap.set(NScaleVideoUplinkBandwidthPolicy.encodingMapKey, {\\n maxBitrate: 0,\\n });\\n }\\n updateConnectionMetric(_metrics) {\\n return;\\n }\\n chooseMediaTrackConstraints() {\\n return {};\\n }\\n chooseEncodingParameters() {\\n return new Map();\\n }\\n updateIndex(videoIndex) {\\n var _a;\\n let hasLocalVideo = true;\\n let scale = 1;\\n if (this.transceiverController) {\\n hasLocalVideo = this.transceiverController.hasVideoInput();\\n }\\n // the +1 for self is assuming that we intend to send video, since\\n // the context here is VideoUplinkBandwidthPolicy\\n const numberOfPublishedVideoSources = videoIndex.numberOfVideoPublishingParticipantsExcludingSelf(this.selfAttendeeId) +\\n (hasLocalVideo ? 1 : 0);\\n if (this.numberOfPublishedVideoSources === numberOfPublishedVideoSources) {\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.debug('Skipping update index; Number of participants has not changed');\\n return;\\n }\\n this.numberOfPublishedVideoSources = numberOfPublishedVideoSources;\\n if (this.transceiverController) {\\n const settings = this.getStreamCaptureSetting();\\n if (settings) {\\n const encodingParams = this.calculateEncodingParameters(settings);\\n scale = encodingParams.scaleResolutionDownBy;\\n }\\n }\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(this.captureWidth(), this.captureHeight(), this.captureFrameRate(), this.maxBandwidthKbps(), false, scale);\\n }\\n wantsResubscribe() {\\n return !this.parametersInEffect.equal(this.optimalParameters);\\n }\\n chooseCaptureAndEncodeParameters() {\\n this.parametersInEffect = this.optimalParameters.clone();\\n return this.parametersInEffect.clone();\\n }\\n captureWidth() {\\n let width = 640;\\n if (this.getNumberOfPublishedVideoSources() > 4) {\\n width = 320;\\n }\\n return width;\\n }\\n captureHeight() {\\n let height = 384;\\n if (this.getNumberOfPublishedVideoSources() > 4) {\\n height = 192;\\n }\\n return height;\\n }\\n captureFrameRate() {\\n return 15;\\n }\\n maxBandwidthKbps() {\\n if (this.hasBandwidthPriority) {\\n return Math.trunc(this.idealMaxBandwidthKbps);\\n }\\n let rate = 0;\\n if (this.getNumberOfPublishedVideoSources() <= 2) {\\n rate = this.idealMaxBandwidthKbps;\\n }\\n else if (this.getNumberOfPublishedVideoSources() <= 4) {\\n rate = (this.idealMaxBandwidthKbps * 2) / 3;\\n }\\n else {\\n rate =\\n ((544 / 11 + 14880 / (11 * this.getNumberOfPublishedVideoSources())) / 600) *\\n this.idealMaxBandwidthKbps;\\n }\\n return Math.trunc(rate);\\n }\\n setIdealMaxBandwidthKbps(idealMaxBandwidthKbps) {\\n this.idealMaxBandwidthKbps = idealMaxBandwidthKbps;\\n }\\n setHasBandwidthPriority(hasBandwidthPriority) {\\n this.hasBandwidthPriority = hasBandwidthPriority;\\n }\\n setTransceiverController(transceiverController) {\\n this.transceiverController = transceiverController;\\n }\\n updateTransceiverController() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const settings = this.getStreamCaptureSetting();\\n if (!settings) {\\n return;\\n }\\n const encodingParams = this.calculateEncodingParameters(settings);\\n if (this.shouldUpdateEndcodingParameters(encodingParams)) {\\n this.encodingParamMap.set(NScaleVideoUplinkBandwidthPolicy.encodingMapKey, encodingParams);\\n this.transceiverController.setEncodingParameters(this.encodingParamMap);\\n }\\n });\\n }\\n shouldUpdateEndcodingParameters(encoding) {\\n var _a, _b;\\n const transceiverEncoding = (_b = (_a = this.transceiverController\\n .localVideoTransceiver()\\n .sender.getParameters()) === null || _a === void 0 ? void 0 : _a.encodings) === null || _b === void 0 ? void 0 : _b[0];\\n /* istanbul ignore next: transceiverEncoding?.scaleResolutionDownBy cannot be covered */\\n return (encoding.maxBitrate !== (transceiverEncoding === null || transceiverEncoding === void 0 ? void 0 : transceiverEncoding.maxBitrate) ||\\n encoding.scaleResolutionDownBy !== (transceiverEncoding === null || transceiverEncoding === void 0 ? void 0 : transceiverEncoding.scaleResolutionDownBy));\\n }\\n calculateEncodingParameters(setting) {\\n var _a, _b;\\n const maxBitrate = this.maxBandwidthKbps() * 1000;\\n let scale = 1;\\n if (setting.height !== undefined &&\\n setting.width !== undefined &&\\n this.scaleResolution &&\\n !this.hasBandwidthPriority &&\\n this.getNumberOfPublishedVideoSources() > 2) {\\n let targetHeight = NScaleVideoUplinkBandwidthPolicy.targetHeightArray[Math.min(this.getNumberOfPublishedVideoSources(), NScaleVideoUplinkBandwidthPolicy.targetHeightArray.length - 1)];\\n //Workaround for issue https://github.com/aws/amazon-chime-sdk-js/issues/2002\\n if (targetHeight === 480 && ((_a = this.browserBehavior) === null || _a === void 0 ? void 0 : _a.disable480pResolutionScaleDown())) {\\n targetHeight = 360;\\n }\\n scale = Math.max(Math.min(setting.height, setting.width) / targetHeight, 1);\\n (_b = this.logger) === null || _b === void 0 ? void 0 : _b.info(`Resolution scale factor is ${scale} for capture resolution ${setting.width}x${setting.height}. New dimension is ${setting.width / scale}x${setting.height / scale}`);\\n }\\n return {\\n scaleResolutionDownBy: scale,\\n maxBitrate: maxBitrate,\\n };\\n }\\n getStreamCaptureSetting() {\\n var _a, _b, _c, _d;\\n return (_d = (_c = (_b = (_a = this.transceiverController) === null || _a === void 0 ? void 0 : _a.localVideoTransceiver()) === null || _b === void 0 ? void 0 : _b.sender) === null || _c === void 0 ? void 0 : _c.track) === null || _d === void 0 ? void 0 : _d.getSettings();\\n }\\n getNumberOfPublishedVideoSources() {\\n var _a;\\n /* istanbul ignore next: policy calculation is dependent on index so this is never undefined at time of use */\\n return (_a = this.numberOfPublishedVideoSources) !== null && _a !== void 0 ? _a : 0;\\n }\\n}\\nexports[\\\"default\\\"] = NScaleVideoUplinkBandwidthPolicy;\\nNScaleVideoUplinkBandwidthPolicy.encodingMapKey = 'video';\\n// 0, 1, 2 have dummy value as we keep the original resolution if we have less than 2 videos.\\nNScaleVideoUplinkBandwidthPolicy.targetHeightArray = [\\n 0,\\n 0,\\n 0,\\n 540,\\n 540,\\n 480,\\n 480,\\n 480,\\n 480,\\n 360,\\n 360,\\n 360,\\n 360,\\n 270,\\n 270,\\n 270,\\n 270,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n];\\n//# sourceMappingURL=NScaleVideoUplinkBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoCaptureAndEncodeParameter_1 = __webpack_require__(/*! ../videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter */ \\\"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js\\\");\\nclass NoVideoUplinkBandwidthPolicy {\\n constructor() { }\\n updateConnectionMetric(_metrics) { }\\n chooseMediaTrackConstraints() {\\n return {};\\n }\\n chooseEncodingParameters() {\\n return new Map();\\n }\\n updateIndex(_videoIndex) { }\\n wantsResubscribe() {\\n return false;\\n }\\n chooseCaptureAndEncodeParameters() {\\n return new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, false);\\n }\\n maxBandwidthKbps() {\\n return 0;\\n }\\n setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps) { }\\n setHasBandwidthPriority(_hasBandwidthPriority) { }\\n}\\nexports[\\\"default\\\"] = NoVideoUplinkBandwidthPolicy;\\n//# sourceMappingURL=NoVideoUplinkBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/** @internal */\\nfunction stringify(args) {\\n return args\\n .map((v) => {\\n if (typeof v === 'object') {\\n return JSON.stringify(v);\\n }\\n return `${v}`;\\n })\\n .join(' ');\\n}\\n/** @internal */\\nclass LoggerAdapter {\\n constructor(base) {\\n this.base = base;\\n }\\n debug(...args) {\\n this.base.debug(stringify(args));\\n }\\n info(...args) {\\n this.base.info(stringify(args));\\n }\\n warn(...args) {\\n this.base.warn(stringify(args));\\n }\\n error(...args) {\\n this.base.error(stringify(args));\\n }\\n}\\nexports[\\\"default\\\"] = LoggerAdapter;\\n//# sourceMappingURL=LoggerAdapter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js ***!\n \\******************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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.VoiceFocusDeviceTransformer = void 0;\\nconst voicefocus_1 = __webpack_require__(/*! ../../libs/voicefocus/voicefocus */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js\\\");\\nconst Utils_1 = __webpack_require__(/*! ../utils/Utils */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst LoggerAdapter_1 = __webpack_require__(/*! ./LoggerAdapter */ \\\"./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js\\\");\\nconst VoiceFocusTransformDevice_1 = __webpack_require__(/*! ./VoiceFocusTransformDevice */ \\\"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js\\\");\\nconst VoiceFocusTransformDeviceDelegate_1 = __webpack_require__(/*! ./VoiceFocusTransformDeviceDelegate */ \\\"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js\\\");\\n/**\\n * `VoiceFocusDeviceTransformer` is used to create {@link VoiceFocusTransformDevice|transform devices}\\n * that apply Amazon Voice Focus noise suppression to audio input.\\n *\\n * This transformer captures relevant configuration. You should check for support, initialize,\\n * and then create a device as follows:\\n *\\n * ```typescript\\n * const deviceID = null;\\n *\\n * // This check for support is cheap and quick, and should be used to gate use\\n * // of this feature.\\n * if (!(await VoiceFocusDeviceTransformer.isSupported()) {\\n * console.log('Amazon Voice Focus not supported in this browser.');\\n * return deviceID;\\n * }\\n *\\n * let transformer: VoiceFocusDeviceTransformer;\\n * try {\\n * // This operation can fail in ways that do not indicate no support,\\n * // but do indicate an inability to apply Amazon Voice Focus. Trying again\\n * // might succeed.\\n * transformer = await VoiceFocusDeviceTransformer.create({});\\n * } catch (e) {\\n * // Something went wrong.\\n * console.log('Unable to instantiate Amazon Voice Focus.');\\n * return deviceID;\\n * }\\n *\\n * if (!transformer.isSupported()) {\\n * // The transformer will fall through, but your UI might care.\\n * console.log('Amazon Voice Focus not supported in this browser.');\\n * }\\n *\\n * return await transformer.createTransformDevice(deviceID);\\n * ```\\n */\\nclass VoiceFocusDeviceTransformer {\\n constructor(spec, { preload = true, logger, fetchBehavior = VoiceFocusDeviceTransformer.defaultFetchBehavior(), }, config) {\\n this.spec = spec;\\n this.supported = true;\\n this.logger = logger;\\n this.vfLogger = logger ? new LoggerAdapter_1.default(logger) : undefined;\\n this.preload = preload;\\n this.fetchBehavior = fetchBehavior;\\n // If the user didn't specify one, add the default, which is\\n // identified by the major and minor SDK version.\\n this.spec = VoiceFocusDeviceTransformer.augmentSpec(this.spec);\\n if (config) {\\n this.configuration = Promise.resolve(config);\\n }\\n }\\n /**\\n * Quickly check whether Amazon Voice Focus is supported on this platform.\\n *\\n * This will return `false` if key technologies are absent. A value of `true` does not\\n * necessarily mean that adding Amazon Voice Focus will succeed: it is still possible that the\\n * configuration of the page or the CPU speed of the device are limiting factors.\\n *\\n * {@link VoiceFocusDeviceTransformer.create} will return an instance whose\\n * `isSupported` method more accurately reflects whether Amazon Voice Focus\\n * is supported in the current environment.\\n *\\n * This method will only reject if you provide invalid inputs.\\n *\\n * @param spec An optional asset group and URL paths to use when fetching. You can pass\\n * a complete {@link VoiceFocusSpec} here for convenience, matching the signature of {@link VoiceFocusDeviceTransformer.create}.\\n * @param options Additional named arguments, including `logger`. Set\\n * `allowIFrame` to false to cause the support check to fail in\\n * an iframe.\\n * Chromium's security model means that audio processing works\\n * poorly in iframes.\\n */\\n static isSupported(spec, options) {\\n var _a, _b;\\n const fetchBehavior = VoiceFocusDeviceTransformer.defaultFetchBehavior();\\n const logger = (options === null || options === void 0 ? void 0 : options.logger) ? new LoggerAdapter_1.default(options.logger) : undefined;\\n const opts = {\\n fetchBehavior,\\n logger,\\n };\\n // This is impossible to test in Node, so Istanbul ignore.\\n /* istanbul ignore next */\\n if (Utils_1.isIFramed()) {\\n if ((options === null || options === void 0 ? void 0 : options.allowIFrame) === false) {\\n (_a = options === null || options === void 0 ? void 0 : options.logger) === null || _a === void 0 ? void 0 : _a.error('Amazon Voice Focus support check inside iframe: not supported.');\\n return Promise.resolve(false);\\n }\\n else {\\n (_b = options === null || options === void 0 ? void 0 : options.logger) === null || _b === void 0 ? void 0 : _b.warn('Amazon Voice Focus support check inside iframe: not recommended.');\\n }\\n }\\n return voicefocus_1.VoiceFocus.isSupported(VoiceFocusDeviceTransformer.augmentSpec(spec), opts);\\n }\\n /**\\n * Create a transformer that can apply Amazon Voice Focus noise suppression to a device.\\n *\\n * This method will reject if the provided spec is invalid, or if the process of\\n * checking for support or estimating fails (e.g., because the network is unreachable).\\n *\\n * If Amazon Voice Focus is not supported on this device, this call will not reject and\\n * `isSupported` will return `false` on the returned instance. That instance will\\n * pass through devices unmodified.\\n *\\n * @param spec A definition of how you want Amazon Voice Focus to behave. See the declaration of\\n * {@link VoiceFocusSpec} for details.\\n * @param options Additional named arguments, including `logger` and `preload`.\\n */\\n static create(spec = {}, options = {}, config, \\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n createMeetingResponse, \\n // eslint-disable-next-line\\n createAttendeeResponse) {\\n var _a, _b, _c;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (createMeetingResponse) {\\n if (createMeetingResponse.Meeting.Meeting) {\\n createMeetingResponse = createMeetingResponse.Meeting;\\n }\\n }\\n const meetingFeaturesAllowsES = ((_c = (_b = (_a = createMeetingResponse === null || createMeetingResponse === void 0 ? void 0 : createMeetingResponse.Meeting) === null || _a === void 0 ? void 0 : _a.MeetingFeatures) === null || _b === void 0 ? void 0 : _b.Audio) === null || _c === void 0 ? void 0 : _c.EchoReduction) === 'AVAILABLE';\\n const forbiddenConfig = config &&\\n config.supported === true &&\\n config.model.name === 'ns_es' &&\\n !meetingFeaturesAllowsES;\\n const forbiddenSpec = spec.name === 'ns_es' && !meetingFeaturesAllowsES;\\n if (forbiddenConfig || forbiddenSpec) {\\n throw new Error('Echo Reduction requested but not enabled.');\\n }\\n const transformer = new VoiceFocusDeviceTransformer(spec, options, config);\\n // This also preps the first `VoiceFocus` instance.\\n yield transformer.init();\\n return transformer;\\n });\\n }\\n /**\\n * Given a spec and options, perform the configuration work that is\\n * ordinarily performed during creation of a transformer.\\n *\\n * The computed configuration is not portable between devices or sessions,\\n * but is useful for 'moving' transformers between windows.\\n *\\n * Pass the returned configuration as the third argument to a call to\\n * {@link VoiceFocusDeviceTransformer.create} with the matching spec.\\n */\\n static configure(spec = {}, options = {}) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const transformer = new VoiceFocusDeviceTransformer(spec, options, undefined);\\n return transformer.configure(true);\\n });\\n }\\n /**\\n * Return the computed configuration for this transformer.\\n */\\n getConfiguration() {\\n return this.configuration;\\n }\\n /**\\n * Return whether this transformer is able to function in this environment.\\n * If not, calls to\\n * {@link VoiceFocusDeviceTransformer.createTransformDevice|createTransformDevice}\\n * will pass through an unmodified device.\\n */\\n isSupported() {\\n return this.supported;\\n }\\n /**\\n * Apply Amazon Voice Focus to the selected {@link Device}.\\n *\\n * If this is a stream, it should be one that does not include other noise suppression features,\\n * and you should consider whether to disable automatic gain control (AGC) on the stream, because\\n * it can interact with noise suppression.\\n *\\n * @returns a device promise. This will always resolve to either a\\n * {@link VoiceFocusTransformDevice} or undefined; it will never reject.\\n */\\n createTransformDevice(device, nodeOptions) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.supported) {\\n // Fall back.\\n return undefined;\\n }\\n try {\\n const preload = true;\\n const [vf, delegate] = yield this.allocateVoiceFocus(preload);\\n const options = Object.assign(Object.assign({}, nodeOptions), { es: this.spec.name === 'ns_es' });\\n return new VoiceFocusTransformDevice_1.default(device, vf, delegate, options);\\n }\\n catch (e) {\\n // Fall back.\\n /* istanbul ignore next */\\n return undefined;\\n }\\n });\\n }\\n /**\\n * Destroy the Voice Focus instance and worker thread associated with the transformer.\\n */\\n static destroyVoiceFocus(transformer) {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n /* istanbul ignore next */\\n (_a = transformer === null || transformer === void 0 ? void 0 : transformer.vf) === null || _a === void 0 ? void 0 : _a.destroy();\\n });\\n }\\n static augmentSpec(spec) {\\n if (!spec || (!spec.assetGroup && !spec.revisionID)) {\\n return Object.assign(Object.assign({}, spec), { assetGroup: VoiceFocusDeviceTransformer.currentSDKAssetGroup() });\\n }\\n return spec;\\n }\\n configure(preResolve = false) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const options = {\\n fetchBehavior: this.fetchBehavior,\\n preResolve,\\n logger: this.vfLogger,\\n };\\n return voicefocus_1.VoiceFocus.configure(this.spec, options);\\n });\\n }\\n init() {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.configuration) {\\n this.configuration = this.configure();\\n }\\n const config = yield this.configuration;\\n if (!config.supported) {\\n // No need to init: it won't work.\\n this.supported = false;\\n return;\\n }\\n // We initialize the first one right now, which makes it easier to detect\\n // possible failures.\\n // This can throw for malformed input. Pass that up the chain.\\n this.pendingVoiceFocus = this.createVoiceFocus(config, this.preload);\\n try {\\n yield this.pendingVoiceFocus;\\n }\\n catch (e) {\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.error(`Unable to initialize Amazon Voice Focus: ${e}`);\\n this.supported = false;\\n }\\n });\\n }\\n createVoiceFocus(config, preload) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const delegate = new VoiceFocusTransformDeviceDelegate_1.default();\\n this.vf = yield voicefocus_1.VoiceFocus.init(config, { delegate, preload, logger: this.vfLogger });\\n return [this.vf, delegate];\\n });\\n }\\n allocateVoiceFocus(preload) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // A little safety.\\n /* istanbul ignore next */\\n if (!this.supported) {\\n throw new Error('Not supported.');\\n }\\n if (this.pendingVoiceFocus) {\\n // Use the one we already have, and free the slot for any future execution.\\n const vf = this.pendingVoiceFocus;\\n this.pendingVoiceFocus = undefined;\\n return vf;\\n }\\n return this.createVoiceFocus(yield this.configuration, preload);\\n });\\n }\\n static majorVersion() {\\n return Versioning_1.default.sdkVersion.match(/^[1-9][0-9]*\\\\.(?:0|[1-9][0-9]*)/)[0];\\n }\\n static majorMinorVersion() {\\n return Versioning_1.default.sdkVersion.match(/^[1-9][0-9]*\\\\.(?:0|(?:[1-9][0-9]*))\\\\.(?:0|[1-9][0-9]*)/)[0];\\n }\\n static currentSDKAssetGroup() {\\n // Just on the off chance someone does something silly, handle\\n // malformed version strings here.\\n const v = this.majorVersion();\\n // Just a little safety.\\n /* istanbul ignore next */\\n if (!v) {\\n return `stable-v1`;\\n }\\n return `sdk-${v}`;\\n }\\n // Note that we use query strings here, not headers, in order to make these requests 'simple' and\\n // avoid the need for CORS preflights.\\n // Be very, very careful if you choose to add headers here. You should never need to.\\n static defaultFetchBehavior() {\\n // Just a little safety.\\n /* istanbul ignore next */\\n const version = VoiceFocusDeviceTransformer.majorMinorVersion() || 'unknown';\\n const ua = Versioning_1.default.sdkUserAgentLowResolution;\\n return {\\n escapedQueryString: `sdk=${encodeURIComponent(version)}&ua=${encodeURIComponent(ua)}`,\\n };\\n }\\n}\\nexports.VoiceFocusDeviceTransformer = VoiceFocusDeviceTransformer;\\nexports[\\\"default\\\"] = VoiceFocusDeviceTransformer;\\n//# sourceMappingURL=VoiceFocusDeviceTransformer.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js ***!\n \\****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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\\\");\\n/**\\n * A device that augments a {@link Device} to apply Amazon Voice Focus\\n * noise suppression to an audio input.\\n */\\nclass VoiceFocusTransformDevice {\\n /** @internal */\\n constructor(device, voiceFocus, delegate, nodeOptions, failed = false, node = undefined, browserBehavior = new DefaultBrowserBehavior_1.default(), \\n /** farEndStreams` maps from a stream that could cause echo or interfere with double talkto an `AudioSourceNode` that we use to mix multiple such streams.*/\\n farEndStreamToAudioSourceNode = new Map(), \\n /** mixDestNode is the Audio Destination Node where farEndStreams got mixed into one stream.*/\\n mixDestNode = undefined, \\n /** mixSourceNode is the Audio Source Node where the stream out of mixDestNode got transferred into Audio Worklet Node for processing.*/\\n mixSourceNode = undefined) {\\n this.device = device;\\n this.voiceFocus = voiceFocus;\\n this.delegate = delegate;\\n this.nodeOptions = nodeOptions;\\n this.failed = failed;\\n this.node = node;\\n this.browserBehavior = browserBehavior;\\n this.farEndStreamToAudioSourceNode = farEndStreamToAudioSourceNode;\\n this.mixDestNode = mixDestNode;\\n this.mixSourceNode = mixSourceNode;\\n }\\n /**\\n * Return the inner device as provided during construction, or updated via\\n * {@link VoiceFocusTransformDevice.chooseNewInnerDevice}. Do not confuse\\n * this method with {@link VoiceFocusTransformDevice.intrinsicDevice}.\\n */\\n getInnerDevice() {\\n return this.device;\\n }\\n /**\\n * Disable the audio node while muted to reduce CPU usage.\\n *\\n * @param muted whether the audio device should be muted.\\n */\\n mute(muted) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.node) {\\n return;\\n }\\n if (muted) {\\n yield this.node.disable();\\n }\\n else {\\n yield this.node.enable();\\n }\\n });\\n }\\n /**\\n * Dispose of the inner workings of the transform device. After this method is called\\n * you will need to create a new device to use Amazon Voice Focus again.\\n */\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.node) {\\n return;\\n }\\n this.node.disconnect();\\n yield this.node.stop();\\n });\\n }\\n /**\\n * If you wish to choose a different inner device, but continue to use Amazon Voice Focus, you\\n * can use this method to efficiently create a new device that will reuse\\n * the same internal state. Only one of the two devices can be used at a time: switch\\n * between them using {@link DeviceController.startAudioInput}.\\n *\\n * If the same device is passed as is currently in use, `this` is returned.\\n *\\n * @param inner The new inner device to use.\\n */\\n chooseNewInnerDevice(inner) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // If the new device is 'default', always recreate. Chrome can switch out\\n // the real device underneath us.\\n if (this.device === inner && !isDefaultDevice(inner)) {\\n return this;\\n }\\n return new VoiceFocusTransformDevice(inner, this.voiceFocus, this.delegate, this.nodeOptions, this.failed, this.node, this.browserBehavior, this.farEndStreamToAudioSourceNode, this.mixDestNode, this.mixSourceNode);\\n });\\n }\\n intrinsicDevice() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.failed) {\\n return this.device;\\n }\\n const isUsingES = this.nodeOptions.es;\\n // Turn the Device into constraints with appropriate AGC settings.\\n const trackConstraints = {\\n echoCancellation: !isUsingES,\\n // @ts-ignore\\n googEchoCancellation: !isUsingES,\\n // @ts-ignore\\n googEchoCancellation2: !isUsingES,\\n noiseSuppression: false,\\n // @ts-ignore\\n googNoiseSuppression: false,\\n // @ts-ignore\\n googHighpassFilter: false,\\n // @ts-ignore\\n googNoiseSuppression2: false,\\n };\\n let useBuiltInAGC;\\n if (this.nodeOptions && this.nodeOptions.agc !== undefined) {\\n useBuiltInAGC = this.nodeOptions.agc.useBuiltInAGC;\\n }\\n else {\\n useBuiltInAGC = true;\\n }\\n trackConstraints.autoGainControl = useBuiltInAGC;\\n // @ts-ignore\\n trackConstraints.googAutoGainControl = useBuiltInAGC;\\n // @ts-ignore\\n trackConstraints.googAutoGainControl2 = useBuiltInAGC;\\n // Empty string and null.\\n if (!this.device) {\\n return trackConstraints;\\n }\\n // Device ID.\\n if (typeof this.device === 'string') {\\n /* istanbul ignore if */\\n if (this.browserBehavior.requiresNoExactMediaStreamConstraints()) {\\n trackConstraints.deviceId = this.device;\\n }\\n else {\\n trackConstraints.deviceId = { exact: this.device };\\n }\\n return trackConstraints;\\n }\\n // It's a stream.\\n if (this.device.id) {\\n // Nothing we can do.\\n return this.device;\\n }\\n // It's constraints.\\n return Object.assign(Object.assign({}, this.device), trackConstraints);\\n });\\n }\\n createAudioNode(context) {\\n var _a, _b;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (((_a = this.node) === null || _a === void 0 ? void 0 : _a.context) === context) {\\n return {\\n start: this.node,\\n end: this.node,\\n };\\n }\\n const agc = { useVoiceFocusAGC: false };\\n const options = Object.assign({ enabled: true, agc }, this.nodeOptions);\\n try {\\n (_b = this.node) === null || _b === void 0 ? void 0 : _b.disconnect();\\n this.node = yield this.voiceFocus.createNode(context, options);\\n if (this.nodeOptions.es) {\\n this.mixDestNode = new MediaStreamAudioDestinationNode(context, {\\n channelCount: 1,\\n channelCountMode: 'explicit',\\n });\\n for (const stream of this.farEndStreamToAudioSourceNode.keys()) {\\n this.assignFarEndStreamToAudioSourceNode(stream);\\n }\\n this.createMixSourceNode();\\n }\\n const start = this.node;\\n const end = this.node;\\n return { start, end };\\n }\\n catch (e) {\\n // It's better to return some audio stream than nothing.\\n this.failed = true;\\n this.delegate.onFallback(this, e);\\n throw e;\\n }\\n });\\n }\\n observeMeetingAudio(audioVideo) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.nodeOptions.es) {\\n return;\\n }\\n audioVideo.addAudioMixObserver(this);\\n const stream = yield audioVideo.getCurrentMeetingAudioStream();\\n if (stream) {\\n this.addFarEndStream(stream);\\n }\\n });\\n }\\n unObserveMeetingAudio(audioVideo) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.nodeOptions.es) {\\n return;\\n }\\n audioVideo.removeAudioMixObserver(this);\\n const stream = yield audioVideo.getCurrentMeetingAudioStream();\\n if (stream) {\\n this.removeFarendStream(stream);\\n }\\n });\\n }\\n /**\\n * Add an observer to receive notifications about Amazon Voice Focus lifecycle events.\\n * See {@link VoiceFocusTransformDeviceObserver} for details.\\n * If the observer has already been added, this method call has no effect.\\n */\\n addObserver(observer) {\\n this.delegate.addObserver(observer);\\n }\\n /**\\n * Remove an existing observer. If the observer has not been previously {@link\\n * VoiceFocusTransformDevice.addObserver|added}, this method call has no effect.\\n */\\n removeObserver(observer) {\\n this.delegate.removeObserver(observer);\\n }\\n addFarEndStream(activeStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.nodeOptions.es ||\\n !activeStream ||\\n this.farEndStreamToAudioSourceNode.has(activeStream)) {\\n return;\\n }\\n if (this.node) {\\n this.assignFarEndStreamToAudioSourceNode(activeStream);\\n }\\n else {\\n this.farEndStreamToAudioSourceNode.set(activeStream, null);\\n }\\n });\\n }\\n removeFarendStream(inactiveStream) {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n (_a = this.farEndStreamToAudioSourceNode.get(inactiveStream)) === null || _a === void 0 ? void 0 : _a.disconnect();\\n this.farEndStreamToAudioSourceNode.delete(inactiveStream);\\n });\\n }\\n meetingAudioStreamBecameActive(activeStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.addFarEndStream(activeStream);\\n });\\n }\\n meetingAudioStreamBecameInactive(inactiveStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.removeFarendStream(inactiveStream);\\n });\\n }\\n assignFarEndStreamToAudioSourceNode(streamToAdd) {\\n const streamNodeToAdd = this.node.context.createMediaStreamSource(streamToAdd);\\n streamNodeToAdd.channelCount = 1;\\n streamNodeToAdd.channelCountMode = 'explicit';\\n this.farEndStreamToAudioSourceNode.set(streamToAdd, streamNodeToAdd);\\n streamNodeToAdd.connect(this.mixDestNode, 0);\\n }\\n createMixSourceNode() {\\n this.mixSourceNode = this.node.context.createMediaStreamSource(this.mixDestNode.stream);\\n this.mixSourceNode.channelCount = 1;\\n this.mixSourceNode.channelCountMode = 'explicit';\\n this.mixSourceNode.connect(this.node, 0, 1);\\n }\\n}\\nfunction isDefaultDevice(device) {\\n if (device === 'default') {\\n return true;\\n }\\n if (!device || typeof device !== 'object') {\\n return false;\\n }\\n if ('deviceId' in device && device.deviceId === 'default') {\\n return true;\\n }\\n if ('id' in device && device.id === 'default') {\\n return true;\\n }\\n return false;\\n}\\nexports[\\\"default\\\"] = VoiceFocusTransformDevice;\\n//# sourceMappingURL=VoiceFocusTransformDevice.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/** @internal */\\nclass VoiceFocusTransformDeviceDelegate {\\n constructor() {\\n this.observers = new Set();\\n }\\n addObserver(observer) {\\n this.observers.add(observer);\\n }\\n removeObserver(observer) {\\n this.observers.delete(observer);\\n }\\n /** @internal */\\n onFallback(device, e) {\\n var _a;\\n for (const observer of this.observers) {\\n (_a = observer.voiceFocusFellBackToInnerStream) === null || _a === void 0 ? void 0 : _a.call(observer, device, e);\\n }\\n }\\n onCPUWarning() {\\n var _a;\\n for (const observer of this.observers) {\\n (_a = observer.voiceFocusInsufficientResources) === null || _a === void 0 ? void 0 : _a.call(observer);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusTransformDeviceDelegate;\\n//# sourceMappingURL=VoiceFocusTransformDeviceDelegate.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 DefaultVolumeIndicatorAdapter {\\n constructor(logger, realtimeController, minVolumeDecibels, maxVolumeDecibels, selfAttendeeId) {\\n this.logger = logger;\\n this.realtimeController = realtimeController;\\n this.minVolumeDecibels = minVolumeDecibels;\\n this.maxVolumeDecibels = maxVolumeDecibels;\\n this.selfAttendeeId = selfAttendeeId;\\n this.streamIdToAttendeeId = {};\\n this.streamIdToExternalUserId = {};\\n this.warnedAboutMissingStreamIdMapping = {};\\n this.attendeeIdToStreamId = {};\\n this.sessionReconnected = false;\\n }\\n onReconnect() {\\n this.sessionReconnected = true;\\n }\\n sendRealtimeUpdatesForAudioStreamIdInfo(info) {\\n let streamIndex = 0;\\n for (const stream of info.streams) {\\n const hasAttendeeId = !!stream.attendeeId;\\n const hasExternalUserId = !!stream.externalUserId;\\n const hasMuted = stream.hasOwnProperty('muted');\\n const hasDropped = !!stream.dropped;\\n if (hasAttendeeId) {\\n if (!!this.attendeeIdToStreamId[stream.attendeeId] &&\\n this.attendeeIdToStreamId[stream.attendeeId] < stream.audioStreamId) {\\n delete this.attendeeIdToStreamId[stream.attendeeId];\\n }\\n this.streamIdToAttendeeId[stream.audioStreamId] = stream.attendeeId;\\n const externalUserId = hasExternalUserId ? stream.externalUserId : stream.attendeeId;\\n this.streamIdToExternalUserId[stream.audioStreamId] = externalUserId;\\n this.attendeeIdToStreamId[stream.attendeeId] = stream.audioStreamId;\\n this.realtimeController.realtimeSetAttendeeIdPresence(stream.attendeeId, true, externalUserId, false, { attendeeIndex: streamIndex++, attendeesInFrame: info.streams.length });\\n }\\n if (hasMuted) {\\n const attendeeId = this.streamIdToAttendeeId[stream.audioStreamId];\\n const externalUserId = this.streamIdToExternalUserId[stream.audioStreamId];\\n this.realtimeController.realtimeUpdateVolumeIndicator(attendeeId, null, stream.muted, null, externalUserId);\\n }\\n if (!hasAttendeeId && !hasMuted) {\\n const attendeeId = this.streamIdToAttendeeId[stream.audioStreamId];\\n if (attendeeId) {\\n const externalUserId = this.streamIdToExternalUserId[stream.audioStreamId];\\n delete this.streamIdToAttendeeId[stream.audioStreamId];\\n delete this.streamIdToExternalUserId[stream.audioStreamId];\\n delete this.warnedAboutMissingStreamIdMapping[stream.audioStreamId];\\n if (this.attendeeIdToStreamId[attendeeId] === stream.audioStreamId) {\\n delete this.attendeeIdToStreamId[attendeeId];\\n }\\n let attendeeHasNewStreamId = false;\\n for (const otherStreamId of Object.keys(this.streamIdToAttendeeId)) {\\n const otherStreamIdNumber = parseInt(otherStreamId);\\n if (otherStreamIdNumber > stream.audioStreamId &&\\n this.streamIdToAttendeeId[otherStreamIdNumber] === attendeeId) {\\n attendeeHasNewStreamId = true;\\n break;\\n }\\n }\\n if (!attendeeHasNewStreamId) {\\n this.realtimeController.realtimeSetAttendeeIdPresence(attendeeId, false, externalUserId, hasDropped, { attendeeIndex: streamIndex++, attendeesInFrame: info.streams.length });\\n }\\n }\\n }\\n }\\n if (this.sessionReconnected) {\\n this.cleanUpState(info);\\n this.sessionReconnected = false;\\n }\\n }\\n cleanUpState(info) {\\n const localAttendeeIds = Object.values(this.streamIdToAttendeeId);\\n const remoteAttendeeIds = info.streams.map(stream => stream.attendeeId);\\n const deletedAttendeeIds = localAttendeeIds.filter(id => {\\n return !remoteAttendeeIds.includes(id);\\n });\\n for (const [index, deletedAttendeeId] of deletedAttendeeIds.entries()) {\\n const streamId = this.attendeeIdToStreamId[deletedAttendeeId];\\n const externalUserId = this.streamIdToExternalUserId[streamId];\\n delete this.streamIdToAttendeeId[streamId];\\n delete this.streamIdToExternalUserId[streamId];\\n delete this.warnedAboutMissingStreamIdMapping[streamId];\\n delete this.attendeeIdToStreamId[deletedAttendeeId];\\n // During reconnection, the audio info frame might not include self attendee.\\n // However, if that happens, there would be another audio info frame with the self attendee after reconnection.\\n // So we should not send leave event here for self attendee.\\n if (deletedAttendeeId === this.selfAttendeeId) {\\n this.logger.warn(`the volume indicator adapter cleans up the current attendee (presence = false) after reconnection`);\\n continue;\\n }\\n // The reconnect event does not have information whether the attendee is dropped/left.\\n // Defaulting to attendee leaving the meeting\\n this.realtimeController.realtimeSetAttendeeIdPresence(deletedAttendeeId, false, externalUserId, false, { attendeeIndex: index, attendeesInFrame: deletedAttendeeId.length });\\n }\\n }\\n sendRealtimeUpdatesForAudioMetadata(metadata) {\\n let volumes = null;\\n let signalStrengths = null;\\n for (const state of metadata.attendeeStates) {\\n const attendeeId = this.attendeeIdForStreamId(state.audioStreamId);\\n if (state.hasOwnProperty('volume')) {\\n if (volumes === null) {\\n volumes = {};\\n }\\n if (attendeeId !== null) {\\n // @ts-ignore: TODO fix this protobufjs issue\\n volumes[attendeeId] = this.normalizedVolume(state);\\n }\\n }\\n if (state.hasOwnProperty('signalStrength')) {\\n if (signalStrengths === null) {\\n signalStrengths = {};\\n }\\n if (attendeeId !== null) {\\n // @ts-ignore: TODO fix this protobufjs issue\\n signalStrengths[attendeeId] = this.normalizedSignalStrength(state);\\n }\\n }\\n }\\n this.applyRealtimeUpdatesForAudioMetadata(volumes, signalStrengths);\\n }\\n normalizedVolume(state) {\\n const dBVolume = -state.volume;\\n const normalized = 1.0 - (dBVolume - this.maxVolumeDecibels) / (this.minVolumeDecibels - this.maxVolumeDecibels);\\n const clipped = Math.min(Math.max(normalized, 0.0), 1.0);\\n return clipped;\\n }\\n normalizedSignalStrength(state) {\\n const normalized = state.signalStrength / DefaultVolumeIndicatorAdapter.MAX_SIGNAL_STRENGTH_LEVELS;\\n const clipped = Math.min(Math.max(normalized, 0.0), 1.0);\\n return clipped;\\n }\\n applyRealtimeUpdatesForAudioMetadata(volumes, signalStrengths) {\\n for (const streamId in this.streamIdToAttendeeId) {\\n const attendeeId = this.streamIdToAttendeeId[streamId];\\n const externalUserId = this.streamIdToExternalUserId[streamId];\\n let volumeUpdate = null;\\n let signalStrengthUpdate = null;\\n if (volumes !== null) {\\n if (volumes.hasOwnProperty(attendeeId)) {\\n volumeUpdate = volumes[attendeeId];\\n }\\n else {\\n volumeUpdate = DefaultVolumeIndicatorAdapter.IMPLICIT_VOLUME;\\n }\\n }\\n if (signalStrengths !== null) {\\n if (signalStrengths.hasOwnProperty(attendeeId)) {\\n signalStrengthUpdate = signalStrengths[attendeeId];\\n }\\n else {\\n signalStrengthUpdate = DefaultVolumeIndicatorAdapter.IMPLICIT_SIGNAL_STRENGTH;\\n }\\n }\\n if (volumeUpdate !== null || signalStrengthUpdate !== null) {\\n this.realtimeController.realtimeUpdateVolumeIndicator(attendeeId, volumeUpdate, null, signalStrengthUpdate, externalUserId);\\n }\\n }\\n }\\n attendeeIdForStreamId(streamId) {\\n if (streamId === 0) {\\n return null;\\n }\\n const attendeeId = this.streamIdToAttendeeId[streamId];\\n if (attendeeId) {\\n return attendeeId;\\n }\\n if (!this.warnedAboutMissingStreamIdMapping[streamId]) {\\n this.warnedAboutMissingStreamIdMapping[streamId] = true;\\n this.logger.warn(`volume indicator stream id ${streamId} seen before being defined`);\\n }\\n return null;\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVolumeIndicatorAdapter;\\nDefaultVolumeIndicatorAdapter.MAX_SIGNAL_STRENGTH_LEVELS = 2;\\nDefaultVolumeIndicatorAdapter.IMPLICIT_VOLUME = 0;\\nDefaultVolumeIndicatorAdapter.IMPLICIT_SIGNAL_STRENGTH = 1;\\n//# sourceMappingURL=DefaultVolumeIndicatorAdapter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst WebSocketReadyState_1 = __webpack_require__(/*! ./WebSocketReadyState */ \\\"./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js\\\");\\nclass DefaultWebSocketAdapter {\\n constructor(logger) {\\n this.logger = logger;\\n }\\n create(url, protocols, isSignedUrl) {\\n this.connection = new WebSocket(isSignedUrl ? url : Versioning_1.default.urlWithVersion(url), protocols);\\n this.connection.binaryType = 'arraybuffer';\\n }\\n send(message) {\\n if (!this.connection) {\\n this.logger.error('WebSocket not yet created or already destroyed.');\\n return false;\\n }\\n try {\\n if (message instanceof Uint8Array) {\\n this.connection.send(message.buffer);\\n }\\n else {\\n this.connection.send(message);\\n }\\n return true;\\n }\\n catch (err) {\\n this.logger.debug(() => `send error: ${err.message}, websocket state=${WebSocketReadyState_1.default[this.readyState()]}`);\\n return false;\\n }\\n }\\n close(code, reason) {\\n var _a;\\n (_a = this.connection) === null || _a === void 0 ? void 0 : _a.close(code, reason);\\n }\\n destroy() {\\n this.connection = undefined;\\n }\\n addEventListener(handler, eventListener) {\\n /* istanbul ignore if */\\n if (!this.connection) {\\n this.logger.warn('Cannot add event listener with no WebSocket connection.');\\n return;\\n }\\n this.connection.addEventListener(handler, eventListener);\\n }\\n removeEventListener(handler, eventListener) {\\n var _a;\\n (_a = this.connection) === null || _a === void 0 ? void 0 : _a.removeEventListener(handler, eventListener);\\n }\\n readyState() {\\n if (!this.connection) {\\n return WebSocketReadyState_1.default.None;\\n }\\n switch (this.connection.readyState) {\\n case WebSocket.CONNECTING:\\n return WebSocketReadyState_1.default.Connecting;\\n case WebSocket.OPEN:\\n return WebSocketReadyState_1.default.Open;\\n case WebSocket.CLOSING:\\n return WebSocketReadyState_1.default.Closing;\\n case WebSocket.CLOSED:\\n return WebSocketReadyState_1.default.Closed;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultWebSocketAdapter;\\n//# sourceMappingURL=DefaultWebSocketAdapter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.WebSocketReadyState = void 0;\\nvar WebSocketReadyState;\\n(function (WebSocketReadyState) {\\n WebSocketReadyState[WebSocketReadyState[\\\"None\\\"] = 0] = \\\"None\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Connecting\\\"] = 1] = \\\"Connecting\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Open\\\"] = 2] = \\\"Open\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Closing\\\"] = 3] = \\\"Closing\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Closed\\\"] = 4] = \\\"Closed\\\";\\n})(WebSocketReadyState = exports.WebSocketReadyState || (exports.WebSocketReadyState = {}));\\nexports[\\\"default\\\"] = WebSocketReadyState;\\n//# sourceMappingURL=WebSocketReadyState.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js ***!\n \\*********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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.decideModel = exports.measureAndDecideExecutionApproach = void 0;\\nconst loader_js_1 = __webpack_require__(/*! ./loader.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\\\");\\nconst support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst DEFAULT_EXECUTION_QUANTA = 3;\\nconst SIMD_SCORE_FIXED_POINT = 2.50;\\nconst WASM_SCORE_FIXED_POINT = 2.63;\\nconst SINGLE_INLINE_SCORE_MULTIPLIER = 0.6;\\nconst QUALITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER = 0.65;\\nconst INTERACTIVITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER = 0.5;\\nconst WORKER_SCORE_MULTIPLIER = 0.7;\\nconst PERFORMANCE_THRESHOLDS = {\\n wasm: {\\n noSupport: 0.07,\\n inline: {\\n c100: 1,\\n c50: 0.36,\\n c20: 0.16,\\n c10: 0.07,\\n },\\n worker: {\\n c100: 0.5,\\n c50: 0.18,\\n c20: 0.08,\\n c10: 0.06,\\n },\\n },\\n simd: {\\n noSupport: 0.10,\\n inline: {\\n c100: 1,\\n c50: 0.43,\\n c20: 0.3,\\n c10: 0.2,\\n },\\n worker: {\\n c100: 0.5,\\n c50: 0.21,\\n c20: 0.15,\\n c10: 0.10,\\n },\\n },\\n};\\nclass Estimator {\\n constructor(fetchConfig, logger) {\\n this.fetchConfig = fetchConfig;\\n this.logger = logger;\\n const workerURL = `${fetchConfig.paths.workers}estimator-v1.js`;\\n this.fetchBehavior = { headers: fetchConfig.headers, escapedQueryString: fetchConfig.escapedQueryString };\\n this.worker = loader_js_1.loadWorker(workerURL, 'VoiceFocusEstimator', this.fetchBehavior, logger);\\n }\\n roundtrip(toSend, receive, expectedKey) {\\n return new Promise((resolve, reject) => {\\n this.worker.then(worker => {\\n let listener;\\n listener = (event) => {\\n const { message, key } = event.data;\\n if (message === receive && key === expectedKey) {\\n worker.removeEventListener('message', listener);\\n resolve(event.data);\\n }\\n };\\n worker.addEventListener('message', listener);\\n worker.postMessage(toSend);\\n }).catch(e => {\\n var _a;\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.error('Failed to load worker.', e);\\n reject(e);\\n });\\n });\\n }\\n supportsSIMD(url) {\\n const key = 'simd';\\n const path = url || `${this.fetchConfig.paths.wasm}simd-v1.wasm`;\\n const toSend = {\\n message: 'supports-simd',\\n fetchBehavior: this.fetchBehavior,\\n path,\\n key,\\n };\\n return this.roundtrip(toSend, 'simd-support', key)\\n .then(data => data.supports);\\n }\\n measure(simd, budget) {\\n const benchWASM = `${this.fetchConfig.paths.wasm}bench-v1.wasm`;\\n const benchSIMD = `${this.fetchConfig.paths.wasm}bench-v1_simd.wasm`;\\n const path = simd ? benchSIMD : benchWASM;\\n const key = `bench:${simd}`;\\n const toSend = {\\n message: 'measure',\\n fetchBehavior: this.fetchBehavior,\\n budget,\\n path,\\n key,\\n };\\n return this.roundtrip(toSend, 'measurement', key)\\n .then(data => {\\n if (data.measurement) {\\n return data.measurement;\\n }\\n throw new Error('Failed to measure.');\\n });\\n }\\n stop() {\\n this.worker.then(worker => {\\n var _a;\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.debug('Stopping estimator worker.');\\n worker.terminate();\\n }).catch(e => {\\n });\\n }\\n}\\nconst inlineScoreMultiplier = (executionQuanta, usagePreference) => {\\n if (executionQuanta === 1) {\\n return SINGLE_INLINE_SCORE_MULTIPLIER;\\n }\\n if (usagePreference === 'quality') {\\n return QUALITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER * executionQuanta;\\n }\\n return INTERACTIVITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER * executionQuanta;\\n};\\nconst decideExecutionApproach = ({ supportsSIMD, supportsSAB, duration, executionPreference = 'auto', simdPreference, variantPreference = 'auto', namePreference = 'default', usagePreference, executionQuantaPreference = DEFAULT_EXECUTION_QUANTA, }, allThresholds = PERFORMANCE_THRESHOLDS, logger) => {\\n const forceSIMD = (simdPreference === 'force');\\n const useSIMD = forceSIMD || (simdPreference !== 'disable' && supportsSIMD);\\n const checkScores = duration !== -1;\\n const baseScore = checkScores ? (useSIMD ? SIMD_SCORE_FIXED_POINT : WASM_SCORE_FIXED_POINT) / duration : 0;\\n const thresholds = useSIMD ? allThresholds.simd : allThresholds.wasm;\\n const inlineScore = checkScores ? inlineScoreMultiplier(executionQuantaPreference, usagePreference) * baseScore : 0;\\n const workerScore = checkScores ? WORKER_SCORE_MULTIPLIER * baseScore : 0;\\n const name = namePreference;\\n const unsupported = (reason) => {\\n return {\\n supported: false,\\n reason,\\n };\\n };\\n if (checkScores) {\\n if (baseScore < thresholds.noSupport) {\\n return unsupported(`Performance score ${baseScore} worse than threshold ${thresholds.noSupport}.`);\\n }\\n }\\n else {\\n if ((executionPreference === 'auto') ||\\n (variantPreference === 'auto')) {\\n return unsupported(`Missing explicit execution (${executionPreference}) or variant (${variantPreference}) preference, but no scoring performed.`);\\n }\\n }\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Bench duration ${duration} yields inline score ${inlineScore} and worker score ${workerScore}.`);\\n const succeed = (processor, executionApproach, variant) => {\\n return {\\n supported: true,\\n useSIMD,\\n processor,\\n executionApproach,\\n variant,\\n executionQuanta: (executionApproach === 'inline' ? executionQuantaPreference : undefined),\\n name,\\n };\\n };\\n const resolveVariant = (score, variant, lookup) => {\\n if (variant !== 'auto') {\\n if (!checkScores || score > lookup[variant]) {\\n return variant;\\n }\\n return 'failed';\\n }\\n if (score > lookup.c100) {\\n return 'c100';\\n }\\n if (score > lookup.c50) {\\n return 'c50';\\n }\\n if (score > lookup.c20) {\\n return 'c20';\\n }\\n if (score > lookup.c10) {\\n return 'c10';\\n }\\n return 'failed';\\n };\\n const reducePreference = (preference) => {\\n switch (preference || 'auto') {\\n case 'auto': {\\n let inlineOption = reducePreference('inline');\\n let workerOption = reducePreference('worker');\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Reducing auto preference: ${JSON.stringify(inlineOption)} vs ${JSON.stringify(workerOption)}`);\\n if (inlineOption.supported === false) {\\n return workerOption;\\n }\\n if (workerOption.supported === false) {\\n return workerOption;\\n }\\n if (inlineOption.variant === workerOption.variant || inlineOption.variant === 'c50') {\\n return inlineOption;\\n }\\n return workerOption;\\n }\\n case 'worker': {\\n if (support_js_1.supportsSharedArrayBuffer(globalThis, window, logger)) {\\n return reducePreference('worker-sab');\\n }\\n return reducePreference('worker-postMessage');\\n }\\n case 'inline': {\\n const variant = resolveVariant(inlineScore, variantPreference, thresholds.inline);\\n if (variant === 'failed') {\\n return unsupported(`Performance score ${inlineScore} not sufficient for inline use with variant preference ${variantPreference}.`);\\n }\\n ;\\n return succeed('voicefocus-inline-processor', 'inline', variant);\\n }\\n case 'worker-sab': {\\n if (!supportsSAB) {\\n const reason = 'Requested worker-sab but no SharedArrayBuffer support.';\\n logger === null || logger === void 0 ? void 0 : logger.warn(reason);\\n return { supported: false, reason };\\n }\\n const variant = resolveVariant(workerScore, variantPreference, thresholds.worker);\\n if (variant === 'failed') {\\n return unsupported(`Performance score ${workerScore} not sufficient for worker use with variant preference ${variantPreference}.`);\\n }\\n ;\\n return succeed('voicefocus-worker-sab-processor', 'worker-sab', variant);\\n }\\n case 'worker-postMessage': {\\n const variant = resolveVariant(workerScore, variantPreference, thresholds.worker);\\n if (variant === 'failed') {\\n return unsupported(`Performance score ${workerScore} not sufficient for worker use.`);\\n }\\n ;\\n if (name === 'ns_es') {\\n const reason = 'Requested echo suppression but postMessage executor does not support it.';\\n logger === null || logger === void 0 ? void 0 : logger.warn(reason);\\n return { supported: false, reason };\\n }\\n ;\\n return succeed('voicefocus-worker-postMessage-processor', 'worker-postMessage', variant);\\n }\\n }\\n };\\n return reducePreference(executionPreference);\\n};\\nconst featureCheck = (forceSIMD, fetchConfig, logger, estimator) => __awaiter(void 0, void 0, void 0, function* () {\\n const supports = {\\n supportsSIMD: forceSIMD,\\n supportsSAB: support_js_1.supportsSharedArrayBuffer(globalThis, window, logger),\\n duration: -1,\\n };\\n if (forceSIMD) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Supports SIMD: true (force)');\\n return supports;\\n }\\n const cleanup = !estimator;\\n const e = estimator || new Estimator(fetchConfig, logger);\\n try {\\n const useSIMD = !support_js_1.isOldChrome(window, logger) && (yield e.supportsSIMD());\\n logger === null || logger === void 0 ? void 0 : logger.info(`Supports SIMD: ${useSIMD} (force: ${forceSIMD})`);\\n supports.supportsSIMD = useSIMD;\\n return supports;\\n }\\n finally {\\n if (cleanup) {\\n e.stop();\\n }\\n }\\n});\\nconst estimateAndFeatureCheck = (forceSIMD, fetchConfig, estimatorBudget, logger) => __awaiter(void 0, void 0, void 0, function* () {\\n const estimator = new Estimator(fetchConfig, logger);\\n try {\\n const supports = yield featureCheck(forceSIMD, fetchConfig, logger, estimator);\\n if (supports.supportsSIMD) {\\n try {\\n supports.duration = yield estimator.measure(true, estimatorBudget);\\n logger === null || logger === void 0 ? void 0 : logger.info('SIMD timing:', supports.duration);\\n return supports;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.warn('Failed SIMD estimation; falling back to non-SIMD.');\\n supports.supportsSIMD = false;\\n }\\n }\\n supports.duration = yield estimator.measure(false, estimatorBudget);\\n logger === null || logger === void 0 ? void 0 : logger.info('No-SIMD timing:', supports.duration);\\n return supports;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.error('Could not feature check.', e);\\n throw e;\\n }\\n finally {\\n estimator.stop();\\n }\\n});\\nconst measureAndDecideExecutionApproach = (spec, fetchConfig, logger, thresholds = PERFORMANCE_THRESHOLDS) => __awaiter(void 0, void 0, void 0, function* () {\\n let executionPreference = spec.executionPreference;\\n const { usagePreference, variantPreference, namePreference, simdPreference, estimatorBudget, executionQuantaPreference, } = spec;\\n if (usagePreference === 'interactivity' && executionPreference !== 'inline') {\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Overriding execution preference ${executionPreference} to reflect interactivity preference.`);\\n executionPreference = 'inline';\\n }\\n const forceSIMD = simdPreference === 'force';\\n const knownModel = variantPreference !== 'auto';\\n const knownExecution = executionPreference !== 'auto';\\n let supports;\\n try {\\n if (knownModel && knownExecution) {\\n supports = yield featureCheck(forceSIMD, fetchConfig, logger);\\n }\\n else {\\n supports = yield estimateAndFeatureCheck(forceSIMD, fetchConfig, estimatorBudget, logger);\\n }\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.error('Could not load estimator.', e);\\n throw new Error('Could not load Voice Focus estimator.');\\n }\\n return decideExecutionApproach(Object.assign(Object.assign({}, supports), { simdPreference,\\n executionPreference,\\n variantPreference,\\n namePreference,\\n usagePreference,\\n executionQuantaPreference }), thresholds, logger);\\n});\\nexports.measureAndDecideExecutionApproach = measureAndDecideExecutionApproach;\\nconst decideModel = ({ category, name, variant, simd, url }) => {\\n return `${category}-${name}-${variant}-v1${simd ? '_simd' : ''}`;\\n};\\nexports.decideModel = decideModel;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.isValidRevisionID = exports.isValidAssetGroup = exports.resolveURL = exports.addQueryParams = exports.withQueryString = exports.withRequestHeaders = exports.fetchWithBehavior = void 0;\\nfunction fetchWithBehavior(url, init, fetchBehavior) {\\n if (!fetchBehavior) {\\n return fetch(url, init);\\n }\\n const withQuery = withQueryString(url, fetchBehavior);\\n const withHeaders = withRequestHeaders(init, fetchBehavior);\\n return fetch(withQuery, withHeaders);\\n}\\nexports.fetchWithBehavior = fetchWithBehavior;\\nfunction withRequestHeaders(init, fetchBehavior) {\\n if (!(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.headers)) {\\n return init;\\n }\\n if (!init) {\\n return {\\n headers: fetchBehavior.headers,\\n };\\n }\\n return Object.assign(Object.assign({}, init), { headers: Object.assign(Object.assign({}, init.headers || {}), fetchBehavior.headers) });\\n}\\nexports.withRequestHeaders = withRequestHeaders;\\nfunction withQueryString(url, fetchBehavior) {\\n if (!(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.escapedQueryString)) {\\n return url;\\n }\\n const hasQuery = url.lastIndexOf('?') !== -1;\\n return `${url}${hasQuery ? '&' : '?'}${fetchBehavior.escapedQueryString}`;\\n}\\nexports.withQueryString = withQueryString;\\nfunction addQueryParams(fetchBehavior, queryParams) {\\n const keys = Object.keys(queryParams);\\n if (!keys.length) {\\n return fetchBehavior;\\n }\\n const params = new URLSearchParams(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.escapedQueryString);\\n for (const key of keys) {\\n params.append(key, queryParams[key]);\\n }\\n return Object.assign(Object.assign({}, fetchBehavior), { escapedQueryString: params.toString() });\\n}\\nexports.addQueryParams = addQueryParams;\\nconst HEAD_OPTIONS = {\\n method: 'HEAD',\\n mode: 'cors',\\n credentials: 'omit',\\n redirect: 'follow',\\n referrerPolicy: 'origin',\\n};\\nfunction resolveURL(url, fetchBehavior) {\\n return fetchWithBehavior(url, HEAD_OPTIONS, fetchBehavior)\\n .then(response => response.redirected ? response.url : url);\\n}\\nexports.resolveURL = resolveURL;\\nfunction isValidAssetGroup(assetGroup) {\\n return !!assetGroup && /^[-.a-zA-Z0-9]+$/.test(assetGroup);\\n}\\nexports.isValidAssetGroup = isValidAssetGroup;\\nfunction isValidRevisionID(revisionID) {\\n return !!revisionID && /^[123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ]{22}$/.test(revisionID);\\n}\\nexports.isValidRevisionID = isValidRevisionID;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.loadWorker = void 0;\\nconst fetch_js_1 = __webpack_require__(/*! ./fetch.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\\\");\\nconst WORKER_FETCH_OPTIONS = {\\n method: 'GET',\\n mode: 'cors',\\n credentials: 'omit',\\n redirect: 'follow',\\n referrerPolicy: 'no-referrer',\\n};\\nconst loadWorker = (workerURL, name, fetchBehavior, logger) => {\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Loading ${name} worker from ${workerURL}.`);\\n let workerURLIsSameOrigin = false;\\n try {\\n workerURLIsSameOrigin = self.origin === (new URL(workerURL)).origin;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.error('Could not compare origins.', e);\\n }\\n if (workerURLIsSameOrigin) {\\n const workerURLWithQuery = fetch_js_1.withQueryString(workerURL, fetchBehavior);\\n return Promise.resolve(new Worker(workerURLWithQuery, { name }));\\n }\\n return fetch_js_1.fetchWithBehavior(workerURL, WORKER_FETCH_OPTIONS, fetchBehavior).then((res) => {\\n if (res.ok) {\\n return res.blob()\\n .then((blob) => new Worker(window.URL.createObjectURL(blob)));\\n }\\n throw new Error('Fetch failed.');\\n });\\n};\\nexports.loadWorker = loadWorker;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js ***!\n \\*********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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.isOldChrome = exports.supportsWASMStreaming = exports.supportsSharedArrayBuffer = exports.supportsWASM = exports.supportsAudioWorklet = exports.supportsWorker = exports.supportsVoiceFocusWorker = exports.supportsWASMPostMessage = exports.isSafari = void 0;\\nconst loader_js_1 = __webpack_require__(/*! ./loader.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\\\");\\nconst isChrome = (global = globalThis) => {\\n const ua = global.navigator.userAgent;\\n return !!ua.match(/Chrom(?:e|ium)\\\\/([0-9]+)/);\\n};\\nconst isSafari = (global = globalThis) => {\\n const ua = global.navigator.userAgent;\\n const hasSafari = ua.match(/Safari\\\\//);\\n const hasChrome = ua.match(/Chrom(?:e|ium)\\\\//);\\n return !!(hasSafari && !hasChrome);\\n};\\nexports.isSafari = isSafari;\\nconst supportsWASMPostMessage = (global = globalThis) => {\\n if (exports.isSafari(global)) {\\n return false;\\n }\\n if (isChrome(global)) {\\n const version = chromeVersion(global) || 0;\\n return version < 95;\\n }\\n return true;\\n};\\nexports.supportsWASMPostMessage = supportsWASMPostMessage;\\nconst supportsVoiceFocusWorker = (scope = globalThis, fetchConfig, logger) => __awaiter(void 0, void 0, void 0, function* () {\\n if (!exports.supportsWorker(scope, logger)) {\\n return false;\\n }\\n const workerURL = `${fetchConfig.paths.workers}worker-v1.js`;\\n try {\\n const worker = yield loader_js_1.loadWorker(workerURL, 'VoiceFocusTestWorker', fetchConfig, logger);\\n try {\\n worker.terminate();\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Failed to terminate worker.', e);\\n }\\n return true;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Failed to fetch and instantiate test worker', e);\\n return false;\\n }\\n});\\nexports.supportsVoiceFocusWorker = supportsVoiceFocusWorker;\\nconst supportsWorker = (scope = globalThis, logger) => {\\n try {\\n return !!scope.Worker;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support Worker', e);\\n return false;\\n }\\n};\\nexports.supportsWorker = supportsWorker;\\nconst supportsAudioWorklet = (scope = globalThis, logger) => {\\n try {\\n return !!scope.AudioWorklet && !!scope.AudioWorkletNode;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support Audio Worklet', e);\\n return false;\\n }\\n};\\nexports.supportsAudioWorklet = supportsAudioWorklet;\\nconst supportsWASM = (scope = globalThis, logger) => {\\n try {\\n return !!scope.WebAssembly && (!!scope.WebAssembly.compile || !!scope.WebAssembly.compileStreaming);\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support WASM', e);\\n return false;\\n }\\n};\\nexports.supportsWASM = supportsWASM;\\nconst supportsSharedArrayBuffer = (scope = globalThis, window = globalThis, logger) => {\\n try {\\n return !!scope.SharedArrayBuffer && (!!window.chrome || !!scope.crossOriginIsolated);\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support SharedArrayBuffer.');\\n return false;\\n }\\n};\\nexports.supportsSharedArrayBuffer = supportsSharedArrayBuffer;\\nconst supportsWASMStreaming = (scope = globalThis, logger) => {\\n var _a;\\n try {\\n return !!((_a = scope.WebAssembly) === null || _a === void 0 ? void 0 : _a.compileStreaming);\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support WASM streaming compilation', e);\\n return false;\\n }\\n};\\nexports.supportsWASMStreaming = supportsWASMStreaming;\\nconst SUPPORTED_CHROME_VERSION = 90;\\nconst chromeVersion = (global = globalThis) => {\\n try {\\n if (!global.chrome) {\\n return undefined;\\n }\\n }\\n catch (e) {\\n }\\n const versionCheck = global.navigator.userAgent.match(/Chrom(?:e|ium)\\\\/([0-9]+)/);\\n if (!versionCheck) {\\n return undefined;\\n }\\n return parseInt(versionCheck[1], 10);\\n};\\nconst isOldChrome = (global = globalThis, logger) => {\\n const version = chromeVersion(global);\\n if (!version) {\\n return false;\\n }\\n if (version < SUPPORTED_CHROME_VERSION) {\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Chrome ${version} has incomplete SIMD support.`);\\n return true;\\n }\\n return false;\\n};\\nexports.isOldChrome = isOldChrome;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.VoiceFocusAudioWorkletNode = void 0;\\nclass VoiceFocusAudioWorkletNode extends ((typeof globalThis !== 'undefined' && globalThis['AudioWorkletNode']) ||\\n class Sadness {\\n }) {\\n}\\nexports.VoiceFocusAudioWorkletNode = VoiceFocusAudioWorkletNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js ***!\n \\************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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.getAudioInput = exports.createAudioContext = exports.VoiceFocus = void 0;\\nconst decider_js_1 = __webpack_require__(/*! ./decider.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js\\\");\\nconst fetch_js_1 = __webpack_require__(/*! ./fetch.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\\\");\\nconst loader_js_1 = __webpack_require__(/*! ./loader.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\\\");\\nconst support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst worklet_inline_node_js_1 = __webpack_require__(/*! ./worklet-inline-node.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js\\\");\\nconst worklet_worker_sab_node_js_1 = __webpack_require__(/*! ./worklet-worker-sab-node.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js\\\");\\nconst worklet_worker_postMessage_node_js_1 = __webpack_require__(/*! ./worklet-worker-postMessage-node.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js\\\");\\nconst DEFAULT_AGC_DISABLED_SETTING = {\\n useVoiceFocusAGC: false,\\n useBuiltInAGC: true,\\n};\\nconst DEFAULT_AGC_SETTING = DEFAULT_AGC_DISABLED_SETTING;\\nconst DEFAULT_ASSET_GROUP = 'stable-v1';\\nconst DEFAULT_CDN = 'https://static.sdkassets.chime.aws';\\nconst DEFAULT_PATHS = {\\n processors: `${DEFAULT_CDN}/processors/`,\\n workers: `${DEFAULT_CDN}/workers/`,\\n wasm: `${DEFAULT_CDN}/wasm/`,\\n models: `${DEFAULT_CDN}/wasm/`,\\n};\\nconst DEFAULT_CONTEXT_HINT = {\\n latencyHint: 0,\\n};\\nconst BASE_AUDIO_CONSTRAINTS = {\\n channelCount: 1,\\n echoCancellation: true,\\n googEchoCancellation: true,\\n noiseSuppression: false,\\n googNoiseSuppression: false,\\n googHighpassFilter: false,\\n googTypingNoiseDetection: false,\\n};\\nconst DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC = Object.assign(Object.assign({}, BASE_AUDIO_CONSTRAINTS), { autoGainControl: true, googAutoGainControl: true, googAutoGainControl2: true });\\nconst DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC = Object.assign(Object.assign({}, BASE_AUDIO_CONSTRAINTS), { autoGainControl: false, googAutoGainControl: false, googAutoGainControl2: false });\\nconst PROCESSORS = {\\n 'voicefocus-worker-sab-processor': {\\n file: 'worklet-worker-sab-processor-v1.js',\\n node: worklet_worker_sab_node_js_1.default,\\n },\\n 'voicefocus-worker-postMessage-processor': {\\n file: 'worklet-worker-postMessage-processor-v1.js',\\n node: worklet_worker_postMessage_node_js_1.default,\\n },\\n 'voicefocus-inline-processor': {\\n file: 'worklet-inline-processor-v1.js',\\n node: worklet_inline_node_js_1.default,\\n },\\n};\\nconst validateAssetSpec = (assetGroup, revisionID) => {\\n if (assetGroup !== undefined && !fetch_js_1.isValidAssetGroup(assetGroup)) {\\n throw new Error(`Invalid asset group ${assetGroup}`);\\n }\\n if (revisionID !== undefined && !fetch_js_1.isValidRevisionID(revisionID)) {\\n throw new Error(`Invalid revision ID ${revisionID}`);\\n }\\n};\\nconst mungeConstraints = (constraints, agc) => {\\n let defaultConstraints;\\n if (agc.useBuiltInAGC) {\\n defaultConstraints = DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC;\\n }\\n else {\\n defaultConstraints = DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC;\\n }\\n if (!constraints) {\\n return { audio: defaultConstraints };\\n }\\n if (!constraints.audio) {\\n return constraints;\\n }\\n if (constraints.video) {\\n throw new Error('Not adding Voice Focus to multi-device getUserMedia call.');\\n }\\n return Object.assign(Object.assign({}, constraints), { audio: constraints.audio === true ? defaultConstraints : Object.assign(Object.assign({}, constraints.audio), defaultConstraints) });\\n};\\nconst urlForModel = (model, paths) => {\\n return `${paths.models}${decider_js_1.decideModel(model)}.wasm`;\\n};\\nclass VoiceFocus {\\n constructor(worker, processorURL, nodeConstructor, nodeOptions, executionQuanta) {\\n this.processorURL = processorURL;\\n this.nodeConstructor = nodeConstructor;\\n this.nodeOptions = nodeOptions;\\n this.executionQuanta = executionQuanta;\\n this.internal = {\\n worker,\\n nodeOptions,\\n isDestroyed: false,\\n };\\n }\\n static isSupported(spec, options) {\\n const { fetchBehavior, logger } = options || {};\\n if (typeof globalThis === 'undefined') {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not have globalThis.');\\n return Promise.resolve(false);\\n }\\n if (!support_js_1.supportsAudioWorklet(globalThis, logger)) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support Audio Worklet.');\\n return Promise.resolve(false);\\n }\\n if (!support_js_1.supportsWASM(globalThis, logger)) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support WASM.');\\n return Promise.resolve(false);\\n }\\n if (!support_js_1.supportsWASMStreaming(globalThis, logger)) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support streaming WASM compilation.');\\n }\\n const { assetGroup = DEFAULT_ASSET_GROUP, revisionID, paths = DEFAULT_PATHS, } = spec || {};\\n validateAssetSpec(assetGroup, revisionID);\\n const assetConfig = revisionID ? { revisionID } : { assetGroup };\\n const updatedFetchBehavior = fetch_js_1.addQueryParams(fetchBehavior, assetConfig);\\n const fetchConfig = Object.assign(Object.assign({}, updatedFetchBehavior), { paths });\\n return support_js_1.supportsVoiceFocusWorker(globalThis, fetchConfig, logger);\\n }\\n static mungeExecutionPreference(preference, logger) {\\n const isAuto = (preference === undefined || preference === 'auto');\\n if (support_js_1.isSafari(globalThis)) {\\n if (isAuto || preference === 'inline') {\\n return 'inline';\\n }\\n if (!isAuto) {\\n throw new Error(`Unsupported execution preference ${preference}`);\\n }\\n }\\n if (preference === 'worker-sab' && !support_js_1.supportsSharedArrayBuffer(globalThis, globalThis, logger)) {\\n throw new Error(`Unsupported execution preference ${preference}`);\\n }\\n return preference || 'auto';\\n }\\n static configure(spec, options) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const { fetchBehavior, preResolve, logger, } = options || {};\\n const { category = 'voicefocus', name = 'default', variant: variantPreference = 'auto', assetGroup = DEFAULT_ASSET_GROUP, revisionID, simd = 'detect', executionPreference = 'auto', executionQuantaPreference, usagePreference = 'interactivity', estimatorBudget = 100, paths = DEFAULT_PATHS, thresholds, } = spec || {};\\n logger === null || logger === void 0 ? void 0 : logger.debug('Configuring Voice Focus with spec', spec);\\n if (category !== undefined && category !== 'voicefocus') {\\n throw new Error(`Unrecognized category ${category}`);\\n }\\n if (name !== undefined && name !== 'default' && name !== 'ns_es') {\\n throw new Error(`Unrecognized feature name ${name}`);\\n }\\n if (variantPreference !== undefined && !['auto', 'c100', 'c50', 'c20', 'c10'].includes(variantPreference)) {\\n throw new Error(`Unrecognized feature variant ${variantPreference}`);\\n }\\n if (executionQuantaPreference !== undefined && ![1, 2, 3].includes(executionQuantaPreference)) {\\n throw new Error(`Unrecognized execution quanta preference ${executionQuantaPreference}`);\\n }\\n validateAssetSpec(assetGroup, revisionID);\\n if (simd !== undefined && !['detect', 'force', 'disable'].includes(simd)) {\\n throw new Error(`Unrecognized SIMD option ${simd}`);\\n }\\n if (executionPreference !== undefined && !['auto', 'inline', 'worker', 'worker-sab', 'worker-postMessage'].includes(executionPreference)) {\\n throw new Error(`Unrecognized execution preference ${executionPreference}`);\\n }\\n if (usagePreference !== undefined && !['quality', 'interactivity'].includes(usagePreference)) {\\n throw new Error(`Unrecognized usage preference ${usagePreference}`);\\n }\\n const executionSpec = {\\n executionPreference: this.mungeExecutionPreference(executionPreference, logger),\\n usagePreference,\\n executionQuantaPreference,\\n variantPreference,\\n namePreference: name,\\n simdPreference: simd,\\n estimatorBudget,\\n };\\n const assetConfig = revisionID ? { revisionID } : { assetGroup };\\n const updatedFetchBehavior = fetch_js_1.addQueryParams(fetchBehavior, assetConfig);\\n const fetchConfig = Object.assign({ paths }, updatedFetchBehavior);\\n const executionDefinition = yield decider_js_1.measureAndDecideExecutionApproach(executionSpec, fetchConfig, logger, thresholds);\\n if (executionDefinition.supported === false) {\\n return { supported: false, reason: executionDefinition.reason };\\n }\\n logger === null || logger === void 0 ? void 0 : logger.info('Decided execution approach', executionDefinition);\\n const { useSIMD, processor, variant, executionQuanta } = executionDefinition;\\n const model = {\\n category: category || 'voicefocus',\\n name: name || 'default',\\n variant,\\n simd: useSIMD,\\n };\\n if (preResolve) {\\n const startingURL = urlForModel(model, paths);\\n model.url = yield fetch_js_1.resolveURL(startingURL, updatedFetchBehavior);\\n }\\n return {\\n fetchConfig,\\n model,\\n processor,\\n executionQuanta,\\n supported: true,\\n };\\n });\\n }\\n static init(configuration, { delegate, preload = true, logger, }) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (configuration.supported === false) {\\n throw new Error('Voice Focus not supported. Reason: ' + configuration.reason);\\n }\\n const { model, processor, fetchConfig, executionQuanta, } = configuration;\\n const { simd, name } = model;\\n const { paths } = fetchConfig;\\n if (processor !== 'voicefocus-inline-processor' &&\\n processor !== 'voicefocus-worker-postMessage-processor' &&\\n processor !== 'voicefocus-worker-sab-processor') {\\n throw new Error(`Unknown processor ${processor}`);\\n }\\n const modelURL = model.url || urlForModel(model, paths);\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Using model URL ${modelURL}.`);\\n const audioBufferURL = `${paths.wasm}audio_buffer-v1${simd ? '_simd' : ''}.wasm`;\\n const resamplerURL = `${paths.wasm}resampler-v1${simd ? '_simd' : ''}.wasm`;\\n const workerURL = `${paths.workers}worker-v1.js`;\\n const { file, node } = PROCESSORS[processor];\\n const processorURL = `${paths.processors}${file}`;\\n const worker = yield loader_js_1.loadWorker(workerURL, 'VoiceFocusWorker', fetchConfig, logger);\\n if (preload) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Preloading', modelURL);\\n let message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n worker.postMessage({\\n message,\\n preload: true,\\n key: 'model',\\n fetchBehavior: fetchConfig,\\n path: modelURL,\\n });\\n }\\n const numberOfInputs = (name === 'ns_es') ? 2 : 1;\\n const nodeOptions = {\\n processor,\\n worker,\\n audioBufferURL,\\n resamplerURL,\\n fetchBehavior: fetchConfig,\\n modelURL,\\n delegate,\\n logger,\\n numberOfInputs,\\n };\\n const factory = new VoiceFocus(worker, processorURL, node, nodeOptions, executionQuanta);\\n return Promise.resolve(factory);\\n });\\n }\\n createNode(context, options) {\\n var _a;\\n if (this.internal.isDestroyed) {\\n throw new Error('Unable to create node because VoiceFocus worker has been destroyed.');\\n }\\n const { voiceFocusSampleRate = (context.sampleRate === 16000 ? 16000 : 48000), enabled = true, agc = DEFAULT_AGC_SETTING, } = options || {};\\n const supportFarendStream = options === null || options === void 0 ? void 0 : options.es;\\n const processorOptions = {\\n voiceFocusSampleRate,\\n enabled,\\n sendBufferCount: 10,\\n prefill: 6,\\n agc,\\n executionQuanta: this.executionQuanta,\\n supportFarendStream,\\n };\\n const url = fetch_js_1.withQueryString(this.processorURL, (_a = this.nodeOptions) === null || _a === void 0 ? void 0 : _a.fetchBehavior);\\n return context.audioWorklet\\n .addModule(url)\\n .then(() => new (this.nodeConstructor)(context, Object.assign(Object.assign({}, this.nodeOptions), { processorOptions })));\\n }\\n applyToStream(stream, context, options) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.internal.isDestroyed) {\\n throw new Error(\\\"Unable to apply stream because VoiceFocus worker has been destroyed\\\");\\n }\\n const source = context.createMediaStreamSource(stream);\\n const node = yield this.applyToSourceNode(source, context, options);\\n const destination = context.createMediaStreamDestination();\\n node.connect(destination);\\n return {\\n node,\\n source,\\n destination,\\n stream: destination.stream,\\n };\\n });\\n }\\n applyToSourceNode(source, context, options) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const node = yield this.createNode(context, options);\\n source.connect(node);\\n return node;\\n });\\n }\\n destroy() {\\n if (this.internal.worker) {\\n this.internal.worker.terminate();\\n }\\n this.internal.isDestroyed = true;\\n }\\n}\\nexports.VoiceFocus = VoiceFocus;\\nconst createAudioContext = (contextHint = DEFAULT_CONTEXT_HINT) => {\\n return new (window.AudioContext || window.webkitAudioContext)(contextHint);\\n};\\nexports.createAudioContext = createAudioContext;\\nconst getAudioInput = (context, inputOptions, voiceFocusOptions) => __awaiter(void 0, void 0, void 0, function* () {\\n var _a, _b;\\n const { constraints, spec, delegate, preload = true, options } = inputOptions;\\n const { logger } = voiceFocusOptions;\\n const config = yield VoiceFocus.configure(spec, voiceFocusOptions);\\n if (!config.supported) {\\n (_a = voiceFocusOptions.logger) === null || _a === void 0 ? void 0 : _a.warn('Voice Focus not supported; returning standard stream.');\\n return window.navigator.mediaDevices.getUserMedia(constraints);\\n }\\n const factory = yield VoiceFocus.init(config, { delegate, preload, logger });\\n const agc = ((_b = inputOptions.options) === null || _b === void 0 ? void 0 : _b.agc) || DEFAULT_AGC_SETTING;\\n const input = yield window.navigator.mediaDevices.getUserMedia(mungeConstraints(constraints, agc));\\n return factory.applyToStream(input, context, options).then(result => result.stream);\\n});\\nexports.getAudioInput = getAudioInput;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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 support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst types_js_1 = __webpack_require__(/*! ./types.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\\\");\\nconst CPU_WARNING_MAX_INTERVAL_MS = 5 * 1000;\\nclass VoiceFocusInlineNode extends types_js_1.VoiceFocusAudioWorkletNode {\\n constructor(context, options) {\\n super(context, options.processor, options);\\n this.cpuWarningCount = 0;\\n this.channelCountMode = 'explicit';\\n this.channelCount = 1;\\n const { modelURL, worker, fetchBehavior, logger, delegate, } = options;\\n this.logger = logger;\\n this.port.onmessage = this.onProcessorMessage.bind(this);\\n this.delegate = delegate;\\n if (logger)\\n logger.debug('VoiceFocusInlineNode:', modelURL);\\n this.worker = worker;\\n this.worker.onmessage = this.onWorkerMessage.bind(this);\\n const message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n this.worker.postMessage({\\n message,\\n key: 'model',\\n fetchBehavior,\\n path: modelURL,\\n });\\n }\\n onModuleBufferLoaded(buffer, key) {\\n this.port.postMessage({ message: 'module-buffer', buffer, key });\\n }\\n onModuleLoaded(module, key) {\\n this.port.postMessage({ message: 'module', module, key });\\n }\\n enable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.port.postMessage({ message: 'enable' });\\n });\\n }\\n disable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.port.postMessage({ message: 'disable' });\\n });\\n }\\n stop() {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n this.port.postMessage({ message: 'stop' });\\n try {\\n (_a = this.worker) === null || _a === void 0 ? void 0 : _a.terminate();\\n }\\n catch (e) {\\n console.error(\\\"failed to terminate worker:\\\", e);\\n }\\n this.disconnect();\\n });\\n }\\n onProcessorMessage(event) {\\n var _a, _b, _c;\\n const data = event.data;\\n switch (data.message) {\\n case 'cpu':\\n this.cpuWarningCount++;\\n const now = Date.now();\\n const before = this.cpuWarningLastTriggered || now;\\n const diff = Math.abs(now - before);\\n if (!this.cpuWarningLastTriggered || diff > CPU_WARNING_MAX_INTERVAL_MS) {\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.warn(`CPU warning (count: ${this.cpuWarningCount}):`, data.message);\\n this.cpuWarningCount = 0;\\n this.cpuWarningLastTriggered = now;\\n }\\n (_b = this.delegate) === null || _b === void 0 ? void 0 : _b.onCPUWarning();\\n break;\\n default:\\n (_c = this.logger) === null || _c === void 0 ? void 0 : _c.debug('Ignoring processor message.');\\n }\\n }\\n onWorkerMessage(event) {\\n const data = event.data;\\n switch (data.message) {\\n case 'module-buffer':\\n if (!data.buffer || !data.key) {\\n return;\\n }\\n this.onModuleBufferLoaded(data.buffer, data.key);\\n break;\\n case 'module':\\n if (!data.module || !data.key) {\\n return;\\n }\\n this.onModuleLoaded(data.module, data.key);\\n break;\\n case 'stopped':\\n if (this.worker) {\\n this.worker.terminate();\\n }\\n break;\\n default:\\n return;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusInlineNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js ***!\n \\*********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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 support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst types_js_1 = __webpack_require__(/*! ./types.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\\\");\\nclass VoiceFocusWorkerPostMessageNode extends types_js_1.VoiceFocusAudioWorkletNode {\\n constructor(context, options) {\\n super(context, options.processor, options);\\n this.channelCountMode = 'explicit';\\n this.channelCount = 1;\\n const { modelURL, audioBufferURL, worker, fetchBehavior, delegate, } = options;\\n this.delegate = delegate;\\n this.worker = worker;\\n this.worker.onmessage = this.onWorkerMessage.bind(this);\\n this.port.onmessage = this.onProcessorMessage.bind(this);\\n const { enabled, agc, supportFarendStream } = options.processorOptions;\\n this.worker.postMessage({\\n message: 'init',\\n approach: 'postMessage',\\n frames: context.sampleRate === 16000 ? 160 : 480,\\n enabled,\\n agc,\\n fetchBehavior,\\n model: modelURL,\\n supportFarendStream,\\n });\\n const message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n this.worker.postMessage({\\n message,\\n key: 'buffer',\\n fetchBehavior,\\n path: audioBufferURL,\\n });\\n }\\n enable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.worker.postMessage({ message: 'enable' });\\n });\\n }\\n disable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.worker.postMessage({ message: 'disable' });\\n });\\n }\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n this.worker.postMessage({ message: 'stop' });\\n }\\n catch (e) {\\n }\\n this.disconnect();\\n });\\n }\\n onWorkerMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'ready':\\n this.port.postMessage({ message: 'ready', shared: data.shared }, data.shared ? Object.values(data.shared) : []);\\n break;\\n case 'data':\\n if (!data.buffer) {\\n return;\\n }\\n this.port.postMessage({ message: 'data', buffer: data.buffer }, [data.buffer]);\\n break;\\n case 'stopped':\\n this.worker.terminate();\\n break;\\n case 'module-buffer':\\n case 'module':\\n this.port.postMessage(data);\\n break;\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'processing':\\n this.port.postMessage(data);\\n break;\\n default:\\n return;\\n }\\n }\\n onProcessorMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'data':\\n if (!data.buffer) {\\n return;\\n }\\n this.worker.postMessage({ message: 'data', buffer: data.buffer }, [data.buffer]);\\n break;\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'prepare-for-frames':\\n this.worker.postMessage(data);\\n break;\\n default:\\n return;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusWorkerPostMessageNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js ***!\n \\*************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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 support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst types_js_1 = __webpack_require__(/*! ./types.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\\\");\\nconst INDICES = {\\n ready: 0,\\n enabled: 1,\\n};\\nconst STATES = {\\n disabled: 0,\\n enabled: 1,\\n stopped: 2,\\n};\\nclass VoiceFocusWorkerBufferNode extends types_js_1.VoiceFocusAudioWorkletNode {\\n constructor(context, options) {\\n super(context, options.processor, options);\\n this.channelCountMode = 'explicit';\\n this.channelCount = 1;\\n const { modelURL, resamplerURL, worker, fetchBehavior, delegate, } = options;\\n this.delegate = delegate;\\n this.worker = worker;\\n this.worker.onmessage = this.onWorkerMessage.bind(this);\\n this.port.onmessage = this.onProcessorMessage.bind(this);\\n const { enabled, supportFarendStream } = options.processorOptions;\\n this.worker.postMessage({\\n message: 'init',\\n approach: 'sab',\\n frames: context.sampleRate === 16000 ? 160 : 480,\\n enabled,\\n model: modelURL,\\n supportFarendStream,\\n });\\n const message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n this.worker.postMessage({\\n message,\\n key: 'resampler',\\n fetchBehavior,\\n path: resamplerURL,\\n });\\n }\\n enable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.state) {\\n Atomics.store(this.state, INDICES.enabled, STATES.enabled);\\n Atomics.notify(this.state, INDICES.ready, 1);\\n }\\n else {\\n this.worker.postMessage({ message: 'enable' });\\n }\\n });\\n }\\n disable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.state) {\\n Atomics.store(this.state, INDICES.enabled, STATES.disabled);\\n Atomics.notify(this.state, INDICES.ready, 1);\\n }\\n else {\\n this.worker.postMessage({ message: 'disable' });\\n }\\n });\\n }\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.state) {\\n Atomics.store(this.state, INDICES.enabled, STATES.stopped);\\n Atomics.notify(this.state, INDICES.ready, 1);\\n }\\n else {\\n try {\\n this.worker.postMessage({ message: 'stop' });\\n }\\n catch (e) {\\n }\\n }\\n this.disconnect();\\n });\\n }\\n onWorkerMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'ready':\\n if (!data.shared) {\\n throw new Error('No shared state.');\\n }\\n this.state = new Int32Array(data.shared.state);\\n this.port.postMessage(data);\\n break;\\n case 'stopped':\\n this.worker.terminate();\\n break;\\n case 'module-buffer':\\n case 'module':\\n this.port.postMessage(data);\\n break;\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'processing':\\n this.port.postMessage(data);\\n break;\\n default:\\n return;\\n }\\n }\\n onProcessorMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'prepare-for-frames':\\n this.worker.postMessage(data);\\n break;\\n default:\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusWorkerBufferNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/base64-js/index.js\":\n/*!*****************************************!*\\\n !*** ./node_modules/base64-js/index.js ***!\n \\*****************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\n\\nexports.byteLength = byteLength\\nexports.toByteArray = toByteArray\\nexports.fromByteArray = fromByteArray\\n\\nvar lookup = []\\nvar revLookup = []\\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\\n\\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\\nfor (var i = 0, len = code.length; i < len; ++i) {\\n lookup[i] = code[i]\\n revLookup[code.charCodeAt(i)] = i\\n}\\n\\n// Support decoding URL-safe base64 strings, as Node.js does.\\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\\nrevLookup['-'.charCodeAt(0)] = 62\\nrevLookup['_'.charCodeAt(0)] = 63\\n\\nfunction getLens (b64) {\\n var len = b64.length\\n\\n if (len % 4 > 0) {\\n throw new Error('Invalid string. Length must be a multiple of 4')\\n }\\n\\n // Trim off extra bytes after placeholder bytes are found\\n // See: https://github.com/beatgammit/base64-js/issues/42\\n var validLen = b64.indexOf('=')\\n if (validLen === -1) validLen = len\\n\\n var placeHoldersLen = validLen === len\\n ? 0\\n : 4 - (validLen % 4)\\n\\n return [validLen, placeHoldersLen]\\n}\\n\\n// base64 is 4/3 + up to two characters of the original data\\nfunction byteLength (b64) {\\n var lens = getLens(b64)\\n var validLen = lens[0]\\n var placeHoldersLen = lens[1]\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\n}\\n\\nfunction _byteLength (b64, validLen, placeHoldersLen) {\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\n}\\n\\nfunction toByteArray (b64) {\\n var tmp\\n var lens = getLens(b64)\\n var validLen = lens[0]\\n var placeHoldersLen = lens[1]\\n\\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\\n\\n var curByte = 0\\n\\n // if there are placeholders, only get up to the last complete 4 chars\\n var len = placeHoldersLen > 0\\n ? validLen - 4\\n : validLen\\n\\n var i\\n for (i = 0; i < len; i += 4) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] << 18) |\\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\\n revLookup[b64.charCodeAt(i + 3)]\\n arr[curByte++] = (tmp >> 16) & 0xFF\\n arr[curByte++] = (tmp >> 8) & 0xFF\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n if (placeHoldersLen === 2) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] << 2) |\\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n if (placeHoldersLen === 1) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] << 10) |\\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\\n arr[curByte++] = (tmp >> 8) & 0xFF\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n return arr\\n}\\n\\nfunction tripletToBase64 (num) {\\n return lookup[num >> 18 & 0x3F] +\\n lookup[num >> 12 & 0x3F] +\\n lookup[num >> 6 & 0x3F] +\\n lookup[num & 0x3F]\\n}\\n\\nfunction encodeChunk (uint8, start, end) {\\n var tmp\\n var output = []\\n for (var i = start; i < end; i += 3) {\\n tmp =\\n ((uint8[i] << 16) & 0xFF0000) +\\n ((uint8[i + 1] << 8) & 0xFF00) +\\n (uint8[i + 2] & 0xFF)\\n output.push(tripletToBase64(tmp))\\n }\\n return output.join('')\\n}\\n\\nfunction fromByteArray (uint8) {\\n var tmp\\n var len = uint8.length\\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\\n var parts = []\\n var maxChunkLength = 16383 // must be multiple of 3\\n\\n // go through the array every three bytes, we'll deal with trailing stuff later\\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\\n }\\n\\n // pad the end with zeros, but make sure to not forget the extra bytes\\n if (extraBytes === 1) {\\n tmp = uint8[len - 1]\\n parts.push(\\n lookup[tmp >> 2] +\\n lookup[(tmp << 4) & 0x3F] +\\n '=='\\n )\\n } else if (extraBytes === 2) {\\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\\n parts.push(\\n lookup[tmp >> 10] +\\n lookup[(tmp >> 4) & 0x3F] +\\n lookup[(tmp << 2) & 0x3F] +\\n '='\\n )\\n }\\n\\n return parts.join('')\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/base64-js/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/bowser/es5.js\":\n/*!************************************!*\\\n !*** ./node_modules/bowser/es5.js ***!\n \\************************************/\n/***/ (function(module) {\n\neval(\"!function(e,t){ true?module.exports=t():0}(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\\\"undefined\\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\\"Module\\\"}),Object.defineProperty(e,\\\"__esModule\\\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\\\"object\\\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\\\"default\\\",{enumerable:!0,value:e}),2&t&&\\\"string\\\"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\\\"a\\\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\\\"\\\",r(r.s=90)}({17:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n=r(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||\\\"\\\"},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||\\\"\\\"},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case\\\"NT\\\":return\\\"NT\\\";case\\\"XP\\\":return\\\"XP\\\";case\\\"NT 5.0\\\":return\\\"2000\\\";case\\\"NT 5.1\\\":return\\\"XP\\\";case\\\"NT 5.2\\\":return\\\"2003\\\";case\\\"NT 6.0\\\":return\\\"Vista\\\";case\\\"NT 6.1\\\":return\\\"7\\\";case\\\"NT 6.2\\\":return\\\"8\\\";case\\\"NT 6.3\\\":return\\\"8.1\\\";case\\\"NT 10.0\\\":return\\\"10\\\";default:return}},e.getMacOSVersionName=function(e){var t=e.split(\\\".\\\").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return\\\"Leopard\\\";case 6:return\\\"Snow Leopard\\\";case 7:return\\\"Lion\\\";case 8:return\\\"Mountain Lion\\\";case 9:return\\\"Mavericks\\\";case 10:return\\\"Yosemite\\\";case 11:return\\\"El Capitan\\\";case 12:return\\\"Sierra\\\";case 13:return\\\"High Sierra\\\";case 14:return\\\"Mojave\\\";case 15:return\\\"Catalina\\\";default:return}},e.getAndroidVersionName=function(e){var t=e.split(\\\".\\\").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?\\\"Cupcake\\\":1===t[0]&&t[1]>=6?\\\"Donut\\\":2===t[0]&&t[1]<2?\\\"Eclair\\\":2===t[0]&&2===t[1]?\\\"Froyo\\\":2===t[0]&&t[1]>2?\\\"Gingerbread\\\":3===t[0]?\\\"Honeycomb\\\":4===t[0]&&t[1]<1?\\\"Ice Cream Sandwich\\\":4===t[0]&&t[1]<4?\\\"Jelly Bean\\\":4===t[0]&&t[1]>=4?\\\"KitKat\\\":5===t[0]?\\\"Lollipop\\\":6===t[0]?\\\"Marshmallow\\\":7===t[0]?\\\"Nougat\\\":8===t[0]?\\\"Oreo\\\":9===t[0]?\\\"Pie\\\":void 0},e.getVersionPrecision=function(e){return e.split(\\\".\\\").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var i=e.getVersionPrecision(t),s=e.getVersionPrecision(r),a=Math.max(i,s),o=0,u=e.map([t,r],(function(t){var r=a-e.getVersionPrecision(t),n=t+new Array(r+1).join(\\\".0\\\");return e.map(n.split(\\\".\\\"),(function(e){return new Array(20-e.length).join(\\\"0\\\")+e})).reverse()}));for(n&&(o=a-Math.min(i,s)),a-=1;a>=o;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===o)return 0;a-=1}else if(u[0][a]1?i-1:0),a=1;a0){var a=Object.keys(r),u=o.default.find(a,(function(e){return t.isOS(e)}));if(u){var d=this.satisfies(r[u]);if(void 0!==d)return d}var c=o.default.find(a,(function(e){return t.isPlatform(e)}));if(c){var f=this.satisfies(r[c]);if(void 0!==f)return f}}if(s>0){var l=Object.keys(i),h=o.default.find(l,(function(e){return t.isBrowser(e,!0)}));if(void 0!==h)return this.compareVersion(i[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),i=o.default.getBrowserTypeByAlias(n);return t&&i&&(n=i.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,i=this.getBrowserVersion();if(\\\"string\\\"==typeof i)return\\\">\\\"===e[0]||\\\"<\\\"===e[0]?(r=e.substr(1),\\\"=\\\"===e[1]?(n=!0,r=e.substr(2)):t=[],\\\">\\\"===e[0]?t.push(1):t.push(-1)):\\\"=\\\"===e[0]?r=e.substr(1):\\\"~\\\"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(o.default.compareVersions(i,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=d,e.exports=t.default},92:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n};var s=/version\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:\\\"Googlebot\\\"},r=i.default.getFirstMatch(/googlebot\\\\/(\\\\d+(\\\\.\\\\d+))/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:\\\"Opera\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:opera)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\\\\/|opios/i],describe:function(e){var t={name:\\\"Opera\\\"},r=i.default.getFirstMatch(/(?:opr|opios)[\\\\s/](\\\\S+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:\\\"Samsung Internet for Android\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:\\\"NAVER Whale Browser\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:whale)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:\\\"MZ Browser\\\"},r=i.default.getFirstMatch(/(?:MZBrowser)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:\\\"Focus\\\"},r=i.default.getFirstMatch(/(?:focus)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:\\\"Swing\\\"},r=i.default.getFirstMatch(/(?:swing)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:\\\"Opera Coast\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:coast)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\\\\/\\\\d+(?:.?_?\\\\d+)+/i],describe:function(e){var t={name:\\\"Opera Touch\\\"},r=i.default.getFirstMatch(/(?:opt)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:\\\"Yandex Browser\\\"},r=i.default.getFirstMatch(/(?:yabrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:\\\"UC Browser\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:ucbrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:\\\"Maxthon\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:\\\"Epiphany\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:epiphany)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:\\\"Puffin\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:puffin)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:\\\"Sleipnir\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:sleipnir)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:\\\"K-Meleon\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:k-meleon)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:\\\"WeChat\\\"},r=i.default.getFirstMatch(/(?:micromessenger)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?\\\"QQ Browser Lite\\\":\\\"QQ Browser\\\"},r=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:\\\"Internet Explorer\\\"},r=i.default.getFirstMatch(/(?:msie |rv:)(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\\\\sedg\\\\//i],describe:function(e){var t={name:\\\"Microsoft Edge\\\"},r=i.default.getFirstMatch(/\\\\sedg\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:\\\"Microsoft Edge\\\"},r=i.default.getSecondMatch(/edg([ea]|ios)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:\\\"Vivaldi\\\"},r=i.default.getFirstMatch(/vivaldi\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:\\\"SeaMonkey\\\"},r=i.default.getFirstMatch(/seamonkey\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:\\\"Sailfish\\\"},r=i.default.getFirstMatch(/sailfish\\\\s?browser\\\\/(\\\\d+(\\\\.\\\\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:\\\"Amazon Silk\\\"},r=i.default.getFirstMatch(/silk\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:\\\"PhantomJS\\\"},r=i.default.getFirstMatch(/phantomjs\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:\\\"SlimerJS\\\"},r=i.default.getFirstMatch(/slimerjs\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\\\\bbb\\\\d+/i,/rim\\\\stablet/i],describe:function(e){var t={name:\\\"BlackBerry\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/blackberry[\\\\d]+\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:\\\"WebOS Browser\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:\\\"Bada\\\"},r=i.default.getFirstMatch(/dolfin\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:\\\"Tizen\\\"},r=i.default.getFirstMatch(/(?:tizen\\\\s?)?browser\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:\\\"QupZilla\\\"},r=i.default.getFirstMatch(/(?:qupzilla)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:\\\"Firefox\\\"},r=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:\\\"Electron\\\"},r=i.default.getFirstMatch(/(?:electron)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:\\\"Miui\\\"},r=i.default.getFirstMatch(/(?:MiuiBrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:\\\"Chromium\\\"},r=i.default.getFirstMatch(/(?:chromium)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:\\\"Chrome\\\"},r=i.default.getFirstMatch(/(?:chrome|crios|crmo)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:\\\"Google Search\\\"},r=i.default.getFirstMatch(/(?:GSA)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:\\\"Android Browser\\\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:\\\"PlayStation 4\\\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:\\\"Safari\\\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search(\\\"\\\\\\\\(\\\")?/^(.*)\\\\/(.*)[ \\\\t]\\\\((.*)/:/^(.*)\\\\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:[/Roku\\\\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\\\\/DVP-(\\\\d+\\\\.\\\\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\\\\s?(\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \\\\d\\\\d?.\\\\d)?)/i,e),r=i.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\\\\//],describe:function(e){var t={name:s.OS_MAP.iOS},r=i.default.getSecondMatch(/(Version\\\\/)(\\\\d[\\\\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\\\\d+(\\\\.?_?\\\\d+)+)/i,e).replace(/[_\\\\s]/g,\\\".\\\"),r=i.default.getMacOSVersionName(t),n={name:s.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\\\\d+([_\\\\s]\\\\d+)*) like mac os x/i,e).replace(/[_\\\\s]/g,\\\".\\\");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=i.default.getFirstMatch(/android[\\\\s/-](\\\\d+(\\\\.\\\\d+)*)/i,e),r=i.default.getAndroidVersionName(t),n={name:s.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\\\\/(\\\\d+(\\\\.\\\\d+)*)/i,e),r={name:s.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\\\\bbb\\\\d+/i,/rim\\\\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\\\\stablet\\\\sos\\\\s(\\\\d+(\\\\.\\\\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\\\\d+\\\\/(\\\\d+([_\\\\s]\\\\d+)*)/i,e)||i.default.getFirstMatch(/\\\\bbb(\\\\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\\\\/(\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\\\\s](\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\\\\s](\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:[/googlebot/i],describe:function(){return{type:\\\"bot\\\",vendor:\\\"Google\\\"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&\\\"Nova\\\",r={type:s.PLATFORMS_MAP.mobile,vendor:\\\"Huawei\\\"};return t&&(r.model=t),r}},{test:[/nexus\\\\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Nexus\\\"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Apple\\\",model:\\\"iPad\\\"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\\\\//],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Apple\\\",model:\\\"iPad\\\"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Amazon\\\",model:\\\"Kindle Fire HD 7\\\"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Amazon\\\"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"Apple\\\",model:t}}},{test:[/nexus\\\\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"Nexus\\\"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\\\"blackberry\\\"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"BlackBerry\\\"}}},{test:function(e){return\\\"bada\\\"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\\\"windows phone\\\"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"Microsoft\\\"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(\\\".\\\")[0]);return\\\"android\\\"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return\\\"android\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\\\"macos\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:\\\"Apple\\\"}}},{test:function(e){return\\\"windows\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return\\\"linux\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return\\\"playstation 4\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return\\\"roku\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:function(e){return\\\"microsoft edge\\\"===e.getBrowserName(!0)},describe:function(e){if(/\\\\sedg\\\\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},r=i.default.getFirstMatch(/trident\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},r=i.default.getFirstMatch(/presto\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},r=i.default.getFirstMatch(/gecko\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\\\\/537\\\\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},r=i.default.getFirstMatch(/webkit\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=a,e.exports=t.default}})}));\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/bowser/es5.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/buffer/index.js\":\n/*!**************************************!*\\\n !*** ./node_modules/buffer/index.js ***!\n \\**************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/*!\\n * The buffer module from node.js, for the browser.\\n *\\n * @author Feross Aboukhadijeh \\n * @license MIT\\n */\\n/* eslint-disable no-proto */\\n\\n\\n\\nconst base64 = __webpack_require__(/*! base64-js */ \\\"./node_modules/base64-js/index.js\\\")\\nconst ieee754 = __webpack_require__(/*! ieee754 */ \\\"./node_modules/ieee754/index.js\\\")\\nconst customInspectSymbol =\\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\\n : null\\n\\nexports.Buffer = Buffer\\nexports.SlowBuffer = SlowBuffer\\nexports.INSPECT_MAX_BYTES = 50\\n\\nconst K_MAX_LENGTH = 0x7fffffff\\nexports.kMaxLength = K_MAX_LENGTH\\n\\n/**\\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\\n * === true Use Uint8Array implementation (fastest)\\n * === false Print warning and recommend using `buffer` v4.x which has an Object\\n * implementation (most compatible, even IE6)\\n *\\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\\n * Opera 11.6+, iOS 4.2+.\\n *\\n * We report that the browser does not support typed arrays if the are not subclassable\\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\\n * for __proto__ and has a buggy typed array implementation.\\n */\\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\\n\\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\\n typeof console.error === 'function') {\\n console.error(\\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\\n )\\n}\\n\\nfunction typedArraySupport () {\\n // Can typed array instances can be augmented?\\n try {\\n const arr = new Uint8Array(1)\\n const proto = { foo: function () { return 42 } }\\n Object.setPrototypeOf(proto, Uint8Array.prototype)\\n Object.setPrototypeOf(arr, proto)\\n return arr.foo() === 42\\n } catch (e) {\\n return false\\n }\\n}\\n\\nObject.defineProperty(Buffer.prototype, 'parent', {\\n enumerable: true,\\n get: function () {\\n if (!Buffer.isBuffer(this)) return undefined\\n return this.buffer\\n }\\n})\\n\\nObject.defineProperty(Buffer.prototype, 'offset', {\\n enumerable: true,\\n get: function () {\\n if (!Buffer.isBuffer(this)) return undefined\\n return this.byteOffset\\n }\\n})\\n\\nfunction createBuffer (length) {\\n if (length > K_MAX_LENGTH) {\\n throw new RangeError('The value \\\"' + length + '\\\" is invalid for option \\\"size\\\"')\\n }\\n // Return an augmented `Uint8Array` instance\\n const buf = new Uint8Array(length)\\n Object.setPrototypeOf(buf, Buffer.prototype)\\n return buf\\n}\\n\\n/**\\n * The Buffer constructor returns instances of `Uint8Array` that have their\\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\\n * returns a single octet.\\n *\\n * The `Uint8Array` prototype remains unmodified.\\n */\\n\\nfunction Buffer (arg, encodingOrOffset, length) {\\n // Common case.\\n if (typeof arg === 'number') {\\n if (typeof encodingOrOffset === 'string') {\\n throw new TypeError(\\n 'The \\\"string\\\" argument must be of type string. Received type number'\\n )\\n }\\n return allocUnsafe(arg)\\n }\\n return from(arg, encodingOrOffset, length)\\n}\\n\\nBuffer.poolSize = 8192 // not used by this implementation\\n\\nfunction from (value, encodingOrOffset, length) {\\n if (typeof value === 'string') {\\n return fromString(value, encodingOrOffset)\\n }\\n\\n if (ArrayBuffer.isView(value)) {\\n return fromArrayView(value)\\n }\\n\\n if (value == null) {\\n throw new TypeError(\\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\\n 'or Array-like Object. Received type ' + (typeof value)\\n )\\n }\\n\\n if (isInstance(value, ArrayBuffer) ||\\n (value && isInstance(value.buffer, ArrayBuffer))) {\\n return fromArrayBuffer(value, encodingOrOffset, length)\\n }\\n\\n if (typeof SharedArrayBuffer !== 'undefined' &&\\n (isInstance(value, SharedArrayBuffer) ||\\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\\n return fromArrayBuffer(value, encodingOrOffset, length)\\n }\\n\\n if (typeof value === 'number') {\\n throw new TypeError(\\n 'The \\\"value\\\" argument must not be of type number. Received type number'\\n )\\n }\\n\\n const valueOf = value.valueOf && value.valueOf()\\n if (valueOf != null && valueOf !== value) {\\n return Buffer.from(valueOf, encodingOrOffset, length)\\n }\\n\\n const b = fromObject(value)\\n if (b) return b\\n\\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\\n typeof value[Symbol.toPrimitive] === 'function') {\\n return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)\\n }\\n\\n throw new TypeError(\\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\\n 'or Array-like Object. Received type ' + (typeof value)\\n )\\n}\\n\\n/**\\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\\n * if value is a number.\\n * Buffer.from(str[, encoding])\\n * Buffer.from(array)\\n * Buffer.from(buffer)\\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\\n **/\\nBuffer.from = function (value, encodingOrOffset, length) {\\n return from(value, encodingOrOffset, length)\\n}\\n\\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\\n// https://github.com/feross/buffer/pull/148\\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\\nObject.setPrototypeOf(Buffer, Uint8Array)\\n\\nfunction assertSize (size) {\\n if (typeof size !== 'number') {\\n throw new TypeError('\\\"size\\\" argument must be of type number')\\n } else if (size < 0) {\\n throw new RangeError('The value \\\"' + size + '\\\" is invalid for option \\\"size\\\"')\\n }\\n}\\n\\nfunction alloc (size, fill, encoding) {\\n assertSize(size)\\n if (size <= 0) {\\n return createBuffer(size)\\n }\\n if (fill !== undefined) {\\n // Only pay attention to encoding if it's a string. This\\n // prevents accidentally sending in a number that would\\n // be interpreted as a start offset.\\n return typeof encoding === 'string'\\n ? createBuffer(size).fill(fill, encoding)\\n : createBuffer(size).fill(fill)\\n }\\n return createBuffer(size)\\n}\\n\\n/**\\n * Creates a new filled Buffer instance.\\n * alloc(size[, fill[, encoding]])\\n **/\\nBuffer.alloc = function (size, fill, encoding) {\\n return alloc(size, fill, encoding)\\n}\\n\\nfunction allocUnsafe (size) {\\n assertSize(size)\\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\\n}\\n\\n/**\\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\\n * */\\nBuffer.allocUnsafe = function (size) {\\n return allocUnsafe(size)\\n}\\n/**\\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\\n */\\nBuffer.allocUnsafeSlow = function (size) {\\n return allocUnsafe(size)\\n}\\n\\nfunction fromString (string, encoding) {\\n if (typeof encoding !== 'string' || encoding === '') {\\n encoding = 'utf8'\\n }\\n\\n if (!Buffer.isEncoding(encoding)) {\\n throw new TypeError('Unknown encoding: ' + encoding)\\n }\\n\\n const length = byteLength(string, encoding) | 0\\n let buf = createBuffer(length)\\n\\n const actual = buf.write(string, encoding)\\n\\n if (actual !== length) {\\n // Writing a hex string, for example, that contains invalid characters will\\n // cause everything after the first invalid character to be ignored. (e.g.\\n // 'abxxcd' will be treated as 'ab')\\n buf = buf.slice(0, actual)\\n }\\n\\n return buf\\n}\\n\\nfunction fromArrayLike (array) {\\n const length = array.length < 0 ? 0 : checked(array.length) | 0\\n const buf = createBuffer(length)\\n for (let i = 0; i < length; i += 1) {\\n buf[i] = array[i] & 255\\n }\\n return buf\\n}\\n\\nfunction fromArrayView (arrayView) {\\n if (isInstance(arrayView, Uint8Array)) {\\n const copy = new Uint8Array(arrayView)\\n return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\\n }\\n return fromArrayLike(arrayView)\\n}\\n\\nfunction fromArrayBuffer (array, byteOffset, length) {\\n if (byteOffset < 0 || array.byteLength < byteOffset) {\\n throw new RangeError('\\\"offset\\\" is outside of buffer bounds')\\n }\\n\\n if (array.byteLength < byteOffset + (length || 0)) {\\n throw new RangeError('\\\"length\\\" is outside of buffer bounds')\\n }\\n\\n let buf\\n if (byteOffset === undefined && length === undefined) {\\n buf = new Uint8Array(array)\\n } else if (length === undefined) {\\n buf = new Uint8Array(array, byteOffset)\\n } else {\\n buf = new Uint8Array(array, byteOffset, length)\\n }\\n\\n // Return an augmented `Uint8Array` instance\\n Object.setPrototypeOf(buf, Buffer.prototype)\\n\\n return buf\\n}\\n\\nfunction fromObject (obj) {\\n if (Buffer.isBuffer(obj)) {\\n const len = checked(obj.length) | 0\\n const buf = createBuffer(len)\\n\\n if (buf.length === 0) {\\n return buf\\n }\\n\\n obj.copy(buf, 0, 0, len)\\n return buf\\n }\\n\\n if (obj.length !== undefined) {\\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\\n return createBuffer(0)\\n }\\n return fromArrayLike(obj)\\n }\\n\\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\\n return fromArrayLike(obj.data)\\n }\\n}\\n\\nfunction checked (length) {\\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\\n // length is NaN (which is otherwise coerced to zero.)\\n if (length >= K_MAX_LENGTH) {\\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\\n }\\n return length | 0\\n}\\n\\nfunction SlowBuffer (length) {\\n if (+length != length) { // eslint-disable-line eqeqeq\\n length = 0\\n }\\n return Buffer.alloc(+length)\\n}\\n\\nBuffer.isBuffer = function isBuffer (b) {\\n return b != null && b._isBuffer === true &&\\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\\n}\\n\\nBuffer.compare = function compare (a, b) {\\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\\n throw new TypeError(\\n 'The \\\"buf1\\\", \\\"buf2\\\" arguments must be one of type Buffer or Uint8Array'\\n )\\n }\\n\\n if (a === b) return 0\\n\\n let x = a.length\\n let y = b.length\\n\\n for (let i = 0, len = Math.min(x, y); i < len; ++i) {\\n if (a[i] !== b[i]) {\\n x = a[i]\\n y = b[i]\\n break\\n }\\n }\\n\\n if (x < y) return -1\\n if (y < x) return 1\\n return 0\\n}\\n\\nBuffer.isEncoding = function isEncoding (encoding) {\\n switch (String(encoding).toLowerCase()) {\\n case 'hex':\\n case 'utf8':\\n case 'utf-8':\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n case 'base64':\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return true\\n default:\\n return false\\n }\\n}\\n\\nBuffer.concat = function concat (list, length) {\\n if (!Array.isArray(list)) {\\n throw new TypeError('\\\"list\\\" argument must be an Array of Buffers')\\n }\\n\\n if (list.length === 0) {\\n return Buffer.alloc(0)\\n }\\n\\n let i\\n if (length === undefined) {\\n length = 0\\n for (i = 0; i < list.length; ++i) {\\n length += list[i].length\\n }\\n }\\n\\n const buffer = Buffer.allocUnsafe(length)\\n let pos = 0\\n for (i = 0; i < list.length; ++i) {\\n let buf = list[i]\\n if (isInstance(buf, Uint8Array)) {\\n if (pos + buf.length > buffer.length) {\\n if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\\n buf.copy(buffer, pos)\\n } else {\\n Uint8Array.prototype.set.call(\\n buffer,\\n buf,\\n pos\\n )\\n }\\n } else if (!Buffer.isBuffer(buf)) {\\n throw new TypeError('\\\"list\\\" argument must be an Array of Buffers')\\n } else {\\n buf.copy(buffer, pos)\\n }\\n pos += buf.length\\n }\\n return buffer\\n}\\n\\nfunction byteLength (string, encoding) {\\n if (Buffer.isBuffer(string)) {\\n return string.length\\n }\\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\\n return string.byteLength\\n }\\n if (typeof string !== 'string') {\\n throw new TypeError(\\n 'The \\\"string\\\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\\n 'Received type ' + typeof string\\n )\\n }\\n\\n const len = string.length\\n const mustMatch = (arguments.length > 2 && arguments[2] === true)\\n if (!mustMatch && len === 0) return 0\\n\\n // Use a for loop to avoid recursion\\n let loweredCase = false\\n for (;;) {\\n switch (encoding) {\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n return len\\n case 'utf8':\\n case 'utf-8':\\n return utf8ToBytes(string).length\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return len * 2\\n case 'hex':\\n return len >>> 1\\n case 'base64':\\n return base64ToBytes(string).length\\n default:\\n if (loweredCase) {\\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\\n }\\n encoding = ('' + encoding).toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\nBuffer.byteLength = byteLength\\n\\nfunction slowToString (encoding, start, end) {\\n let loweredCase = false\\n\\n // No need to verify that \\\"this.length <= MAX_UINT32\\\" since it's a read-only\\n // property of a typed array.\\n\\n // This behaves neither like String nor Uint8Array in that we set start/end\\n // to their upper/lower bounds if the value passed is out of range.\\n // undefined is handled specially as per ECMA-262 6th Edition,\\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\\n if (start === undefined || start < 0) {\\n start = 0\\n }\\n // Return early if start > this.length. Done here to prevent potential uint32\\n // coercion fail below.\\n if (start > this.length) {\\n return ''\\n }\\n\\n if (end === undefined || end > this.length) {\\n end = this.length\\n }\\n\\n if (end <= 0) {\\n return ''\\n }\\n\\n // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\\n end >>>= 0\\n start >>>= 0\\n\\n if (end <= start) {\\n return ''\\n }\\n\\n if (!encoding) encoding = 'utf8'\\n\\n while (true) {\\n switch (encoding) {\\n case 'hex':\\n return hexSlice(this, start, end)\\n\\n case 'utf8':\\n case 'utf-8':\\n return utf8Slice(this, start, end)\\n\\n case 'ascii':\\n return asciiSlice(this, start, end)\\n\\n case 'latin1':\\n case 'binary':\\n return latin1Slice(this, start, end)\\n\\n case 'base64':\\n return base64Slice(this, start, end)\\n\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return utf16leSlice(this, start, end)\\n\\n default:\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\n encoding = (encoding + '').toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\n\\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\\n// reliably in a browserify context because there could be multiple different\\n// copies of the 'buffer' package in use. This method works even for Buffer\\n// instances that were created from another copy of the `buffer` package.\\n// See: https://github.com/feross/buffer/issues/154\\nBuffer.prototype._isBuffer = true\\n\\nfunction swap (b, n, m) {\\n const i = b[n]\\n b[n] = b[m]\\n b[m] = i\\n}\\n\\nBuffer.prototype.swap16 = function swap16 () {\\n const len = this.length\\n if (len % 2 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 16-bits')\\n }\\n for (let i = 0; i < len; i += 2) {\\n swap(this, i, i + 1)\\n }\\n return this\\n}\\n\\nBuffer.prototype.swap32 = function swap32 () {\\n const len = this.length\\n if (len % 4 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 32-bits')\\n }\\n for (let i = 0; i < len; i += 4) {\\n swap(this, i, i + 3)\\n swap(this, i + 1, i + 2)\\n }\\n return this\\n}\\n\\nBuffer.prototype.swap64 = function swap64 () {\\n const len = this.length\\n if (len % 8 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 64-bits')\\n }\\n for (let i = 0; i < len; i += 8) {\\n swap(this, i, i + 7)\\n swap(this, i + 1, i + 6)\\n swap(this, i + 2, i + 5)\\n swap(this, i + 3, i + 4)\\n }\\n return this\\n}\\n\\nBuffer.prototype.toString = function toString () {\\n const length = this.length\\n if (length === 0) return ''\\n if (arguments.length === 0) return utf8Slice(this, 0, length)\\n return slowToString.apply(this, arguments)\\n}\\n\\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\\n\\nBuffer.prototype.equals = function equals (b) {\\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\\n if (this === b) return true\\n return Buffer.compare(this, b) === 0\\n}\\n\\nBuffer.prototype.inspect = function inspect () {\\n let str = ''\\n const max = exports.INSPECT_MAX_BYTES\\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\\n if (this.length > max) str += ' ... '\\n return ''\\n}\\nif (customInspectSymbol) {\\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\\n}\\n\\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\\n if (isInstance(target, Uint8Array)) {\\n target = Buffer.from(target, target.offset, target.byteLength)\\n }\\n if (!Buffer.isBuffer(target)) {\\n throw new TypeError(\\n 'The \\\"target\\\" argument must be one of type Buffer or Uint8Array. ' +\\n 'Received type ' + (typeof target)\\n )\\n }\\n\\n if (start === undefined) {\\n start = 0\\n }\\n if (end === undefined) {\\n end = target ? target.length : 0\\n }\\n if (thisStart === undefined) {\\n thisStart = 0\\n }\\n if (thisEnd === undefined) {\\n thisEnd = this.length\\n }\\n\\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\\n throw new RangeError('out of range index')\\n }\\n\\n if (thisStart >= thisEnd && start >= end) {\\n return 0\\n }\\n if (thisStart >= thisEnd) {\\n return -1\\n }\\n if (start >= end) {\\n return 1\\n }\\n\\n start >>>= 0\\n end >>>= 0\\n thisStart >>>= 0\\n thisEnd >>>= 0\\n\\n if (this === target) return 0\\n\\n let x = thisEnd - thisStart\\n let y = end - start\\n const len = Math.min(x, y)\\n\\n const thisCopy = this.slice(thisStart, thisEnd)\\n const targetCopy = target.slice(start, end)\\n\\n for (let i = 0; i < len; ++i) {\\n if (thisCopy[i] !== targetCopy[i]) {\\n x = thisCopy[i]\\n y = targetCopy[i]\\n break\\n }\\n }\\n\\n if (x < y) return -1\\n if (y < x) return 1\\n return 0\\n}\\n\\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\\n//\\n// Arguments:\\n// - buffer - a Buffer to search\\n// - val - a string, Buffer, or number\\n// - byteOffset - an index into `buffer`; will be clamped to an int32\\n// - encoding - an optional encoding, relevant is val is a string\\n// - dir - true for indexOf, false for lastIndexOf\\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\\n // Empty buffer means no match\\n if (buffer.length === 0) return -1\\n\\n // Normalize byteOffset\\n if (typeof byteOffset === 'string') {\\n encoding = byteOffset\\n byteOffset = 0\\n } else if (byteOffset > 0x7fffffff) {\\n byteOffset = 0x7fffffff\\n } else if (byteOffset < -0x80000000) {\\n byteOffset = -0x80000000\\n }\\n byteOffset = +byteOffset // Coerce to Number.\\n if (numberIsNaN(byteOffset)) {\\n // byteOffset: it it's undefined, null, NaN, \\\"foo\\\", etc, search whole buffer\\n byteOffset = dir ? 0 : (buffer.length - 1)\\n }\\n\\n // Normalize byteOffset: negative offsets start from the end of the buffer\\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\\n if (byteOffset >= buffer.length) {\\n if (dir) return -1\\n else byteOffset = buffer.length - 1\\n } else if (byteOffset < 0) {\\n if (dir) byteOffset = 0\\n else return -1\\n }\\n\\n // Normalize val\\n if (typeof val === 'string') {\\n val = Buffer.from(val, encoding)\\n }\\n\\n // Finally, search either indexOf (if dir is true) or lastIndexOf\\n if (Buffer.isBuffer(val)) {\\n // Special case: looking for empty string/buffer always fails\\n if (val.length === 0) {\\n return -1\\n }\\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\\n } else if (typeof val === 'number') {\\n val = val & 0xFF // Search for a byte value [0-255]\\n if (typeof Uint8Array.prototype.indexOf === 'function') {\\n if (dir) {\\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\\n } else {\\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\\n }\\n }\\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\\n }\\n\\n throw new TypeError('val must be string, number or Buffer')\\n}\\n\\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\\n let indexSize = 1\\n let arrLength = arr.length\\n let valLength = val.length\\n\\n if (encoding !== undefined) {\\n encoding = String(encoding).toLowerCase()\\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\\n encoding === 'utf16le' || encoding === 'utf-16le') {\\n if (arr.length < 2 || val.length < 2) {\\n return -1\\n }\\n indexSize = 2\\n arrLength /= 2\\n valLength /= 2\\n byteOffset /= 2\\n }\\n }\\n\\n function read (buf, i) {\\n if (indexSize === 1) {\\n return buf[i]\\n } else {\\n return buf.readUInt16BE(i * indexSize)\\n }\\n }\\n\\n let i\\n if (dir) {\\n let foundIndex = -1\\n for (i = byteOffset; i < arrLength; i++) {\\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\\n if (foundIndex === -1) foundIndex = i\\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\\n } else {\\n if (foundIndex !== -1) i -= i - foundIndex\\n foundIndex = -1\\n }\\n }\\n } else {\\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\\n for (i = byteOffset; i >= 0; i--) {\\n let found = true\\n for (let j = 0; j < valLength; j++) {\\n if (read(arr, i + j) !== read(val, j)) {\\n found = false\\n break\\n }\\n }\\n if (found) return i\\n }\\n }\\n\\n return -1\\n}\\n\\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\\n return this.indexOf(val, byteOffset, encoding) !== -1\\n}\\n\\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\\n}\\n\\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\\n}\\n\\nfunction hexWrite (buf, string, offset, length) {\\n offset = Number(offset) || 0\\n const remaining = buf.length - offset\\n if (!length) {\\n length = remaining\\n } else {\\n length = Number(length)\\n if (length > remaining) {\\n length = remaining\\n }\\n }\\n\\n const strLen = string.length\\n\\n if (length > strLen / 2) {\\n length = strLen / 2\\n }\\n let i\\n for (i = 0; i < length; ++i) {\\n const parsed = parseInt(string.substr(i * 2, 2), 16)\\n if (numberIsNaN(parsed)) return i\\n buf[offset + i] = parsed\\n }\\n return i\\n}\\n\\nfunction utf8Write (buf, string, offset, length) {\\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\\n}\\n\\nfunction asciiWrite (buf, string, offset, length) {\\n return blitBuffer(asciiToBytes(string), buf, offset, length)\\n}\\n\\nfunction base64Write (buf, string, offset, length) {\\n return blitBuffer(base64ToBytes(string), buf, offset, length)\\n}\\n\\nfunction ucs2Write (buf, string, offset, length) {\\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\\n}\\n\\nBuffer.prototype.write = function write (string, offset, length, encoding) {\\n // Buffer#write(string)\\n if (offset === undefined) {\\n encoding = 'utf8'\\n length = this.length\\n offset = 0\\n // Buffer#write(string, encoding)\\n } else if (length === undefined && typeof offset === 'string') {\\n encoding = offset\\n length = this.length\\n offset = 0\\n // Buffer#write(string, offset[, length][, encoding])\\n } else if (isFinite(offset)) {\\n offset = offset >>> 0\\n if (isFinite(length)) {\\n length = length >>> 0\\n if (encoding === undefined) encoding = 'utf8'\\n } else {\\n encoding = length\\n length = undefined\\n }\\n } else {\\n throw new Error(\\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\\n )\\n }\\n\\n const remaining = this.length - offset\\n if (length === undefined || length > remaining) length = remaining\\n\\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\\n throw new RangeError('Attempt to write outside buffer bounds')\\n }\\n\\n if (!encoding) encoding = 'utf8'\\n\\n let loweredCase = false\\n for (;;) {\\n switch (encoding) {\\n case 'hex':\\n return hexWrite(this, string, offset, length)\\n\\n case 'utf8':\\n case 'utf-8':\\n return utf8Write(this, string, offset, length)\\n\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n return asciiWrite(this, string, offset, length)\\n\\n case 'base64':\\n // Warning: maxLength not taken into account in base64Write\\n return base64Write(this, string, offset, length)\\n\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return ucs2Write(this, string, offset, length)\\n\\n default:\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\n encoding = ('' + encoding).toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\n\\nBuffer.prototype.toJSON = function toJSON () {\\n return {\\n type: 'Buffer',\\n data: Array.prototype.slice.call(this._arr || this, 0)\\n }\\n}\\n\\nfunction base64Slice (buf, start, end) {\\n if (start === 0 && end === buf.length) {\\n return base64.fromByteArray(buf)\\n } else {\\n return base64.fromByteArray(buf.slice(start, end))\\n }\\n}\\n\\nfunction utf8Slice (buf, start, end) {\\n end = Math.min(buf.length, end)\\n const res = []\\n\\n let i = start\\n while (i < end) {\\n const firstByte = buf[i]\\n let codePoint = null\\n let bytesPerSequence = (firstByte > 0xEF)\\n ? 4\\n : (firstByte > 0xDF)\\n ? 3\\n : (firstByte > 0xBF)\\n ? 2\\n : 1\\n\\n if (i + bytesPerSequence <= end) {\\n let secondByte, thirdByte, fourthByte, tempCodePoint\\n\\n switch (bytesPerSequence) {\\n case 1:\\n if (firstByte < 0x80) {\\n codePoint = firstByte\\n }\\n break\\n case 2:\\n secondByte = buf[i + 1]\\n if ((secondByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\\n if (tempCodePoint > 0x7F) {\\n codePoint = tempCodePoint\\n }\\n }\\n break\\n case 3:\\n secondByte = buf[i + 1]\\n thirdByte = buf[i + 2]\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\\n codePoint = tempCodePoint\\n }\\n }\\n break\\n case 4:\\n secondByte = buf[i + 1]\\n thirdByte = buf[i + 2]\\n fourthByte = buf[i + 3]\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\\n codePoint = tempCodePoint\\n }\\n }\\n }\\n }\\n\\n if (codePoint === null) {\\n // we did not generate a valid codePoint so insert a\\n // replacement char (U+FFFD) and advance only 1 byte\\n codePoint = 0xFFFD\\n bytesPerSequence = 1\\n } else if (codePoint > 0xFFFF) {\\n // encode to utf16 (surrogate pair dance)\\n codePoint -= 0x10000\\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\\n codePoint = 0xDC00 | codePoint & 0x3FF\\n }\\n\\n res.push(codePoint)\\n i += bytesPerSequence\\n }\\n\\n return decodeCodePointsArray(res)\\n}\\n\\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\\n// the lowest limit is Chrome, with 0x10000 args.\\n// We go 1 magnitude less, for safety\\nconst MAX_ARGUMENTS_LENGTH = 0x1000\\n\\nfunction decodeCodePointsArray (codePoints) {\\n const len = codePoints.length\\n if (len <= MAX_ARGUMENTS_LENGTH) {\\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\\n }\\n\\n // Decode in chunks to avoid \\\"call stack size exceeded\\\".\\n let res = ''\\n let i = 0\\n while (i < len) {\\n res += String.fromCharCode.apply(\\n String,\\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\\n )\\n }\\n return res\\n}\\n\\nfunction asciiSlice (buf, start, end) {\\n let ret = ''\\n end = Math.min(buf.length, end)\\n\\n for (let i = start; i < end; ++i) {\\n ret += String.fromCharCode(buf[i] & 0x7F)\\n }\\n return ret\\n}\\n\\nfunction latin1Slice (buf, start, end) {\\n let ret = ''\\n end = Math.min(buf.length, end)\\n\\n for (let i = start; i < end; ++i) {\\n ret += String.fromCharCode(buf[i])\\n }\\n return ret\\n}\\n\\nfunction hexSlice (buf, start, end) {\\n const len = buf.length\\n\\n if (!start || start < 0) start = 0\\n if (!end || end < 0 || end > len) end = len\\n\\n let out = ''\\n for (let i = start; i < end; ++i) {\\n out += hexSliceLookupTable[buf[i]]\\n }\\n return out\\n}\\n\\nfunction utf16leSlice (buf, start, end) {\\n const bytes = buf.slice(start, end)\\n let res = ''\\n // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\\n for (let i = 0; i < bytes.length - 1; i += 2) {\\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\\n }\\n return res\\n}\\n\\nBuffer.prototype.slice = function slice (start, end) {\\n const len = this.length\\n start = ~~start\\n end = end === undefined ? len : ~~end\\n\\n if (start < 0) {\\n start += len\\n if (start < 0) start = 0\\n } else if (start > len) {\\n start = len\\n }\\n\\n if (end < 0) {\\n end += len\\n if (end < 0) end = 0\\n } else if (end > len) {\\n end = len\\n }\\n\\n if (end < start) end = start\\n\\n const newBuf = this.subarray(start, end)\\n // Return an augmented `Uint8Array` instance\\n Object.setPrototypeOf(newBuf, Buffer.prototype)\\n\\n return newBuf\\n}\\n\\n/*\\n * Need to make sure that buffer isn't trying to write out of bounds.\\n */\\nfunction checkOffset (offset, ext, length) {\\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\\n}\\n\\nBuffer.prototype.readUintLE =\\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n let val = this[offset]\\n let mul = 1\\n let i = 0\\n while (++i < byteLength && (mul *= 0x100)) {\\n val += this[offset + i] * mul\\n }\\n\\n return val\\n}\\n\\nBuffer.prototype.readUintBE =\\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n checkOffset(offset, byteLength, this.length)\\n }\\n\\n let val = this[offset + --byteLength]\\n let mul = 1\\n while (byteLength > 0 && (mul *= 0x100)) {\\n val += this[offset + --byteLength] * mul\\n }\\n\\n return val\\n}\\n\\nBuffer.prototype.readUint8 =\\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 1, this.length)\\n return this[offset]\\n}\\n\\nBuffer.prototype.readUint16LE =\\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n return this[offset] | (this[offset + 1] << 8)\\n}\\n\\nBuffer.prototype.readUint16BE =\\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n return (this[offset] << 8) | this[offset + 1]\\n}\\n\\nBuffer.prototype.readUint32LE =\\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return ((this[offset]) |\\n (this[offset + 1] << 8) |\\n (this[offset + 2] << 16)) +\\n (this[offset + 3] * 0x1000000)\\n}\\n\\nBuffer.prototype.readUint32BE =\\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset] * 0x1000000) +\\n ((this[offset + 1] << 16) |\\n (this[offset + 2] << 8) |\\n this[offset + 3])\\n}\\n\\nBuffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const lo = first +\\n this[++offset] * 2 ** 8 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 24\\n\\n const hi = this[++offset] +\\n this[++offset] * 2 ** 8 +\\n this[++offset] * 2 ** 16 +\\n last * 2 ** 24\\n\\n return BigInt(lo) + (BigInt(hi) << BigInt(32))\\n})\\n\\nBuffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const hi = first * 2 ** 24 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n this[++offset]\\n\\n const lo = this[++offset] * 2 ** 24 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n last\\n\\n return (BigInt(hi) << BigInt(32)) + BigInt(lo)\\n})\\n\\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n let val = this[offset]\\n let mul = 1\\n let i = 0\\n while (++i < byteLength && (mul *= 0x100)) {\\n val += this[offset + i] * mul\\n }\\n mul *= 0x80\\n\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\n\\n return val\\n}\\n\\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n let i = byteLength\\n let mul = 1\\n let val = this[offset + --i]\\n while (i > 0 && (mul *= 0x100)) {\\n val += this[offset + --i] * mul\\n }\\n mul *= 0x80\\n\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\n\\n return val\\n}\\n\\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 1, this.length)\\n if (!(this[offset] & 0x80)) return (this[offset])\\n return ((0xff - this[offset] + 1) * -1)\\n}\\n\\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n const val = this[offset] | (this[offset + 1] << 8)\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\n}\\n\\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n const val = this[offset + 1] | (this[offset] << 8)\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\n}\\n\\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset]) |\\n (this[offset + 1] << 8) |\\n (this[offset + 2] << 16) |\\n (this[offset + 3] << 24)\\n}\\n\\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset] << 24) |\\n (this[offset + 1] << 16) |\\n (this[offset + 2] << 8) |\\n (this[offset + 3])\\n}\\n\\nBuffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const val = this[offset + 4] +\\n this[offset + 5] * 2 ** 8 +\\n this[offset + 6] * 2 ** 16 +\\n (last << 24) // Overflow\\n\\n return (BigInt(val) << BigInt(32)) +\\n BigInt(first +\\n this[++offset] * 2 ** 8 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 24)\\n})\\n\\nBuffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const val = (first << 24) + // Overflow\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n this[++offset]\\n\\n return (BigInt(val) << BigInt(32)) +\\n BigInt(this[++offset] * 2 ** 24 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n last)\\n})\\n\\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n return ieee754.read(this, offset, true, 23, 4)\\n}\\n\\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n return ieee754.read(this, offset, false, 23, 4)\\n}\\n\\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 8, this.length)\\n return ieee754.read(this, offset, true, 52, 8)\\n}\\n\\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 8, this.length)\\n return ieee754.read(this, offset, false, 52, 8)\\n}\\n\\nfunction checkInt (buf, value, offset, ext, max, min) {\\n if (!Buffer.isBuffer(buf)) throw new TypeError('\\\"buffer\\\" argument must be a Buffer instance')\\n if (value > max || value < min) throw new RangeError('\\\"value\\\" argument is out of bounds')\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\n}\\n\\nBuffer.prototype.writeUintLE =\\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\n }\\n\\n let mul = 1\\n let i = 0\\n this[offset] = value & 0xFF\\n while (++i < byteLength && (mul *= 0x100)) {\\n this[offset + i] = (value / mul) & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeUintBE =\\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\n }\\n\\n let i = byteLength - 1\\n let mul = 1\\n this[offset + i] = value & 0xFF\\n while (--i >= 0 && (mul *= 0x100)) {\\n this[offset + i] = (value / mul) & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeUint8 =\\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\\n this[offset] = (value & 0xff)\\n return offset + 1\\n}\\n\\nBuffer.prototype.writeUint16LE =\\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeUint16BE =\\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\n this[offset] = (value >>> 8)\\n this[offset + 1] = (value & 0xff)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeUint32LE =\\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\n this[offset + 3] = (value >>> 24)\\n this[offset + 2] = (value >>> 16)\\n this[offset + 1] = (value >>> 8)\\n this[offset] = (value & 0xff)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeUint32BE =\\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\n this[offset] = (value >>> 24)\\n this[offset + 1] = (value >>> 16)\\n this[offset + 2] = (value >>> 8)\\n this[offset + 3] = (value & 0xff)\\n return offset + 4\\n}\\n\\nfunction wrtBigUInt64LE (buf, value, offset, min, max) {\\n checkIntBI(value, min, max, buf, offset, 7)\\n\\n let lo = Number(value & BigInt(0xffffffff))\\n buf[offset++] = lo\\n lo = lo >> 8\\n buf[offset++] = lo\\n lo = lo >> 8\\n buf[offset++] = lo\\n lo = lo >> 8\\n buf[offset++] = lo\\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\\n buf[offset++] = hi\\n hi = hi >> 8\\n buf[offset++] = hi\\n hi = hi >> 8\\n buf[offset++] = hi\\n hi = hi >> 8\\n buf[offset++] = hi\\n return offset\\n}\\n\\nfunction wrtBigUInt64BE (buf, value, offset, min, max) {\\n checkIntBI(value, min, max, buf, offset, 7)\\n\\n let lo = Number(value & BigInt(0xffffffff))\\n buf[offset + 7] = lo\\n lo = lo >> 8\\n buf[offset + 6] = lo\\n lo = lo >> 8\\n buf[offset + 5] = lo\\n lo = lo >> 8\\n buf[offset + 4] = lo\\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\\n buf[offset + 3] = hi\\n hi = hi >> 8\\n buf[offset + 2] = hi\\n hi = hi >> 8\\n buf[offset + 1] = hi\\n hi = hi >> 8\\n buf[offset] = hi\\n return offset + 8\\n}\\n\\nBuffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {\\n return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\\n})\\n\\nBuffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {\\n return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\\n})\\n\\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n const limit = Math.pow(2, (8 * byteLength) - 1)\\n\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\n }\\n\\n let i = 0\\n let mul = 1\\n let sub = 0\\n this[offset] = value & 0xFF\\n while (++i < byteLength && (mul *= 0x100)) {\\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\\n sub = 1\\n }\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n const limit = Math.pow(2, (8 * byteLength) - 1)\\n\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\n }\\n\\n let i = byteLength - 1\\n let mul = 1\\n let sub = 0\\n this[offset + i] = value & 0xFF\\n while (--i >= 0 && (mul *= 0x100)) {\\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\\n sub = 1\\n }\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\\n if (value < 0) value = 0xff + value + 1\\n this[offset] = (value & 0xff)\\n return offset + 1\\n}\\n\\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\n this[offset] = (value >>> 8)\\n this[offset + 1] = (value & 0xff)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n this[offset + 2] = (value >>> 16)\\n this[offset + 3] = (value >>> 24)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\n if (value < 0) value = 0xffffffff + value + 1\\n this[offset] = (value >>> 24)\\n this[offset + 1] = (value >>> 16)\\n this[offset + 2] = (value >>> 8)\\n this[offset + 3] = (value & 0xff)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {\\n return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\\n})\\n\\nBuffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {\\n return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\\n})\\n\\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\n if (offset < 0) throw new RangeError('Index out of range')\\n}\\n\\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\\n }\\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\\n return writeFloat(this, value, offset, true, noAssert)\\n}\\n\\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\\n return writeFloat(this, value, offset, false, noAssert)\\n}\\n\\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\\n }\\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\\n return offset + 8\\n}\\n\\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\\n return writeDouble(this, value, offset, true, noAssert)\\n}\\n\\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\\n return writeDouble(this, value, offset, false, noAssert)\\n}\\n\\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\\n if (!start) start = 0\\n if (!end && end !== 0) end = this.length\\n if (targetStart >= target.length) targetStart = target.length\\n if (!targetStart) targetStart = 0\\n if (end > 0 && end < start) end = start\\n\\n // Copy 0 bytes; we're done\\n if (end === start) return 0\\n if (target.length === 0 || this.length === 0) return 0\\n\\n // Fatal error conditions\\n if (targetStart < 0) {\\n throw new RangeError('targetStart out of bounds')\\n }\\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\\n\\n // Are we oob?\\n if (end > this.length) end = this.length\\n if (target.length - targetStart < end - start) {\\n end = target.length - targetStart + start\\n }\\n\\n const len = end - start\\n\\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\\n // Use built-in when available, missing from IE11\\n this.copyWithin(targetStart, start, end)\\n } else {\\n Uint8Array.prototype.set.call(\\n target,\\n this.subarray(start, end),\\n targetStart\\n )\\n }\\n\\n return len\\n}\\n\\n// Usage:\\n// buffer.fill(number[, offset[, end]])\\n// buffer.fill(buffer[, offset[, end]])\\n// buffer.fill(string[, offset[, end]][, encoding])\\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\\n // Handle string cases:\\n if (typeof val === 'string') {\\n if (typeof start === 'string') {\\n encoding = start\\n start = 0\\n end = this.length\\n } else if (typeof end === 'string') {\\n encoding = end\\n end = this.length\\n }\\n if (encoding !== undefined && typeof encoding !== 'string') {\\n throw new TypeError('encoding must be a string')\\n }\\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\\n throw new TypeError('Unknown encoding: ' + encoding)\\n }\\n if (val.length === 1) {\\n const code = val.charCodeAt(0)\\n if ((encoding === 'utf8' && code < 128) ||\\n encoding === 'latin1') {\\n // Fast path: If `val` fits into a single byte, use that numeric value.\\n val = code\\n }\\n }\\n } else if (typeof val === 'number') {\\n val = val & 255\\n } else if (typeof val === 'boolean') {\\n val = Number(val)\\n }\\n\\n // Invalid ranges are not set to a default, so can range check early.\\n if (start < 0 || this.length < start || this.length < end) {\\n throw new RangeError('Out of range index')\\n }\\n\\n if (end <= start) {\\n return this\\n }\\n\\n start = start >>> 0\\n end = end === undefined ? this.length : end >>> 0\\n\\n if (!val) val = 0\\n\\n let i\\n if (typeof val === 'number') {\\n for (i = start; i < end; ++i) {\\n this[i] = val\\n }\\n } else {\\n const bytes = Buffer.isBuffer(val)\\n ? val\\n : Buffer.from(val, encoding)\\n const len = bytes.length\\n if (len === 0) {\\n throw new TypeError('The value \\\"' + val +\\n '\\\" is invalid for argument \\\"value\\\"')\\n }\\n for (i = 0; i < end - start; ++i) {\\n this[i + start] = bytes[i % len]\\n }\\n }\\n\\n return this\\n}\\n\\n// CUSTOM ERRORS\\n// =============\\n\\n// Simplified versions from Node, changed for Buffer-only usage\\nconst errors = {}\\nfunction E (sym, getMessage, Base) {\\n errors[sym] = class NodeError extends Base {\\n constructor () {\\n super()\\n\\n Object.defineProperty(this, 'message', {\\n value: getMessage.apply(this, arguments),\\n writable: true,\\n configurable: true\\n })\\n\\n // Add the error code to the name to include it in the stack trace.\\n this.name = `${this.name} [${sym}]`\\n // Access the stack to generate the error message including the error code\\n // from the name.\\n this.stack // eslint-disable-line no-unused-expressions\\n // Reset the name to the actual name.\\n delete this.name\\n }\\n\\n get code () {\\n return sym\\n }\\n\\n set code (value) {\\n Object.defineProperty(this, 'code', {\\n configurable: true,\\n enumerable: true,\\n value,\\n writable: true\\n })\\n }\\n\\n toString () {\\n return `${this.name} [${sym}]: ${this.message}`\\n }\\n }\\n}\\n\\nE('ERR_BUFFER_OUT_OF_BOUNDS',\\n function (name) {\\n if (name) {\\n return `${name} is outside of buffer bounds`\\n }\\n\\n return 'Attempt to access memory outside buffer bounds'\\n }, RangeError)\\nE('ERR_INVALID_ARG_TYPE',\\n function (name, actual) {\\n return `The \\\"${name}\\\" argument must be of type number. Received type ${typeof actual}`\\n }, TypeError)\\nE('ERR_OUT_OF_RANGE',\\n function (str, range, input) {\\n let msg = `The value of \\\"${str}\\\" is out of range.`\\n let received = input\\n if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\\n received = addNumericalSeparator(String(input))\\n } else if (typeof input === 'bigint') {\\n received = String(input)\\n if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\\n received = addNumericalSeparator(received)\\n }\\n received += 'n'\\n }\\n msg += ` It must be ${range}. Received ${received}`\\n return msg\\n }, RangeError)\\n\\nfunction addNumericalSeparator (val) {\\n let res = ''\\n let i = val.length\\n const start = val[0] === '-' ? 1 : 0\\n for (; i >= start + 4; i -= 3) {\\n res = `_${val.slice(i - 3, i)}${res}`\\n }\\n return `${val.slice(0, i)}${res}`\\n}\\n\\n// CHECK FUNCTIONS\\n// ===============\\n\\nfunction checkBounds (buf, offset, byteLength) {\\n validateNumber(offset, 'offset')\\n if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {\\n boundsError(offset, buf.length - (byteLength + 1))\\n }\\n}\\n\\nfunction checkIntBI (value, min, max, buf, offset, byteLength) {\\n if (value > max || value < min) {\\n const n = typeof min === 'bigint' ? 'n' : ''\\n let range\\n if (byteLength > 3) {\\n if (min === 0 || min === BigInt(0)) {\\n range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`\\n } else {\\n range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +\\n `${(byteLength + 1) * 8 - 1}${n}`\\n }\\n } else {\\n range = `>= ${min}${n} and <= ${max}${n}`\\n }\\n throw new errors.ERR_OUT_OF_RANGE('value', range, value)\\n }\\n checkBounds(buf, offset, byteLength)\\n}\\n\\nfunction validateNumber (value, name) {\\n if (typeof value !== 'number') {\\n throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)\\n }\\n}\\n\\nfunction boundsError (value, length, type) {\\n if (Math.floor(value) !== value) {\\n validateNumber(value, type)\\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)\\n }\\n\\n if (length < 0) {\\n throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()\\n }\\n\\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset',\\n `>= ${type ? 1 : 0} and <= ${length}`,\\n value)\\n}\\n\\n// HELPER FUNCTIONS\\n// ================\\n\\nconst INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\\n\\nfunction base64clean (str) {\\n // Node takes equal signs as end of the Base64 encoding\\n str = str.split('=')[0]\\n // Node strips out invalid characters like \\\\n and \\\\t from the string, base64-js does not\\n str = str.trim().replace(INVALID_BASE64_RE, '')\\n // Node converts strings with length < 2 to ''\\n if (str.length < 2) return ''\\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\\n while (str.length % 4 !== 0) {\\n str = str + '='\\n }\\n return str\\n}\\n\\nfunction utf8ToBytes (string, units) {\\n units = units || Infinity\\n let codePoint\\n const length = string.length\\n let leadSurrogate = null\\n const bytes = []\\n\\n for (let i = 0; i < length; ++i) {\\n codePoint = string.charCodeAt(i)\\n\\n // is surrogate component\\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\\n // last char was a lead\\n if (!leadSurrogate) {\\n // no lead yet\\n if (codePoint > 0xDBFF) {\\n // unexpected trail\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n continue\\n } else if (i + 1 === length) {\\n // unpaired lead\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n continue\\n }\\n\\n // valid lead\\n leadSurrogate = codePoint\\n\\n continue\\n }\\n\\n // 2 leads in a row\\n if (codePoint < 0xDC00) {\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n leadSurrogate = codePoint\\n continue\\n }\\n\\n // valid surrogate pair\\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\\n } else if (leadSurrogate) {\\n // valid bmp char, but last char was a lead\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n }\\n\\n leadSurrogate = null\\n\\n // encode utf8\\n if (codePoint < 0x80) {\\n if ((units -= 1) < 0) break\\n bytes.push(codePoint)\\n } else if (codePoint < 0x800) {\\n if ((units -= 2) < 0) break\\n bytes.push(\\n codePoint >> 0x6 | 0xC0,\\n codePoint & 0x3F | 0x80\\n )\\n } else if (codePoint < 0x10000) {\\n if ((units -= 3) < 0) break\\n bytes.push(\\n codePoint >> 0xC | 0xE0,\\n codePoint >> 0x6 & 0x3F | 0x80,\\n codePoint & 0x3F | 0x80\\n )\\n } else if (codePoint < 0x110000) {\\n if ((units -= 4) < 0) break\\n bytes.push(\\n codePoint >> 0x12 | 0xF0,\\n codePoint >> 0xC & 0x3F | 0x80,\\n codePoint >> 0x6 & 0x3F | 0x80,\\n codePoint & 0x3F | 0x80\\n )\\n } else {\\n throw new Error('Invalid code point')\\n }\\n }\\n\\n return bytes\\n}\\n\\nfunction asciiToBytes (str) {\\n const byteArray = []\\n for (let i = 0; i < str.length; ++i) {\\n // Node's code seems to be doing this and not & 0x7F..\\n byteArray.push(str.charCodeAt(i) & 0xFF)\\n }\\n return byteArray\\n}\\n\\nfunction utf16leToBytes (str, units) {\\n let c, hi, lo\\n const byteArray = []\\n for (let i = 0; i < str.length; ++i) {\\n if ((units -= 2) < 0) break\\n\\n c = str.charCodeAt(i)\\n hi = c >> 8\\n lo = c % 256\\n byteArray.push(lo)\\n byteArray.push(hi)\\n }\\n\\n return byteArray\\n}\\n\\nfunction base64ToBytes (str) {\\n return base64.toByteArray(base64clean(str))\\n}\\n\\nfunction blitBuffer (src, dst, offset, length) {\\n let i\\n for (i = 0; i < length; ++i) {\\n if ((i + offset >= dst.length) || (i >= src.length)) break\\n dst[i + offset] = src[i]\\n }\\n return i\\n}\\n\\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\\n// the `instanceof` check but they should be treated as of that type.\\n// See: https://github.com/feross/buffer/issues/166\\nfunction isInstance (obj, type) {\\n return obj instanceof type ||\\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\\n obj.constructor.name === type.name)\\n}\\nfunction numberIsNaN (obj) {\\n // For IE11 support\\n return obj !== obj // eslint-disable-line no-self-compare\\n}\\n\\n// Create lookup table for `toString('hex')`\\n// See: https://github.com/feross/buffer/issues/219\\nconst hexSliceLookupTable = (function () {\\n const alphabet = '0123456789abcdef'\\n const table = new Array(256)\\n for (let i = 0; i < 16; ++i) {\\n const i16 = i * 16\\n for (let j = 0; j < 16; ++j) {\\n table[i16 + j] = alphabet[i] + alphabet[j]\\n }\\n }\\n return table\\n})()\\n\\n// Return not function with Error if BigInt not supported\\nfunction defineBigIntMethod (fn) {\\n return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn\\n}\\n\\nfunction BufferBigIntNotDefined () {\\n throw new Error('BigInt not supported')\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/buffer/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/detect-browser/es/index.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/detect-browser/es/index.js ***!\n \\*************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ BotInfo: () => (/* binding */ BotInfo),\\n/* harmony export */ BrowserInfo: () => (/* binding */ BrowserInfo),\\n/* harmony export */ NodeInfo: () => (/* binding */ NodeInfo),\\n/* harmony export */ ReactNativeInfo: () => (/* binding */ ReactNativeInfo),\\n/* harmony export */ SearchBotDeviceInfo: () => (/* binding */ SearchBotDeviceInfo),\\n/* harmony export */ browserName: () => (/* binding */ browserName),\\n/* harmony export */ detect: () => (/* binding */ detect),\\n/* harmony export */ detectOS: () => (/* binding */ detectOS),\\n/* harmony export */ getNodeVersion: () => (/* binding */ getNodeVersion),\\n/* harmony export */ parseUserAgent: () => (/* binding */ parseUserAgent)\\n/* harmony export */ });\\nvar __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {\\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\\n if (ar || !(i in from)) {\\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\\n ar[i] = from[i];\\n }\\n }\\n return to.concat(ar || Array.prototype.slice.call(from));\\n};\\nvar BrowserInfo = /** @class */ (function () {\\n function BrowserInfo(name, version, os) {\\n this.name = name;\\n this.version = version;\\n this.os = os;\\n this.type = 'browser';\\n }\\n return BrowserInfo;\\n}());\\n\\nvar NodeInfo = /** @class */ (function () {\\n function NodeInfo(version) {\\n this.version = version;\\n this.type = 'node';\\n this.name = 'node';\\n this.os = process.platform;\\n }\\n return NodeInfo;\\n}());\\n\\nvar SearchBotDeviceInfo = /** @class */ (function () {\\n function SearchBotDeviceInfo(name, version, os, bot) {\\n this.name = name;\\n this.version = version;\\n this.os = os;\\n this.bot = bot;\\n this.type = 'bot-device';\\n }\\n return SearchBotDeviceInfo;\\n}());\\n\\nvar BotInfo = /** @class */ (function () {\\n function BotInfo() {\\n this.type = 'bot';\\n this.bot = true; // NOTE: deprecated test name instead\\n this.name = 'bot';\\n this.version = null;\\n this.os = null;\\n }\\n return BotInfo;\\n}());\\n\\nvar ReactNativeInfo = /** @class */ (function () {\\n function ReactNativeInfo() {\\n this.type = 'react-native';\\n this.name = 'react-native';\\n this.version = null;\\n this.os = null;\\n }\\n return ReactNativeInfo;\\n}());\\n\\n// tslint:disable-next-line:max-line-length\\nvar SEARCHBOX_UA_REGEX = /alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/;\\nvar SEARCHBOT_OS_REGEX = /(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\\\ Jeeves\\\\/Teoma|ia_archiver)/;\\nvar REQUIRED_VERSION_PARTS = 3;\\nvar userAgentRules = [\\n ['aol', /AOLShield\\\\/([0-9\\\\._]+)/],\\n ['edge', /Edge\\\\/([0-9\\\\._]+)/],\\n ['edge-ios', /EdgiOS\\\\/([0-9\\\\._]+)/],\\n ['yandexbrowser', /YaBrowser\\\\/([0-9\\\\._]+)/],\\n ['kakaotalk', /KAKAOTALK\\\\s([0-9\\\\.]+)/],\\n ['samsung', /SamsungBrowser\\\\/([0-9\\\\.]+)/],\\n ['silk', /\\\\bSilk\\\\/([0-9._-]+)\\\\b/],\\n ['miui', /MiuiBrowser\\\\/([0-9\\\\.]+)$/],\\n ['beaker', /BeakerBrowser\\\\/([0-9\\\\.]+)/],\\n ['edge-chromium', /EdgA?\\\\/([0-9\\\\.]+)/],\\n [\\n 'chromium-webview',\\n /(?!Chrom.*OPR)wv\\\\).*Chrom(?:e|ium)\\\\/([0-9\\\\.]+)(:?\\\\s|$)/,\\n ],\\n ['chrome', /(?!Chrom.*OPR)Chrom(?:e|ium)\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['phantomjs', /PhantomJS\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['crios', /CriOS\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['firefox', /Firefox\\\\/([0-9\\\\.]+)(?:\\\\s|$)/],\\n ['fxios', /FxiOS\\\\/([0-9\\\\.]+)/],\\n ['opera-mini', /Opera Mini.*Version\\\\/([0-9\\\\.]+)/],\\n ['opera', /Opera\\\\/([0-9\\\\.]+)(?:\\\\s|$)/],\\n ['opera', /OPR\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['pie', /^Microsoft Pocket Internet Explorer\\\\/(\\\\d+\\\\.\\\\d+)$/],\\n ['pie', /^Mozilla\\\\/\\\\d\\\\.\\\\d+\\\\s\\\\(compatible;\\\\s(?:MSP?IE|MSInternet Explorer) (\\\\d+\\\\.\\\\d+);.*Windows CE.*\\\\)$/],\\n ['netfront', /^Mozilla\\\\/\\\\d\\\\.\\\\d+.*NetFront\\\\/(\\\\d.\\\\d)/],\\n ['ie', /Trident\\\\/7\\\\.0.*rv\\\\:([0-9\\\\.]+).*\\\\).*Gecko$/],\\n ['ie', /MSIE\\\\s([0-9\\\\.]+);.*Trident\\\\/[4-7].0/],\\n ['ie', /MSIE\\\\s(7\\\\.0)/],\\n ['bb10', /BB10;\\\\sTouch.*Version\\\\/([0-9\\\\.]+)/],\\n ['android', /Android\\\\s([0-9\\\\.]+)/],\\n ['ios', /Version\\\\/([0-9\\\\._]+).*Mobile.*Safari.*/],\\n ['safari', /Version\\\\/([0-9\\\\._]+).*Safari/],\\n ['facebook', /FB[AS]V\\\\/([0-9\\\\.]+)/],\\n ['instagram', /Instagram\\\\s([0-9\\\\.]+)/],\\n ['ios-webview', /AppleWebKit\\\\/([0-9\\\\.]+).*Mobile/],\\n ['ios-webview', /AppleWebKit\\\\/([0-9\\\\.]+).*Gecko\\\\)$/],\\n ['curl', /^curl\\\\/([0-9\\\\.]+)$/],\\n ['searchbot', SEARCHBOX_UA_REGEX],\\n];\\nvar operatingSystemRules = [\\n ['iOS', /iP(hone|od|ad)/],\\n ['Android OS', /Android/],\\n ['BlackBerry OS', /BlackBerry|BB10/],\\n ['Windows Mobile', /IEMobile/],\\n ['Amazon OS', /Kindle/],\\n ['Windows 3.11', /Win16/],\\n ['Windows 95', /(Windows 95)|(Win95)|(Windows_95)/],\\n ['Windows 98', /(Windows 98)|(Win98)/],\\n ['Windows 2000', /(Windows NT 5.0)|(Windows 2000)/],\\n ['Windows XP', /(Windows NT 5.1)|(Windows XP)/],\\n ['Windows Server 2003', /(Windows NT 5.2)/],\\n ['Windows Vista', /(Windows NT 6.0)/],\\n ['Windows 7', /(Windows NT 6.1)/],\\n ['Windows 8', /(Windows NT 6.2)/],\\n ['Windows 8.1', /(Windows NT 6.3)/],\\n ['Windows 10', /(Windows NT 10.0)/],\\n ['Windows ME', /Windows ME/],\\n ['Windows CE', /Windows CE|WinCE|Microsoft Pocket Internet Explorer/],\\n ['Open BSD', /OpenBSD/],\\n ['Sun OS', /SunOS/],\\n ['Chrome OS', /CrOS/],\\n ['Linux', /(Linux)|(X11)/],\\n ['Mac OS', /(Mac_PowerPC)|(Macintosh)/],\\n ['QNX', /QNX/],\\n ['BeOS', /BeOS/],\\n ['OS/2', /OS\\\\/2/],\\n];\\nfunction detect(userAgent) {\\n if (!!userAgent) {\\n return parseUserAgent(userAgent);\\n }\\n if (typeof document === 'undefined' &&\\n typeof navigator !== 'undefined' &&\\n navigator.product === 'ReactNative') {\\n return new ReactNativeInfo();\\n }\\n if (typeof navigator !== 'undefined') {\\n return parseUserAgent(navigator.userAgent);\\n }\\n return getNodeVersion();\\n}\\nfunction matchUserAgent(ua) {\\n // opted for using reduce here rather than Array#first with a regex.test call\\n // this is primarily because using the reduce we only perform the regex\\n // execution once rather than once for the test and for the exec again below\\n // probably something that needs to be benchmarked though\\n return (ua !== '' &&\\n userAgentRules.reduce(function (matched, _a) {\\n var browser = _a[0], regex = _a[1];\\n if (matched) {\\n return matched;\\n }\\n var uaMatch = regex.exec(ua);\\n return !!uaMatch && [browser, uaMatch];\\n }, false));\\n}\\nfunction browserName(ua) {\\n var data = matchUserAgent(ua);\\n return data ? data[0] : null;\\n}\\nfunction parseUserAgent(ua) {\\n var matchedRule = matchUserAgent(ua);\\n if (!matchedRule) {\\n return null;\\n }\\n var name = matchedRule[0], match = matchedRule[1];\\n if (name === 'searchbot') {\\n return new BotInfo();\\n }\\n // Do not use RegExp for split operation as some browser do not support it (See: http://blog.stevenlevithan.com/archives/cross-browser-split)\\n var versionParts = match[1] && match[1].split('.').join('_').split('_').slice(0, 3);\\n if (versionParts) {\\n if (versionParts.length < REQUIRED_VERSION_PARTS) {\\n versionParts = __spreadArray(__spreadArray([], versionParts, true), createVersionParts(REQUIRED_VERSION_PARTS - versionParts.length), true);\\n }\\n }\\n else {\\n versionParts = [];\\n }\\n var version = versionParts.join('.');\\n var os = detectOS(ua);\\n var searchBotMatch = SEARCHBOT_OS_REGEX.exec(ua);\\n if (searchBotMatch && searchBotMatch[1]) {\\n return new SearchBotDeviceInfo(name, version, os, searchBotMatch[1]);\\n }\\n return new BrowserInfo(name, version, os);\\n}\\nfunction detectOS(ua) {\\n for (var ii = 0, count = operatingSystemRules.length; ii < count; ii++) {\\n var _a = operatingSystemRules[ii], os = _a[0], regex = _a[1];\\n var match = regex.exec(ua);\\n if (match) {\\n return os;\\n }\\n }\\n return null;\\n}\\nfunction getNodeVersion() {\\n var isNode = typeof process !== 'undefined' && process.version;\\n return isNode ? new NodeInfo(process.version.slice(1)) : null;\\n}\\nfunction createVersionParts(count) {\\n var output = [];\\n for (var ii = 0; ii < count; ii++) {\\n output.push('0');\\n }\\n return output;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/detect-browser/es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/ieee754/index.js\":\n/*!***************************************!*\\\n !*** ./node_modules/ieee754/index.js ***!\n \\***************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\neval(\"/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\\n var e, m\\n var eLen = (nBytes * 8) - mLen - 1\\n var eMax = (1 << eLen) - 1\\n var eBias = eMax >> 1\\n var nBits = -7\\n var i = isLE ? (nBytes - 1) : 0\\n var d = isLE ? -1 : 1\\n var s = buffer[offset + i]\\n\\n i += d\\n\\n e = s & ((1 << (-nBits)) - 1)\\n s >>= (-nBits)\\n nBits += eLen\\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\n\\n m = e & ((1 << (-nBits)) - 1)\\n e >>= (-nBits)\\n nBits += mLen\\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\n\\n if (e === 0) {\\n e = 1 - eBias\\n } else if (e === eMax) {\\n return m ? NaN : ((s ? -1 : 1) * Infinity)\\n } else {\\n m = m + Math.pow(2, mLen)\\n e = e - eBias\\n }\\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\\n}\\n\\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\\n var e, m, c\\n var eLen = (nBytes * 8) - mLen - 1\\n var eMax = (1 << eLen) - 1\\n var eBias = eMax >> 1\\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\\n var i = isLE ? 0 : (nBytes - 1)\\n var d = isLE ? 1 : -1\\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\\n\\n value = Math.abs(value)\\n\\n if (isNaN(value) || value === Infinity) {\\n m = isNaN(value) ? 1 : 0\\n e = eMax\\n } else {\\n e = Math.floor(Math.log(value) / Math.LN2)\\n if (value * (c = Math.pow(2, -e)) < 1) {\\n e--\\n c *= 2\\n }\\n if (e + eBias >= 1) {\\n value += rt / c\\n } else {\\n value += rt * Math.pow(2, 1 - eBias)\\n }\\n if (value * c >= 2) {\\n e++\\n c /= 2\\n }\\n\\n if (e + eBias >= eMax) {\\n m = 0\\n e = eMax\\n } else if (e + eBias >= 1) {\\n m = ((value * c) - 1) * Math.pow(2, mLen)\\n e = e + eBias\\n } else {\\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\\n e = 0\\n }\\n }\\n\\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\\n\\n e = (e << mLen) | m\\n eLen += mLen\\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\\n\\n buffer[offset + i - d] |= s * 128\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/ieee754/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/localforage/dist/localforage.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/localforage/dist/localforage.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\neval(\"/*!\\n localForage -- Offline Storage, Improved\\n Version 1.10.0\\n https://localforage.github.io/localForage\\n (c) 2013-2017 Mozilla, Apache License 2.0\\n*/\\n(function(f){if(true){module.exports=f()}else { var g; }})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=undefined;if(!u&&a)return require(o,!0);if(i)return i(o,!0);var f=new Error(\\\"Cannot find module '\\\"+o+\\\"'\\\");throw (f.code=\\\"MODULE_NOT_FOUND\\\", f)}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=undefined;for(var o=0;o element; its readystatechange event will be fired asynchronously once it is inserted\\n // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.\\n var scriptEl = global.document.createElement('script');\\n scriptEl.onreadystatechange = function () {\\n nextTick();\\n\\n scriptEl.onreadystatechange = null;\\n scriptEl.parentNode.removeChild(scriptEl);\\n scriptEl = null;\\n };\\n global.document.documentElement.appendChild(scriptEl);\\n };\\n } else {\\n scheduleDrain = function () {\\n setTimeout(nextTick, 0);\\n };\\n }\\n}\\n\\nvar draining;\\nvar queue = [];\\n//named nextTick for less confusing stack traces\\nfunction nextTick() {\\n draining = true;\\n var i, oldQueue;\\n var len = queue.length;\\n while (len) {\\n oldQueue = queue;\\n queue = [];\\n i = -1;\\n while (++i < len) {\\n oldQueue[i]();\\n }\\n len = queue.length;\\n }\\n draining = false;\\n}\\n\\nmodule.exports = immediate;\\nfunction immediate(task) {\\n if (queue.push(task) === 1 && !draining) {\\n scheduleDrain();\\n }\\n}\\n\\n}).call(this,typeof __webpack_require__.g !== \\\"undefined\\\" ? __webpack_require__.g : typeof self !== \\\"undefined\\\" ? self : typeof window !== \\\"undefined\\\" ? window : {})\\n},{}],2:[function(_dereq_,module,exports){\\n'use strict';\\nvar immediate = _dereq_(1);\\n\\n/* istanbul ignore next */\\nfunction INTERNAL() {}\\n\\nvar handlers = {};\\n\\nvar REJECTED = ['REJECTED'];\\nvar FULFILLED = ['FULFILLED'];\\nvar PENDING = ['PENDING'];\\n\\nmodule.exports = Promise;\\n\\nfunction Promise(resolver) {\\n if (typeof resolver !== 'function') {\\n throw new TypeError('resolver must be a function');\\n }\\n this.state = PENDING;\\n this.queue = [];\\n this.outcome = void 0;\\n if (resolver !== INTERNAL) {\\n safelyResolveThenable(this, resolver);\\n }\\n}\\n\\nPromise.prototype[\\\"catch\\\"] = function (onRejected) {\\n return this.then(null, onRejected);\\n};\\nPromise.prototype.then = function (onFulfilled, onRejected) {\\n if (typeof onFulfilled !== 'function' && this.state === FULFILLED ||\\n typeof onRejected !== 'function' && this.state === REJECTED) {\\n return this;\\n }\\n var promise = new this.constructor(INTERNAL);\\n if (this.state !== PENDING) {\\n var resolver = this.state === FULFILLED ? onFulfilled : onRejected;\\n unwrap(promise, resolver, this.outcome);\\n } else {\\n this.queue.push(new QueueItem(promise, onFulfilled, onRejected));\\n }\\n\\n return promise;\\n};\\nfunction QueueItem(promise, onFulfilled, onRejected) {\\n this.promise = promise;\\n if (typeof onFulfilled === 'function') {\\n this.onFulfilled = onFulfilled;\\n this.callFulfilled = this.otherCallFulfilled;\\n }\\n if (typeof onRejected === 'function') {\\n this.onRejected = onRejected;\\n this.callRejected = this.otherCallRejected;\\n }\\n}\\nQueueItem.prototype.callFulfilled = function (value) {\\n handlers.resolve(this.promise, value);\\n};\\nQueueItem.prototype.otherCallFulfilled = function (value) {\\n unwrap(this.promise, this.onFulfilled, value);\\n};\\nQueueItem.prototype.callRejected = function (value) {\\n handlers.reject(this.promise, value);\\n};\\nQueueItem.prototype.otherCallRejected = function (value) {\\n unwrap(this.promise, this.onRejected, value);\\n};\\n\\nfunction unwrap(promise, func, value) {\\n immediate(function () {\\n var returnValue;\\n try {\\n returnValue = func(value);\\n } catch (e) {\\n return handlers.reject(promise, e);\\n }\\n if (returnValue === promise) {\\n handlers.reject(promise, new TypeError('Cannot resolve promise with itself'));\\n } else {\\n handlers.resolve(promise, returnValue);\\n }\\n });\\n}\\n\\nhandlers.resolve = function (self, value) {\\n var result = tryCatch(getThen, value);\\n if (result.status === 'error') {\\n return handlers.reject(self, result.value);\\n }\\n var thenable = result.value;\\n\\n if (thenable) {\\n safelyResolveThenable(self, thenable);\\n } else {\\n self.state = FULFILLED;\\n self.outcome = value;\\n var i = -1;\\n var len = self.queue.length;\\n while (++i < len) {\\n self.queue[i].callFulfilled(value);\\n }\\n }\\n return self;\\n};\\nhandlers.reject = function (self, error) {\\n self.state = REJECTED;\\n self.outcome = error;\\n var i = -1;\\n var len = self.queue.length;\\n while (++i < len) {\\n self.queue[i].callRejected(error);\\n }\\n return self;\\n};\\n\\nfunction getThen(obj) {\\n // Make sure we only access the accessor once as required by the spec\\n var then = obj && obj.then;\\n if (obj && (typeof obj === 'object' || typeof obj === 'function') && typeof then === 'function') {\\n return function appyThen() {\\n then.apply(obj, arguments);\\n };\\n }\\n}\\n\\nfunction safelyResolveThenable(self, thenable) {\\n // Either fulfill, reject or reject with error\\n var called = false;\\n function onError(value) {\\n if (called) {\\n return;\\n }\\n called = true;\\n handlers.reject(self, value);\\n }\\n\\n function onSuccess(value) {\\n if (called) {\\n return;\\n }\\n called = true;\\n handlers.resolve(self, value);\\n }\\n\\n function tryToUnwrap() {\\n thenable(onSuccess, onError);\\n }\\n\\n var result = tryCatch(tryToUnwrap);\\n if (result.status === 'error') {\\n onError(result.value);\\n }\\n}\\n\\nfunction tryCatch(func, value) {\\n var out = {};\\n try {\\n out.value = func(value);\\n out.status = 'success';\\n } catch (e) {\\n out.status = 'error';\\n out.value = e;\\n }\\n return out;\\n}\\n\\nPromise.resolve = resolve;\\nfunction resolve(value) {\\n if (value instanceof this) {\\n return value;\\n }\\n return handlers.resolve(new this(INTERNAL), value);\\n}\\n\\nPromise.reject = reject;\\nfunction reject(reason) {\\n var promise = new this(INTERNAL);\\n return handlers.reject(promise, reason);\\n}\\n\\nPromise.all = all;\\nfunction all(iterable) {\\n var self = this;\\n if (Object.prototype.toString.call(iterable) !== '[object Array]') {\\n return this.reject(new TypeError('must be an array'));\\n }\\n\\n var len = iterable.length;\\n var called = false;\\n if (!len) {\\n return this.resolve([]);\\n }\\n\\n var values = new Array(len);\\n var resolved = 0;\\n var i = -1;\\n var promise = new this(INTERNAL);\\n\\n while (++i < len) {\\n allResolver(iterable[i], i);\\n }\\n return promise;\\n function allResolver(value, i) {\\n self.resolve(value).then(resolveFromAll, function (error) {\\n if (!called) {\\n called = true;\\n handlers.reject(promise, error);\\n }\\n });\\n function resolveFromAll(outValue) {\\n values[i] = outValue;\\n if (++resolved === len && !called) {\\n called = true;\\n handlers.resolve(promise, values);\\n }\\n }\\n }\\n}\\n\\nPromise.race = race;\\nfunction race(iterable) {\\n var self = this;\\n if (Object.prototype.toString.call(iterable) !== '[object Array]') {\\n return this.reject(new TypeError('must be an array'));\\n }\\n\\n var len = iterable.length;\\n var called = false;\\n if (!len) {\\n return this.resolve([]);\\n }\\n\\n var i = -1;\\n var promise = new this(INTERNAL);\\n\\n while (++i < len) {\\n resolver(iterable[i]);\\n }\\n return promise;\\n function resolver(value) {\\n self.resolve(value).then(function (response) {\\n if (!called) {\\n called = true;\\n handlers.resolve(promise, response);\\n }\\n }, function (error) {\\n if (!called) {\\n called = true;\\n handlers.reject(promise, error);\\n }\\n });\\n }\\n}\\n\\n},{\\\"1\\\":1}],3:[function(_dereq_,module,exports){\\n(function (global){\\n'use strict';\\nif (typeof global.Promise !== 'function') {\\n global.Promise = _dereq_(2);\\n}\\n\\n}).call(this,typeof __webpack_require__.g !== \\\"undefined\\\" ? __webpack_require__.g : typeof self !== \\\"undefined\\\" ? self : typeof window !== \\\"undefined\\\" ? window : {})\\n},{\\\"2\\\":2}],4:[function(_dereq_,module,exports){\\n'use strict';\\n\\nvar _typeof = typeof Symbol === \\\"function\\\" && typeof Symbol.iterator === \\\"symbol\\\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \\\"function\\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\\"symbol\\\" : typeof obj; };\\n\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\"Cannot call a class as a function\\\"); } }\\n\\nfunction getIDB() {\\n /* global indexedDB,webkitIndexedDB,mozIndexedDB,OIndexedDB,msIndexedDB */\\n try {\\n if (typeof indexedDB !== 'undefined') {\\n return indexedDB;\\n }\\n if (typeof webkitIndexedDB !== 'undefined') {\\n return webkitIndexedDB;\\n }\\n if (typeof mozIndexedDB !== 'undefined') {\\n return mozIndexedDB;\\n }\\n if (typeof OIndexedDB !== 'undefined') {\\n return OIndexedDB;\\n }\\n if (typeof msIndexedDB !== 'undefined') {\\n return msIndexedDB;\\n }\\n } catch (e) {\\n return;\\n }\\n}\\n\\nvar idb = getIDB();\\n\\nfunction isIndexedDBValid() {\\n try {\\n // Initialize IndexedDB; fall back to vendor-prefixed versions\\n // if needed.\\n if (!idb || !idb.open) {\\n return false;\\n }\\n // We mimic PouchDB here;\\n //\\n // We test for openDatabase because IE Mobile identifies itself\\n // as Safari. Oh the lulz...\\n var isSafari = typeof openDatabase !== 'undefined' && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform);\\n\\n var hasFetch = typeof fetch === 'function' && fetch.toString().indexOf('[native code') !== -1;\\n\\n // Safari <10.1 does not meet our requirements for IDB support\\n // (see: https://github.com/pouchdb/pouchdb/issues/5572).\\n // Safari 10.1 shipped with fetch, we can use that to detect it.\\n // Note: this creates issues with `window.fetch` polyfills and\\n // overrides; see:\\n // https://github.com/localForage/localForage/issues/856\\n return (!isSafari || hasFetch) && typeof indexedDB !== 'undefined' &&\\n // some outdated implementations of IDB that appear on Samsung\\n // and HTC Android devices <4.4 are missing IDBKeyRange\\n // See: https://github.com/mozilla/localForage/issues/128\\n // See: https://github.com/mozilla/localForage/issues/272\\n typeof IDBKeyRange !== 'undefined';\\n } catch (e) {\\n return false;\\n }\\n}\\n\\n// Abstracts constructing a Blob object, so it also works in older\\n// browsers that don't support the native Blob constructor. (i.e.\\n// old QtWebKit versions, at least).\\n// Abstracts constructing a Blob object, so it also works in older\\n// browsers that don't support the native Blob constructor. (i.e.\\n// old QtWebKit versions, at least).\\nfunction createBlob(parts, properties) {\\n /* global BlobBuilder,MSBlobBuilder,MozBlobBuilder,WebKitBlobBuilder */\\n parts = parts || [];\\n properties = properties || {};\\n try {\\n return new Blob(parts, properties);\\n } catch (e) {\\n if (e.name !== 'TypeError') {\\n throw e;\\n }\\n var Builder = typeof BlobBuilder !== 'undefined' ? BlobBuilder : typeof MSBlobBuilder !== 'undefined' ? MSBlobBuilder : typeof MozBlobBuilder !== 'undefined' ? MozBlobBuilder : WebKitBlobBuilder;\\n var builder = new Builder();\\n for (var i = 0; i < parts.length; i += 1) {\\n builder.append(parts[i]);\\n }\\n return builder.getBlob(properties.type);\\n }\\n}\\n\\n// This is CommonJS because lie is an external dependency, so Rollup\\n// can just ignore it.\\nif (typeof Promise === 'undefined') {\\n // In the \\\"nopromises\\\" build this will just throw if you don't have\\n // a global promise object, but it would throw anyway later.\\n _dereq_(3);\\n}\\nvar Promise$1 = Promise;\\n\\nfunction executeCallback(promise, callback) {\\n if (callback) {\\n promise.then(function (result) {\\n callback(null, result);\\n }, function (error) {\\n callback(error);\\n });\\n }\\n}\\n\\nfunction executeTwoCallbacks(promise, callback, errorCallback) {\\n if (typeof callback === 'function') {\\n promise.then(callback);\\n }\\n\\n if (typeof errorCallback === 'function') {\\n promise[\\\"catch\\\"](errorCallback);\\n }\\n}\\n\\nfunction normalizeKey(key) {\\n // Cast the key to a string, as that's all we can set as a key.\\n if (typeof key !== 'string') {\\n console.warn(key + ' used as a key, but it is not a string.');\\n key = String(key);\\n }\\n\\n return key;\\n}\\n\\nfunction getCallback() {\\n if (arguments.length && typeof arguments[arguments.length - 1] === 'function') {\\n return arguments[arguments.length - 1];\\n }\\n}\\n\\n// Some code originally from async_storage.js in\\n// [Gaia](https://github.com/mozilla-b2g/gaia).\\n\\nvar DETECT_BLOB_SUPPORT_STORE = 'local-forage-detect-blob-support';\\nvar supportsBlobs = void 0;\\nvar dbContexts = {};\\nvar toString = Object.prototype.toString;\\n\\n// Transaction Modes\\nvar READ_ONLY = 'readonly';\\nvar READ_WRITE = 'readwrite';\\n\\n// Transform a binary string to an array buffer, because otherwise\\n// weird stuff happens when you try to work with the binary string directly.\\n// It is known.\\n// From http://stackoverflow.com/questions/14967647/ (continues on next line)\\n// encode-decode-image-with-base64-breaks-image (2013-04-21)\\nfunction _binStringToArrayBuffer(bin) {\\n var length = bin.length;\\n var buf = new ArrayBuffer(length);\\n var arr = new Uint8Array(buf);\\n for (var i = 0; i < length; i++) {\\n arr[i] = bin.charCodeAt(i);\\n }\\n return buf;\\n}\\n\\n//\\n// Blobs are not supported in all versions of IndexedDB, notably\\n// Chrome <37 and Android <5. In those versions, storing a blob will throw.\\n//\\n// Various other blob bugs exist in Chrome v37-42 (inclusive).\\n// Detecting them is expensive and confusing to users, and Chrome 37-42\\n// is at very low usage worldwide, so we do a hacky userAgent check instead.\\n//\\n// content-type bug: https://code.google.com/p/chromium/issues/detail?id=408120\\n// 404 bug: https://code.google.com/p/chromium/issues/detail?id=447916\\n// FileReader bug: https://code.google.com/p/chromium/issues/detail?id=447836\\n//\\n// Code borrowed from PouchDB. See:\\n// https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-adapter-idb/src/blobSupport.js\\n//\\nfunction _checkBlobSupportWithoutCaching(idb) {\\n return new Promise$1(function (resolve) {\\n var txn = idb.transaction(DETECT_BLOB_SUPPORT_STORE, READ_WRITE);\\n var blob = createBlob(['']);\\n txn.objectStore(DETECT_BLOB_SUPPORT_STORE).put(blob, 'key');\\n\\n txn.onabort = function (e) {\\n // If the transaction aborts now its due to not being able to\\n // write to the database, likely due to the disk being full\\n e.preventDefault();\\n e.stopPropagation();\\n resolve(false);\\n };\\n\\n txn.oncomplete = function () {\\n var matchedChrome = navigator.userAgent.match(/Chrome\\\\/(\\\\d+)/);\\n var matchedEdge = navigator.userAgent.match(/Edge\\\\//);\\n // MS Edge pretends to be Chrome 42:\\n // https://msdn.microsoft.com/en-us/library/hh869301%28v=vs.85%29.aspx\\n resolve(matchedEdge || !matchedChrome || parseInt(matchedChrome[1], 10) >= 43);\\n };\\n })[\\\"catch\\\"](function () {\\n return false; // error, so assume unsupported\\n });\\n}\\n\\nfunction _checkBlobSupport(idb) {\\n if (typeof supportsBlobs === 'boolean') {\\n return Promise$1.resolve(supportsBlobs);\\n }\\n return _checkBlobSupportWithoutCaching(idb).then(function (value) {\\n supportsBlobs = value;\\n return supportsBlobs;\\n });\\n}\\n\\nfunction _deferReadiness(dbInfo) {\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // Create a deferred object representing the current database operation.\\n var deferredOperation = {};\\n\\n deferredOperation.promise = new Promise$1(function (resolve, reject) {\\n deferredOperation.resolve = resolve;\\n deferredOperation.reject = reject;\\n });\\n\\n // Enqueue the deferred operation.\\n dbContext.deferredOperations.push(deferredOperation);\\n\\n // Chain its promise to the database readiness.\\n if (!dbContext.dbReady) {\\n dbContext.dbReady = deferredOperation.promise;\\n } else {\\n dbContext.dbReady = dbContext.dbReady.then(function () {\\n return deferredOperation.promise;\\n });\\n }\\n}\\n\\nfunction _advanceReadiness(dbInfo) {\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // Dequeue a deferred operation.\\n var deferredOperation = dbContext.deferredOperations.pop();\\n\\n // Resolve its promise (which is part of the database readiness\\n // chain of promises).\\n if (deferredOperation) {\\n deferredOperation.resolve();\\n return deferredOperation.promise;\\n }\\n}\\n\\nfunction _rejectReadiness(dbInfo, err) {\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // Dequeue a deferred operation.\\n var deferredOperation = dbContext.deferredOperations.pop();\\n\\n // Reject its promise (which is part of the database readiness\\n // chain of promises).\\n if (deferredOperation) {\\n deferredOperation.reject(err);\\n return deferredOperation.promise;\\n }\\n}\\n\\nfunction _getConnection(dbInfo, upgradeNeeded) {\\n return new Promise$1(function (resolve, reject) {\\n dbContexts[dbInfo.name] = dbContexts[dbInfo.name] || createDbContext();\\n\\n if (dbInfo.db) {\\n if (upgradeNeeded) {\\n _deferReadiness(dbInfo);\\n dbInfo.db.close();\\n } else {\\n return resolve(dbInfo.db);\\n }\\n }\\n\\n var dbArgs = [dbInfo.name];\\n\\n if (upgradeNeeded) {\\n dbArgs.push(dbInfo.version);\\n }\\n\\n var openreq = idb.open.apply(idb, dbArgs);\\n\\n if (upgradeNeeded) {\\n openreq.onupgradeneeded = function (e) {\\n var db = openreq.result;\\n try {\\n db.createObjectStore(dbInfo.storeName);\\n if (e.oldVersion <= 1) {\\n // Added when support for blob shims was added\\n db.createObjectStore(DETECT_BLOB_SUPPORT_STORE);\\n }\\n } catch (ex) {\\n if (ex.name === 'ConstraintError') {\\n console.warn('The database \\\"' + dbInfo.name + '\\\"' + ' has been upgraded from version ' + e.oldVersion + ' to version ' + e.newVersion + ', but the storage \\\"' + dbInfo.storeName + '\\\" already exists.');\\n } else {\\n throw ex;\\n }\\n }\\n };\\n }\\n\\n openreq.onerror = function (e) {\\n e.preventDefault();\\n reject(openreq.error);\\n };\\n\\n openreq.onsuccess = function () {\\n var db = openreq.result;\\n db.onversionchange = function (e) {\\n // Triggered when the database is modified (e.g. adding an objectStore) or\\n // deleted (even when initiated by other sessions in different tabs).\\n // Closing the connection here prevents those operations from being blocked.\\n // If the database is accessed again later by this instance, the connection\\n // will be reopened or the database recreated as needed.\\n e.target.close();\\n };\\n resolve(db);\\n _advanceReadiness(dbInfo);\\n };\\n });\\n}\\n\\nfunction _getOriginalConnection(dbInfo) {\\n return _getConnection(dbInfo, false);\\n}\\n\\nfunction _getUpgradedConnection(dbInfo) {\\n return _getConnection(dbInfo, true);\\n}\\n\\nfunction _isUpgradeNeeded(dbInfo, defaultVersion) {\\n if (!dbInfo.db) {\\n return true;\\n }\\n\\n var isNewStore = !dbInfo.db.objectStoreNames.contains(dbInfo.storeName);\\n var isDowngrade = dbInfo.version < dbInfo.db.version;\\n var isUpgrade = dbInfo.version > dbInfo.db.version;\\n\\n if (isDowngrade) {\\n // If the version is not the default one\\n // then warn for impossible downgrade.\\n if (dbInfo.version !== defaultVersion) {\\n console.warn('The database \\\"' + dbInfo.name + '\\\"' + \\\" can't be downgraded from version \\\" + dbInfo.db.version + ' to version ' + dbInfo.version + '.');\\n }\\n // Align the versions to prevent errors.\\n dbInfo.version = dbInfo.db.version;\\n }\\n\\n if (isUpgrade || isNewStore) {\\n // If the store is new then increment the version (if needed).\\n // This will trigger an \\\"upgradeneeded\\\" event which is required\\n // for creating a store.\\n if (isNewStore) {\\n var incVersion = dbInfo.db.version + 1;\\n if (incVersion > dbInfo.version) {\\n dbInfo.version = incVersion;\\n }\\n }\\n\\n return true;\\n }\\n\\n return false;\\n}\\n\\n// encode a blob for indexeddb engines that don't support blobs\\nfunction _encodeBlob(blob) {\\n return new Promise$1(function (resolve, reject) {\\n var reader = new FileReader();\\n reader.onerror = reject;\\n reader.onloadend = function (e) {\\n var base64 = btoa(e.target.result || '');\\n resolve({\\n __local_forage_encoded_blob: true,\\n data: base64,\\n type: blob.type\\n });\\n };\\n reader.readAsBinaryString(blob);\\n });\\n}\\n\\n// decode an encoded blob\\nfunction _decodeBlob(encodedBlob) {\\n var arrayBuff = _binStringToArrayBuffer(atob(encodedBlob.data));\\n return createBlob([arrayBuff], { type: encodedBlob.type });\\n}\\n\\n// is this one of our fancy encoded blobs?\\nfunction _isEncodedBlob(value) {\\n return value && value.__local_forage_encoded_blob;\\n}\\n\\n// Specialize the default `ready()` function by making it dependent\\n// on the current database operations. Thus, the driver will be actually\\n// ready when it's been initialized (default) *and* there are no pending\\n// operations on the database (initiated by some other instances).\\nfunction _fullyReady(callback) {\\n var self = this;\\n\\n var promise = self._initReady().then(function () {\\n var dbContext = dbContexts[self._dbInfo.name];\\n\\n if (dbContext && dbContext.dbReady) {\\n return dbContext.dbReady;\\n }\\n });\\n\\n executeTwoCallbacks(promise, callback, callback);\\n return promise;\\n}\\n\\n// Try to establish a new db connection to replace the\\n// current one which is broken (i.e. experiencing\\n// InvalidStateError while creating a transaction).\\nfunction _tryReconnect(dbInfo) {\\n _deferReadiness(dbInfo);\\n\\n var dbContext = dbContexts[dbInfo.name];\\n var forages = dbContext.forages;\\n\\n for (var i = 0; i < forages.length; i++) {\\n var forage = forages[i];\\n if (forage._dbInfo.db) {\\n forage._dbInfo.db.close();\\n forage._dbInfo.db = null;\\n }\\n }\\n dbInfo.db = null;\\n\\n return _getOriginalConnection(dbInfo).then(function (db) {\\n dbInfo.db = db;\\n if (_isUpgradeNeeded(dbInfo)) {\\n // Reopen the database for upgrading.\\n return _getUpgradedConnection(dbInfo);\\n }\\n return db;\\n }).then(function (db) {\\n // store the latest db reference\\n // in case the db was upgraded\\n dbInfo.db = dbContext.db = db;\\n for (var i = 0; i < forages.length; i++) {\\n forages[i]._dbInfo.db = db;\\n }\\n })[\\\"catch\\\"](function (err) {\\n _rejectReadiness(dbInfo, err);\\n throw err;\\n });\\n}\\n\\n// FF doesn't like Promises (micro-tasks) and IDDB store operations,\\n// so we have to do it with callbacks\\nfunction createTransaction(dbInfo, mode, callback, retries) {\\n if (retries === undefined) {\\n retries = 1;\\n }\\n\\n try {\\n var tx = dbInfo.db.transaction(dbInfo.storeName, mode);\\n callback(null, tx);\\n } catch (err) {\\n if (retries > 0 && (!dbInfo.db || err.name === 'InvalidStateError' || err.name === 'NotFoundError')) {\\n return Promise$1.resolve().then(function () {\\n if (!dbInfo.db || err.name === 'NotFoundError' && !dbInfo.db.objectStoreNames.contains(dbInfo.storeName) && dbInfo.version <= dbInfo.db.version) {\\n // increase the db version, to create the new ObjectStore\\n if (dbInfo.db) {\\n dbInfo.version = dbInfo.db.version + 1;\\n }\\n // Reopen the database for upgrading.\\n return _getUpgradedConnection(dbInfo);\\n }\\n }).then(function () {\\n return _tryReconnect(dbInfo).then(function () {\\n createTransaction(dbInfo, mode, callback, retries - 1);\\n });\\n })[\\\"catch\\\"](callback);\\n }\\n\\n callback(err);\\n }\\n}\\n\\nfunction createDbContext() {\\n return {\\n // Running localForages sharing a database.\\n forages: [],\\n // Shared database.\\n db: null,\\n // Database readiness (promise).\\n dbReady: null,\\n // Deferred operations on the database.\\n deferredOperations: []\\n };\\n}\\n\\n// Open the IndexedDB database (automatically creates one if one didn't\\n// previously exist), using any options set in the config.\\nfunction _initStorage(options) {\\n var self = this;\\n var dbInfo = {\\n db: null\\n };\\n\\n if (options) {\\n for (var i in options) {\\n dbInfo[i] = options[i];\\n }\\n }\\n\\n // Get the current context of the database;\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // ...or create a new context.\\n if (!dbContext) {\\n dbContext = createDbContext();\\n // Register the new context in the global container.\\n dbContexts[dbInfo.name] = dbContext;\\n }\\n\\n // Register itself as a running localForage in the current context.\\n dbContext.forages.push(self);\\n\\n // Replace the default `ready()` function with the specialized one.\\n if (!self._initReady) {\\n self._initReady = self.ready;\\n self.ready = _fullyReady;\\n }\\n\\n // Create an array of initialization states of the related localForages.\\n var initPromises = [];\\n\\n function ignoreErrors() {\\n // Don't handle errors here,\\n // just makes sure related localForages aren't pending.\\n return Promise$1.resolve();\\n }\\n\\n for (var j = 0; j < dbContext.forages.length; j++) {\\n var forage = dbContext.forages[j];\\n if (forage !== self) {\\n // Don't wait for itself...\\n initPromises.push(forage._initReady()[\\\"catch\\\"](ignoreErrors));\\n }\\n }\\n\\n // Take a snapshot of the related localForages.\\n var forages = dbContext.forages.slice(0);\\n\\n // Initialize the connection process only when\\n // all the related localForages aren't pending.\\n return Promise$1.all(initPromises).then(function () {\\n dbInfo.db = dbContext.db;\\n // Get the connection or open a new one without upgrade.\\n return _getOriginalConnection(dbInfo);\\n }).then(function (db) {\\n dbInfo.db = db;\\n if (_isUpgradeNeeded(dbInfo, self._defaultConfig.version)) {\\n // Reopen the database for upgrading.\\n return _getUpgradedConnection(dbInfo);\\n }\\n return db;\\n }).then(function (db) {\\n dbInfo.db = dbContext.db = db;\\n self._dbInfo = dbInfo;\\n // Share the final connection amongst related localForages.\\n for (var k = 0; k < forages.length; k++) {\\n var forage = forages[k];\\n if (forage !== self) {\\n // Self is already up-to-date.\\n forage._dbInfo.db = dbInfo.db;\\n forage._dbInfo.version = dbInfo.version;\\n }\\n }\\n });\\n}\\n\\nfunction getItem(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.get(key);\\n\\n req.onsuccess = function () {\\n var value = req.result;\\n if (value === undefined) {\\n value = null;\\n }\\n if (_isEncodedBlob(value)) {\\n value = _decodeBlob(value);\\n }\\n resolve(value);\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Iterate over all items stored in database.\\nfunction iterate(iterator, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.openCursor();\\n var iterationNumber = 1;\\n\\n req.onsuccess = function () {\\n var cursor = req.result;\\n\\n if (cursor) {\\n var value = cursor.value;\\n if (_isEncodedBlob(value)) {\\n value = _decodeBlob(value);\\n }\\n var result = iterator(value, cursor.key, iterationNumber++);\\n\\n // when the iterator callback returns any\\n // (non-`undefined`) value, then we stop\\n // the iteration immediately\\n if (result !== void 0) {\\n resolve(result);\\n } else {\\n cursor[\\\"continue\\\"]();\\n }\\n } else {\\n resolve();\\n }\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n\\n return promise;\\n}\\n\\nfunction setItem(key, value, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n var dbInfo;\\n self.ready().then(function () {\\n dbInfo = self._dbInfo;\\n if (toString.call(value) === '[object Blob]') {\\n return _checkBlobSupport(dbInfo.db).then(function (blobSupport) {\\n if (blobSupport) {\\n return value;\\n }\\n return _encodeBlob(value);\\n });\\n }\\n return value;\\n }).then(function (value) {\\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n\\n // The reason we don't _save_ null is because IE 10 does\\n // not support saving the `null` type in IndexedDB. How\\n // ironic, given the bug below!\\n // See: https://github.com/mozilla/localForage/issues/161\\n if (value === null) {\\n value = undefined;\\n }\\n\\n var req = store.put(value, key);\\n\\n transaction.oncomplete = function () {\\n // Cast to undefined so the value passed to\\n // callback/promise is the same as what one would get out\\n // of `getItem()` later. This leads to some weirdness\\n // (setItem('foo', undefined) will return `null`), but\\n // it's not my fault localStorage is our baseline and that\\n // it's weird.\\n if (value === undefined) {\\n value = null;\\n }\\n\\n resolve(value);\\n };\\n transaction.onabort = transaction.onerror = function () {\\n var err = req.error ? req.error : req.transaction.error;\\n reject(err);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction removeItem(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n // We use a Grunt task to make this safe for IE and some\\n // versions of Android (including those used by Cordova).\\n // Normally IE won't like `.delete()` and will insist on\\n // using `['delete']()`, but we have a build step that\\n // fixes this for us now.\\n var req = store[\\\"delete\\\"](key);\\n transaction.oncomplete = function () {\\n resolve();\\n };\\n\\n transaction.onerror = function () {\\n reject(req.error);\\n };\\n\\n // The request will be also be aborted if we've exceeded our storage\\n // space.\\n transaction.onabort = function () {\\n var err = req.error ? req.error : req.transaction.error;\\n reject(err);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction clear(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.clear();\\n\\n transaction.oncomplete = function () {\\n resolve();\\n };\\n\\n transaction.onabort = transaction.onerror = function () {\\n var err = req.error ? req.error : req.transaction.error;\\n reject(err);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction length(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.count();\\n\\n req.onsuccess = function () {\\n resolve(req.result);\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction key(n, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n if (n < 0) {\\n resolve(null);\\n\\n return;\\n }\\n\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var advanced = false;\\n var req = store.openKeyCursor();\\n\\n req.onsuccess = function () {\\n var cursor = req.result;\\n if (!cursor) {\\n // this means there weren't enough keys\\n resolve(null);\\n\\n return;\\n }\\n\\n if (n === 0) {\\n // We have the first key, return it if that's what they\\n // wanted.\\n resolve(cursor.key);\\n } else {\\n if (!advanced) {\\n // Otherwise, ask the cursor to skip ahead n\\n // records.\\n advanced = true;\\n cursor.advance(n);\\n } else {\\n // When we get here, we've got the nth key.\\n resolve(cursor.key);\\n }\\n }\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction keys(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.openKeyCursor();\\n var keys = [];\\n\\n req.onsuccess = function () {\\n var cursor = req.result;\\n\\n if (!cursor) {\\n resolve(keys);\\n return;\\n }\\n\\n keys.push(cursor.key);\\n cursor[\\\"continue\\\"]();\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction dropInstance(options, callback) {\\n callback = getCallback.apply(this, arguments);\\n\\n var currentConfig = this.config();\\n options = typeof options !== 'function' && options || {};\\n if (!options.name) {\\n options.name = options.name || currentConfig.name;\\n options.storeName = options.storeName || currentConfig.storeName;\\n }\\n\\n var self = this;\\n var promise;\\n if (!options.name) {\\n promise = Promise$1.reject('Invalid arguments');\\n } else {\\n var isCurrentDb = options.name === currentConfig.name && self._dbInfo.db;\\n\\n var dbPromise = isCurrentDb ? Promise$1.resolve(self._dbInfo.db) : _getOriginalConnection(options).then(function (db) {\\n var dbContext = dbContexts[options.name];\\n var forages = dbContext.forages;\\n dbContext.db = db;\\n for (var i = 0; i < forages.length; i++) {\\n forages[i]._dbInfo.db = db;\\n }\\n return db;\\n });\\n\\n if (!options.storeName) {\\n promise = dbPromise.then(function (db) {\\n _deferReadiness(options);\\n\\n var dbContext = dbContexts[options.name];\\n var forages = dbContext.forages;\\n\\n db.close();\\n for (var i = 0; i < forages.length; i++) {\\n var forage = forages[i];\\n forage._dbInfo.db = null;\\n }\\n\\n var dropDBPromise = new Promise$1(function (resolve, reject) {\\n var req = idb.deleteDatabase(options.name);\\n\\n req.onerror = function () {\\n var db = req.result;\\n if (db) {\\n db.close();\\n }\\n reject(req.error);\\n };\\n\\n req.onblocked = function () {\\n // Closing all open connections in onversionchange handler should prevent this situation, but if\\n // we do get here, it just means the request remains pending - eventually it will succeed or error\\n console.warn('dropInstance blocked for database \\\"' + options.name + '\\\" until all open connections are closed');\\n };\\n\\n req.onsuccess = function () {\\n var db = req.result;\\n if (db) {\\n db.close();\\n }\\n resolve(db);\\n };\\n });\\n\\n return dropDBPromise.then(function (db) {\\n dbContext.db = db;\\n for (var i = 0; i < forages.length; i++) {\\n var _forage = forages[i];\\n _advanceReadiness(_forage._dbInfo);\\n }\\n })[\\\"catch\\\"](function (err) {\\n (_rejectReadiness(options, err) || Promise$1.resolve())[\\\"catch\\\"](function () {});\\n throw err;\\n });\\n });\\n } else {\\n promise = dbPromise.then(function (db) {\\n if (!db.objectStoreNames.contains(options.storeName)) {\\n return;\\n }\\n\\n var newVersion = db.version + 1;\\n\\n _deferReadiness(options);\\n\\n var dbContext = dbContexts[options.name];\\n var forages = dbContext.forages;\\n\\n db.close();\\n for (var i = 0; i < forages.length; i++) {\\n var forage = forages[i];\\n forage._dbInfo.db = null;\\n forage._dbInfo.version = newVersion;\\n }\\n\\n var dropObjectPromise = new Promise$1(function (resolve, reject) {\\n var req = idb.open(options.name, newVersion);\\n\\n req.onerror = function (err) {\\n var db = req.result;\\n db.close();\\n reject(err);\\n };\\n\\n req.onupgradeneeded = function () {\\n var db = req.result;\\n db.deleteObjectStore(options.storeName);\\n };\\n\\n req.onsuccess = function () {\\n var db = req.result;\\n db.close();\\n resolve(db);\\n };\\n });\\n\\n return dropObjectPromise.then(function (db) {\\n dbContext.db = db;\\n for (var j = 0; j < forages.length; j++) {\\n var _forage2 = forages[j];\\n _forage2._dbInfo.db = db;\\n _advanceReadiness(_forage2._dbInfo);\\n }\\n })[\\\"catch\\\"](function (err) {\\n (_rejectReadiness(options, err) || Promise$1.resolve())[\\\"catch\\\"](function () {});\\n throw err;\\n });\\n });\\n }\\n }\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nvar asyncStorage = {\\n _driver: 'asyncStorage',\\n _initStorage: _initStorage,\\n _support: isIndexedDBValid(),\\n iterate: iterate,\\n getItem: getItem,\\n setItem: setItem,\\n removeItem: removeItem,\\n clear: clear,\\n length: length,\\n key: key,\\n keys: keys,\\n dropInstance: dropInstance\\n};\\n\\nfunction isWebSQLValid() {\\n return typeof openDatabase === 'function';\\n}\\n\\n// Sadly, the best way to save binary data in WebSQL/localStorage is serializing\\n// it to Base64, so this is how we store it to prevent very strange errors with less\\n// verbose ways of binary <-> string data storage.\\nvar BASE_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\\n\\nvar BLOB_TYPE_PREFIX = '~~local_forage_type~';\\nvar BLOB_TYPE_PREFIX_REGEX = /^~~local_forage_type~([^~]+)~/;\\n\\nvar SERIALIZED_MARKER = '__lfsc__:';\\nvar SERIALIZED_MARKER_LENGTH = SERIALIZED_MARKER.length;\\n\\n// OMG the serializations!\\nvar TYPE_ARRAYBUFFER = 'arbf';\\nvar TYPE_BLOB = 'blob';\\nvar TYPE_INT8ARRAY = 'si08';\\nvar TYPE_UINT8ARRAY = 'ui08';\\nvar TYPE_UINT8CLAMPEDARRAY = 'uic8';\\nvar TYPE_INT16ARRAY = 'si16';\\nvar TYPE_INT32ARRAY = 'si32';\\nvar TYPE_UINT16ARRAY = 'ur16';\\nvar TYPE_UINT32ARRAY = 'ui32';\\nvar TYPE_FLOAT32ARRAY = 'fl32';\\nvar TYPE_FLOAT64ARRAY = 'fl64';\\nvar TYPE_SERIALIZED_MARKER_LENGTH = SERIALIZED_MARKER_LENGTH + TYPE_ARRAYBUFFER.length;\\n\\nvar toString$1 = Object.prototype.toString;\\n\\nfunction stringToBuffer(serializedString) {\\n // Fill the string into a ArrayBuffer.\\n var bufferLength = serializedString.length * 0.75;\\n var len = serializedString.length;\\n var i;\\n var p = 0;\\n var encoded1, encoded2, encoded3, encoded4;\\n\\n if (serializedString[serializedString.length - 1] === '=') {\\n bufferLength--;\\n if (serializedString[serializedString.length - 2] === '=') {\\n bufferLength--;\\n }\\n }\\n\\n var buffer = new ArrayBuffer(bufferLength);\\n var bytes = new Uint8Array(buffer);\\n\\n for (i = 0; i < len; i += 4) {\\n encoded1 = BASE_CHARS.indexOf(serializedString[i]);\\n encoded2 = BASE_CHARS.indexOf(serializedString[i + 1]);\\n encoded3 = BASE_CHARS.indexOf(serializedString[i + 2]);\\n encoded4 = BASE_CHARS.indexOf(serializedString[i + 3]);\\n\\n /*jslint bitwise: true */\\n bytes[p++] = encoded1 << 2 | encoded2 >> 4;\\n bytes[p++] = (encoded2 & 15) << 4 | encoded3 >> 2;\\n bytes[p++] = (encoded3 & 3) << 6 | encoded4 & 63;\\n }\\n return buffer;\\n}\\n\\n// Converts a buffer to a string to store, serialized, in the backend\\n// storage library.\\nfunction bufferToString(buffer) {\\n // base64-arraybuffer\\n var bytes = new Uint8Array(buffer);\\n var base64String = '';\\n var i;\\n\\n for (i = 0; i < bytes.length; i += 3) {\\n /*jslint bitwise: true */\\n base64String += BASE_CHARS[bytes[i] >> 2];\\n base64String += BASE_CHARS[(bytes[i] & 3) << 4 | bytes[i + 1] >> 4];\\n base64String += BASE_CHARS[(bytes[i + 1] & 15) << 2 | bytes[i + 2] >> 6];\\n base64String += BASE_CHARS[bytes[i + 2] & 63];\\n }\\n\\n if (bytes.length % 3 === 2) {\\n base64String = base64String.substring(0, base64String.length - 1) + '=';\\n } else if (bytes.length % 3 === 1) {\\n base64String = base64String.substring(0, base64String.length - 2) + '==';\\n }\\n\\n return base64String;\\n}\\n\\n// Serialize a value, afterwards executing a callback (which usually\\n// instructs the `setItem()` callback/promise to be executed). This is how\\n// we store binary data with localStorage.\\nfunction serialize(value, callback) {\\n var valueType = '';\\n if (value) {\\n valueType = toString$1.call(value);\\n }\\n\\n // Cannot use `value instanceof ArrayBuffer` or such here, as these\\n // checks fail when running the tests using casper.js...\\n //\\n // TODO: See why those tests fail and use a better solution.\\n if (value && (valueType === '[object ArrayBuffer]' || value.buffer && toString$1.call(value.buffer) === '[object ArrayBuffer]')) {\\n // Convert binary arrays to a string and prefix the string with\\n // a special marker.\\n var buffer;\\n var marker = SERIALIZED_MARKER;\\n\\n if (value instanceof ArrayBuffer) {\\n buffer = value;\\n marker += TYPE_ARRAYBUFFER;\\n } else {\\n buffer = value.buffer;\\n\\n if (valueType === '[object Int8Array]') {\\n marker += TYPE_INT8ARRAY;\\n } else if (valueType === '[object Uint8Array]') {\\n marker += TYPE_UINT8ARRAY;\\n } else if (valueType === '[object Uint8ClampedArray]') {\\n marker += TYPE_UINT8CLAMPEDARRAY;\\n } else if (valueType === '[object Int16Array]') {\\n marker += TYPE_INT16ARRAY;\\n } else if (valueType === '[object Uint16Array]') {\\n marker += TYPE_UINT16ARRAY;\\n } else if (valueType === '[object Int32Array]') {\\n marker += TYPE_INT32ARRAY;\\n } else if (valueType === '[object Uint32Array]') {\\n marker += TYPE_UINT32ARRAY;\\n } else if (valueType === '[object Float32Array]') {\\n marker += TYPE_FLOAT32ARRAY;\\n } else if (valueType === '[object Float64Array]') {\\n marker += TYPE_FLOAT64ARRAY;\\n } else {\\n callback(new Error('Failed to get type for BinaryArray'));\\n }\\n }\\n\\n callback(marker + bufferToString(buffer));\\n } else if (valueType === '[object Blob]') {\\n // Conver the blob to a binaryArray and then to a string.\\n var fileReader = new FileReader();\\n\\n fileReader.onload = function () {\\n // Backwards-compatible prefix for the blob type.\\n var str = BLOB_TYPE_PREFIX + value.type + '~' + bufferToString(this.result);\\n\\n callback(SERIALIZED_MARKER + TYPE_BLOB + str);\\n };\\n\\n fileReader.readAsArrayBuffer(value);\\n } else {\\n try {\\n callback(JSON.stringify(value));\\n } catch (e) {\\n console.error(\\\"Couldn't convert value into a JSON string: \\\", value);\\n\\n callback(null, e);\\n }\\n }\\n}\\n\\n// Deserialize data we've inserted into a value column/field. We place\\n// special markers into our strings to mark them as encoded; this isn't\\n// as nice as a meta field, but it's the only sane thing we can do whilst\\n// keeping localStorage support intact.\\n//\\n// Oftentimes this will just deserialize JSON content, but if we have a\\n// special marker (SERIALIZED_MARKER, defined above), we will extract\\n// some kind of arraybuffer/binary data/typed array out of the string.\\nfunction deserialize(value) {\\n // If we haven't marked this string as being specially serialized (i.e.\\n // something other than serialized JSON), we can just return it and be\\n // done with it.\\n if (value.substring(0, SERIALIZED_MARKER_LENGTH) !== SERIALIZED_MARKER) {\\n return JSON.parse(value);\\n }\\n\\n // The following code deals with deserializing some kind of Blob or\\n // TypedArray. First we separate out the type of data we're dealing\\n // with from the data itself.\\n var serializedString = value.substring(TYPE_SERIALIZED_MARKER_LENGTH);\\n var type = value.substring(SERIALIZED_MARKER_LENGTH, TYPE_SERIALIZED_MARKER_LENGTH);\\n\\n var blobType;\\n // Backwards-compatible blob type serialization strategy.\\n // DBs created with older versions of localForage will simply not have the blob type.\\n if (type === TYPE_BLOB && BLOB_TYPE_PREFIX_REGEX.test(serializedString)) {\\n var matcher = serializedString.match(BLOB_TYPE_PREFIX_REGEX);\\n blobType = matcher[1];\\n serializedString = serializedString.substring(matcher[0].length);\\n }\\n var buffer = stringToBuffer(serializedString);\\n\\n // Return the right type based on the code/type set during\\n // serialization.\\n switch (type) {\\n case TYPE_ARRAYBUFFER:\\n return buffer;\\n case TYPE_BLOB:\\n return createBlob([buffer], { type: blobType });\\n case TYPE_INT8ARRAY:\\n return new Int8Array(buffer);\\n case TYPE_UINT8ARRAY:\\n return new Uint8Array(buffer);\\n case TYPE_UINT8CLAMPEDARRAY:\\n return new Uint8ClampedArray(buffer);\\n case TYPE_INT16ARRAY:\\n return new Int16Array(buffer);\\n case TYPE_UINT16ARRAY:\\n return new Uint16Array(buffer);\\n case TYPE_INT32ARRAY:\\n return new Int32Array(buffer);\\n case TYPE_UINT32ARRAY:\\n return new Uint32Array(buffer);\\n case TYPE_FLOAT32ARRAY:\\n return new Float32Array(buffer);\\n case TYPE_FLOAT64ARRAY:\\n return new Float64Array(buffer);\\n default:\\n throw new Error('Unkown type: ' + type);\\n }\\n}\\n\\nvar localforageSerializer = {\\n serialize: serialize,\\n deserialize: deserialize,\\n stringToBuffer: stringToBuffer,\\n bufferToString: bufferToString\\n};\\n\\n/*\\n * Includes code from:\\n *\\n * base64-arraybuffer\\n * https://github.com/niklasvh/base64-arraybuffer\\n *\\n * Copyright (c) 2012 Niklas von Hertzen\\n * Licensed under the MIT license.\\n */\\n\\nfunction createDbTable(t, dbInfo, callback, errorCallback) {\\n t.executeSql('CREATE TABLE IF NOT EXISTS ' + dbInfo.storeName + ' ' + '(id INTEGER PRIMARY KEY, key unique, value)', [], callback, errorCallback);\\n}\\n\\n// Open the WebSQL database (automatically creates one if one didn't\\n// previously exist), using any options set in the config.\\nfunction _initStorage$1(options) {\\n var self = this;\\n var dbInfo = {\\n db: null\\n };\\n\\n if (options) {\\n for (var i in options) {\\n dbInfo[i] = typeof options[i] !== 'string' ? options[i].toString() : options[i];\\n }\\n }\\n\\n var dbInfoPromise = new Promise$1(function (resolve, reject) {\\n // Open the database; the openDatabase API will automatically\\n // create it for us if it doesn't exist.\\n try {\\n dbInfo.db = openDatabase(dbInfo.name, String(dbInfo.version), dbInfo.description, dbInfo.size);\\n } catch (e) {\\n return reject(e);\\n }\\n\\n // Create our key/value table if it doesn't exist.\\n dbInfo.db.transaction(function (t) {\\n createDbTable(t, dbInfo, function () {\\n self._dbInfo = dbInfo;\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n }, reject);\\n });\\n\\n dbInfo.serializer = localforageSerializer;\\n return dbInfoPromise;\\n}\\n\\nfunction tryExecuteSql(t, dbInfo, sqlStatement, args, callback, errorCallback) {\\n t.executeSql(sqlStatement, args, callback, function (t, error) {\\n if (error.code === error.SYNTAX_ERR) {\\n t.executeSql('SELECT name FROM sqlite_master ' + \\\"WHERE type='table' AND name = ?\\\", [dbInfo.storeName], function (t, results) {\\n if (!results.rows.length) {\\n // if the table is missing (was deleted)\\n // re-create it table and retry\\n createDbTable(t, dbInfo, function () {\\n t.executeSql(sqlStatement, args, callback, errorCallback);\\n }, errorCallback);\\n } else {\\n errorCallback(t, error);\\n }\\n }, errorCallback);\\n } else {\\n errorCallback(t, error);\\n }\\n }, errorCallback);\\n}\\n\\nfunction getItem$1(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT * FROM ' + dbInfo.storeName + ' WHERE key = ? LIMIT 1', [key], function (t, results) {\\n var result = results.rows.length ? results.rows.item(0).value : null;\\n\\n // Check to see if this is serialized content we need to\\n // unpack.\\n if (result) {\\n result = dbInfo.serializer.deserialize(result);\\n }\\n\\n resolve(result);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction iterate$1(iterator, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT * FROM ' + dbInfo.storeName, [], function (t, results) {\\n var rows = results.rows;\\n var length = rows.length;\\n\\n for (var i = 0; i < length; i++) {\\n var item = rows.item(i);\\n var result = item.value;\\n\\n // Check to see if this is serialized content\\n // we need to unpack.\\n if (result) {\\n result = dbInfo.serializer.deserialize(result);\\n }\\n\\n result = iterator(result, item.key, i + 1);\\n\\n // void(0) prevents problems with redefinition\\n // of `undefined`.\\n if (result !== void 0) {\\n resolve(result);\\n return;\\n }\\n }\\n\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction _setItem(key, value, callback, retriesLeft) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n // The localStorage API doesn't return undefined values in an\\n // \\\"expected\\\" way, so undefined is always cast to null in all\\n // drivers. See: https://github.com/mozilla/localForage/pull/42\\n if (value === undefined) {\\n value = null;\\n }\\n\\n // Save the original value to pass to the callback.\\n var originalValue = value;\\n\\n var dbInfo = self._dbInfo;\\n dbInfo.serializer.serialize(value, function (value, error) {\\n if (error) {\\n reject(error);\\n } else {\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'INSERT OR REPLACE INTO ' + dbInfo.storeName + ' ' + '(key, value) VALUES (?, ?)', [key, value], function () {\\n resolve(originalValue);\\n }, function (t, error) {\\n reject(error);\\n });\\n }, function (sqlError) {\\n // The transaction failed; check\\n // to see if it's a quota error.\\n if (sqlError.code === sqlError.QUOTA_ERR) {\\n // We reject the callback outright for now, but\\n // it's worth trying to re-run the transaction.\\n // Even if the user accepts the prompt to use\\n // more storage on Safari, this error will\\n // be called.\\n //\\n // Try to re-run the transaction.\\n if (retriesLeft > 0) {\\n resolve(_setItem.apply(self, [key, originalValue, callback, retriesLeft - 1]));\\n return;\\n }\\n reject(sqlError);\\n }\\n });\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction setItem$1(key, value, callback) {\\n return _setItem.apply(this, [key, value, callback, 1]);\\n}\\n\\nfunction removeItem$1(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'DELETE FROM ' + dbInfo.storeName + ' WHERE key = ?', [key], function () {\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Deletes every item in the table.\\n// TODO: Find out if this resets the AUTO_INCREMENT number.\\nfunction clear$1(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'DELETE FROM ' + dbInfo.storeName, [], function () {\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Does a simple `COUNT(key)` to get the number of items stored in\\n// localForage.\\nfunction length$1(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n // Ahhh, SQL makes this one soooooo easy.\\n tryExecuteSql(t, dbInfo, 'SELECT COUNT(key) as c FROM ' + dbInfo.storeName, [], function (t, results) {\\n var result = results.rows.item(0).c;\\n resolve(result);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Return the key located at key index X; essentially gets the key from a\\n// `WHERE id = ?`. This is the most efficient way I can think to implement\\n// this rarely-used (in my experience) part of the API, but it can seem\\n// inconsistent, because we do `INSERT OR REPLACE INTO` on `setItem()`, so\\n// the ID of each key will change every time it's updated. Perhaps a stored\\n// procedure for the `setItem()` SQL would solve this problem?\\n// TODO: Don't change ID on `setItem()`.\\nfunction key$1(n, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT key FROM ' + dbInfo.storeName + ' WHERE id = ? LIMIT 1', [n + 1], function (t, results) {\\n var result = results.rows.length ? results.rows.item(0).key : null;\\n resolve(result);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction keys$1(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT key FROM ' + dbInfo.storeName, [], function (t, results) {\\n var keys = [];\\n\\n for (var i = 0; i < results.rows.length; i++) {\\n keys.push(results.rows.item(i).key);\\n }\\n\\n resolve(keys);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// https://www.w3.org/TR/webdatabase/#databases\\n// > There is no way to enumerate or delete the databases available for an origin from this API.\\nfunction getAllStoreNames(db) {\\n return new Promise$1(function (resolve, reject) {\\n db.transaction(function (t) {\\n t.executeSql('SELECT name FROM sqlite_master ' + \\\"WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'\\\", [], function (t, results) {\\n var storeNames = [];\\n\\n for (var i = 0; i < results.rows.length; i++) {\\n storeNames.push(results.rows.item(i).name);\\n }\\n\\n resolve({\\n db: db,\\n storeNames: storeNames\\n });\\n }, function (t, error) {\\n reject(error);\\n });\\n }, function (sqlError) {\\n reject(sqlError);\\n });\\n });\\n}\\n\\nfunction dropInstance$1(options, callback) {\\n callback = getCallback.apply(this, arguments);\\n\\n var currentConfig = this.config();\\n options = typeof options !== 'function' && options || {};\\n if (!options.name) {\\n options.name = options.name || currentConfig.name;\\n options.storeName = options.storeName || currentConfig.storeName;\\n }\\n\\n var self = this;\\n var promise;\\n if (!options.name) {\\n promise = Promise$1.reject('Invalid arguments');\\n } else {\\n promise = new Promise$1(function (resolve) {\\n var db;\\n if (options.name === currentConfig.name) {\\n // use the db reference of the current instance\\n db = self._dbInfo.db;\\n } else {\\n db = openDatabase(options.name, '', '', 0);\\n }\\n\\n if (!options.storeName) {\\n // drop all database tables\\n resolve(getAllStoreNames(db));\\n } else {\\n resolve({\\n db: db,\\n storeNames: [options.storeName]\\n });\\n }\\n }).then(function (operationInfo) {\\n return new Promise$1(function (resolve, reject) {\\n operationInfo.db.transaction(function (t) {\\n function dropTable(storeName) {\\n return new Promise$1(function (resolve, reject) {\\n t.executeSql('DROP TABLE IF EXISTS ' + storeName, [], function () {\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n }\\n\\n var operations = [];\\n for (var i = 0, len = operationInfo.storeNames.length; i < len; i++) {\\n operations.push(dropTable(operationInfo.storeNames[i]));\\n }\\n\\n Promise$1.all(operations).then(function () {\\n resolve();\\n })[\\\"catch\\\"](function (e) {\\n reject(e);\\n });\\n }, function (sqlError) {\\n reject(sqlError);\\n });\\n });\\n });\\n }\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nvar webSQLStorage = {\\n _driver: 'webSQLStorage',\\n _initStorage: _initStorage$1,\\n _support: isWebSQLValid(),\\n iterate: iterate$1,\\n getItem: getItem$1,\\n setItem: setItem$1,\\n removeItem: removeItem$1,\\n clear: clear$1,\\n length: length$1,\\n key: key$1,\\n keys: keys$1,\\n dropInstance: dropInstance$1\\n};\\n\\nfunction isLocalStorageValid() {\\n try {\\n return typeof localStorage !== 'undefined' && 'setItem' in localStorage &&\\n // in IE8 typeof localStorage.setItem === 'object'\\n !!localStorage.setItem;\\n } catch (e) {\\n return false;\\n }\\n}\\n\\nfunction _getKeyPrefix(options, defaultConfig) {\\n var keyPrefix = options.name + '/';\\n\\n if (options.storeName !== defaultConfig.storeName) {\\n keyPrefix += options.storeName + '/';\\n }\\n return keyPrefix;\\n}\\n\\n// Check if localStorage throws when saving an item\\nfunction checkIfLocalStorageThrows() {\\n var localStorageTestKey = '_localforage_support_test';\\n\\n try {\\n localStorage.setItem(localStorageTestKey, true);\\n localStorage.removeItem(localStorageTestKey);\\n\\n return false;\\n } catch (e) {\\n return true;\\n }\\n}\\n\\n// Check if localStorage is usable and allows to save an item\\n// This method checks if localStorage is usable in Safari Private Browsing\\n// mode, or in any other case where the available quota for localStorage\\n// is 0 and there wasn't any saved items yet.\\nfunction _isLocalStorageUsable() {\\n return !checkIfLocalStorageThrows() || localStorage.length > 0;\\n}\\n\\n// Config the localStorage backend, using options set in the config.\\nfunction _initStorage$2(options) {\\n var self = this;\\n var dbInfo = {};\\n if (options) {\\n for (var i in options) {\\n dbInfo[i] = options[i];\\n }\\n }\\n\\n dbInfo.keyPrefix = _getKeyPrefix(options, self._defaultConfig);\\n\\n if (!_isLocalStorageUsable()) {\\n return Promise$1.reject();\\n }\\n\\n self._dbInfo = dbInfo;\\n dbInfo.serializer = localforageSerializer;\\n\\n return Promise$1.resolve();\\n}\\n\\n// Remove all keys from the datastore, effectively destroying all data in\\n// the app's key/value store!\\nfunction clear$2(callback) {\\n var self = this;\\n var promise = self.ready().then(function () {\\n var keyPrefix = self._dbInfo.keyPrefix;\\n\\n for (var i = localStorage.length - 1; i >= 0; i--) {\\n var key = localStorage.key(i);\\n\\n if (key.indexOf(keyPrefix) === 0) {\\n localStorage.removeItem(key);\\n }\\n }\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Retrieve an item from the store. Unlike the original async_storage\\n// library in Gaia, we don't modify return values at all. If a key's value\\n// is `undefined`, we pass that value to the callback function.\\nfunction getItem$2(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var result = localStorage.getItem(dbInfo.keyPrefix + key);\\n\\n // If a result was found, parse it from the serialized\\n // string into a JS object. If result isn't truthy, the key\\n // is likely undefined and we'll pass it straight to the\\n // callback.\\n if (result) {\\n result = dbInfo.serializer.deserialize(result);\\n }\\n\\n return result;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Iterate over all items in the store.\\nfunction iterate$2(iterator, callback) {\\n var self = this;\\n\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var keyPrefix = dbInfo.keyPrefix;\\n var keyPrefixLength = keyPrefix.length;\\n var length = localStorage.length;\\n\\n // We use a dedicated iterator instead of the `i` variable below\\n // so other keys we fetch in localStorage aren't counted in\\n // the `iterationNumber` argument passed to the `iterate()`\\n // callback.\\n //\\n // See: github.com/mozilla/localForage/pull/435#discussion_r38061530\\n var iterationNumber = 1;\\n\\n for (var i = 0; i < length; i++) {\\n var key = localStorage.key(i);\\n if (key.indexOf(keyPrefix) !== 0) {\\n continue;\\n }\\n var value = localStorage.getItem(key);\\n\\n // If a result was found, parse it from the serialized\\n // string into a JS object. If result isn't truthy, the\\n // key is likely undefined and we'll pass it straight\\n // to the iterator.\\n if (value) {\\n value = dbInfo.serializer.deserialize(value);\\n }\\n\\n value = iterator(value, key.substring(keyPrefixLength), iterationNumber++);\\n\\n if (value !== void 0) {\\n return value;\\n }\\n }\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Same as localStorage's key() method, except takes a callback.\\nfunction key$2(n, callback) {\\n var self = this;\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var result;\\n try {\\n result = localStorage.key(n);\\n } catch (error) {\\n result = null;\\n }\\n\\n // Remove the prefix from the key, if a key is found.\\n if (result) {\\n result = result.substring(dbInfo.keyPrefix.length);\\n }\\n\\n return result;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction keys$2(callback) {\\n var self = this;\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var length = localStorage.length;\\n var keys = [];\\n\\n for (var i = 0; i < length; i++) {\\n var itemKey = localStorage.key(i);\\n if (itemKey.indexOf(dbInfo.keyPrefix) === 0) {\\n keys.push(itemKey.substring(dbInfo.keyPrefix.length));\\n }\\n }\\n\\n return keys;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Supply the number of keys in the datastore to the callback function.\\nfunction length$2(callback) {\\n var self = this;\\n var promise = self.keys().then(function (keys) {\\n return keys.length;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Remove an item from the store, nice and simple.\\nfunction removeItem$2(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n localStorage.removeItem(dbInfo.keyPrefix + key);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Set a key's value and run an optional callback once the value is set.\\n// Unlike Gaia's implementation, the callback function is passed the value,\\n// in case you want to operate on that value only after you're sure it\\n// saved, or something like that.\\nfunction setItem$2(key, value, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = self.ready().then(function () {\\n // Convert undefined values to null.\\n // https://github.com/mozilla/localForage/pull/42\\n if (value === undefined) {\\n value = null;\\n }\\n\\n // Save the original value to pass to the callback.\\n var originalValue = value;\\n\\n return new Promise$1(function (resolve, reject) {\\n var dbInfo = self._dbInfo;\\n dbInfo.serializer.serialize(value, function (value, error) {\\n if (error) {\\n reject(error);\\n } else {\\n try {\\n localStorage.setItem(dbInfo.keyPrefix + key, value);\\n resolve(originalValue);\\n } catch (e) {\\n // localStorage capacity exceeded.\\n // TODO: Make this a specific error/event.\\n if (e.name === 'QuotaExceededError' || e.name === 'NS_ERROR_DOM_QUOTA_REACHED') {\\n reject(e);\\n }\\n reject(e);\\n }\\n }\\n });\\n });\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction dropInstance$2(options, callback) {\\n callback = getCallback.apply(this, arguments);\\n\\n options = typeof options !== 'function' && options || {};\\n if (!options.name) {\\n var currentConfig = this.config();\\n options.name = options.name || currentConfig.name;\\n options.storeName = options.storeName || currentConfig.storeName;\\n }\\n\\n var self = this;\\n var promise;\\n if (!options.name) {\\n promise = Promise$1.reject('Invalid arguments');\\n } else {\\n promise = new Promise$1(function (resolve) {\\n if (!options.storeName) {\\n resolve(options.name + '/');\\n } else {\\n resolve(_getKeyPrefix(options, self._defaultConfig));\\n }\\n }).then(function (keyPrefix) {\\n for (var i = localStorage.length - 1; i >= 0; i--) {\\n var key = localStorage.key(i);\\n\\n if (key.indexOf(keyPrefix) === 0) {\\n localStorage.removeItem(key);\\n }\\n }\\n });\\n }\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nvar localStorageWrapper = {\\n _driver: 'localStorageWrapper',\\n _initStorage: _initStorage$2,\\n _support: isLocalStorageValid(),\\n iterate: iterate$2,\\n getItem: getItem$2,\\n setItem: setItem$2,\\n removeItem: removeItem$2,\\n clear: clear$2,\\n length: length$2,\\n key: key$2,\\n keys: keys$2,\\n dropInstance: dropInstance$2\\n};\\n\\nvar sameValue = function sameValue(x, y) {\\n return x === y || typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y);\\n};\\n\\nvar includes = function includes(array, searchElement) {\\n var len = array.length;\\n var i = 0;\\n while (i < len) {\\n if (sameValue(array[i], searchElement)) {\\n return true;\\n }\\n i++;\\n }\\n\\n return false;\\n};\\n\\nvar isArray = Array.isArray || function (arg) {\\n return Object.prototype.toString.call(arg) === '[object Array]';\\n};\\n\\n// Drivers are stored here when `defineDriver()` is called.\\n// They are shared across all instances of localForage.\\nvar DefinedDrivers = {};\\n\\nvar DriverSupport = {};\\n\\nvar DefaultDrivers = {\\n INDEXEDDB: asyncStorage,\\n WEBSQL: webSQLStorage,\\n LOCALSTORAGE: localStorageWrapper\\n};\\n\\nvar DefaultDriverOrder = [DefaultDrivers.INDEXEDDB._driver, DefaultDrivers.WEBSQL._driver, DefaultDrivers.LOCALSTORAGE._driver];\\n\\nvar OptionalDriverMethods = ['dropInstance'];\\n\\nvar LibraryMethods = ['clear', 'getItem', 'iterate', 'key', 'keys', 'length', 'removeItem', 'setItem'].concat(OptionalDriverMethods);\\n\\nvar DefaultConfig = {\\n description: '',\\n driver: DefaultDriverOrder.slice(),\\n name: 'localforage',\\n // Default DB size is _JUST UNDER_ 5MB, as it's the highest size\\n // we can use without a prompt.\\n size: 4980736,\\n storeName: 'keyvaluepairs',\\n version: 1.0\\n};\\n\\nfunction callWhenReady(localForageInstance, libraryMethod) {\\n localForageInstance[libraryMethod] = function () {\\n var _args = arguments;\\n return localForageInstance.ready().then(function () {\\n return localForageInstance[libraryMethod].apply(localForageInstance, _args);\\n });\\n };\\n}\\n\\nfunction extend() {\\n for (var i = 1; i < arguments.length; i++) {\\n var arg = arguments[i];\\n\\n if (arg) {\\n for (var _key in arg) {\\n if (arg.hasOwnProperty(_key)) {\\n if (isArray(arg[_key])) {\\n arguments[0][_key] = arg[_key].slice();\\n } else {\\n arguments[0][_key] = arg[_key];\\n }\\n }\\n }\\n }\\n }\\n\\n return arguments[0];\\n}\\n\\nvar LocalForage = function () {\\n function LocalForage(options) {\\n _classCallCheck(this, LocalForage);\\n\\n for (var driverTypeKey in DefaultDrivers) {\\n if (DefaultDrivers.hasOwnProperty(driverTypeKey)) {\\n var driver = DefaultDrivers[driverTypeKey];\\n var driverName = driver._driver;\\n this[driverTypeKey] = driverName;\\n\\n if (!DefinedDrivers[driverName]) {\\n // we don't need to wait for the promise,\\n // since the default drivers can be defined\\n // in a blocking manner\\n this.defineDriver(driver);\\n }\\n }\\n }\\n\\n this._defaultConfig = extend({}, DefaultConfig);\\n this._config = extend({}, this._defaultConfig, options);\\n this._driverSet = null;\\n this._initDriver = null;\\n this._ready = false;\\n this._dbInfo = null;\\n\\n this._wrapLibraryMethodsWithReady();\\n this.setDriver(this._config.driver)[\\\"catch\\\"](function () {});\\n }\\n\\n // Set any config values for localForage; can be called anytime before\\n // the first API call (e.g. `getItem`, `setItem`).\\n // We loop through options so we don't overwrite existing config\\n // values.\\n\\n\\n LocalForage.prototype.config = function config(options) {\\n // If the options argument is an object, we use it to set values.\\n // Otherwise, we return either a specified config value or all\\n // config values.\\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\\n // If localforage is ready and fully initialized, we can't set\\n // any new configuration values. Instead, we return an error.\\n if (this._ready) {\\n return new Error(\\\"Can't call config() after localforage \\\" + 'has been used.');\\n }\\n\\n for (var i in options) {\\n if (i === 'storeName') {\\n options[i] = options[i].replace(/\\\\W/g, '_');\\n }\\n\\n if (i === 'version' && typeof options[i] !== 'number') {\\n return new Error('Database version must be a number.');\\n }\\n\\n this._config[i] = options[i];\\n }\\n\\n // after all config options are set and\\n // the driver option is used, try setting it\\n if ('driver' in options && options.driver) {\\n return this.setDriver(this._config.driver);\\n }\\n\\n return true;\\n } else if (typeof options === 'string') {\\n return this._config[options];\\n } else {\\n return this._config;\\n }\\n };\\n\\n // Used to define a custom driver, shared across all instances of\\n // localForage.\\n\\n\\n LocalForage.prototype.defineDriver = function defineDriver(driverObject, callback, errorCallback) {\\n var promise = new Promise$1(function (resolve, reject) {\\n try {\\n var driverName = driverObject._driver;\\n var complianceError = new Error('Custom driver not compliant; see ' + 'https://mozilla.github.io/localForage/#definedriver');\\n\\n // A driver name should be defined and not overlap with the\\n // library-defined, default drivers.\\n if (!driverObject._driver) {\\n reject(complianceError);\\n return;\\n }\\n\\n var driverMethods = LibraryMethods.concat('_initStorage');\\n for (var i = 0, len = driverMethods.length; i < len; i++) {\\n var driverMethodName = driverMethods[i];\\n\\n // when the property is there,\\n // it should be a method even when optional\\n var isRequired = !includes(OptionalDriverMethods, driverMethodName);\\n if ((isRequired || driverObject[driverMethodName]) && typeof driverObject[driverMethodName] !== 'function') {\\n reject(complianceError);\\n return;\\n }\\n }\\n\\n var configureMissingMethods = function configureMissingMethods() {\\n var methodNotImplementedFactory = function methodNotImplementedFactory(methodName) {\\n return function () {\\n var error = new Error('Method ' + methodName + ' is not implemented by the current driver');\\n var promise = Promise$1.reject(error);\\n executeCallback(promise, arguments[arguments.length - 1]);\\n return promise;\\n };\\n };\\n\\n for (var _i = 0, _len = OptionalDriverMethods.length; _i < _len; _i++) {\\n var optionalDriverMethod = OptionalDriverMethods[_i];\\n if (!driverObject[optionalDriverMethod]) {\\n driverObject[optionalDriverMethod] = methodNotImplementedFactory(optionalDriverMethod);\\n }\\n }\\n };\\n\\n configureMissingMethods();\\n\\n var setDriverSupport = function setDriverSupport(support) {\\n if (DefinedDrivers[driverName]) {\\n console.info('Redefining LocalForage driver: ' + driverName);\\n }\\n DefinedDrivers[driverName] = driverObject;\\n DriverSupport[driverName] = support;\\n // don't use a then, so that we can define\\n // drivers that have simple _support methods\\n // in a blocking manner\\n resolve();\\n };\\n\\n if ('_support' in driverObject) {\\n if (driverObject._support && typeof driverObject._support === 'function') {\\n driverObject._support().then(setDriverSupport, reject);\\n } else {\\n setDriverSupport(!!driverObject._support);\\n }\\n } else {\\n setDriverSupport(true);\\n }\\n } catch (e) {\\n reject(e);\\n }\\n });\\n\\n executeTwoCallbacks(promise, callback, errorCallback);\\n return promise;\\n };\\n\\n LocalForage.prototype.driver = function driver() {\\n return this._driver || null;\\n };\\n\\n LocalForage.prototype.getDriver = function getDriver(driverName, callback, errorCallback) {\\n var getDriverPromise = DefinedDrivers[driverName] ? Promise$1.resolve(DefinedDrivers[driverName]) : Promise$1.reject(new Error('Driver not found.'));\\n\\n executeTwoCallbacks(getDriverPromise, callback, errorCallback);\\n return getDriverPromise;\\n };\\n\\n LocalForage.prototype.getSerializer = function getSerializer(callback) {\\n var serializerPromise = Promise$1.resolve(localforageSerializer);\\n executeTwoCallbacks(serializerPromise, callback);\\n return serializerPromise;\\n };\\n\\n LocalForage.prototype.ready = function ready(callback) {\\n var self = this;\\n\\n var promise = self._driverSet.then(function () {\\n if (self._ready === null) {\\n self._ready = self._initDriver();\\n }\\n\\n return self._ready;\\n });\\n\\n executeTwoCallbacks(promise, callback, callback);\\n return promise;\\n };\\n\\n LocalForage.prototype.setDriver = function setDriver(drivers, callback, errorCallback) {\\n var self = this;\\n\\n if (!isArray(drivers)) {\\n drivers = [drivers];\\n }\\n\\n var supportedDrivers = this._getSupportedDrivers(drivers);\\n\\n function setDriverToConfig() {\\n self._config.driver = self.driver();\\n }\\n\\n function extendSelfWithDriver(driver) {\\n self._extend(driver);\\n setDriverToConfig();\\n\\n self._ready = self._initStorage(self._config);\\n return self._ready;\\n }\\n\\n function initDriver(supportedDrivers) {\\n return function () {\\n var currentDriverIndex = 0;\\n\\n function driverPromiseLoop() {\\n while (currentDriverIndex < supportedDrivers.length) {\\n var driverName = supportedDrivers[currentDriverIndex];\\n currentDriverIndex++;\\n\\n self._dbInfo = null;\\n self._ready = null;\\n\\n return self.getDriver(driverName).then(extendSelfWithDriver)[\\\"catch\\\"](driverPromiseLoop);\\n }\\n\\n setDriverToConfig();\\n var error = new Error('No available storage method found.');\\n self._driverSet = Promise$1.reject(error);\\n return self._driverSet;\\n }\\n\\n return driverPromiseLoop();\\n };\\n }\\n\\n // There might be a driver initialization in progress\\n // so wait for it to finish in order to avoid a possible\\n // race condition to set _dbInfo\\n var oldDriverSetDone = this._driverSet !== null ? this._driverSet[\\\"catch\\\"](function () {\\n return Promise$1.resolve();\\n }) : Promise$1.resolve();\\n\\n this._driverSet = oldDriverSetDone.then(function () {\\n var driverName = supportedDrivers[0];\\n self._dbInfo = null;\\n self._ready = null;\\n\\n return self.getDriver(driverName).then(function (driver) {\\n self._driver = driver._driver;\\n setDriverToConfig();\\n self._wrapLibraryMethodsWithReady();\\n self._initDriver = initDriver(supportedDrivers);\\n });\\n })[\\\"catch\\\"](function () {\\n setDriverToConfig();\\n var error = new Error('No available storage method found.');\\n self._driverSet = Promise$1.reject(error);\\n return self._driverSet;\\n });\\n\\n executeTwoCallbacks(this._driverSet, callback, errorCallback);\\n return this._driverSet;\\n };\\n\\n LocalForage.prototype.supports = function supports(driverName) {\\n return !!DriverSupport[driverName];\\n };\\n\\n LocalForage.prototype._extend = function _extend(libraryMethodsAndProperties) {\\n extend(this, libraryMethodsAndProperties);\\n };\\n\\n LocalForage.prototype._getSupportedDrivers = function _getSupportedDrivers(drivers) {\\n var supportedDrivers = [];\\n for (var i = 0, len = drivers.length; i < len; i++) {\\n var driverName = drivers[i];\\n if (this.supports(driverName)) {\\n supportedDrivers.push(driverName);\\n }\\n }\\n return supportedDrivers;\\n };\\n\\n LocalForage.prototype._wrapLibraryMethodsWithReady = function _wrapLibraryMethodsWithReady() {\\n // Add a stub for each driver API method that delays the call to the\\n // corresponding driver method until localForage is ready. These stubs\\n // will be replaced by the driver methods as soon as the driver is\\n // loaded, so there is no performance impact.\\n for (var i = 0, len = LibraryMethods.length; i < len; i++) {\\n callWhenReady(this, LibraryMethods[i]);\\n }\\n };\\n\\n LocalForage.prototype.createInstance = function createInstance(options) {\\n return new LocalForage(options);\\n };\\n\\n return LocalForage;\\n}();\\n\\n// The actual localForage object that we expose as a module or via a\\n// global. It's extended by pulling in one of our other libraries.\\n\\n\\nvar localforage_js = new LocalForage();\\n\\nmodule.exports = localforage_js;\\n\\n},{\\\"3\\\":3}]},{},[4])(4)\\n});\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/localforage/dist/localforage.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/index.js\":\n/*!************************************!*\\\n !*** ./node_modules/pako/index.js ***!\n \\************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"// Top level file is just a mixin of submodules & constants\\n\\n\\nconst { Deflate, deflate, deflateRaw, gzip } = __webpack_require__(/*! ./lib/deflate */ \\\"./node_modules/pako/lib/deflate.js\\\");\\n\\nconst { Inflate, inflate, inflateRaw, ungzip } = __webpack_require__(/*! ./lib/inflate */ \\\"./node_modules/pako/lib/inflate.js\\\");\\n\\nconst constants = __webpack_require__(/*! ./lib/zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\nmodule.exports.Deflate = Deflate;\\nmodule.exports.deflate = deflate;\\nmodule.exports.deflateRaw = deflateRaw;\\nmodule.exports.gzip = gzip;\\nmodule.exports.Inflate = Inflate;\\nmodule.exports.inflate = inflate;\\nmodule.exports.inflateRaw = inflateRaw;\\nmodule.exports.ungzip = ungzip;\\nmodule.exports.constants = constants;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/deflate.js\":\n/*!******************************************!*\\\n !*** ./node_modules/pako/lib/deflate.js ***!\n \\******************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n\\nconst zlib_deflate = __webpack_require__(/*! ./zlib/deflate */ \\\"./node_modules/pako/lib/zlib/deflate.js\\\");\\nconst utils = __webpack_require__(/*! ./utils/common */ \\\"./node_modules/pako/lib/utils/common.js\\\");\\nconst strings = __webpack_require__(/*! ./utils/strings */ \\\"./node_modules/pako/lib/utils/strings.js\\\");\\nconst msg = __webpack_require__(/*! ./zlib/messages */ \\\"./node_modules/pako/lib/zlib/messages.js\\\");\\nconst ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\"./node_modules/pako/lib/zlib/zstream.js\\\");\\n\\nconst toString = Object.prototype.toString;\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_FINISH,\\n Z_OK, Z_STREAM_END,\\n Z_DEFAULT_COMPRESSION,\\n Z_DEFAULT_STRATEGY,\\n Z_DEFLATED\\n} = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n/* ===========================================================================*/\\n\\n\\n/**\\n * class Deflate\\n *\\n * Generic JS-style wrapper for zlib calls. If you don't need\\n * streaming behaviour - use more simple functions: [[deflate]],\\n * [[deflateRaw]] and [[gzip]].\\n **/\\n\\n/* internal\\n * Deflate.chunks -> Array\\n *\\n * Chunks of output data, if [[Deflate#onData]] not overridden.\\n **/\\n\\n/**\\n * Deflate.result -> Uint8Array\\n *\\n * Compressed result, generated by default [[Deflate#onData]]\\n * and [[Deflate#onEnd]] handlers. Filled after you push last chunk\\n * (call [[Deflate#push]] with `Z_FINISH` / `true` param).\\n **/\\n\\n/**\\n * Deflate.err -> Number\\n *\\n * Error code after deflate finished. 0 (Z_OK) on success.\\n * You will not need it in real life, because deflate errors\\n * are possible only on wrong options or bad `onData` / `onEnd`\\n * custom handlers.\\n **/\\n\\n/**\\n * Deflate.msg -> String\\n *\\n * Error message, if [[Deflate.err]] != 0\\n **/\\n\\n\\n/**\\n * new Deflate(options)\\n * - options (Object): zlib deflate options.\\n *\\n * Creates new deflator instance with specified params. Throws exception\\n * on bad params. Supported options:\\n *\\n * - `level`\\n * - `windowBits`\\n * - `memLevel`\\n * - `strategy`\\n * - `dictionary`\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information on these.\\n *\\n * Additional options, for internal needs:\\n *\\n * - `chunkSize` - size of generated data chunks (16K by default)\\n * - `raw` (Boolean) - do raw deflate\\n * - `gzip` (Boolean) - create gzip wrapper\\n * - `header` (Object) - custom header for gzip\\n * - `text` (Boolean) - true if compressed data believed to be text\\n * - `time` (Number) - modification time, unix timestamp\\n * - `os` (Number) - operation system code\\n * - `extra` (Array) - array of bytes with extra data (max 65536)\\n * - `name` (String) - file name (binary string)\\n * - `comment` (String) - comment (binary string)\\n * - `hcrc` (Boolean) - true if header crc should be added\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako')\\n * , chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\\n * , chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\n *\\n * const deflate = new pako.Deflate({ level: 3});\\n *\\n * deflate.push(chunk1, false);\\n * deflate.push(chunk2, true); // true -> last chunk\\n *\\n * if (deflate.err) { throw new Error(deflate.err); }\\n *\\n * console.log(deflate.result);\\n * ```\\n **/\\nfunction Deflate(options) {\\n this.options = utils.assign({\\n level: Z_DEFAULT_COMPRESSION,\\n method: Z_DEFLATED,\\n chunkSize: 16384,\\n windowBits: 15,\\n memLevel: 8,\\n strategy: Z_DEFAULT_STRATEGY\\n }, options || {});\\n\\n let opt = this.options;\\n\\n if (opt.raw && (opt.windowBits > 0)) {\\n opt.windowBits = -opt.windowBits;\\n }\\n\\n else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) {\\n opt.windowBits += 16;\\n }\\n\\n this.err = 0; // error code, if happens (0 = Z_OK)\\n this.msg = ''; // error message\\n this.ended = false; // used to avoid multiple onEnd() calls\\n this.chunks = []; // chunks of compressed data\\n\\n this.strm = new ZStream();\\n this.strm.avail_out = 0;\\n\\n let status = zlib_deflate.deflateInit2(\\n this.strm,\\n opt.level,\\n opt.method,\\n opt.windowBits,\\n opt.memLevel,\\n opt.strategy\\n );\\n\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n\\n if (opt.header) {\\n zlib_deflate.deflateSetHeader(this.strm, opt.header);\\n }\\n\\n if (opt.dictionary) {\\n let dict;\\n // Convert data if needed\\n if (typeof opt.dictionary === 'string') {\\n // If we need to compress text, change encoding to utf8.\\n dict = strings.string2buf(opt.dictionary);\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\n dict = new Uint8Array(opt.dictionary);\\n } else {\\n dict = opt.dictionary;\\n }\\n\\n status = zlib_deflate.deflateSetDictionary(this.strm, dict);\\n\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n\\n this._dict_set = true;\\n }\\n}\\n\\n/**\\n * Deflate#push(data[, flush_mode]) -> Boolean\\n * - data (Uint8Array|ArrayBuffer|String): input data. Strings will be\\n * converted to utf8 byte sequence.\\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\\n *\\n * Sends input data to deflate pipe, generating [[Deflate#onData]] calls with\\n * new compressed chunks. Returns `true` on success. The last data block must\\n * have `flush_mode` Z_FINISH (or `true`). That will flush internal pending\\n * buffers and call [[Deflate#onEnd]].\\n *\\n * On fail call [[Deflate#onEnd]] with error code and return false.\\n *\\n * ##### Example\\n *\\n * ```javascript\\n * push(chunk, false); // push one of data chunks\\n * ...\\n * push(chunk, true); // push last chunk\\n * ```\\n **/\\nDeflate.prototype.push = function (data, flush_mode) {\\n const strm = this.strm;\\n const chunkSize = this.options.chunkSize;\\n let status, _flush_mode;\\n\\n if (this.ended) { return false; }\\n\\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\\n else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;\\n\\n // Convert data if needed\\n if (typeof data === 'string') {\\n // If we need to compress text, change encoding to utf8.\\n strm.input = strings.string2buf(data);\\n } else if (toString.call(data) === '[object ArrayBuffer]') {\\n strm.input = new Uint8Array(data);\\n } else {\\n strm.input = data;\\n }\\n\\n strm.next_in = 0;\\n strm.avail_in = strm.input.length;\\n\\n for (;;) {\\n if (strm.avail_out === 0) {\\n strm.output = new Uint8Array(chunkSize);\\n strm.next_out = 0;\\n strm.avail_out = chunkSize;\\n }\\n\\n // Make sure avail_out > 6 to avoid repeating markers\\n if ((_flush_mode === Z_SYNC_FLUSH || _flush_mode === Z_FULL_FLUSH) && strm.avail_out <= 6) {\\n this.onData(strm.output.subarray(0, strm.next_out));\\n strm.avail_out = 0;\\n continue;\\n }\\n\\n status = zlib_deflate.deflate(strm, _flush_mode);\\n\\n // Ended => flush and finish\\n if (status === Z_STREAM_END) {\\n if (strm.next_out > 0) {\\n this.onData(strm.output.subarray(0, strm.next_out));\\n }\\n status = zlib_deflate.deflateEnd(this.strm);\\n this.onEnd(status);\\n this.ended = true;\\n return status === Z_OK;\\n }\\n\\n // Flush if out buffer full\\n if (strm.avail_out === 0) {\\n this.onData(strm.output);\\n continue;\\n }\\n\\n // Flush if requested and has data\\n if (_flush_mode > 0 && strm.next_out > 0) {\\n this.onData(strm.output.subarray(0, strm.next_out));\\n strm.avail_out = 0;\\n continue;\\n }\\n\\n if (strm.avail_in === 0) break;\\n }\\n\\n return true;\\n};\\n\\n\\n/**\\n * Deflate#onData(chunk) -> Void\\n * - chunk (Uint8Array): output data.\\n *\\n * By default, stores data blocks in `chunks[]` property and glue\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\n **/\\nDeflate.prototype.onData = function (chunk) {\\n this.chunks.push(chunk);\\n};\\n\\n\\n/**\\n * Deflate#onEnd(status) -> Void\\n * - status (Number): deflate status. 0 (Z_OK) on success,\\n * other if not.\\n *\\n * Called once after you tell deflate that the input stream is\\n * complete (Z_FINISH). By default - join collected chunks,\\n * free memory and fill `results` / `err` properties.\\n **/\\nDeflate.prototype.onEnd = function (status) {\\n // On success - join\\n if (status === Z_OK) {\\n this.result = utils.flattenChunks(this.chunks);\\n }\\n this.chunks = [];\\n this.err = status;\\n this.msg = this.strm.msg;\\n};\\n\\n\\n/**\\n * deflate(data[, options]) -> Uint8Array\\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\\n * - options (Object): zlib deflate options.\\n *\\n * Compress `data` with deflate algorithm and `options`.\\n *\\n * Supported options are:\\n *\\n * - level\\n * - windowBits\\n * - memLevel\\n * - strategy\\n * - dictionary\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information on these.\\n *\\n * Sugar (options):\\n *\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\n * negative windowBits implicitly.\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako')\\n * const data = new Uint8Array([1,2,3,4,5,6,7,8,9]);\\n *\\n * console.log(pako.deflate(data));\\n * ```\\n **/\\nfunction deflate(input, options) {\\n const deflator = new Deflate(options);\\n\\n deflator.push(input, true);\\n\\n // That will never happens, if you don't cheat with options :)\\n if (deflator.err) { throw deflator.msg || msg[deflator.err]; }\\n\\n return deflator.result;\\n}\\n\\n\\n/**\\n * deflateRaw(data[, options]) -> Uint8Array\\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\\n * - options (Object): zlib deflate options.\\n *\\n * The same as [[deflate]], but creates raw data, without wrapper\\n * (header and adler32 crc).\\n **/\\nfunction deflateRaw(input, options) {\\n options = options || {};\\n options.raw = true;\\n return deflate(input, options);\\n}\\n\\n\\n/**\\n * gzip(data[, options]) -> Uint8Array\\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\\n * - options (Object): zlib deflate options.\\n *\\n * The same as [[deflate]], but create gzip wrapper instead of\\n * deflate one.\\n **/\\nfunction gzip(input, options) {\\n options = options || {};\\n options.gzip = true;\\n return deflate(input, options);\\n}\\n\\n\\nmodule.exports.Deflate = Deflate;\\nmodule.exports.deflate = deflate;\\nmodule.exports.deflateRaw = deflateRaw;\\nmodule.exports.gzip = gzip;\\nmodule.exports.constants = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/deflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/inflate.js\":\n/*!******************************************!*\\\n !*** ./node_modules/pako/lib/inflate.js ***!\n \\******************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n\\nconst zlib_inflate = __webpack_require__(/*! ./zlib/inflate */ \\\"./node_modules/pako/lib/zlib/inflate.js\\\");\\nconst utils = __webpack_require__(/*! ./utils/common */ \\\"./node_modules/pako/lib/utils/common.js\\\");\\nconst strings = __webpack_require__(/*! ./utils/strings */ \\\"./node_modules/pako/lib/utils/strings.js\\\");\\nconst msg = __webpack_require__(/*! ./zlib/messages */ \\\"./node_modules/pako/lib/zlib/messages.js\\\");\\nconst ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\"./node_modules/pako/lib/zlib/zstream.js\\\");\\nconst GZheader = __webpack_require__(/*! ./zlib/gzheader */ \\\"./node_modules/pako/lib/zlib/gzheader.js\\\");\\n\\nconst toString = Object.prototype.toString;\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_NO_FLUSH, Z_FINISH,\\n Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR\\n} = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n/* ===========================================================================*/\\n\\n\\n/**\\n * class Inflate\\n *\\n * Generic JS-style wrapper for zlib calls. If you don't need\\n * streaming behaviour - use more simple functions: [[inflate]]\\n * and [[inflateRaw]].\\n **/\\n\\n/* internal\\n * inflate.chunks -> Array\\n *\\n * Chunks of output data, if [[Inflate#onData]] not overridden.\\n **/\\n\\n/**\\n * Inflate.result -> Uint8Array|String\\n *\\n * Uncompressed result, generated by default [[Inflate#onData]]\\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param).\\n **/\\n\\n/**\\n * Inflate.err -> Number\\n *\\n * Error code after inflate finished. 0 (Z_OK) on success.\\n * Should be checked if broken data possible.\\n **/\\n\\n/**\\n * Inflate.msg -> String\\n *\\n * Error message, if [[Inflate.err]] != 0\\n **/\\n\\n\\n/**\\n * new Inflate(options)\\n * - options (Object): zlib inflate options.\\n *\\n * Creates new inflator instance with specified params. Throws exception\\n * on bad params. Supported options:\\n *\\n * - `windowBits`\\n * - `dictionary`\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information on these.\\n *\\n * Additional options, for internal needs:\\n *\\n * - `chunkSize` - size of generated data chunks (16K by default)\\n * - `raw` (Boolean) - do raw inflate\\n * - `to` (String) - if equal to 'string', then result will be converted\\n * from utf8 to utf16 (javascript) string. When string output requested,\\n * chunk length can differ from `chunkSize`, depending on content.\\n *\\n * By default, when no options set, autodetect deflate/gzip data format via\\n * wrapper header.\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako')\\n * const chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\\n * const chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\n *\\n * const inflate = new pako.Inflate({ level: 3});\\n *\\n * inflate.push(chunk1, false);\\n * inflate.push(chunk2, true); // true -> last chunk\\n *\\n * if (inflate.err) { throw new Error(inflate.err); }\\n *\\n * console.log(inflate.result);\\n * ```\\n **/\\nfunction Inflate(options) {\\n this.options = utils.assign({\\n chunkSize: 1024 * 64,\\n windowBits: 15,\\n to: ''\\n }, options || {});\\n\\n const opt = this.options;\\n\\n // Force window size for `raw` data, if not set directly,\\n // because we have no header for autodetect.\\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\\n opt.windowBits = -opt.windowBits;\\n if (opt.windowBits === 0) { opt.windowBits = -15; }\\n }\\n\\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\\n !(options && options.windowBits)) {\\n opt.windowBits += 32;\\n }\\n\\n // Gzip header has no info about windows size, we can do autodetect only\\n // for deflate. So, if window size not set, force it to max when gzip possible\\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\\n // bit 3 (16) -> gzipped data\\n // bit 4 (32) -> autodetect gzip/deflate\\n if ((opt.windowBits & 15) === 0) {\\n opt.windowBits |= 15;\\n }\\n }\\n\\n this.err = 0; // error code, if happens (0 = Z_OK)\\n this.msg = ''; // error message\\n this.ended = false; // used to avoid multiple onEnd() calls\\n this.chunks = []; // chunks of compressed data\\n\\n this.strm = new ZStream();\\n this.strm.avail_out = 0;\\n\\n let status = zlib_inflate.inflateInit2(\\n this.strm,\\n opt.windowBits\\n );\\n\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n\\n this.header = new GZheader();\\n\\n zlib_inflate.inflateGetHeader(this.strm, this.header);\\n\\n // Setup dictionary\\n if (opt.dictionary) {\\n // Convert data if needed\\n if (typeof opt.dictionary === 'string') {\\n opt.dictionary = strings.string2buf(opt.dictionary);\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\n opt.dictionary = new Uint8Array(opt.dictionary);\\n }\\n if (opt.raw) { //In raw mode we need to set the dictionary early\\n status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary);\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n }\\n }\\n}\\n\\n/**\\n * Inflate#push(data[, flush_mode]) -> Boolean\\n * - data (Uint8Array|ArrayBuffer): input data\\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE\\n * flush modes. See constants. Skipped or `false` means Z_NO_FLUSH,\\n * `true` means Z_FINISH.\\n *\\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\\n * new output chunks. Returns `true` on success. If end of stream detected,\\n * [[Inflate#onEnd]] will be called.\\n *\\n * `flush_mode` is not needed for normal operation, because end of stream\\n * detected automatically. You may try to use it for advanced things, but\\n * this functionality was not tested.\\n *\\n * On fail call [[Inflate#onEnd]] with error code and return false.\\n *\\n * ##### Example\\n *\\n * ```javascript\\n * push(chunk, false); // push one of data chunks\\n * ...\\n * push(chunk, true); // push last chunk\\n * ```\\n **/\\nInflate.prototype.push = function (data, flush_mode) {\\n const strm = this.strm;\\n const chunkSize = this.options.chunkSize;\\n const dictionary = this.options.dictionary;\\n let status, _flush_mode, last_avail_out;\\n\\n if (this.ended) return false;\\n\\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\\n else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;\\n\\n // Convert data if needed\\n if (toString.call(data) === '[object ArrayBuffer]') {\\n strm.input = new Uint8Array(data);\\n } else {\\n strm.input = data;\\n }\\n\\n strm.next_in = 0;\\n strm.avail_in = strm.input.length;\\n\\n for (;;) {\\n if (strm.avail_out === 0) {\\n strm.output = new Uint8Array(chunkSize);\\n strm.next_out = 0;\\n strm.avail_out = chunkSize;\\n }\\n\\n status = zlib_inflate.inflate(strm, _flush_mode);\\n\\n if (status === Z_NEED_DICT && dictionary) {\\n status = zlib_inflate.inflateSetDictionary(strm, dictionary);\\n\\n if (status === Z_OK) {\\n status = zlib_inflate.inflate(strm, _flush_mode);\\n } else if (status === Z_DATA_ERROR) {\\n // Replace code with more verbose\\n status = Z_NEED_DICT;\\n }\\n }\\n\\n // Skip snyc markers if more data follows and not raw mode\\n while (strm.avail_in > 0 &&\\n status === Z_STREAM_END &&\\n strm.state.wrap > 0 &&\\n data[strm.next_in] !== 0)\\n {\\n zlib_inflate.inflateReset(strm);\\n status = zlib_inflate.inflate(strm, _flush_mode);\\n }\\n\\n switch (status) {\\n case Z_STREAM_ERROR:\\n case Z_DATA_ERROR:\\n case Z_NEED_DICT:\\n case Z_MEM_ERROR:\\n this.onEnd(status);\\n this.ended = true;\\n return false;\\n }\\n\\n // Remember real `avail_out` value, because we may patch out buffer content\\n // to align utf8 strings boundaries.\\n last_avail_out = strm.avail_out;\\n\\n if (strm.next_out) {\\n if (strm.avail_out === 0 || status === Z_STREAM_END) {\\n\\n if (this.options.to === 'string') {\\n\\n let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\\n\\n let tail = strm.next_out - next_out_utf8;\\n let utf8str = strings.buf2string(strm.output, next_out_utf8);\\n\\n // move tail & realign counters\\n strm.next_out = tail;\\n strm.avail_out = chunkSize - tail;\\n if (tail) strm.output.set(strm.output.subarray(next_out_utf8, next_out_utf8 + tail), 0);\\n\\n this.onData(utf8str);\\n\\n } else {\\n this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));\\n }\\n }\\n }\\n\\n // Must repeat iteration if out buffer is full\\n if (status === Z_OK && last_avail_out === 0) continue;\\n\\n // Finalize if end of stream reached.\\n if (status === Z_STREAM_END) {\\n status = zlib_inflate.inflateEnd(this.strm);\\n this.onEnd(status);\\n this.ended = true;\\n return true;\\n }\\n\\n if (strm.avail_in === 0) break;\\n }\\n\\n return true;\\n};\\n\\n\\n/**\\n * Inflate#onData(chunk) -> Void\\n * - chunk (Uint8Array|String): output data. When string output requested,\\n * each chunk will be string.\\n *\\n * By default, stores data blocks in `chunks[]` property and glue\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\n **/\\nInflate.prototype.onData = function (chunk) {\\n this.chunks.push(chunk);\\n};\\n\\n\\n/**\\n * Inflate#onEnd(status) -> Void\\n * - status (Number): inflate status. 0 (Z_OK) on success,\\n * other if not.\\n *\\n * Called either after you tell inflate that the input stream is\\n * complete (Z_FINISH). By default - join collected chunks,\\n * free memory and fill `results` / `err` properties.\\n **/\\nInflate.prototype.onEnd = function (status) {\\n // On success - join\\n if (status === Z_OK) {\\n if (this.options.to === 'string') {\\n this.result = this.chunks.join('');\\n } else {\\n this.result = utils.flattenChunks(this.chunks);\\n }\\n }\\n this.chunks = [];\\n this.err = status;\\n this.msg = this.strm.msg;\\n};\\n\\n\\n/**\\n * inflate(data[, options]) -> Uint8Array|String\\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\\n * - options (Object): zlib inflate options.\\n *\\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\\n * format via wrapper header by default. That's why we don't provide\\n * separate `ungzip` method.\\n *\\n * Supported options are:\\n *\\n * - windowBits\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information.\\n *\\n * Sugar (options):\\n *\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\n * negative windowBits implicitly.\\n * - `to` (String) - if equal to 'string', then result will be converted\\n * from utf8 to utf16 (javascript) string. When string output requested,\\n * chunk length can differ from `chunkSize`, depending on content.\\n *\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako');\\n * const input = pako.deflate(new Uint8Array([1,2,3,4,5,6,7,8,9]));\\n * let output;\\n *\\n * try {\\n * output = pako.inflate(input);\\n * } catch (err) {\\n * console.log(err);\\n * }\\n * ```\\n **/\\nfunction inflate(input, options) {\\n const inflator = new Inflate(options);\\n\\n inflator.push(input);\\n\\n // That will never happens, if you don't cheat with options :)\\n if (inflator.err) throw inflator.msg || msg[inflator.err];\\n\\n return inflator.result;\\n}\\n\\n\\n/**\\n * inflateRaw(data[, options]) -> Uint8Array|String\\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\\n * - options (Object): zlib inflate options.\\n *\\n * The same as [[inflate]], but creates raw data, without wrapper\\n * (header and adler32 crc).\\n **/\\nfunction inflateRaw(input, options) {\\n options = options || {};\\n options.raw = true;\\n return inflate(input, options);\\n}\\n\\n\\n/**\\n * ungzip(data[, options]) -> Uint8Array|String\\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\\n * - options (Object): zlib inflate options.\\n *\\n * Just shortcut to [[inflate]], because it autodetects format\\n * by header.content. Done for convenience.\\n **/\\n\\n\\nmodule.exports.Inflate = Inflate;\\nmodule.exports.inflate = inflate;\\nmodule.exports.inflateRaw = inflateRaw;\\nmodule.exports.ungzip = inflate;\\nmodule.exports.constants = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/inflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/utils/common.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/utils/common.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n\\nconst _has = (obj, key) => {\\n return Object.prototype.hasOwnProperty.call(obj, key);\\n};\\n\\nmodule.exports.assign = function (obj /*from1, from2, from3, ...*/) {\\n const sources = Array.prototype.slice.call(arguments, 1);\\n while (sources.length) {\\n const source = sources.shift();\\n if (!source) { continue; }\\n\\n if (typeof source !== 'object') {\\n throw new TypeError(source + 'must be non-object');\\n }\\n\\n for (const p in source) {\\n if (_has(source, p)) {\\n obj[p] = source[p];\\n }\\n }\\n }\\n\\n return obj;\\n};\\n\\n\\n// Join array of chunks to single array.\\nmodule.exports.flattenChunks = (chunks) => {\\n // calculate data length\\n let len = 0;\\n\\n for (let i = 0, l = chunks.length; i < l; i++) {\\n len += chunks[i].length;\\n }\\n\\n // join chunks\\n const result = new Uint8Array(len);\\n\\n for (let i = 0, pos = 0, l = chunks.length; i < l; i++) {\\n let chunk = chunks[i];\\n result.set(chunk, pos);\\n pos += chunk.length;\\n }\\n\\n return result;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/utils/common.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/utils/strings.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/utils/strings.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"// String encode/decode helpers\\n\\n\\n\\n// Quick check if we can use fast array to bin string conversion\\n//\\n// - apply(Array) can fail on Android 2.2\\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\\n//\\nlet STR_APPLY_UIA_OK = true;\\n\\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\\n\\n\\n// Table with utf8 lengths (calculated by first byte of sequence)\\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\\n// because max possible codepoint is 0x10ffff\\nconst _utf8len = new Uint8Array(256);\\nfor (let q = 0; q < 256; q++) {\\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\\n}\\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\\n\\n\\n// convert string to array (typed, when possible)\\nmodule.exports.string2buf = (str) => {\\n if (typeof TextEncoder === 'function' && TextEncoder.prototype.encode) {\\n return new TextEncoder().encode(str);\\n }\\n\\n let buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\\n\\n // count binary size\\n for (m_pos = 0; m_pos < str_len; m_pos++) {\\n c = str.charCodeAt(m_pos);\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\n c2 = str.charCodeAt(m_pos + 1);\\n if ((c2 & 0xfc00) === 0xdc00) {\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\n m_pos++;\\n }\\n }\\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\\n }\\n\\n // allocate buffer\\n buf = new Uint8Array(buf_len);\\n\\n // convert\\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\\n c = str.charCodeAt(m_pos);\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\n c2 = str.charCodeAt(m_pos + 1);\\n if ((c2 & 0xfc00) === 0xdc00) {\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\n m_pos++;\\n }\\n }\\n if (c < 0x80) {\\n /* one byte */\\n buf[i++] = c;\\n } else if (c < 0x800) {\\n /* two bytes */\\n buf[i++] = 0xC0 | (c >>> 6);\\n buf[i++] = 0x80 | (c & 0x3f);\\n } else if (c < 0x10000) {\\n /* three bytes */\\n buf[i++] = 0xE0 | (c >>> 12);\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\n buf[i++] = 0x80 | (c & 0x3f);\\n } else {\\n /* four bytes */\\n buf[i++] = 0xf0 | (c >>> 18);\\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\n buf[i++] = 0x80 | (c & 0x3f);\\n }\\n }\\n\\n return buf;\\n};\\n\\n// Helper\\nconst buf2binstring = (buf, len) => {\\n // On Chrome, the arguments in a function call that are allowed is `65534`.\\n // If the length of the buffer is smaller than that, we can use this optimization,\\n // otherwise we will take a slower path.\\n if (len < 65534) {\\n if (buf.subarray && STR_APPLY_UIA_OK) {\\n return String.fromCharCode.apply(null, buf.length === len ? buf : buf.subarray(0, len));\\n }\\n }\\n\\n let result = '';\\n for (let i = 0; i < len; i++) {\\n result += String.fromCharCode(buf[i]);\\n }\\n return result;\\n};\\n\\n\\n// convert array to string\\nmodule.exports.buf2string = (buf, max) => {\\n const len = max || buf.length;\\n\\n if (typeof TextDecoder === 'function' && TextDecoder.prototype.decode) {\\n return new TextDecoder().decode(buf.subarray(0, max));\\n }\\n\\n let i, out;\\n\\n // Reserve max possible length (2 words per char)\\n // NB: by unknown reasons, Array is significantly faster for\\n // String.fromCharCode.apply than Uint16Array.\\n const utf16buf = new Array(len * 2);\\n\\n for (out = 0, i = 0; i < len;) {\\n let c = buf[i++];\\n // quick process ascii\\n if (c < 0x80) { utf16buf[out++] = c; continue; }\\n\\n let c_len = _utf8len[c];\\n // skip 5 & 6 byte codes\\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\\n\\n // apply mask on first byte\\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\\n // join the rest\\n while (c_len > 1 && i < len) {\\n c = (c << 6) | (buf[i++] & 0x3f);\\n c_len--;\\n }\\n\\n // terminated by end of string?\\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\\n\\n if (c < 0x10000) {\\n utf16buf[out++] = c;\\n } else {\\n c -= 0x10000;\\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\\n }\\n }\\n\\n return buf2binstring(utf16buf, out);\\n};\\n\\n\\n// Calculate max possible position in utf8 buffer,\\n// that will not break sequence. If that's not possible\\n// - (very small limits) return max size as is.\\n//\\n// buf[] - utf8 bytes array\\n// max - length limit (mandatory);\\nmodule.exports.utf8border = (buf, max) => {\\n\\n max = max || buf.length;\\n if (max > buf.length) { max = buf.length; }\\n\\n // go back from last position, until start of sequence found\\n let pos = max - 1;\\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\\n\\n // Very small and broken sequence,\\n // return max, because we should return something anyway.\\n if (pos < 0) { return max; }\\n\\n // If we came to start of buffer - that means buffer is too small,\\n // return max too.\\n if (pos === 0) { return max; }\\n\\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/utils/strings.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/adler32.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/adler32.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\\n// It isn't worth it to make additional optimizations as in original.\\n// Small size is preferable.\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst adler32 = (adler, buf, len, pos) => {\\n let s1 = (adler & 0xffff) |0,\\n s2 = ((adler >>> 16) & 0xffff) |0,\\n n = 0;\\n\\n while (len !== 0) {\\n // Set limit ~ twice less than 5552, to keep\\n // s2 in 31-bits, because we force signed ints.\\n // in other case %= will fail.\\n n = len > 2000 ? 2000 : len;\\n len -= n;\\n\\n do {\\n s1 = (s1 + buf[pos++]) |0;\\n s2 = (s2 + s1) |0;\\n } while (--n);\\n\\n s1 %= 65521;\\n s2 %= 65521;\\n }\\n\\n return (s1 | (s2 << 16)) |0;\\n};\\n\\n\\nmodule.exports = adler32;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/adler32.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/constants.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/constants.js ***!\n \\*************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nmodule.exports = {\\n\\n /* Allowed flush values; see deflate() and inflate() below for details */\\n Z_NO_FLUSH: 0,\\n Z_PARTIAL_FLUSH: 1,\\n Z_SYNC_FLUSH: 2,\\n Z_FULL_FLUSH: 3,\\n Z_FINISH: 4,\\n Z_BLOCK: 5,\\n Z_TREES: 6,\\n\\n /* Return codes for the compression/decompression functions. Negative values\\n * are errors, positive values are used for special but normal events.\\n */\\n Z_OK: 0,\\n Z_STREAM_END: 1,\\n Z_NEED_DICT: 2,\\n Z_ERRNO: -1,\\n Z_STREAM_ERROR: -2,\\n Z_DATA_ERROR: -3,\\n Z_MEM_ERROR: -4,\\n Z_BUF_ERROR: -5,\\n //Z_VERSION_ERROR: -6,\\n\\n /* compression levels */\\n Z_NO_COMPRESSION: 0,\\n Z_BEST_SPEED: 1,\\n Z_BEST_COMPRESSION: 9,\\n Z_DEFAULT_COMPRESSION: -1,\\n\\n\\n Z_FILTERED: 1,\\n Z_HUFFMAN_ONLY: 2,\\n Z_RLE: 3,\\n Z_FIXED: 4,\\n Z_DEFAULT_STRATEGY: 0,\\n\\n /* Possible values of the data_type field (though see inflate()) */\\n Z_BINARY: 0,\\n Z_TEXT: 1,\\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\\n Z_UNKNOWN: 2,\\n\\n /* The deflate compression method */\\n Z_DEFLATED: 8\\n //Z_NULL: null // Use -1 or null inline, depending on var type\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/constants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/crc32.js\":\n/*!*********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/crc32.js ***!\n \\*********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// Note: we can't get significant speed boost here.\\n// So write code to minimize size - no pregenerated tables\\n// and array tools dependencies.\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\n// Use ordinary array, since untyped makes no boost here\\nconst makeTable = () => {\\n let c, table = [];\\n\\n for (var n = 0; n < 256; n++) {\\n c = n;\\n for (var k = 0; k < 8; k++) {\\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\\n }\\n table[n] = c;\\n }\\n\\n return table;\\n};\\n\\n// Create table on load. Just 255 signed longs. Not a problem.\\nconst crcTable = new Uint32Array(makeTable());\\n\\n\\nconst crc32 = (crc, buf, len, pos) => {\\n const t = crcTable;\\n const end = pos + len;\\n\\n crc ^= -1;\\n\\n for (let i = pos; i < end; i++) {\\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\\n }\\n\\n return (crc ^ (-1)); // >>> 0;\\n};\\n\\n\\nmodule.exports = crc32;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/crc32.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/deflate.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/deflate.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst { _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align } = __webpack_require__(/*! ./trees */ \\\"./node_modules/pako/lib/zlib/trees.js\\\");\\nconst adler32 = __webpack_require__(/*! ./adler32 */ \\\"./node_modules/pako/lib/zlib/adler32.js\\\");\\nconst crc32 = __webpack_require__(/*! ./crc32 */ \\\"./node_modules/pako/lib/zlib/crc32.js\\\");\\nconst msg = __webpack_require__(/*! ./messages */ \\\"./node_modules/pako/lib/zlib/messages.js\\\");\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_FULL_FLUSH, Z_FINISH, Z_BLOCK,\\n Z_OK, Z_STREAM_END, Z_STREAM_ERROR, Z_DATA_ERROR, Z_BUF_ERROR,\\n Z_DEFAULT_COMPRESSION,\\n Z_FILTERED, Z_HUFFMAN_ONLY, Z_RLE, Z_FIXED, Z_DEFAULT_STRATEGY,\\n Z_UNKNOWN,\\n Z_DEFLATED\\n} = __webpack_require__(/*! ./constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n/*============================================================================*/\\n\\n\\nconst MAX_MEM_LEVEL = 9;\\n/* Maximum value for memLevel in deflateInit2 */\\nconst MAX_WBITS = 15;\\n/* 32K LZ77 window */\\nconst DEF_MEM_LEVEL = 8;\\n\\n\\nconst LENGTH_CODES = 29;\\n/* number of length codes, not counting the special END_BLOCK code */\\nconst LITERALS = 256;\\n/* number of literal bytes 0..255 */\\nconst L_CODES = LITERALS + 1 + LENGTH_CODES;\\n/* number of Literal or Length codes, including the END_BLOCK code */\\nconst D_CODES = 30;\\n/* number of distance codes */\\nconst BL_CODES = 19;\\n/* number of codes used to transfer the bit lengths */\\nconst HEAP_SIZE = 2 * L_CODES + 1;\\n/* maximum heap size */\\nconst MAX_BITS = 15;\\n/* All codes must not exceed MAX_BITS bits */\\n\\nconst MIN_MATCH = 3;\\nconst MAX_MATCH = 258;\\nconst MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);\\n\\nconst PRESET_DICT = 0x20;\\n\\nconst INIT_STATE = 42; /* zlib header -> BUSY_STATE */\\n//#ifdef GZIP\\nconst GZIP_STATE = 57; /* gzip header -> BUSY_STATE | EXTRA_STATE */\\n//#endif\\nconst EXTRA_STATE = 69; /* gzip extra block -> NAME_STATE */\\nconst NAME_STATE = 73; /* gzip file name -> COMMENT_STATE */\\nconst COMMENT_STATE = 91; /* gzip comment -> HCRC_STATE */\\nconst HCRC_STATE = 103; /* gzip header CRC -> BUSY_STATE */\\nconst BUSY_STATE = 113; /* deflate -> FINISH_STATE */\\nconst FINISH_STATE = 666; /* stream complete */\\n\\nconst BS_NEED_MORE = 1; /* block not completed, need more input or more output */\\nconst BS_BLOCK_DONE = 2; /* block flush performed */\\nconst BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */\\nconst BS_FINISH_DONE = 4; /* finish done, accept no more input or output */\\n\\nconst OS_CODE = 0x03; // Unix :) . Don't detect, use this default.\\n\\nconst err = (strm, errorCode) => {\\n strm.msg = msg[errorCode];\\n return errorCode;\\n};\\n\\nconst rank = (f) => {\\n return ((f) * 2) - ((f) > 4 ? 9 : 0);\\n};\\n\\nconst zero = (buf) => {\\n let len = buf.length; while (--len >= 0) { buf[len] = 0; }\\n};\\n\\n/* ===========================================================================\\n * Slide the hash table when sliding the window down (could be avoided with 32\\n * bit values at the expense of memory usage). We slide even when level == 0 to\\n * keep the hash table consistent if we switch back to level > 0 later.\\n */\\nconst slide_hash = (s) => {\\n let n, m;\\n let p;\\n let wsize = s.w_size;\\n\\n n = s.hash_size;\\n p = n;\\n do {\\n m = s.head[--p];\\n s.head[p] = (m >= wsize ? m - wsize : 0);\\n } while (--n);\\n n = wsize;\\n//#ifndef FASTEST\\n p = n;\\n do {\\n m = s.prev[--p];\\n s.prev[p] = (m >= wsize ? m - wsize : 0);\\n /* If n is not on any hash chain, prev[n] is garbage but\\n * its value will never be used.\\n */\\n } while (--n);\\n//#endif\\n};\\n\\n/* eslint-disable new-cap */\\nlet HASH_ZLIB = (s, prev, data) => ((prev << s.hash_shift) ^ data) & s.hash_mask;\\n// This hash causes less collisions, https://github.com/nodeca/pako/issues/135\\n// But breaks binary compatibility\\n//let HASH_FAST = (s, prev, data) => ((prev << 8) + (prev >> 8) + (data << 4)) & s.hash_mask;\\nlet HASH = HASH_ZLIB;\\n\\n\\n/* =========================================================================\\n * Flush as much pending output as possible. All deflate() output, except for\\n * some deflate_stored() output, goes through this function so some\\n * applications may wish to modify it to avoid allocating a large\\n * strm->next_out buffer and copying into it. (See also read_buf()).\\n */\\nconst flush_pending = (strm) => {\\n const s = strm.state;\\n\\n //_tr_flush_bits(s);\\n let len = s.pending;\\n if (len > strm.avail_out) {\\n len = strm.avail_out;\\n }\\n if (len === 0) { return; }\\n\\n strm.output.set(s.pending_buf.subarray(s.pending_out, s.pending_out + len), strm.next_out);\\n strm.next_out += len;\\n s.pending_out += len;\\n strm.total_out += len;\\n strm.avail_out -= len;\\n s.pending -= len;\\n if (s.pending === 0) {\\n s.pending_out = 0;\\n }\\n};\\n\\n\\nconst flush_block_only = (s, last) => {\\n _tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);\\n s.block_start = s.strstart;\\n flush_pending(s.strm);\\n};\\n\\n\\nconst put_byte = (s, b) => {\\n s.pending_buf[s.pending++] = b;\\n};\\n\\n\\n/* =========================================================================\\n * Put a short in the pending buffer. The 16-bit value is put in MSB order.\\n * IN assertion: the stream state is correct and there is enough room in\\n * pending_buf.\\n */\\nconst putShortMSB = (s, b) => {\\n\\n // put_byte(s, (Byte)(b >> 8));\\n// put_byte(s, (Byte)(b & 0xff));\\n s.pending_buf[s.pending++] = (b >>> 8) & 0xff;\\n s.pending_buf[s.pending++] = b & 0xff;\\n};\\n\\n\\n/* ===========================================================================\\n * Read a new buffer from the current input stream, update the adler32\\n * and total number of bytes read. All deflate() input goes through\\n * this function so some applications may wish to modify it to avoid\\n * allocating a large strm->input buffer and copying from it.\\n * (See also flush_pending()).\\n */\\nconst read_buf = (strm, buf, start, size) => {\\n\\n let len = strm.avail_in;\\n\\n if (len > size) { len = size; }\\n if (len === 0) { return 0; }\\n\\n strm.avail_in -= len;\\n\\n // zmemcpy(buf, strm->next_in, len);\\n buf.set(strm.input.subarray(strm.next_in, strm.next_in + len), start);\\n if (strm.state.wrap === 1) {\\n strm.adler = adler32(strm.adler, buf, len, start);\\n }\\n\\n else if (strm.state.wrap === 2) {\\n strm.adler = crc32(strm.adler, buf, len, start);\\n }\\n\\n strm.next_in += len;\\n strm.total_in += len;\\n\\n return len;\\n};\\n\\n\\n/* ===========================================================================\\n * Set match_start to the longest match starting at the given string and\\n * return its length. Matches shorter or equal to prev_length are discarded,\\n * in which case the result is equal to prev_length and match_start is\\n * garbage.\\n * IN assertions: cur_match is the head of the hash chain for the current\\n * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1\\n * OUT assertion: the match length is not greater than s->lookahead.\\n */\\nconst longest_match = (s, cur_match) => {\\n\\n let chain_length = s.max_chain_length; /* max hash chain length */\\n let scan = s.strstart; /* current string */\\n let match; /* matched string */\\n let len; /* length of current match */\\n let best_len = s.prev_length; /* best match length so far */\\n let nice_match = s.nice_match; /* stop if match long enough */\\n const limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?\\n s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;\\n\\n const _win = s.window; // shortcut\\n\\n const wmask = s.w_mask;\\n const prev = s.prev;\\n\\n /* Stop when cur_match becomes <= limit. To simplify the code,\\n * we prevent matches with the string of window index 0.\\n */\\n\\n const strend = s.strstart + MAX_MATCH;\\n let scan_end1 = _win[scan + best_len - 1];\\n let scan_end = _win[scan + best_len];\\n\\n /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.\\n * It is easy to get rid of this optimization if necessary.\\n */\\n // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, \\\"Code too clever\\\");\\n\\n /* Do not waste too much time if we already have a good match: */\\n if (s.prev_length >= s.good_match) {\\n chain_length >>= 2;\\n }\\n /* Do not look for matches beyond the end of the input. This is necessary\\n * to make deflate deterministic.\\n */\\n if (nice_match > s.lookahead) { nice_match = s.lookahead; }\\n\\n // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, \\\"need lookahead\\\");\\n\\n do {\\n // Assert(cur_match < s->strstart, \\\"no future\\\");\\n match = cur_match;\\n\\n /* Skip to next match if the match length cannot increase\\n * or if the match length is less than 2. Note that the checks below\\n * for insufficient lookahead only occur occasionally for performance\\n * reasons. Therefore uninitialized memory will be accessed, and\\n * conditional jumps will be made that depend on those values.\\n * However the length of the match is limited to the lookahead, so\\n * the output of deflate is not affected by the uninitialized values.\\n */\\n\\n if (_win[match + best_len] !== scan_end ||\\n _win[match + best_len - 1] !== scan_end1 ||\\n _win[match] !== _win[scan] ||\\n _win[++match] !== _win[scan + 1]) {\\n continue;\\n }\\n\\n /* The check at best_len-1 can be removed because it will be made\\n * again later. (This heuristic is not always a win.)\\n * It is not necessary to compare scan[2] and match[2] since they\\n * are always equal when the other bytes match, given that\\n * the hash keys are equal and that HASH_BITS >= 8.\\n */\\n scan += 2;\\n match++;\\n // Assert(*scan == *match, \\\"match[2]?\\\");\\n\\n /* We check for insufficient lookahead only every 8th comparison;\\n * the 256th check will be made at strstart+258.\\n */\\n do {\\n /*jshint noempty:false*/\\n } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n scan < strend);\\n\\n // Assert(scan <= s->window+(unsigned)(s->window_size-1), \\\"wild scan\\\");\\n\\n len = MAX_MATCH - (strend - scan);\\n scan = strend - MAX_MATCH;\\n\\n if (len > best_len) {\\n s.match_start = cur_match;\\n best_len = len;\\n if (len >= nice_match) {\\n break;\\n }\\n scan_end1 = _win[scan + best_len - 1];\\n scan_end = _win[scan + best_len];\\n }\\n } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);\\n\\n if (best_len <= s.lookahead) {\\n return best_len;\\n }\\n return s.lookahead;\\n};\\n\\n\\n/* ===========================================================================\\n * Fill the window when the lookahead becomes insufficient.\\n * Updates strstart and lookahead.\\n *\\n * IN assertion: lookahead < MIN_LOOKAHEAD\\n * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD\\n * At least one byte has been read, or avail_in == 0; reads are\\n * performed for at least two bytes (required for the zip translate_eol\\n * option -- not supported here).\\n */\\nconst fill_window = (s) => {\\n\\n const _w_size = s.w_size;\\n let n, more, str;\\n\\n //Assert(s->lookahead < MIN_LOOKAHEAD, \\\"already enough lookahead\\\");\\n\\n do {\\n more = s.window_size - s.lookahead - s.strstart;\\n\\n // JS ints have 32 bit, block below not needed\\n /* Deal with !@#$% 64K limit: */\\n //if (sizeof(int) <= 2) {\\n // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {\\n // more = wsize;\\n //\\n // } else if (more == (unsigned)(-1)) {\\n // /* Very unlikely, but possible on 16 bit machine if\\n // * strstart == 0 && lookahead == 1 (input done a byte at time)\\n // */\\n // more--;\\n // }\\n //}\\n\\n\\n /* If the window is almost full and there is insufficient lookahead,\\n * move the upper half to the lower one to make room in the upper half.\\n */\\n if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {\\n\\n s.window.set(s.window.subarray(_w_size, _w_size + _w_size - more), 0);\\n s.match_start -= _w_size;\\n s.strstart -= _w_size;\\n /* we now have strstart >= MAX_DIST */\\n s.block_start -= _w_size;\\n if (s.insert > s.strstart) {\\n s.insert = s.strstart;\\n }\\n slide_hash(s);\\n more += _w_size;\\n }\\n if (s.strm.avail_in === 0) {\\n break;\\n }\\n\\n /* If there was no sliding:\\n * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&\\n * more == window_size - lookahead - strstart\\n * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)\\n * => more >= window_size - 2*WSIZE + 2\\n * In the BIG_MEM or MMAP case (not yet supported),\\n * window_size == input_size + MIN_LOOKAHEAD &&\\n * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.\\n * Otherwise, window_size == 2*WSIZE so more >= 2.\\n * If there was sliding, more >= WSIZE. So in all cases, more >= 2.\\n */\\n //Assert(more >= 2, \\\"more < 2\\\");\\n n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);\\n s.lookahead += n;\\n\\n /* Initialize the hash value now that we have some input: */\\n if (s.lookahead + s.insert >= MIN_MATCH) {\\n str = s.strstart - s.insert;\\n s.ins_h = s.window[str];\\n\\n /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[str + 1]);\\n//#if MIN_MATCH != 3\\n// Call update_hash() MIN_MATCH-3 more times\\n//#endif\\n while (s.insert) {\\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\\n\\n s.prev[str & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = str;\\n str++;\\n s.insert--;\\n if (s.lookahead + s.insert < MIN_MATCH) {\\n break;\\n }\\n }\\n }\\n /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,\\n * but this is not important since only literal bytes will be emitted.\\n */\\n\\n } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);\\n\\n /* If the WIN_INIT bytes after the end of the current data have never been\\n * written, then zero those bytes in order to avoid memory check reports of\\n * the use of uninitialized (or uninitialised as Julian writes) bytes by\\n * the longest match routines. Update the high water mark for the next\\n * time through here. WIN_INIT is set to MAX_MATCH since the longest match\\n * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.\\n */\\n// if (s.high_water < s.window_size) {\\n// const curr = s.strstart + s.lookahead;\\n// let init = 0;\\n//\\n// if (s.high_water < curr) {\\n// /* Previous high water mark below current data -- zero WIN_INIT\\n// * bytes or up to end of window, whichever is less.\\n// */\\n// init = s.window_size - curr;\\n// if (init > WIN_INIT)\\n// init = WIN_INIT;\\n// zmemzero(s->window + curr, (unsigned)init);\\n// s->high_water = curr + init;\\n// }\\n// else if (s->high_water < (ulg)curr + WIN_INIT) {\\n// /* High water mark at or above current data, but below current data\\n// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up\\n// * to end of window, whichever is less.\\n// */\\n// init = (ulg)curr + WIN_INIT - s->high_water;\\n// if (init > s->window_size - s->high_water)\\n// init = s->window_size - s->high_water;\\n// zmemzero(s->window + s->high_water, (unsigned)init);\\n// s->high_water += init;\\n// }\\n// }\\n//\\n// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,\\n// \\\"not enough room for search\\\");\\n};\\n\\n/* ===========================================================================\\n * Copy without compression as much as possible from the input stream, return\\n * the current block state.\\n *\\n * In case deflateParams() is used to later switch to a non-zero compression\\n * level, s->matches (otherwise unused when storing) keeps track of the number\\n * of hash table slides to perform. If s->matches is 1, then one hash table\\n * slide will be done when switching. If s->matches is 2, the maximum value\\n * allowed here, then the hash table will be cleared, since two or more slides\\n * is the same as a clear.\\n *\\n * deflate_stored() is written to minimize the number of times an input byte is\\n * copied. It is most efficient with large input and output buffers, which\\n * maximizes the opportunites to have a single copy from next_in to next_out.\\n */\\nconst deflate_stored = (s, flush) => {\\n\\n /* Smallest worthy block size when not flushing or finishing. By default\\n * this is 32K. This can be as small as 507 bytes for memLevel == 1. For\\n * large input and output buffers, the stored block size will be larger.\\n */\\n let min_block = s.pending_buf_size - 5 > s.w_size ? s.w_size : s.pending_buf_size - 5;\\n\\n /* Copy as many min_block or larger stored blocks directly to next_out as\\n * possible. If flushing, copy the remaining available input to next_out as\\n * stored blocks, if there is enough space.\\n */\\n let len, left, have, last = 0;\\n let used = s.strm.avail_in;\\n do {\\n /* Set len to the maximum size block that we can copy directly with the\\n * available input data and output space. Set left to how much of that\\n * would be copied from what's left in the window.\\n */\\n len = 65535/* MAX_STORED */; /* maximum deflate stored block length */\\n have = (s.bi_valid + 42) >> 3; /* number of header bytes */\\n if (s.strm.avail_out < have) { /* need room for header */\\n break;\\n }\\n /* maximum stored block length that will fit in avail_out: */\\n have = s.strm.avail_out - have;\\n left = s.strstart - s.block_start; /* bytes left in window */\\n if (len > left + s.strm.avail_in) {\\n len = left + s.strm.avail_in; /* limit len to the input */\\n }\\n if (len > have) {\\n len = have; /* limit len to the output */\\n }\\n\\n /* If the stored block would be less than min_block in length, or if\\n * unable to copy all of the available input when flushing, then try\\n * copying to the window and the pending buffer instead. Also don't\\n * write an empty block when flushing -- deflate() does that.\\n */\\n if (len < min_block && ((len === 0 && flush !== Z_FINISH) ||\\n flush === Z_NO_FLUSH ||\\n len !== left + s.strm.avail_in)) {\\n break;\\n }\\n\\n /* Make a dummy stored block in pending to get the header bytes,\\n * including any pending bits. This also updates the debugging counts.\\n */\\n last = flush === Z_FINISH && len === left + s.strm.avail_in ? 1 : 0;\\n _tr_stored_block(s, 0, 0, last);\\n\\n /* Replace the lengths in the dummy stored block with len. */\\n s.pending_buf[s.pending - 4] = len;\\n s.pending_buf[s.pending - 3] = len >> 8;\\n s.pending_buf[s.pending - 2] = ~len;\\n s.pending_buf[s.pending - 1] = ~len >> 8;\\n\\n /* Write the stored block header bytes. */\\n flush_pending(s.strm);\\n\\n//#ifdef ZLIB_DEBUG\\n// /* Update debugging counts for the data about to be copied. */\\n// s->compressed_len += len << 3;\\n// s->bits_sent += len << 3;\\n//#endif\\n\\n /* Copy uncompressed bytes from the window to next_out. */\\n if (left) {\\n if (left > len) {\\n left = len;\\n }\\n //zmemcpy(s->strm->next_out, s->window + s->block_start, left);\\n s.strm.output.set(s.window.subarray(s.block_start, s.block_start + left), s.strm.next_out);\\n s.strm.next_out += left;\\n s.strm.avail_out -= left;\\n s.strm.total_out += left;\\n s.block_start += left;\\n len -= left;\\n }\\n\\n /* Copy uncompressed bytes directly from next_in to next_out, updating\\n * the check value.\\n */\\n if (len) {\\n read_buf(s.strm, s.strm.output, s.strm.next_out, len);\\n s.strm.next_out += len;\\n s.strm.avail_out -= len;\\n s.strm.total_out += len;\\n }\\n } while (last === 0);\\n\\n /* Update the sliding window with the last s->w_size bytes of the copied\\n * data, or append all of the copied data to the existing window if less\\n * than s->w_size bytes were copied. Also update the number of bytes to\\n * insert in the hash tables, in the event that deflateParams() switches to\\n * a non-zero compression level.\\n */\\n used -= s.strm.avail_in; /* number of input bytes directly copied */\\n if (used) {\\n /* If any input was used, then no unused input remains in the window,\\n * therefore s->block_start == s->strstart.\\n */\\n if (used >= s.w_size) { /* supplant the previous history */\\n s.matches = 2; /* clear hash */\\n //zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);\\n s.window.set(s.strm.input.subarray(s.strm.next_in - s.w_size, s.strm.next_in), 0);\\n s.strstart = s.w_size;\\n s.insert = s.strstart;\\n }\\n else {\\n if (s.window_size - s.strstart <= used) {\\n /* Slide the window down. */\\n s.strstart -= s.w_size;\\n //zmemcpy(s->window, s->window + s->w_size, s->strstart);\\n s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);\\n if (s.matches < 2) {\\n s.matches++; /* add a pending slide_hash() */\\n }\\n if (s.insert > s.strstart) {\\n s.insert = s.strstart;\\n }\\n }\\n //zmemcpy(s->window + s->strstart, s->strm->next_in - used, used);\\n s.window.set(s.strm.input.subarray(s.strm.next_in - used, s.strm.next_in), s.strstart);\\n s.strstart += used;\\n s.insert += used > s.w_size - s.insert ? s.w_size - s.insert : used;\\n }\\n s.block_start = s.strstart;\\n }\\n if (s.high_water < s.strstart) {\\n s.high_water = s.strstart;\\n }\\n\\n /* If the last block was written to next_out, then done. */\\n if (last) {\\n return BS_FINISH_DONE;\\n }\\n\\n /* If flushing and all input has been consumed, then done. */\\n if (flush !== Z_NO_FLUSH && flush !== Z_FINISH &&\\n s.strm.avail_in === 0 && s.strstart === s.block_start) {\\n return BS_BLOCK_DONE;\\n }\\n\\n /* Fill the window with any remaining input. */\\n have = s.window_size - s.strstart;\\n if (s.strm.avail_in > have && s.block_start >= s.w_size) {\\n /* Slide the window down. */\\n s.block_start -= s.w_size;\\n s.strstart -= s.w_size;\\n //zmemcpy(s->window, s->window + s->w_size, s->strstart);\\n s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);\\n if (s.matches < 2) {\\n s.matches++; /* add a pending slide_hash() */\\n }\\n have += s.w_size; /* more space now */\\n if (s.insert > s.strstart) {\\n s.insert = s.strstart;\\n }\\n }\\n if (have > s.strm.avail_in) {\\n have = s.strm.avail_in;\\n }\\n if (have) {\\n read_buf(s.strm, s.window, s.strstart, have);\\n s.strstart += have;\\n s.insert += have > s.w_size - s.insert ? s.w_size - s.insert : have;\\n }\\n if (s.high_water < s.strstart) {\\n s.high_water = s.strstart;\\n }\\n\\n /* There was not enough avail_out to write a complete worthy or flushed\\n * stored block to next_out. Write a stored block to pending instead, if we\\n * have enough input for a worthy block, or if flushing and there is enough\\n * room for the remaining input as a stored block in the pending buffer.\\n */\\n have = (s.bi_valid + 42) >> 3; /* number of header bytes */\\n /* maximum stored block length that will fit in pending: */\\n have = s.pending_buf_size - have > 65535/* MAX_STORED */ ? 65535/* MAX_STORED */ : s.pending_buf_size - have;\\n min_block = have > s.w_size ? s.w_size : have;\\n left = s.strstart - s.block_start;\\n if (left >= min_block ||\\n ((left || flush === Z_FINISH) && flush !== Z_NO_FLUSH &&\\n s.strm.avail_in === 0 && left <= have)) {\\n len = left > have ? have : left;\\n last = flush === Z_FINISH && s.strm.avail_in === 0 &&\\n len === left ? 1 : 0;\\n _tr_stored_block(s, s.block_start, len, last);\\n s.block_start += len;\\n flush_pending(s.strm);\\n }\\n\\n /* We've done all we can with the available input and output. */\\n return last ? BS_FINISH_STARTED : BS_NEED_MORE;\\n};\\n\\n\\n/* ===========================================================================\\n * Compress as much as possible from the input stream, return the current\\n * block state.\\n * This function does not perform lazy evaluation of matches and inserts\\n * new strings in the dictionary only for unmatched strings or for short\\n * matches. It is used only for the fast compression options.\\n */\\nconst deflate_fast = (s, flush) => {\\n\\n let hash_head; /* head of the hash chain */\\n let bflush; /* set if current block must be flushed */\\n\\n for (;;) {\\n /* Make sure that we always have enough lookahead, except\\n * at the end of the input file. We need MAX_MATCH bytes\\n * for the next match, plus MIN_MATCH bytes to insert the\\n * string following the next match.\\n */\\n if (s.lookahead < MIN_LOOKAHEAD) {\\n fill_window(s);\\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n if (s.lookahead === 0) {\\n break; /* flush the current block */\\n }\\n }\\n\\n /* Insert the string window[strstart .. strstart+2] in the\\n * dictionary, and set hash_head to the head of the hash chain:\\n */\\n hash_head = 0/*NIL*/;\\n if (s.lookahead >= MIN_MATCH) {\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n }\\n\\n /* Find the longest match, discarding those <= prev_length.\\n * At this point we have always match_length < MIN_MATCH\\n */\\n if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {\\n /* To simplify the code, we prevent matches with the string\\n * of window index 0 (in particular we have to avoid a match\\n * of the string with itself at the start of the input file).\\n */\\n s.match_length = longest_match(s, hash_head);\\n /* longest_match() sets match_start */\\n }\\n if (s.match_length >= MIN_MATCH) {\\n // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only\\n\\n /*** _tr_tally_dist(s, s.strstart - s.match_start,\\n s.match_length - MIN_MATCH, bflush); ***/\\n bflush = _tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);\\n\\n s.lookahead -= s.match_length;\\n\\n /* Insert new strings in the hash table only if the match length\\n * is not too large. This saves time but degrades compression.\\n */\\n if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {\\n s.match_length--; /* string at strstart already in table */\\n do {\\n s.strstart++;\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n /* strstart never exceeds WSIZE-MAX_MATCH, so there are\\n * always MIN_MATCH bytes ahead.\\n */\\n } while (--s.match_length !== 0);\\n s.strstart++;\\n } else\\n {\\n s.strstart += s.match_length;\\n s.match_length = 0;\\n s.ins_h = s.window[s.strstart];\\n /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]);\\n\\n//#if MIN_MATCH != 3\\n// Call UPDATE_HASH() MIN_MATCH-3 more times\\n//#endif\\n /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not\\n * matter since it will be recomputed at next deflate call.\\n */\\n }\\n } else {\\n /* No match, output a literal byte */\\n //Tracevv((stderr,\\\"%c\\\", s.window[s.strstart]));\\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\\n\\n s.lookahead--;\\n s.strstart++;\\n }\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n }\\n s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n return BS_BLOCK_DONE;\\n};\\n\\n/* ===========================================================================\\n * Same as above, but achieves better compression. We use a lazy\\n * evaluation for matches: a match is finally adopted only if there is\\n * no better match at the next window position.\\n */\\nconst deflate_slow = (s, flush) => {\\n\\n let hash_head; /* head of hash chain */\\n let bflush; /* set if current block must be flushed */\\n\\n let max_insert;\\n\\n /* Process the input block. */\\n for (;;) {\\n /* Make sure that we always have enough lookahead, except\\n * at the end of the input file. We need MAX_MATCH bytes\\n * for the next match, plus MIN_MATCH bytes to insert the\\n * string following the next match.\\n */\\n if (s.lookahead < MIN_LOOKAHEAD) {\\n fill_window(s);\\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n if (s.lookahead === 0) { break; } /* flush the current block */\\n }\\n\\n /* Insert the string window[strstart .. strstart+2] in the\\n * dictionary, and set hash_head to the head of the hash chain:\\n */\\n hash_head = 0/*NIL*/;\\n if (s.lookahead >= MIN_MATCH) {\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n }\\n\\n /* Find the longest match, discarding those <= prev_length.\\n */\\n s.prev_length = s.match_length;\\n s.prev_match = s.match_start;\\n s.match_length = MIN_MATCH - 1;\\n\\n if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&\\n s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {\\n /* To simplify the code, we prevent matches with the string\\n * of window index 0 (in particular we have to avoid a match\\n * of the string with itself at the start of the input file).\\n */\\n s.match_length = longest_match(s, hash_head);\\n /* longest_match() sets match_start */\\n\\n if (s.match_length <= 5 &&\\n (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {\\n\\n /* If prev_match is also MIN_MATCH, match_start is garbage\\n * but we will ignore the current match anyway.\\n */\\n s.match_length = MIN_MATCH - 1;\\n }\\n }\\n /* If there was a match at the previous step and the current\\n * match is not better, output the previous match:\\n */\\n if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {\\n max_insert = s.strstart + s.lookahead - MIN_MATCH;\\n /* Do not insert strings in hash table beyond this. */\\n\\n //check_match(s, s.strstart-1, s.prev_match, s.prev_length);\\n\\n /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,\\n s.prev_length - MIN_MATCH, bflush);***/\\n bflush = _tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);\\n /* Insert in hash table all strings up to the end of the match.\\n * strstart-1 and strstart are already inserted. If there is not\\n * enough lookahead, the last two strings are not inserted in\\n * the hash table.\\n */\\n s.lookahead -= s.prev_length - 1;\\n s.prev_length -= 2;\\n do {\\n if (++s.strstart <= max_insert) {\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n }\\n } while (--s.prev_length !== 0);\\n s.match_available = 0;\\n s.match_length = MIN_MATCH - 1;\\n s.strstart++;\\n\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n\\n } else if (s.match_available) {\\n /* If there was no match at the previous position, output a\\n * single literal. If there was a match but the current match\\n * is longer, truncate the previous match to a single literal.\\n */\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart-1]));\\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\\n\\n if (bflush) {\\n /*** FLUSH_BLOCK_ONLY(s, 0) ***/\\n flush_block_only(s, false);\\n /***/\\n }\\n s.strstart++;\\n s.lookahead--;\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n } else {\\n /* There is no previous match to compare with, wait for\\n * the next step to decide.\\n */\\n s.match_available = 1;\\n s.strstart++;\\n s.lookahead--;\\n }\\n }\\n //Assert (flush != Z_NO_FLUSH, \\\"no flush?\\\");\\n if (s.match_available) {\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart-1]));\\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\\n\\n s.match_available = 0;\\n }\\n s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n\\n return BS_BLOCK_DONE;\\n};\\n\\n\\n/* ===========================================================================\\n * For Z_RLE, simply look for runs of bytes, generate matches only of distance\\n * one. Do not maintain a hash table. (It will be regenerated if this run of\\n * deflate switches away from Z_RLE.)\\n */\\nconst deflate_rle = (s, flush) => {\\n\\n let bflush; /* set if current block must be flushed */\\n let prev; /* byte at distance one to match */\\n let scan, strend; /* scan goes up to strend for length of run */\\n\\n const _win = s.window;\\n\\n for (;;) {\\n /* Make sure that we always have enough lookahead, except\\n * at the end of the input file. We need MAX_MATCH bytes\\n * for the longest run, plus one for the unrolled loop.\\n */\\n if (s.lookahead <= MAX_MATCH) {\\n fill_window(s);\\n if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n if (s.lookahead === 0) { break; } /* flush the current block */\\n }\\n\\n /* See how many times the previous byte repeats */\\n s.match_length = 0;\\n if (s.lookahead >= MIN_MATCH && s.strstart > 0) {\\n scan = s.strstart - 1;\\n prev = _win[scan];\\n if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {\\n strend = s.strstart + MAX_MATCH;\\n do {\\n /*jshint noempty:false*/\\n } while (prev === _win[++scan] && prev === _win[++scan] &&\\n prev === _win[++scan] && prev === _win[++scan] &&\\n prev === _win[++scan] && prev === _win[++scan] &&\\n prev === _win[++scan] && prev === _win[++scan] &&\\n scan < strend);\\n s.match_length = MAX_MATCH - (strend - scan);\\n if (s.match_length > s.lookahead) {\\n s.match_length = s.lookahead;\\n }\\n }\\n //Assert(scan <= s->window+(uInt)(s->window_size-1), \\\"wild scan\\\");\\n }\\n\\n /* Emit match if have run of MIN_MATCH or longer, else emit literal */\\n if (s.match_length >= MIN_MATCH) {\\n //check_match(s, s.strstart, s.strstart - 1, s.match_length);\\n\\n /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/\\n bflush = _tr_tally(s, 1, s.match_length - MIN_MATCH);\\n\\n s.lookahead -= s.match_length;\\n s.strstart += s.match_length;\\n s.match_length = 0;\\n } else {\\n /* No match, output a literal byte */\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart]));\\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\\n\\n s.lookahead--;\\n s.strstart++;\\n }\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n }\\n s.insert = 0;\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n return BS_BLOCK_DONE;\\n};\\n\\n/* ===========================================================================\\n * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.\\n * (It will be regenerated if this run of deflate switches away from Huffman.)\\n */\\nconst deflate_huff = (s, flush) => {\\n\\n let bflush; /* set if current block must be flushed */\\n\\n for (;;) {\\n /* Make sure that we have a literal to write. */\\n if (s.lookahead === 0) {\\n fill_window(s);\\n if (s.lookahead === 0) {\\n if (flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n break; /* flush the current block */\\n }\\n }\\n\\n /* Output a literal byte */\\n s.match_length = 0;\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart]));\\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\\n s.lookahead--;\\n s.strstart++;\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n }\\n s.insert = 0;\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n return BS_BLOCK_DONE;\\n};\\n\\n/* Values for max_lazy_match, good_match and max_chain_length, depending on\\n * the desired pack level (0..9). The values given below have been tuned to\\n * exclude worst case performance for pathological files. Better values may be\\n * found for specific files.\\n */\\nfunction Config(good_length, max_lazy, nice_length, max_chain, func) {\\n\\n this.good_length = good_length;\\n this.max_lazy = max_lazy;\\n this.nice_length = nice_length;\\n this.max_chain = max_chain;\\n this.func = func;\\n}\\n\\nconst configuration_table = [\\n /* good lazy nice chain */\\n new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */\\n new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */\\n new Config(4, 5, 16, 8, deflate_fast), /* 2 */\\n new Config(4, 6, 32, 32, deflate_fast), /* 3 */\\n\\n new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */\\n new Config(8, 16, 32, 32, deflate_slow), /* 5 */\\n new Config(8, 16, 128, 128, deflate_slow), /* 6 */\\n new Config(8, 32, 128, 256, deflate_slow), /* 7 */\\n new Config(32, 128, 258, 1024, deflate_slow), /* 8 */\\n new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */\\n];\\n\\n\\n/* ===========================================================================\\n * Initialize the \\\"longest match\\\" routines for a new zlib stream\\n */\\nconst lm_init = (s) => {\\n\\n s.window_size = 2 * s.w_size;\\n\\n /*** CLEAR_HASH(s); ***/\\n zero(s.head); // Fill with NIL (= 0);\\n\\n /* Set the default configuration parameters:\\n */\\n s.max_lazy_match = configuration_table[s.level].max_lazy;\\n s.good_match = configuration_table[s.level].good_length;\\n s.nice_match = configuration_table[s.level].nice_length;\\n s.max_chain_length = configuration_table[s.level].max_chain;\\n\\n s.strstart = 0;\\n s.block_start = 0;\\n s.lookahead = 0;\\n s.insert = 0;\\n s.match_length = s.prev_length = MIN_MATCH - 1;\\n s.match_available = 0;\\n s.ins_h = 0;\\n};\\n\\n\\nfunction DeflateState() {\\n this.strm = null; /* pointer back to this zlib stream */\\n this.status = 0; /* as the name implies */\\n this.pending_buf = null; /* output still pending */\\n this.pending_buf_size = 0; /* size of pending_buf */\\n this.pending_out = 0; /* next pending byte to output to the stream */\\n this.pending = 0; /* nb of bytes in the pending buffer */\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\\n this.gzhead = null; /* gzip header information to write */\\n this.gzindex = 0; /* where in extra, name, or comment */\\n this.method = Z_DEFLATED; /* can only be DEFLATED */\\n this.last_flush = -1; /* value of flush param for previous deflate call */\\n\\n this.w_size = 0; /* LZ77 window size (32K by default) */\\n this.w_bits = 0; /* log2(w_size) (8..16) */\\n this.w_mask = 0; /* w_size - 1 */\\n\\n this.window = null;\\n /* Sliding window. Input bytes are read into the second half of the window,\\n * and move to the first half later to keep a dictionary of at least wSize\\n * bytes. With this organization, matches are limited to a distance of\\n * wSize-MAX_MATCH bytes, but this ensures that IO is always\\n * performed with a length multiple of the block size.\\n */\\n\\n this.window_size = 0;\\n /* Actual size of window: 2*wSize, except when the user input buffer\\n * is directly used as sliding window.\\n */\\n\\n this.prev = null;\\n /* Link to older string with same hash index. To limit the size of this\\n * array to 64K, this link is maintained only for the last 32K strings.\\n * An index in this array is thus a window index modulo 32K.\\n */\\n\\n this.head = null; /* Heads of the hash chains or NIL. */\\n\\n this.ins_h = 0; /* hash index of string to be inserted */\\n this.hash_size = 0; /* number of elements in hash table */\\n this.hash_bits = 0; /* log2(hash_size) */\\n this.hash_mask = 0; /* hash_size-1 */\\n\\n this.hash_shift = 0;\\n /* Number of bits by which ins_h must be shifted at each input\\n * step. It must be such that after MIN_MATCH steps, the oldest\\n * byte no longer takes part in the hash key, that is:\\n * hash_shift * MIN_MATCH >= hash_bits\\n */\\n\\n this.block_start = 0;\\n /* Window position at the beginning of the current output block. Gets\\n * negative when the window is moved backwards.\\n */\\n\\n this.match_length = 0; /* length of best match */\\n this.prev_match = 0; /* previous match */\\n this.match_available = 0; /* set if previous match exists */\\n this.strstart = 0; /* start of string to insert */\\n this.match_start = 0; /* start of matching string */\\n this.lookahead = 0; /* number of valid bytes ahead in window */\\n\\n this.prev_length = 0;\\n /* Length of the best match at previous step. Matches not greater than this\\n * are discarded. This is used in the lazy match evaluation.\\n */\\n\\n this.max_chain_length = 0;\\n /* To speed up deflation, hash chains are never searched beyond this\\n * length. A higher limit improves compression ratio but degrades the\\n * speed.\\n */\\n\\n this.max_lazy_match = 0;\\n /* Attempt to find a better match only when the current match is strictly\\n * smaller than this value. This mechanism is used only for compression\\n * levels >= 4.\\n */\\n // That's alias to max_lazy_match, don't use directly\\n //this.max_insert_length = 0;\\n /* Insert new strings in the hash table only if the match length is not\\n * greater than this length. This saves time but degrades compression.\\n * max_insert_length is used only for compression levels <= 3.\\n */\\n\\n this.level = 0; /* compression level (1..9) */\\n this.strategy = 0; /* favor or force Huffman coding*/\\n\\n this.good_match = 0;\\n /* Use a faster search when the previous match is longer than this */\\n\\n this.nice_match = 0; /* Stop searching when current match exceeds this */\\n\\n /* used by trees.c: */\\n\\n /* Didn't use ct_data typedef below to suppress compiler warning */\\n\\n // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */\\n // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */\\n // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */\\n\\n // Use flat array of DOUBLE size, with interleaved fata,\\n // because JS does not support effective\\n this.dyn_ltree = new Uint16Array(HEAP_SIZE * 2);\\n this.dyn_dtree = new Uint16Array((2 * D_CODES + 1) * 2);\\n this.bl_tree = new Uint16Array((2 * BL_CODES + 1) * 2);\\n zero(this.dyn_ltree);\\n zero(this.dyn_dtree);\\n zero(this.bl_tree);\\n\\n this.l_desc = null; /* desc. for literal tree */\\n this.d_desc = null; /* desc. for distance tree */\\n this.bl_desc = null; /* desc. for bit length tree */\\n\\n //ush bl_count[MAX_BITS+1];\\n this.bl_count = new Uint16Array(MAX_BITS + 1);\\n /* number of codes at each bit length for an optimal tree */\\n\\n //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */\\n this.heap = new Uint16Array(2 * L_CODES + 1); /* heap used to build the Huffman trees */\\n zero(this.heap);\\n\\n this.heap_len = 0; /* number of elements in the heap */\\n this.heap_max = 0; /* element of largest frequency */\\n /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.\\n * The same heap array is used to build all trees.\\n */\\n\\n this.depth = new Uint16Array(2 * L_CODES + 1); //uch depth[2*L_CODES+1];\\n zero(this.depth);\\n /* Depth of each subtree used as tie breaker for trees of equal frequency\\n */\\n\\n this.sym_buf = 0; /* buffer for distances and literals/lengths */\\n\\n this.lit_bufsize = 0;\\n /* Size of match buffer for literals/lengths. There are 4 reasons for\\n * limiting lit_bufsize to 64K:\\n * - frequencies can be kept in 16 bit counters\\n * - if compression is not successful for the first block, all input\\n * data is still in the window so we can still emit a stored block even\\n * when input comes from standard input. (This can also be done for\\n * all blocks if lit_bufsize is not greater than 32K.)\\n * - if compression is not successful for a file smaller than 64K, we can\\n * even emit a stored file instead of a stored block (saving 5 bytes).\\n * This is applicable only for zip (not gzip or zlib).\\n * - creating new Huffman trees less frequently may not provide fast\\n * adaptation to changes in the input data statistics. (Take for\\n * example a binary file with poorly compressible code followed by\\n * a highly compressible string table.) Smaller buffer sizes give\\n * fast adaptation but have of course the overhead of transmitting\\n * trees more frequently.\\n * - I can't count above 4\\n */\\n\\n this.sym_next = 0; /* running index in sym_buf */\\n this.sym_end = 0; /* symbol table full when sym_next reaches this */\\n\\n this.opt_len = 0; /* bit length of current block with optimal trees */\\n this.static_len = 0; /* bit length of current block with static trees */\\n this.matches = 0; /* number of string matches in current block */\\n this.insert = 0; /* bytes at end of window left to insert */\\n\\n\\n this.bi_buf = 0;\\n /* Output buffer. bits are inserted starting at the bottom (least\\n * significant bits).\\n */\\n this.bi_valid = 0;\\n /* Number of valid bits in bi_buf. All bits above the last valid bit\\n * are always zero.\\n */\\n\\n // Used for window memory init. We safely ignore it for JS. That makes\\n // sense only for pointers and memory check tools.\\n //this.high_water = 0;\\n /* High water mark offset in window for initialized bytes -- bytes above\\n * this are set to zero in order to avoid memory check warnings when\\n * longest match routines access bytes past the input. This is then\\n * updated to the new high water mark.\\n */\\n}\\n\\n\\n/* =========================================================================\\n * Check for a valid deflate stream state. Return 0 if ok, 1 if not.\\n */\\nconst deflateStateCheck = (strm) => {\\n\\n if (!strm) {\\n return 1;\\n }\\n const s = strm.state;\\n if (!s || s.strm !== strm || (s.status !== INIT_STATE &&\\n//#ifdef GZIP\\n s.status !== GZIP_STATE &&\\n//#endif\\n s.status !== EXTRA_STATE &&\\n s.status !== NAME_STATE &&\\n s.status !== COMMENT_STATE &&\\n s.status !== HCRC_STATE &&\\n s.status !== BUSY_STATE &&\\n s.status !== FINISH_STATE)) {\\n return 1;\\n }\\n return 0;\\n};\\n\\n\\nconst deflateResetKeep = (strm) => {\\n\\n if (deflateStateCheck(strm)) {\\n return err(strm, Z_STREAM_ERROR);\\n }\\n\\n strm.total_in = strm.total_out = 0;\\n strm.data_type = Z_UNKNOWN;\\n\\n const s = strm.state;\\n s.pending = 0;\\n s.pending_out = 0;\\n\\n if (s.wrap < 0) {\\n s.wrap = -s.wrap;\\n /* was made negative by deflate(..., Z_FINISH); */\\n }\\n s.status =\\n//#ifdef GZIP\\n s.wrap === 2 ? GZIP_STATE :\\n//#endif\\n s.wrap ? INIT_STATE : BUSY_STATE;\\n strm.adler = (s.wrap === 2) ?\\n 0 // crc32(0, Z_NULL, 0)\\n :\\n 1; // adler32(0, Z_NULL, 0)\\n s.last_flush = -2;\\n _tr_init(s);\\n return Z_OK;\\n};\\n\\n\\nconst deflateReset = (strm) => {\\n\\n const ret = deflateResetKeep(strm);\\n if (ret === Z_OK) {\\n lm_init(strm.state);\\n }\\n return ret;\\n};\\n\\n\\nconst deflateSetHeader = (strm, head) => {\\n\\n if (deflateStateCheck(strm) || strm.state.wrap !== 2) {\\n return Z_STREAM_ERROR;\\n }\\n strm.state.gzhead = head;\\n return Z_OK;\\n};\\n\\n\\nconst deflateInit2 = (strm, level, method, windowBits, memLevel, strategy) => {\\n\\n if (!strm) { // === Z_NULL\\n return Z_STREAM_ERROR;\\n }\\n let wrap = 1;\\n\\n if (level === Z_DEFAULT_COMPRESSION) {\\n level = 6;\\n }\\n\\n if (windowBits < 0) { /* suppress zlib wrapper */\\n wrap = 0;\\n windowBits = -windowBits;\\n }\\n\\n else if (windowBits > 15) {\\n wrap = 2; /* write gzip wrapper instead */\\n windowBits -= 16;\\n }\\n\\n\\n if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||\\n windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||\\n strategy < 0 || strategy > Z_FIXED || (windowBits === 8 && wrap !== 1)) {\\n return err(strm, Z_STREAM_ERROR);\\n }\\n\\n\\n if (windowBits === 8) {\\n windowBits = 9;\\n }\\n /* until 256-byte window bug fixed */\\n\\n const s = new DeflateState();\\n\\n strm.state = s;\\n s.strm = strm;\\n s.status = INIT_STATE; /* to pass state test in deflateReset() */\\n\\n s.wrap = wrap;\\n s.gzhead = null;\\n s.w_bits = windowBits;\\n s.w_size = 1 << s.w_bits;\\n s.w_mask = s.w_size - 1;\\n\\n s.hash_bits = memLevel + 7;\\n s.hash_size = 1 << s.hash_bits;\\n s.hash_mask = s.hash_size - 1;\\n s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);\\n\\n s.window = new Uint8Array(s.w_size * 2);\\n s.head = new Uint16Array(s.hash_size);\\n s.prev = new Uint16Array(s.w_size);\\n\\n // Don't need mem init magic for JS.\\n //s.high_water = 0; /* nothing written to s->window yet */\\n\\n s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */\\n\\n /* We overlay pending_buf and sym_buf. This works since the average size\\n * for length/distance pairs over any compressed block is assured to be 31\\n * bits or less.\\n *\\n * Analysis: The longest fixed codes are a length code of 8 bits plus 5\\n * extra bits, for lengths 131 to 257. The longest fixed distance codes are\\n * 5 bits plus 13 extra bits, for distances 16385 to 32768. The longest\\n * possible fixed-codes length/distance pair is then 31 bits total.\\n *\\n * sym_buf starts one-fourth of the way into pending_buf. So there are\\n * three bytes in sym_buf for every four bytes in pending_buf. Each symbol\\n * in sym_buf is three bytes -- two for the distance and one for the\\n * literal/length. As each symbol is consumed, the pointer to the next\\n * sym_buf value to read moves forward three bytes. From that symbol, up to\\n * 31 bits are written to pending_buf. The closest the written pending_buf\\n * bits gets to the next sym_buf symbol to read is just before the last\\n * code is written. At that time, 31*(n-2) bits have been written, just\\n * after 24*(n-2) bits have been consumed from sym_buf. sym_buf starts at\\n * 8*n bits into pending_buf. (Note that the symbol buffer fills when n-1\\n * symbols are written.) The closest the writing gets to what is unread is\\n * then n+14 bits. Here n is lit_bufsize, which is 16384 by default, and\\n * can range from 128 to 32768.\\n *\\n * Therefore, at a minimum, there are 142 bits of space between what is\\n * written and what is read in the overlain buffers, so the symbols cannot\\n * be overwritten by the compressed data. That space is actually 139 bits,\\n * due to the three-bit fixed-code block header.\\n *\\n * That covers the case where either Z_FIXED is specified, forcing fixed\\n * codes, or when the use of fixed codes is chosen, because that choice\\n * results in a smaller compressed block than dynamic codes. That latter\\n * condition then assures that the above analysis also covers all dynamic\\n * blocks. A dynamic-code block will only be chosen to be emitted if it has\\n * fewer bits than a fixed-code block would for the same set of symbols.\\n * Therefore its average symbol length is assured to be less than 31. So\\n * the compressed data for a dynamic block also cannot overwrite the\\n * symbols from which it is being constructed.\\n */\\n\\n s.pending_buf_size = s.lit_bufsize * 4;\\n s.pending_buf = new Uint8Array(s.pending_buf_size);\\n\\n // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)\\n //s->sym_buf = s->pending_buf + s->lit_bufsize;\\n s.sym_buf = s.lit_bufsize;\\n\\n //s->sym_end = (s->lit_bufsize - 1) * 3;\\n s.sym_end = (s.lit_bufsize - 1) * 3;\\n /* We avoid equality with lit_bufsize*3 because of wraparound at 64K\\n * on 16 bit machines and because stored blocks are restricted to\\n * 64K-1 bytes.\\n */\\n\\n s.level = level;\\n s.strategy = strategy;\\n s.method = method;\\n\\n return deflateReset(strm);\\n};\\n\\nconst deflateInit = (strm, level) => {\\n\\n return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);\\n};\\n\\n\\n/* ========================================================================= */\\nconst deflate = (strm, flush) => {\\n\\n if (deflateStateCheck(strm) || flush > Z_BLOCK || flush < 0) {\\n return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;\\n }\\n\\n const s = strm.state;\\n\\n if (!strm.output ||\\n (strm.avail_in !== 0 && !strm.input) ||\\n (s.status === FINISH_STATE && flush !== Z_FINISH)) {\\n return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);\\n }\\n\\n const old_flush = s.last_flush;\\n s.last_flush = flush;\\n\\n /* Flush as much pending output as possible */\\n if (s.pending !== 0) {\\n flush_pending(strm);\\n if (strm.avail_out === 0) {\\n /* Since avail_out is 0, deflate will be called again with\\n * more output space, but possibly with both pending and\\n * avail_in equal to zero. There won't be anything to do,\\n * but this is not an error situation so make sure we\\n * return OK instead of BUF_ERROR at next call of deflate:\\n */\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n\\n /* Make sure there is something to do and avoid duplicate consecutive\\n * flushes. For repeated and useless calls with Z_FINISH, we keep\\n * returning Z_STREAM_END instead of Z_BUF_ERROR.\\n */\\n } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&\\n flush !== Z_FINISH) {\\n return err(strm, Z_BUF_ERROR);\\n }\\n\\n /* User must not provide more input after the first FINISH: */\\n if (s.status === FINISH_STATE && strm.avail_in !== 0) {\\n return err(strm, Z_BUF_ERROR);\\n }\\n\\n /* Write the header */\\n if (s.status === INIT_STATE && s.wrap === 0) {\\n s.status = BUSY_STATE;\\n }\\n if (s.status === INIT_STATE) {\\n /* zlib header */\\n let header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;\\n let level_flags = -1;\\n\\n if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {\\n level_flags = 0;\\n } else if (s.level < 6) {\\n level_flags = 1;\\n } else if (s.level === 6) {\\n level_flags = 2;\\n } else {\\n level_flags = 3;\\n }\\n header |= (level_flags << 6);\\n if (s.strstart !== 0) { header |= PRESET_DICT; }\\n header += 31 - (header % 31);\\n\\n putShortMSB(s, header);\\n\\n /* Save the adler32 of the preset dictionary: */\\n if (s.strstart !== 0) {\\n putShortMSB(s, strm.adler >>> 16);\\n putShortMSB(s, strm.adler & 0xffff);\\n }\\n strm.adler = 1; // adler32(0L, Z_NULL, 0);\\n s.status = BUSY_STATE;\\n\\n /* Compression must start with an empty pending buffer */\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n//#ifdef GZIP\\n if (s.status === GZIP_STATE) {\\n /* gzip header */\\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\\n put_byte(s, 31);\\n put_byte(s, 139);\\n put_byte(s, 8);\\n if (!s.gzhead) { // s->gzhead == Z_NULL\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, s.level === 9 ? 2 :\\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\\n 4 : 0));\\n put_byte(s, OS_CODE);\\n s.status = BUSY_STATE;\\n\\n /* Compression must start with an empty pending buffer */\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n else {\\n put_byte(s, (s.gzhead.text ? 1 : 0) +\\n (s.gzhead.hcrc ? 2 : 0) +\\n (!s.gzhead.extra ? 0 : 4) +\\n (!s.gzhead.name ? 0 : 8) +\\n (!s.gzhead.comment ? 0 : 16)\\n );\\n put_byte(s, s.gzhead.time & 0xff);\\n put_byte(s, (s.gzhead.time >> 8) & 0xff);\\n put_byte(s, (s.gzhead.time >> 16) & 0xff);\\n put_byte(s, (s.gzhead.time >> 24) & 0xff);\\n put_byte(s, s.level === 9 ? 2 :\\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\\n 4 : 0));\\n put_byte(s, s.gzhead.os & 0xff);\\n if (s.gzhead.extra && s.gzhead.extra.length) {\\n put_byte(s, s.gzhead.extra.length & 0xff);\\n put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);\\n }\\n if (s.gzhead.hcrc) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);\\n }\\n s.gzindex = 0;\\n s.status = EXTRA_STATE;\\n }\\n }\\n if (s.status === EXTRA_STATE) {\\n if (s.gzhead.extra/* != Z_NULL*/) {\\n let beg = s.pending; /* start of bytes to update crc */\\n let left = (s.gzhead.extra.length & 0xffff) - s.gzindex;\\n while (s.pending + left > s.pending_buf_size) {\\n let copy = s.pending_buf_size - s.pending;\\n // zmemcpy(s.pending_buf + s.pending,\\n // s.gzhead.extra + s.gzindex, copy);\\n s.pending_buf.set(s.gzhead.extra.subarray(s.gzindex, s.gzindex + copy), s.pending);\\n s.pending = s.pending_buf_size;\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n s.gzindex += copy;\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n beg = 0;\\n left -= copy;\\n }\\n // JS specific: s.gzhead.extra may be TypedArray or Array for backward compatibility\\n // TypedArray.slice and TypedArray.from don't exist in IE10-IE11\\n let gzhead_extra = new Uint8Array(s.gzhead.extra);\\n // zmemcpy(s->pending_buf + s->pending,\\n // s->gzhead->extra + s->gzindex, left);\\n s.pending_buf.set(gzhead_extra.subarray(s.gzindex, s.gzindex + left), s.pending);\\n s.pending += left;\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n s.gzindex = 0;\\n }\\n s.status = NAME_STATE;\\n }\\n if (s.status === NAME_STATE) {\\n if (s.gzhead.name/* != Z_NULL*/) {\\n let beg = s.pending; /* start of bytes to update crc */\\n let val;\\n do {\\n if (s.pending === s.pending_buf_size) {\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n beg = 0;\\n }\\n // JS specific: little magic to add zero terminator to end of string\\n if (s.gzindex < s.gzhead.name.length) {\\n val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;\\n } else {\\n val = 0;\\n }\\n put_byte(s, val);\\n } while (val !== 0);\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n s.gzindex = 0;\\n }\\n s.status = COMMENT_STATE;\\n }\\n if (s.status === COMMENT_STATE) {\\n if (s.gzhead.comment/* != Z_NULL*/) {\\n let beg = s.pending; /* start of bytes to update crc */\\n let val;\\n do {\\n if (s.pending === s.pending_buf_size) {\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n beg = 0;\\n }\\n // JS specific: little magic to add zero terminator to end of string\\n if (s.gzindex < s.gzhead.comment.length) {\\n val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;\\n } else {\\n val = 0;\\n }\\n put_byte(s, val);\\n } while (val !== 0);\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n }\\n s.status = HCRC_STATE;\\n }\\n if (s.status === HCRC_STATE) {\\n if (s.gzhead.hcrc) {\\n if (s.pending + 2 > s.pending_buf_size) {\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n put_byte(s, strm.adler & 0xff);\\n put_byte(s, (strm.adler >> 8) & 0xff);\\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\\n }\\n s.status = BUSY_STATE;\\n\\n /* Compression must start with an empty pending buffer */\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n//#endif\\n\\n /* Start a new block or continue the current one.\\n */\\n if (strm.avail_in !== 0 || s.lookahead !== 0 ||\\n (flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {\\n let bstate = s.level === 0 ? deflate_stored(s, flush) :\\n s.strategy === Z_HUFFMAN_ONLY ? deflate_huff(s, flush) :\\n s.strategy === Z_RLE ? deflate_rle(s, flush) :\\n configuration_table[s.level].func(s, flush);\\n\\n if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {\\n s.status = FINISH_STATE;\\n }\\n if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {\\n if (strm.avail_out === 0) {\\n s.last_flush = -1;\\n /* avoid BUF_ERROR next call, see above */\\n }\\n return Z_OK;\\n /* If flush != Z_NO_FLUSH && avail_out == 0, the next call\\n * of deflate should use the same flush parameter to make sure\\n * that the flush is complete. So we don't have to output an\\n * empty block here, this will be done at next call. This also\\n * ensures that for a very small output buffer, we emit at most\\n * one empty block.\\n */\\n }\\n if (bstate === BS_BLOCK_DONE) {\\n if (flush === Z_PARTIAL_FLUSH) {\\n _tr_align(s);\\n }\\n else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */\\n\\n _tr_stored_block(s, 0, 0, false);\\n /* For a full flush, this empty block will be recognized\\n * as a special marker by inflate_sync().\\n */\\n if (flush === Z_FULL_FLUSH) {\\n /*** CLEAR_HASH(s); ***/ /* forget history */\\n zero(s.head); // Fill with NIL (= 0);\\n\\n if (s.lookahead === 0) {\\n s.strstart = 0;\\n s.block_start = 0;\\n s.insert = 0;\\n }\\n }\\n }\\n flush_pending(strm);\\n if (strm.avail_out === 0) {\\n s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */\\n return Z_OK;\\n }\\n }\\n }\\n\\n if (flush !== Z_FINISH) { return Z_OK; }\\n if (s.wrap <= 0) { return Z_STREAM_END; }\\n\\n /* Write the trailer */\\n if (s.wrap === 2) {\\n put_byte(s, strm.adler & 0xff);\\n put_byte(s, (strm.adler >> 8) & 0xff);\\n put_byte(s, (strm.adler >> 16) & 0xff);\\n put_byte(s, (strm.adler >> 24) & 0xff);\\n put_byte(s, strm.total_in & 0xff);\\n put_byte(s, (strm.total_in >> 8) & 0xff);\\n put_byte(s, (strm.total_in >> 16) & 0xff);\\n put_byte(s, (strm.total_in >> 24) & 0xff);\\n }\\n else\\n {\\n putShortMSB(s, strm.adler >>> 16);\\n putShortMSB(s, strm.adler & 0xffff);\\n }\\n\\n flush_pending(strm);\\n /* If avail_out is zero, the application will call deflate again\\n * to flush the rest.\\n */\\n if (s.wrap > 0) { s.wrap = -s.wrap; }\\n /* write the trailer only once! */\\n return s.pending !== 0 ? Z_OK : Z_STREAM_END;\\n};\\n\\n\\nconst deflateEnd = (strm) => {\\n\\n if (deflateStateCheck(strm)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n const status = strm.state.status;\\n\\n strm.state = null;\\n\\n return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;\\n};\\n\\n\\n/* =========================================================================\\n * Initializes the compression dictionary from the given byte\\n * sequence without producing any compressed output.\\n */\\nconst deflateSetDictionary = (strm, dictionary) => {\\n\\n let dictLength = dictionary.length;\\n\\n if (deflateStateCheck(strm)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n const s = strm.state;\\n const wrap = s.wrap;\\n\\n if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {\\n return Z_STREAM_ERROR;\\n }\\n\\n /* when using zlib wrappers, compute Adler-32 for provided dictionary */\\n if (wrap === 1) {\\n /* adler32(strm->adler, dictionary, dictLength); */\\n strm.adler = adler32(strm.adler, dictionary, dictLength, 0);\\n }\\n\\n s.wrap = 0; /* avoid computing Adler-32 in read_buf */\\n\\n /* if dictionary would fill window, just replace the history */\\n if (dictLength >= s.w_size) {\\n if (wrap === 0) { /* already empty otherwise */\\n /*** CLEAR_HASH(s); ***/\\n zero(s.head); // Fill with NIL (= 0);\\n s.strstart = 0;\\n s.block_start = 0;\\n s.insert = 0;\\n }\\n /* use the tail */\\n // dictionary = dictionary.slice(dictLength - s.w_size);\\n let tmpDict = new Uint8Array(s.w_size);\\n tmpDict.set(dictionary.subarray(dictLength - s.w_size, dictLength), 0);\\n dictionary = tmpDict;\\n dictLength = s.w_size;\\n }\\n /* insert dictionary into window and hash */\\n const avail = strm.avail_in;\\n const next = strm.next_in;\\n const input = strm.input;\\n strm.avail_in = dictLength;\\n strm.next_in = 0;\\n strm.input = dictionary;\\n fill_window(s);\\n while (s.lookahead >= MIN_MATCH) {\\n let str = s.strstart;\\n let n = s.lookahead - (MIN_MATCH - 1);\\n do {\\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\\n\\n s.prev[str & s.w_mask] = s.head[s.ins_h];\\n\\n s.head[s.ins_h] = str;\\n str++;\\n } while (--n);\\n s.strstart = str;\\n s.lookahead = MIN_MATCH - 1;\\n fill_window(s);\\n }\\n s.strstart += s.lookahead;\\n s.block_start = s.strstart;\\n s.insert = s.lookahead;\\n s.lookahead = 0;\\n s.match_length = s.prev_length = MIN_MATCH - 1;\\n s.match_available = 0;\\n strm.next_in = next;\\n strm.input = input;\\n strm.avail_in = avail;\\n s.wrap = wrap;\\n return Z_OK;\\n};\\n\\n\\nmodule.exports.deflateInit = deflateInit;\\nmodule.exports.deflateInit2 = deflateInit2;\\nmodule.exports.deflateReset = deflateReset;\\nmodule.exports.deflateResetKeep = deflateResetKeep;\\nmodule.exports.deflateSetHeader = deflateSetHeader;\\nmodule.exports.deflate = deflate;\\nmodule.exports.deflateEnd = deflateEnd;\\nmodule.exports.deflateSetDictionary = deflateSetDictionary;\\nmodule.exports.deflateInfo = 'pako deflate (from Nodeca project)';\\n\\n/* Not implemented\\nmodule.exports.deflateBound = deflateBound;\\nmodule.exports.deflateCopy = deflateCopy;\\nmodule.exports.deflateGetDictionary = deflateGetDictionary;\\nmodule.exports.deflateParams = deflateParams;\\nmodule.exports.deflatePending = deflatePending;\\nmodule.exports.deflatePrime = deflatePrime;\\nmodule.exports.deflateTune = deflateTune;\\n*/\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/deflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/gzheader.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/gzheader.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nfunction GZheader() {\\n /* true if compressed data believed to be text */\\n this.text = 0;\\n /* modification time */\\n this.time = 0;\\n /* extra flags (not used when writing a gzip file) */\\n this.xflags = 0;\\n /* operating system */\\n this.os = 0;\\n /* pointer to extra field or Z_NULL if none */\\n this.extra = null;\\n /* extra field length (valid if extra != Z_NULL) */\\n this.extra_len = 0; // Actually, we don't need it in JS,\\n // but leave for few code modifications\\n\\n //\\n // Setup limits is not necessary because in js we should not preallocate memory\\n // for inflate use constant limit in 65536 bytes\\n //\\n\\n /* space at extra (only when reading header) */\\n // this.extra_max = 0;\\n /* pointer to zero-terminated file name or Z_NULL */\\n this.name = '';\\n /* space at name (only when reading header) */\\n // this.name_max = 0;\\n /* pointer to zero-terminated comment or Z_NULL */\\n this.comment = '';\\n /* space at comment (only when reading header) */\\n // this.comm_max = 0;\\n /* true if there was or will be a header crc */\\n this.hcrc = 0;\\n /* true when done reading gzip header (not used when writing a gzip file) */\\n this.done = false;\\n}\\n\\nmodule.exports = GZheader;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/gzheader.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/inffast.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/inffast.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\n// See state defs from inflate.js\\nconst BAD = 16209; /* got a data error -- remain here until reset */\\nconst TYPE = 16191; /* i: waiting for type bits, including last-flag bit */\\n\\n/*\\n Decode literal, length, and distance codes and write out the resulting\\n literal and match bytes until either not enough input or output is\\n available, an end-of-block is encountered, or a data error is encountered.\\n When large enough input and output buffers are supplied to inflate(), for\\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\\n inflate execution time is spent in this routine.\\n\\n Entry assumptions:\\n\\n state.mode === LEN\\n strm.avail_in >= 6\\n strm.avail_out >= 258\\n start >= strm.avail_out\\n state.bits < 8\\n\\n On return, state.mode is one of:\\n\\n LEN -- ran out of enough output space or enough available input\\n TYPE -- reached end of block code, inflate() to interpret next block\\n BAD -- error in block data\\n\\n Notes:\\n\\n - The maximum input bits used by a length/distance pair is 15 bits for the\\n length code, 5 bits for the length extra, 15 bits for the distance code,\\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\\n checking for available input while decoding.\\n\\n - The maximum bytes that a single length/distance pair can output is 258\\n bytes, which is the maximum length that can be coded. inflate_fast()\\n requires strm.avail_out >= 258 for each loop to avoid checking for\\n output space.\\n */\\nmodule.exports = function inflate_fast(strm, start) {\\n let _in; /* local strm.input */\\n let last; /* have enough input while in < last */\\n let _out; /* local strm.output */\\n let beg; /* inflate()'s initial strm.output */\\n let end; /* while out < end, enough space available */\\n//#ifdef INFLATE_STRICT\\n let dmax; /* maximum distance from zlib header */\\n//#endif\\n let wsize; /* window size or zero if not using window */\\n let whave; /* valid bytes in the window */\\n let wnext; /* window write index */\\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\\n let s_window; /* allocated sliding window, if wsize != 0 */\\n let hold; /* local strm.hold */\\n let bits; /* local strm.bits */\\n let lcode; /* local strm.lencode */\\n let dcode; /* local strm.distcode */\\n let lmask; /* mask for first level of length codes */\\n let dmask; /* mask for first level of distance codes */\\n let here; /* retrieved table entry */\\n let op; /* code bits, operation, extra bits, or */\\n /* window position, window bytes to copy */\\n let len; /* match length, unused bytes */\\n let dist; /* match distance */\\n let from; /* where to copy match from */\\n let from_source;\\n\\n\\n let input, output; // JS specific, because we have no pointers\\n\\n /* copy state to local variables */\\n const state = strm.state;\\n //here = state.here;\\n _in = strm.next_in;\\n input = strm.input;\\n last = _in + (strm.avail_in - 5);\\n _out = strm.next_out;\\n output = strm.output;\\n beg = _out - (start - strm.avail_out);\\n end = _out + (strm.avail_out - 257);\\n//#ifdef INFLATE_STRICT\\n dmax = state.dmax;\\n//#endif\\n wsize = state.wsize;\\n whave = state.whave;\\n wnext = state.wnext;\\n s_window = state.window;\\n hold = state.hold;\\n bits = state.bits;\\n lcode = state.lencode;\\n dcode = state.distcode;\\n lmask = (1 << state.lenbits) - 1;\\n dmask = (1 << state.distbits) - 1;\\n\\n\\n /* decode literals and length/distances until end-of-block or not enough\\n input data or output space */\\n\\n top:\\n do {\\n if (bits < 15) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n\\n here = lcode[hold & lmask];\\n\\n dolen:\\n for (;;) { // Goto emulation\\n op = here >>> 24/*here.bits*/;\\n hold >>>= op;\\n bits -= op;\\n op = (here >>> 16) & 0xff/*here.op*/;\\n if (op === 0) { /* literal */\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\n // \\\"inflate: literal '%c'\\\\n\\\" :\\n // \\\"inflate: literal 0x%02x\\\\n\\\", here.val));\\n output[_out++] = here & 0xffff/*here.val*/;\\n }\\n else if (op & 16) { /* length base */\\n len = here & 0xffff/*here.val*/;\\n op &= 15; /* number of extra bits */\\n if (op) {\\n if (bits < op) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n len += hold & ((1 << op) - 1);\\n hold >>>= op;\\n bits -= op;\\n }\\n //Tracevv((stderr, \\\"inflate: length %u\\\\n\\\", len));\\n if (bits < 15) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n here = dcode[hold & dmask];\\n\\n dodist:\\n for (;;) { // goto emulation\\n op = here >>> 24/*here.bits*/;\\n hold >>>= op;\\n bits -= op;\\n op = (here >>> 16) & 0xff/*here.op*/;\\n\\n if (op & 16) { /* distance base */\\n dist = here & 0xffff/*here.val*/;\\n op &= 15; /* number of extra bits */\\n if (bits < op) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n if (bits < op) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n }\\n dist += hold & ((1 << op) - 1);\\n//#ifdef INFLATE_STRICT\\n if (dist > dmax) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break top;\\n }\\n//#endif\\n hold >>>= op;\\n bits -= op;\\n //Tracevv((stderr, \\\"inflate: distance %u\\\\n\\\", dist));\\n op = _out - beg; /* max distance in output */\\n if (dist > op) { /* see if copy from window */\\n op = dist - op; /* distance back in window */\\n if (op > whave) {\\n if (state.sane) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break top;\\n }\\n\\n// (!) This block is disabled in zlib defaults,\\n// don't enable it for binary compatibility\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\n// if (len <= op - whave) {\\n// do {\\n// output[_out++] = 0;\\n// } while (--len);\\n// continue top;\\n// }\\n// len -= op - whave;\\n// do {\\n// output[_out++] = 0;\\n// } while (--op > whave);\\n// if (op === 0) {\\n// from = _out - dist;\\n// do {\\n// output[_out++] = output[from++];\\n// } while (--len);\\n// continue top;\\n// }\\n//#endif\\n }\\n from = 0; // window index\\n from_source = s_window;\\n if (wnext === 0) { /* very common case */\\n from += wsize - op;\\n if (op < len) { /* some from window */\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = _out - dist; /* rest from output */\\n from_source = output;\\n }\\n }\\n else if (wnext < op) { /* wrap around window */\\n from += wsize + wnext - op;\\n op -= wnext;\\n if (op < len) { /* some from end of window */\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = 0;\\n if (wnext < len) { /* some from start of window */\\n op = wnext;\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = _out - dist; /* rest from output */\\n from_source = output;\\n }\\n }\\n }\\n else { /* contiguous in window */\\n from += wnext - op;\\n if (op < len) { /* some from window */\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = _out - dist; /* rest from output */\\n from_source = output;\\n }\\n }\\n while (len > 2) {\\n output[_out++] = from_source[from++];\\n output[_out++] = from_source[from++];\\n output[_out++] = from_source[from++];\\n len -= 3;\\n }\\n if (len) {\\n output[_out++] = from_source[from++];\\n if (len > 1) {\\n output[_out++] = from_source[from++];\\n }\\n }\\n }\\n else {\\n from = _out - dist; /* copy direct from output */\\n do { /* minimum length is three */\\n output[_out++] = output[from++];\\n output[_out++] = output[from++];\\n output[_out++] = output[from++];\\n len -= 3;\\n } while (len > 2);\\n if (len) {\\n output[_out++] = output[from++];\\n if (len > 1) {\\n output[_out++] = output[from++];\\n }\\n }\\n }\\n }\\n else if ((op & 64) === 0) { /* 2nd level distance code */\\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\n continue dodist;\\n }\\n else {\\n strm.msg = 'invalid distance code';\\n state.mode = BAD;\\n break top;\\n }\\n\\n break; // need to emulate goto via \\\"continue\\\"\\n }\\n }\\n else if ((op & 64) === 0) { /* 2nd level length code */\\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\n continue dolen;\\n }\\n else if (op & 32) { /* end-of-block */\\n //Tracevv((stderr, \\\"inflate: end of block\\\\n\\\"));\\n state.mode = TYPE;\\n break top;\\n }\\n else {\\n strm.msg = 'invalid literal/length code';\\n state.mode = BAD;\\n break top;\\n }\\n\\n break; // need to emulate goto via \\\"continue\\\"\\n }\\n } while (_in < last && _out < end);\\n\\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\\n len = bits >> 3;\\n _in -= len;\\n bits -= len << 3;\\n hold &= (1 << bits) - 1;\\n\\n /* update state and return */\\n strm.next_in = _in;\\n strm.next_out = _out;\\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\\n state.hold = hold;\\n state.bits = bits;\\n return;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/inffast.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/inflate.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/inflate.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst adler32 = __webpack_require__(/*! ./adler32 */ \\\"./node_modules/pako/lib/zlib/adler32.js\\\");\\nconst crc32 = __webpack_require__(/*! ./crc32 */ \\\"./node_modules/pako/lib/zlib/crc32.js\\\");\\nconst inflate_fast = __webpack_require__(/*! ./inffast */ \\\"./node_modules/pako/lib/zlib/inffast.js\\\");\\nconst inflate_table = __webpack_require__(/*! ./inftrees */ \\\"./node_modules/pako/lib/zlib/inftrees.js\\\");\\n\\nconst CODES = 0;\\nconst LENS = 1;\\nconst DISTS = 2;\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_FINISH, Z_BLOCK, Z_TREES,\\n Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_BUF_ERROR,\\n Z_DEFLATED\\n} = __webpack_require__(/*! ./constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n\\n/* STATES ====================================================================*/\\n/* ===========================================================================*/\\n\\n\\nconst HEAD = 16180; /* i: waiting for magic header */\\nconst FLAGS = 16181; /* i: waiting for method and flags (gzip) */\\nconst TIME = 16182; /* i: waiting for modification time (gzip) */\\nconst OS = 16183; /* i: waiting for extra flags and operating system (gzip) */\\nconst EXLEN = 16184; /* i: waiting for extra length (gzip) */\\nconst EXTRA = 16185; /* i: waiting for extra bytes (gzip) */\\nconst NAME = 16186; /* i: waiting for end of file name (gzip) */\\nconst COMMENT = 16187; /* i: waiting for end of comment (gzip) */\\nconst HCRC = 16188; /* i: waiting for header crc (gzip) */\\nconst DICTID = 16189; /* i: waiting for dictionary check value */\\nconst DICT = 16190; /* waiting for inflateSetDictionary() call */\\nconst TYPE = 16191; /* i: waiting for type bits, including last-flag bit */\\nconst TYPEDO = 16192; /* i: same, but skip check to exit inflate on new block */\\nconst STORED = 16193; /* i: waiting for stored size (length and complement) */\\nconst COPY_ = 16194; /* i/o: same as COPY below, but only first time in */\\nconst COPY = 16195; /* i/o: waiting for input or output to copy stored block */\\nconst TABLE = 16196; /* i: waiting for dynamic block table lengths */\\nconst LENLENS = 16197; /* i: waiting for code length code lengths */\\nconst CODELENS = 16198; /* i: waiting for length/lit and distance code lengths */\\nconst LEN_ = 16199; /* i: same as LEN below, but only first time in */\\nconst LEN = 16200; /* i: waiting for length/lit/eob code */\\nconst LENEXT = 16201; /* i: waiting for length extra bits */\\nconst DIST = 16202; /* i: waiting for distance code */\\nconst DISTEXT = 16203; /* i: waiting for distance extra bits */\\nconst MATCH = 16204; /* o: waiting for output space to copy string */\\nconst LIT = 16205; /* o: waiting for output space to write literal */\\nconst CHECK = 16206; /* i: waiting for 32-bit check value */\\nconst LENGTH = 16207; /* i: waiting for 32-bit length (gzip) */\\nconst DONE = 16208; /* finished check, done -- remain here until reset */\\nconst BAD = 16209; /* got a data error -- remain here until reset */\\nconst MEM = 16210; /* got an inflate() memory error -- remain here until reset */\\nconst SYNC = 16211; /* looking for synchronization bytes to restart inflate() */\\n\\n/* ===========================================================================*/\\n\\n\\n\\nconst ENOUGH_LENS = 852;\\nconst ENOUGH_DISTS = 592;\\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\n\\nconst MAX_WBITS = 15;\\n/* 32K LZ77 window */\\nconst DEF_WBITS = MAX_WBITS;\\n\\n\\nconst zswap32 = (q) => {\\n\\n return (((q >>> 24) & 0xff) +\\n ((q >>> 8) & 0xff00) +\\n ((q & 0xff00) << 8) +\\n ((q & 0xff) << 24));\\n};\\n\\n\\nfunction InflateState() {\\n this.strm = null; /* pointer back to this zlib stream */\\n this.mode = 0; /* current inflate mode */\\n this.last = false; /* true if processing last block */\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip,\\n bit 2 true to validate check value */\\n this.havedict = false; /* true if dictionary provided */\\n this.flags = 0; /* gzip header method and flags (0 if zlib), or\\n -1 if raw or no header yet */\\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\\n this.check = 0; /* protected copy of check value */\\n this.total = 0; /* protected copy of output count */\\n // TODO: may be {}\\n this.head = null; /* where to save gzip header information */\\n\\n /* sliding window */\\n this.wbits = 0; /* log base 2 of requested window size */\\n this.wsize = 0; /* window size or zero if not using window */\\n this.whave = 0; /* valid bytes in the window */\\n this.wnext = 0; /* window write index */\\n this.window = null; /* allocated sliding window, if needed */\\n\\n /* bit accumulator */\\n this.hold = 0; /* input bit accumulator */\\n this.bits = 0; /* number of bits in \\\"in\\\" */\\n\\n /* for string and stored block copying */\\n this.length = 0; /* literal or length of data to copy */\\n this.offset = 0; /* distance back to copy string from */\\n\\n /* for table and code decoding */\\n this.extra = 0; /* extra bits needed */\\n\\n /* fixed and dynamic code tables */\\n this.lencode = null; /* starting table for length/literal codes */\\n this.distcode = null; /* starting table for distance codes */\\n this.lenbits = 0; /* index bits for lencode */\\n this.distbits = 0; /* index bits for distcode */\\n\\n /* dynamic table building */\\n this.ncode = 0; /* number of code length code lengths */\\n this.nlen = 0; /* number of length code lengths */\\n this.ndist = 0; /* number of distance code lengths */\\n this.have = 0; /* number of code lengths in lens[] */\\n this.next = null; /* next available space in codes[] */\\n\\n this.lens = new Uint16Array(320); /* temporary storage for code lengths */\\n this.work = new Uint16Array(288); /* work area for code table building */\\n\\n /*\\n because we don't have pointers in js, we use lencode and distcode directly\\n as buffers so we don't need codes\\n */\\n //this.codes = new Int32Array(ENOUGH); /* space for code tables */\\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\\n this.sane = 0; /* if false, allow invalid distance too far */\\n this.back = 0; /* bits back of last unprocessed length/lit */\\n this.was = 0; /* initial length of match */\\n}\\n\\n\\nconst inflateStateCheck = (strm) => {\\n\\n if (!strm) {\\n return 1;\\n }\\n const state = strm.state;\\n if (!state || state.strm !== strm ||\\n state.mode < HEAD || state.mode > SYNC) {\\n return 1;\\n }\\n return 0;\\n};\\n\\n\\nconst inflateResetKeep = (strm) => {\\n\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n strm.total_in = strm.total_out = state.total = 0;\\n strm.msg = ''; /*Z_NULL*/\\n if (state.wrap) { /* to support ill-conceived Java test suite */\\n strm.adler = state.wrap & 1;\\n }\\n state.mode = HEAD;\\n state.last = 0;\\n state.havedict = 0;\\n state.flags = -1;\\n state.dmax = 32768;\\n state.head = null/*Z_NULL*/;\\n state.hold = 0;\\n state.bits = 0;\\n //state.lencode = state.distcode = state.next = state.codes;\\n state.lencode = state.lendyn = new Int32Array(ENOUGH_LENS);\\n state.distcode = state.distdyn = new Int32Array(ENOUGH_DISTS);\\n\\n state.sane = 1;\\n state.back = -1;\\n //Tracev((stderr, \\\"inflate: reset\\\\n\\\"));\\n return Z_OK;\\n};\\n\\n\\nconst inflateReset = (strm) => {\\n\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n state.wsize = 0;\\n state.whave = 0;\\n state.wnext = 0;\\n return inflateResetKeep(strm);\\n\\n};\\n\\n\\nconst inflateReset2 = (strm, windowBits) => {\\n let wrap;\\n\\n /* get the state */\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n\\n /* extract wrap request from windowBits parameter */\\n if (windowBits < 0) {\\n wrap = 0;\\n windowBits = -windowBits;\\n }\\n else {\\n wrap = (windowBits >> 4) + 5;\\n if (windowBits < 48) {\\n windowBits &= 15;\\n }\\n }\\n\\n /* set number of window bits, free window if different */\\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\\n return Z_STREAM_ERROR;\\n }\\n if (state.window !== null && state.wbits !== windowBits) {\\n state.window = null;\\n }\\n\\n /* update state and reset the rest of it */\\n state.wrap = wrap;\\n state.wbits = windowBits;\\n return inflateReset(strm);\\n};\\n\\n\\nconst inflateInit2 = (strm, windowBits) => {\\n\\n if (!strm) { return Z_STREAM_ERROR; }\\n //strm.msg = Z_NULL; /* in case we return an error */\\n\\n const state = new InflateState();\\n\\n //if (state === Z_NULL) return Z_MEM_ERROR;\\n //Tracev((stderr, \\\"inflate: allocated\\\\n\\\"));\\n strm.state = state;\\n state.strm = strm;\\n state.window = null/*Z_NULL*/;\\n state.mode = HEAD; /* to pass state test in inflateReset2() */\\n const ret = inflateReset2(strm, windowBits);\\n if (ret !== Z_OK) {\\n strm.state = null/*Z_NULL*/;\\n }\\n return ret;\\n};\\n\\n\\nconst inflateInit = (strm) => {\\n\\n return inflateInit2(strm, DEF_WBITS);\\n};\\n\\n\\n/*\\n Return state with length and distance decoding tables and index sizes set to\\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\\n If BUILDFIXED is defined, then instead this routine builds the tables the\\n first time it's called, and returns those tables the first time and\\n thereafter. This reduces the size of the code by about 2K bytes, in\\n exchange for a little execution time. However, BUILDFIXED should not be\\n used for threaded applications, since the rewriting of the tables and virgin\\n may not be thread-safe.\\n */\\nlet virgin = true;\\n\\nlet lenfix, distfix; // We have no pointers in JS, so keep tables separate\\n\\n\\nconst fixedtables = (state) => {\\n\\n /* build fixed huffman tables if first call (may not be thread safe) */\\n if (virgin) {\\n lenfix = new Int32Array(512);\\n distfix = new Int32Array(32);\\n\\n /* literal/length table */\\n let sym = 0;\\n while (sym < 144) { state.lens[sym++] = 8; }\\n while (sym < 256) { state.lens[sym++] = 9; }\\n while (sym < 280) { state.lens[sym++] = 7; }\\n while (sym < 288) { state.lens[sym++] = 8; }\\n\\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\\n\\n /* distance table */\\n sym = 0;\\n while (sym < 32) { state.lens[sym++] = 5; }\\n\\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\\n\\n /* do this just once */\\n virgin = false;\\n }\\n\\n state.lencode = lenfix;\\n state.lenbits = 9;\\n state.distcode = distfix;\\n state.distbits = 5;\\n};\\n\\n\\n/*\\n Update the window with the last wsize (normally 32K) bytes written before\\n returning. If window does not exist yet, create it. This is only called\\n when a window is already in use, or when output has been written during this\\n inflate call, but the end of the deflate stream has not been reached yet.\\n It is also called to create a window for dictionary data when a dictionary\\n is loaded.\\n\\n Providing output buffers larger than 32K to inflate() should provide a speed\\n advantage, since only the last 32K of output is copied to the sliding window\\n upon return from inflate(), and since all distances after the first 32K of\\n output will fall in the output data, making match copies simpler and faster.\\n The advantage may be dependent on the size of the processor's data caches.\\n */\\nconst updatewindow = (strm, src, end, copy) => {\\n\\n let dist;\\n const state = strm.state;\\n\\n /* if it hasn't been done already, allocate space for the window */\\n if (state.window === null) {\\n state.wsize = 1 << state.wbits;\\n state.wnext = 0;\\n state.whave = 0;\\n\\n state.window = new Uint8Array(state.wsize);\\n }\\n\\n /* copy state->wsize or less output bytes into the circular window */\\n if (copy >= state.wsize) {\\n state.window.set(src.subarray(end - state.wsize, end), 0);\\n state.wnext = 0;\\n state.whave = state.wsize;\\n }\\n else {\\n dist = state.wsize - state.wnext;\\n if (dist > copy) {\\n dist = copy;\\n }\\n //zmemcpy(state->window + state->wnext, end - copy, dist);\\n state.window.set(src.subarray(end - copy, end - copy + dist), state.wnext);\\n copy -= dist;\\n if (copy) {\\n //zmemcpy(state->window, end - copy, copy);\\n state.window.set(src.subarray(end - copy, end), 0);\\n state.wnext = copy;\\n state.whave = state.wsize;\\n }\\n else {\\n state.wnext += dist;\\n if (state.wnext === state.wsize) { state.wnext = 0; }\\n if (state.whave < state.wsize) { state.whave += dist; }\\n }\\n }\\n return 0;\\n};\\n\\n\\nconst inflate = (strm, flush) => {\\n\\n let state;\\n let input, output; // input/output buffers\\n let next; /* next input INDEX */\\n let put; /* next output INDEX */\\n let have, left; /* available input and output */\\n let hold; /* bit buffer */\\n let bits; /* bits in bit buffer */\\n let _in, _out; /* save starting available input and output */\\n let copy; /* number of stored or match bytes to copy */\\n let from; /* where to copy match bytes from */\\n let from_source;\\n let here = 0; /* current decoding table entry */\\n let here_bits, here_op, here_val; // paked \\\"here\\\" denormalized (JS specific)\\n //let last; /* parent table entry */\\n let last_bits, last_op, last_val; // paked \\\"last\\\" denormalized (JS specific)\\n let len; /* length to copy for repeats, bits to drop */\\n let ret; /* return code */\\n const hbuf = new Uint8Array(4); /* buffer for gzip header crc calculation */\\n let opts;\\n\\n let n; // temporary variable for NEED_BITS\\n\\n const order = /* permutation of code lengths */\\n new Uint8Array([ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ]);\\n\\n\\n if (inflateStateCheck(strm) || !strm.output ||\\n (!strm.input && strm.avail_in !== 0)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n state = strm.state;\\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\\n\\n\\n //--- LOAD() ---\\n put = strm.next_out;\\n output = strm.output;\\n left = strm.avail_out;\\n next = strm.next_in;\\n input = strm.input;\\n have = strm.avail_in;\\n hold = state.hold;\\n bits = state.bits;\\n //---\\n\\n _in = have;\\n _out = left;\\n ret = Z_OK;\\n\\n inf_leave: // goto emulation\\n for (;;) {\\n switch (state.mode) {\\n case HEAD:\\n if (state.wrap === 0) {\\n state.mode = TYPEDO;\\n break;\\n }\\n //=== NEEDBITS(16);\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\\n if (state.wbits === 0) {\\n state.wbits = 15;\\n }\\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = FLAGS;\\n break;\\n }\\n if (state.head) {\\n state.head.done = false;\\n }\\n if (!(state.wrap & 1) || /* check if zlib header allowed */\\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\\n strm.msg = 'incorrect header check';\\n state.mode = BAD;\\n break;\\n }\\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\\n strm.msg = 'unknown compression method';\\n state.mode = BAD;\\n break;\\n }\\n //--- DROPBITS(4) ---//\\n hold >>>= 4;\\n bits -= 4;\\n //---//\\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\\n if (state.wbits === 0) {\\n state.wbits = len;\\n }\\n if (len > 15 || len > state.wbits) {\\n strm.msg = 'invalid window size';\\n state.mode = BAD;\\n break;\\n }\\n\\n // !!! pako patch. Force use `options.windowBits` if passed.\\n // Required to always use max window size by default.\\n state.dmax = 1 << state.wbits;\\n //state.dmax = 1 << len;\\n\\n state.flags = 0; /* indicate zlib header */\\n //Tracev((stderr, \\\"inflate: zlib header ok\\\\n\\\"));\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\n state.mode = hold & 0x200 ? DICTID : TYPE;\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n break;\\n case FLAGS:\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.flags = hold;\\n if ((state.flags & 0xff) !== Z_DEFLATED) {\\n strm.msg = 'unknown compression method';\\n state.mode = BAD;\\n break;\\n }\\n if (state.flags & 0xe000) {\\n strm.msg = 'unknown header flags set';\\n state.mode = BAD;\\n break;\\n }\\n if (state.head) {\\n state.head.text = ((hold >> 8) & 1);\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = TIME;\\n /* falls through */\\n case TIME:\\n //=== NEEDBITS(32); */\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if (state.head) {\\n state.head.time = hold;\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC4(state.check, hold)\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n hbuf[2] = (hold >>> 16) & 0xff;\\n hbuf[3] = (hold >>> 24) & 0xff;\\n state.check = crc32(state.check, hbuf, 4, 0);\\n //===\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = OS;\\n /* falls through */\\n case OS:\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if (state.head) {\\n state.head.xflags = (hold & 0xff);\\n state.head.os = (hold >> 8);\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = EXLEN;\\n /* falls through */\\n case EXLEN:\\n if (state.flags & 0x0400) {\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.length = hold;\\n if (state.head) {\\n state.head.extra_len = hold;\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n }\\n else if (state.head) {\\n state.head.extra = null/*Z_NULL*/;\\n }\\n state.mode = EXTRA;\\n /* falls through */\\n case EXTRA:\\n if (state.flags & 0x0400) {\\n copy = state.length;\\n if (copy > have) { copy = have; }\\n if (copy) {\\n if (state.head) {\\n len = state.head.extra_len - state.length;\\n if (!state.head.extra) {\\n // Use untyped array for more convenient processing later\\n state.head.extra = new Uint8Array(state.head.extra_len);\\n }\\n state.head.extra.set(\\n input.subarray(\\n next,\\n // extra field is limited to 65536 bytes\\n // - no need for additional size check\\n next + copy\\n ),\\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\\n len\\n );\\n //zmemcpy(state.head.extra + len, next,\\n // len + copy > state.head.extra_max ?\\n // state.head.extra_max - len : copy);\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n state.check = crc32(state.check, input, copy, next);\\n }\\n have -= copy;\\n next += copy;\\n state.length -= copy;\\n }\\n if (state.length) { break inf_leave; }\\n }\\n state.length = 0;\\n state.mode = NAME;\\n /* falls through */\\n case NAME:\\n if (state.flags & 0x0800) {\\n if (have === 0) { break inf_leave; }\\n copy = 0;\\n do {\\n // TODO: 2 or 1 bytes?\\n len = input[next + copy++];\\n /* use constant limit because in js we should not preallocate memory */\\n if (state.head && len &&\\n (state.length < 65536 /*state.head.name_max*/)) {\\n state.head.name += String.fromCharCode(len);\\n }\\n } while (len && copy < have);\\n\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n state.check = crc32(state.check, input, copy, next);\\n }\\n have -= copy;\\n next += copy;\\n if (len) { break inf_leave; }\\n }\\n else if (state.head) {\\n state.head.name = null;\\n }\\n state.length = 0;\\n state.mode = COMMENT;\\n /* falls through */\\n case COMMENT:\\n if (state.flags & 0x1000) {\\n if (have === 0) { break inf_leave; }\\n copy = 0;\\n do {\\n len = input[next + copy++];\\n /* use constant limit because in js we should not preallocate memory */\\n if (state.head && len &&\\n (state.length < 65536 /*state.head.comm_max*/)) {\\n state.head.comment += String.fromCharCode(len);\\n }\\n } while (len && copy < have);\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n state.check = crc32(state.check, input, copy, next);\\n }\\n have -= copy;\\n next += copy;\\n if (len) { break inf_leave; }\\n }\\n else if (state.head) {\\n state.head.comment = null;\\n }\\n state.mode = HCRC;\\n /* falls through */\\n case HCRC:\\n if (state.flags & 0x0200) {\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((state.wrap & 4) && hold !== (state.check & 0xffff)) {\\n strm.msg = 'header crc mismatch';\\n state.mode = BAD;\\n break;\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n }\\n if (state.head) {\\n state.head.hcrc = ((state.flags >> 9) & 1);\\n state.head.done = true;\\n }\\n strm.adler = state.check = 0;\\n state.mode = TYPE;\\n break;\\n case DICTID:\\n //=== NEEDBITS(32); */\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n strm.adler = state.check = zswap32(hold);\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = DICT;\\n /* falls through */\\n case DICT:\\n if (state.havedict === 0) {\\n //--- RESTORE() ---\\n strm.next_out = put;\\n strm.avail_out = left;\\n strm.next_in = next;\\n strm.avail_in = have;\\n state.hold = hold;\\n state.bits = bits;\\n //---\\n return Z_NEED_DICT;\\n }\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\n state.mode = TYPE;\\n /* falls through */\\n case TYPE:\\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\\n /* falls through */\\n case TYPEDO:\\n if (state.last) {\\n //--- BYTEBITS() ---//\\n hold >>>= bits & 7;\\n bits -= bits & 7;\\n //---//\\n state.mode = CHECK;\\n break;\\n }\\n //=== NEEDBITS(3); */\\n while (bits < 3) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.last = (hold & 0x01)/*BITS(1)*/;\\n //--- DROPBITS(1) ---//\\n hold >>>= 1;\\n bits -= 1;\\n //---//\\n\\n switch ((hold & 0x03)/*BITS(2)*/) {\\n case 0: /* stored block */\\n //Tracev((stderr, \\\"inflate: stored block%s\\\\n\\\",\\n // state.last ? \\\" (last)\\\" : \\\"\\\"));\\n state.mode = STORED;\\n break;\\n case 1: /* fixed block */\\n fixedtables(state);\\n //Tracev((stderr, \\\"inflate: fixed codes block%s\\\\n\\\",\\n // state.last ? \\\" (last)\\\" : \\\"\\\"));\\n state.mode = LEN_; /* decode codes */\\n if (flush === Z_TREES) {\\n //--- DROPBITS(2) ---//\\n hold >>>= 2;\\n bits -= 2;\\n //---//\\n break inf_leave;\\n }\\n break;\\n case 2: /* dynamic block */\\n //Tracev((stderr, \\\"inflate: dynamic codes block%s\\\\n\\\",\\n // state.last ? \\\" (last)\\\" : \\\"\\\"));\\n state.mode = TABLE;\\n break;\\n case 3:\\n strm.msg = 'invalid block type';\\n state.mode = BAD;\\n }\\n //--- DROPBITS(2) ---//\\n hold >>>= 2;\\n bits -= 2;\\n //---//\\n break;\\n case STORED:\\n //--- BYTEBITS() ---// /* go to byte boundary */\\n hold >>>= bits & 7;\\n bits -= bits & 7;\\n //---//\\n //=== NEEDBITS(32); */\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\\n strm.msg = 'invalid stored block lengths';\\n state.mode = BAD;\\n break;\\n }\\n state.length = hold & 0xffff;\\n //Tracev((stderr, \\\"inflate: stored length %u\\\\n\\\",\\n // state.length));\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = COPY_;\\n if (flush === Z_TREES) { break inf_leave; }\\n /* falls through */\\n case COPY_:\\n state.mode = COPY;\\n /* falls through */\\n case COPY:\\n copy = state.length;\\n if (copy) {\\n if (copy > have) { copy = have; }\\n if (copy > left) { copy = left; }\\n if (copy === 0) { break inf_leave; }\\n //--- zmemcpy(put, next, copy); ---\\n output.set(input.subarray(next, next + copy), put);\\n //---//\\n have -= copy;\\n next += copy;\\n left -= copy;\\n put += copy;\\n state.length -= copy;\\n break;\\n }\\n //Tracev((stderr, \\\"inflate: stored end\\\\n\\\"));\\n state.mode = TYPE;\\n break;\\n case TABLE:\\n //=== NEEDBITS(14); */\\n while (bits < 14) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\\n //--- DROPBITS(5) ---//\\n hold >>>= 5;\\n bits -= 5;\\n //---//\\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\\n //--- DROPBITS(5) ---//\\n hold >>>= 5;\\n bits -= 5;\\n //---//\\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\\n //--- DROPBITS(4) ---//\\n hold >>>= 4;\\n bits -= 4;\\n //---//\\n//#ifndef PKZIP_BUG_WORKAROUND\\n if (state.nlen > 286 || state.ndist > 30) {\\n strm.msg = 'too many length or distance symbols';\\n state.mode = BAD;\\n break;\\n }\\n//#endif\\n //Tracev((stderr, \\\"inflate: table sizes ok\\\\n\\\"));\\n state.have = 0;\\n state.mode = LENLENS;\\n /* falls through */\\n case LENLENS:\\n while (state.have < state.ncode) {\\n //=== NEEDBITS(3);\\n while (bits < 3) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\\n //--- DROPBITS(3) ---//\\n hold >>>= 3;\\n bits -= 3;\\n //---//\\n }\\n while (state.have < 19) {\\n state.lens[order[state.have++]] = 0;\\n }\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\n //state.next = state.codes;\\n //state.lencode = state.next;\\n // Switch to use dynamic table\\n state.lencode = state.lendyn;\\n state.lenbits = 7;\\n\\n opts = { bits: state.lenbits };\\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\\n state.lenbits = opts.bits;\\n\\n if (ret) {\\n strm.msg = 'invalid code lengths set';\\n state.mode = BAD;\\n break;\\n }\\n //Tracev((stderr, \\\"inflate: code lengths ok\\\\n\\\"));\\n state.have = 0;\\n state.mode = CODELENS;\\n /* falls through */\\n case CODELENS:\\n while (state.have < state.nlen + state.ndist) {\\n for (;;) {\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n if (here_val < 16) {\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n state.lens[state.have++] = here_val;\\n }\\n else {\\n if (here_val === 16) {\\n //=== NEEDBITS(here.bits + 2);\\n n = here_bits + 2;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n if (state.have === 0) {\\n strm.msg = 'invalid bit length repeat';\\n state.mode = BAD;\\n break;\\n }\\n len = state.lens[state.have - 1];\\n copy = 3 + (hold & 0x03);//BITS(2);\\n //--- DROPBITS(2) ---//\\n hold >>>= 2;\\n bits -= 2;\\n //---//\\n }\\n else if (here_val === 17) {\\n //=== NEEDBITS(here.bits + 3);\\n n = here_bits + 3;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n len = 0;\\n copy = 3 + (hold & 0x07);//BITS(3);\\n //--- DROPBITS(3) ---//\\n hold >>>= 3;\\n bits -= 3;\\n //---//\\n }\\n else {\\n //=== NEEDBITS(here.bits + 7);\\n n = here_bits + 7;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n len = 0;\\n copy = 11 + (hold & 0x7f);//BITS(7);\\n //--- DROPBITS(7) ---//\\n hold >>>= 7;\\n bits -= 7;\\n //---//\\n }\\n if (state.have + copy > state.nlen + state.ndist) {\\n strm.msg = 'invalid bit length repeat';\\n state.mode = BAD;\\n break;\\n }\\n while (copy--) {\\n state.lens[state.have++] = len;\\n }\\n }\\n }\\n\\n /* handle error breaks in while */\\n if (state.mode === BAD) { break; }\\n\\n /* check for end-of-block code (better have one) */\\n if (state.lens[256] === 0) {\\n strm.msg = 'invalid code -- missing end-of-block';\\n state.mode = BAD;\\n break;\\n }\\n\\n /* build code tables -- note: do not change the lenbits or distbits\\n values here (9 and 6) without reading the comments in inftrees.h\\n concerning the ENOUGH constants, which depend on those values */\\n state.lenbits = 9;\\n\\n opts = { bits: state.lenbits };\\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\n // state.next_index = opts.table_index;\\n state.lenbits = opts.bits;\\n // state.lencode = state.next;\\n\\n if (ret) {\\n strm.msg = 'invalid literal/lengths set';\\n state.mode = BAD;\\n break;\\n }\\n\\n state.distbits = 6;\\n //state.distcode.copy(state.codes);\\n // Switch to use dynamic table\\n state.distcode = state.distdyn;\\n opts = { bits: state.distbits };\\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\n // state.next_index = opts.table_index;\\n state.distbits = opts.bits;\\n // state.distcode = state.next;\\n\\n if (ret) {\\n strm.msg = 'invalid distances set';\\n state.mode = BAD;\\n break;\\n }\\n //Tracev((stderr, 'inflate: codes ok\\\\n'));\\n state.mode = LEN_;\\n if (flush === Z_TREES) { break inf_leave; }\\n /* falls through */\\n case LEN_:\\n state.mode = LEN;\\n /* falls through */\\n case LEN:\\n if (have >= 6 && left >= 258) {\\n //--- RESTORE() ---\\n strm.next_out = put;\\n strm.avail_out = left;\\n strm.next_in = next;\\n strm.avail_in = have;\\n state.hold = hold;\\n state.bits = bits;\\n //---\\n inflate_fast(strm, _out);\\n //--- LOAD() ---\\n put = strm.next_out;\\n output = strm.output;\\n left = strm.avail_out;\\n next = strm.next_in;\\n input = strm.input;\\n have = strm.avail_in;\\n hold = state.hold;\\n bits = state.bits;\\n //---\\n\\n if (state.mode === TYPE) {\\n state.back = -1;\\n }\\n break;\\n }\\n state.back = 0;\\n for (;;) {\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if (here_bits <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n if (here_op && (here_op & 0xf0) === 0) {\\n last_bits = here_bits;\\n last_op = here_op;\\n last_val = here_val;\\n for (;;) {\\n here = state.lencode[last_val +\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((last_bits + here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n //--- DROPBITS(last.bits) ---//\\n hold >>>= last_bits;\\n bits -= last_bits;\\n //---//\\n state.back += last_bits;\\n }\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n state.back += here_bits;\\n state.length = here_val;\\n if (here_op === 0) {\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\n // \\\"inflate: literal '%c'\\\\n\\\" :\\n // \\\"inflate: literal 0x%02x\\\\n\\\", here.val));\\n state.mode = LIT;\\n break;\\n }\\n if (here_op & 32) {\\n //Tracevv((stderr, \\\"inflate: end of block\\\\n\\\"));\\n state.back = -1;\\n state.mode = TYPE;\\n break;\\n }\\n if (here_op & 64) {\\n strm.msg = 'invalid literal/length code';\\n state.mode = BAD;\\n break;\\n }\\n state.extra = here_op & 15;\\n state.mode = LENEXT;\\n /* falls through */\\n case LENEXT:\\n if (state.extra) {\\n //=== NEEDBITS(state.extra);\\n n = state.extra;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\n //--- DROPBITS(state.extra) ---//\\n hold >>>= state.extra;\\n bits -= state.extra;\\n //---//\\n state.back += state.extra;\\n }\\n //Tracevv((stderr, \\\"inflate: length %u\\\\n\\\", state.length));\\n state.was = state.length;\\n state.mode = DIST;\\n /* falls through */\\n case DIST:\\n for (;;) {\\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n if ((here_op & 0xf0) === 0) {\\n last_bits = here_bits;\\n last_op = here_op;\\n last_val = here_val;\\n for (;;) {\\n here = state.distcode[last_val +\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((last_bits + here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n //--- DROPBITS(last.bits) ---//\\n hold >>>= last_bits;\\n bits -= last_bits;\\n //---//\\n state.back += last_bits;\\n }\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n state.back += here_bits;\\n if (here_op & 64) {\\n strm.msg = 'invalid distance code';\\n state.mode = BAD;\\n break;\\n }\\n state.offset = here_val;\\n state.extra = (here_op) & 15;\\n state.mode = DISTEXT;\\n /* falls through */\\n case DISTEXT:\\n if (state.extra) {\\n //=== NEEDBITS(state.extra);\\n n = state.extra;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\n //--- DROPBITS(state.extra) ---//\\n hold >>>= state.extra;\\n bits -= state.extra;\\n //---//\\n state.back += state.extra;\\n }\\n//#ifdef INFLATE_STRICT\\n if (state.offset > state.dmax) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break;\\n }\\n//#endif\\n //Tracevv((stderr, \\\"inflate: distance %u\\\\n\\\", state.offset));\\n state.mode = MATCH;\\n /* falls through */\\n case MATCH:\\n if (left === 0) { break inf_leave; }\\n copy = _out - left;\\n if (state.offset > copy) { /* copy from window */\\n copy = state.offset - copy;\\n if (copy > state.whave) {\\n if (state.sane) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break;\\n }\\n// (!) This block is disabled in zlib defaults,\\n// don't enable it for binary compatibility\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\n// Trace((stderr, \\\"inflate.c too far\\\\n\\\"));\\n// copy -= state.whave;\\n// if (copy > state.length) { copy = state.length; }\\n// if (copy > left) { copy = left; }\\n// left -= copy;\\n// state.length -= copy;\\n// do {\\n// output[put++] = 0;\\n// } while (--copy);\\n// if (state.length === 0) { state.mode = LEN; }\\n// break;\\n//#endif\\n }\\n if (copy > state.wnext) {\\n copy -= state.wnext;\\n from = state.wsize - copy;\\n }\\n else {\\n from = state.wnext - copy;\\n }\\n if (copy > state.length) { copy = state.length; }\\n from_source = state.window;\\n }\\n else { /* copy from output */\\n from_source = output;\\n from = put - state.offset;\\n copy = state.length;\\n }\\n if (copy > left) { copy = left; }\\n left -= copy;\\n state.length -= copy;\\n do {\\n output[put++] = from_source[from++];\\n } while (--copy);\\n if (state.length === 0) { state.mode = LEN; }\\n break;\\n case LIT:\\n if (left === 0) { break inf_leave; }\\n output[put++] = state.length;\\n left--;\\n state.mode = LEN;\\n break;\\n case CHECK:\\n if (state.wrap) {\\n //=== NEEDBITS(32);\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n // Use '|' instead of '+' to make sure that result is signed\\n hold |= input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n _out -= left;\\n strm.total_out += _out;\\n state.total += _out;\\n if ((state.wrap & 4) && _out) {\\n strm.adler = state.check =\\n /*UPDATE_CHECK(state.check, put - _out, _out);*/\\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\\n\\n }\\n _out = left;\\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\\n if ((state.wrap & 4) && (state.flags ? hold : zswap32(hold)) !== state.check) {\\n strm.msg = 'incorrect data check';\\n state.mode = BAD;\\n break;\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n //Tracev((stderr, \\\"inflate: check matches trailer\\\\n\\\"));\\n }\\n state.mode = LENGTH;\\n /* falls through */\\n case LENGTH:\\n if (state.wrap && state.flags) {\\n //=== NEEDBITS(32);\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((state.wrap & 4) && hold !== (state.total & 0xffffffff)) {\\n strm.msg = 'incorrect length check';\\n state.mode = BAD;\\n break;\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n //Tracev((stderr, \\\"inflate: length matches trailer\\\\n\\\"));\\n }\\n state.mode = DONE;\\n /* falls through */\\n case DONE:\\n ret = Z_STREAM_END;\\n break inf_leave;\\n case BAD:\\n ret = Z_DATA_ERROR;\\n break inf_leave;\\n case MEM:\\n return Z_MEM_ERROR;\\n case SYNC:\\n /* falls through */\\n default:\\n return Z_STREAM_ERROR;\\n }\\n }\\n\\n // inf_leave <- here is real place for \\\"goto inf_leave\\\", emulated via \\\"break inf_leave\\\"\\n\\n /*\\n Return from inflate(), updating the total counts and the check value.\\n If there was no progress during the inflate() call, return a buffer\\n error. Call updatewindow() to create and/or update the window state.\\n Note: a memory error from inflate() is non-recoverable.\\n */\\n\\n //--- RESTORE() ---\\n strm.next_out = put;\\n strm.avail_out = left;\\n strm.next_in = next;\\n strm.avail_in = have;\\n state.hold = hold;\\n state.bits = bits;\\n //---\\n\\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\\n (state.mode < CHECK || flush !== Z_FINISH))) {\\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\\n state.mode = MEM;\\n return Z_MEM_ERROR;\\n }\\n }\\n _in -= strm.avail_in;\\n _out -= strm.avail_out;\\n strm.total_in += _in;\\n strm.total_out += _out;\\n state.total += _out;\\n if ((state.wrap & 4) && _out) {\\n strm.adler = state.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/\\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\\n }\\n strm.data_type = state.bits + (state.last ? 64 : 0) +\\n (state.mode === TYPE ? 128 : 0) +\\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\\n ret = Z_BUF_ERROR;\\n }\\n return ret;\\n};\\n\\n\\nconst inflateEnd = (strm) => {\\n\\n if (inflateStateCheck(strm)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n let state = strm.state;\\n if (state.window) {\\n state.window = null;\\n }\\n strm.state = null;\\n return Z_OK;\\n};\\n\\n\\nconst inflateGetHeader = (strm, head) => {\\n\\n /* check state */\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\\n\\n /* save header structure */\\n state.head = head;\\n head.done = false;\\n return Z_OK;\\n};\\n\\n\\nconst inflateSetDictionary = (strm, dictionary) => {\\n const dictLength = dictionary.length;\\n\\n let state;\\n let dictid;\\n let ret;\\n\\n /* check state */\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n state = strm.state;\\n\\n if (state.wrap !== 0 && state.mode !== DICT) {\\n return Z_STREAM_ERROR;\\n }\\n\\n /* check for correct dictionary identifier */\\n if (state.mode === DICT) {\\n dictid = 1; /* adler32(0, null, 0)*/\\n /* dictid = adler32(dictid, dictionary, dictLength); */\\n dictid = adler32(dictid, dictionary, dictLength, 0);\\n if (dictid !== state.check) {\\n return Z_DATA_ERROR;\\n }\\n }\\n /* copy dictionary to window using updatewindow(), which will amend the\\n existing dictionary if appropriate */\\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\\n if (ret) {\\n state.mode = MEM;\\n return Z_MEM_ERROR;\\n }\\n state.havedict = 1;\\n // Tracev((stderr, \\\"inflate: dictionary set\\\\n\\\"));\\n return Z_OK;\\n};\\n\\n\\nmodule.exports.inflateReset = inflateReset;\\nmodule.exports.inflateReset2 = inflateReset2;\\nmodule.exports.inflateResetKeep = inflateResetKeep;\\nmodule.exports.inflateInit = inflateInit;\\nmodule.exports.inflateInit2 = inflateInit2;\\nmodule.exports.inflate = inflate;\\nmodule.exports.inflateEnd = inflateEnd;\\nmodule.exports.inflateGetHeader = inflateGetHeader;\\nmodule.exports.inflateSetDictionary = inflateSetDictionary;\\nmodule.exports.inflateInfo = 'pako inflate (from Nodeca project)';\\n\\n/* Not implemented\\nmodule.exports.inflateCodesUsed = inflateCodesUsed;\\nmodule.exports.inflateCopy = inflateCopy;\\nmodule.exports.inflateGetDictionary = inflateGetDictionary;\\nmodule.exports.inflateMark = inflateMark;\\nmodule.exports.inflatePrime = inflatePrime;\\nmodule.exports.inflateSync = inflateSync;\\nmodule.exports.inflateSyncPoint = inflateSyncPoint;\\nmodule.exports.inflateUndermine = inflateUndermine;\\nmodule.exports.inflateValidate = inflateValidate;\\n*/\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/inflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/inftrees.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/inftrees.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst MAXBITS = 15;\\nconst ENOUGH_LENS = 852;\\nconst ENOUGH_DISTS = 592;\\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\n\\nconst CODES = 0;\\nconst LENS = 1;\\nconst DISTS = 2;\\n\\nconst lbase = new Uint16Array([ /* Length codes 257..285 base */\\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\\n]);\\n\\nconst lext = new Uint8Array([ /* Length codes 257..285 extra */\\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\\n]);\\n\\nconst dbase = new Uint16Array([ /* Distance codes 0..29 base */\\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\\n 8193, 12289, 16385, 24577, 0, 0\\n]);\\n\\nconst dext = new Uint8Array([ /* Distance codes 0..29 extra */\\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\\n 28, 28, 29, 29, 64, 64\\n]);\\n\\nconst inflate_table = (type, lens, lens_index, codes, table, table_index, work, opts) =>\\n{\\n const bits = opts.bits;\\n //here = opts.here; /* table entry for duplication */\\n\\n let len = 0; /* a code's length in bits */\\n let sym = 0; /* index of code symbols */\\n let min = 0, max = 0; /* minimum and maximum code lengths */\\n let root = 0; /* number of index bits for root table */\\n let curr = 0; /* number of index bits for current table */\\n let drop = 0; /* code bits to drop for sub-table */\\n let left = 0; /* number of prefix codes available */\\n let used = 0; /* code entries in table used */\\n let huff = 0; /* Huffman code */\\n let incr; /* for incrementing code, index */\\n let fill; /* index for replicating entries */\\n let low; /* low bits for current root entry */\\n let mask; /* mask for low root bits */\\n let next; /* next available space in table */\\n let base = null; /* base value table to use */\\n// let shoextra; /* extra bits table to use */\\n let match; /* use base and extra for symbol >= match */\\n const count = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\\n const offs = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\\n let extra = null;\\n\\n let here_bits, here_op, here_val;\\n\\n /*\\n Process a set of code lengths to create a canonical Huffman code. The\\n code lengths are lens[0..codes-1]. Each length corresponds to the\\n symbols 0..codes-1. The Huffman code is generated by first sorting the\\n symbols by length from short to long, and retaining the symbol order\\n for codes with equal lengths. Then the code starts with all zero bits\\n for the first code of the shortest length, and the codes are integer\\n increments for the same length, and zeros are appended as the length\\n increases. For the deflate format, these bits are stored backwards\\n from their more natural integer increment ordering, and so when the\\n decoding tables are built in the large loop below, the integer codes\\n are incremented backwards.\\n\\n This routine assumes, but does not check, that all of the entries in\\n lens[] are in the range 0..MAXBITS. The caller must assure this.\\n 1..MAXBITS is interpreted as that code length. zero means that that\\n symbol does not occur in this code.\\n\\n The codes are sorted by computing a count of codes for each length,\\n creating from that a table of starting indices for each length in the\\n sorted table, and then entering the symbols in order in the sorted\\n table. The sorted table is work[], with that space being provided by\\n the caller.\\n\\n The length counts are used for other purposes as well, i.e. finding\\n the minimum and maximum length codes, determining if there are any\\n codes at all, checking for a valid set of lengths, and looking ahead\\n at length counts to determine sub-table sizes when building the\\n decoding tables.\\n */\\n\\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\\n for (len = 0; len <= MAXBITS; len++) {\\n count[len] = 0;\\n }\\n for (sym = 0; sym < codes; sym++) {\\n count[lens[lens_index + sym]]++;\\n }\\n\\n /* bound code lengths, force root to be within code lengths */\\n root = bits;\\n for (max = MAXBITS; max >= 1; max--) {\\n if (count[max] !== 0) { break; }\\n }\\n if (root > max) {\\n root = max;\\n }\\n if (max === 0) { /* no symbols to code at all */\\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\n\\n\\n //table.op[opts.table_index] = 64;\\n //table.bits[opts.table_index] = 1;\\n //table.val[opts.table_index++] = 0;\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\n\\n opts.bits = 1;\\n return 0; /* no symbols, but wait for decoding to report error */\\n }\\n for (min = 1; min < max; min++) {\\n if (count[min] !== 0) { break; }\\n }\\n if (root < min) {\\n root = min;\\n }\\n\\n /* check for an over-subscribed or incomplete set of lengths */\\n left = 1;\\n for (len = 1; len <= MAXBITS; len++) {\\n left <<= 1;\\n left -= count[len];\\n if (left < 0) {\\n return -1;\\n } /* over-subscribed */\\n }\\n if (left > 0 && (type === CODES || max !== 1)) {\\n return -1; /* incomplete set */\\n }\\n\\n /* generate offsets into symbol table for each length for sorting */\\n offs[1] = 0;\\n for (len = 1; len < MAXBITS; len++) {\\n offs[len + 1] = offs[len] + count[len];\\n }\\n\\n /* sort symbols by length, by symbol order within each length */\\n for (sym = 0; sym < codes; sym++) {\\n if (lens[lens_index + sym] !== 0) {\\n work[offs[lens[lens_index + sym]]++] = sym;\\n }\\n }\\n\\n /*\\n Create and fill in decoding tables. In this loop, the table being\\n filled is at next and has curr index bits. The code being used is huff\\n with length len. That code is converted to an index by dropping drop\\n bits off of the bottom. For codes where len is less than drop + curr,\\n those top drop + curr - len bits are incremented through all values to\\n fill the table with replicated entries.\\n\\n root is the number of index bits for the root table. When len exceeds\\n root, sub-tables are created pointed to by the root entry with an index\\n of the low root bits of huff. This is saved in low to check for when a\\n new sub-table should be started. drop is zero when the root table is\\n being filled, and drop is root when sub-tables are being filled.\\n\\n When a new sub-table is needed, it is necessary to look ahead in the\\n code lengths to determine what size sub-table is needed. The length\\n counts are used for this, and so count[] is decremented as codes are\\n entered in the tables.\\n\\n used keeps track of how many table entries have been allocated from the\\n provided *table space. It is checked for LENS and DIST tables against\\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\\n the initial root table size constants. See the comments in inftrees.h\\n for more information.\\n\\n sym increments through all symbols, and the loop terminates when\\n all codes of length max, i.e. all codes, have been processed. This\\n routine permits incomplete codes, so another loop after this one fills\\n in the rest of the decoding tables with invalid code markers.\\n */\\n\\n /* set up for code type */\\n // poor man optimization - use if-else instead of switch,\\n // to avoid deopts in old v8\\n if (type === CODES) {\\n base = extra = work; /* dummy value--not used */\\n match = 20;\\n\\n } else if (type === LENS) {\\n base = lbase;\\n extra = lext;\\n match = 257;\\n\\n } else { /* DISTS */\\n base = dbase;\\n extra = dext;\\n match = 0;\\n }\\n\\n /* initialize opts for loop */\\n huff = 0; /* starting code */\\n sym = 0; /* starting code symbol */\\n len = min; /* starting code length */\\n next = table_index; /* current table to fill in */\\n curr = root; /* current table index bits */\\n drop = 0; /* current bits to drop from code for index */\\n low = -1; /* trigger new sub-table when len > root */\\n used = 1 << root; /* use root table entries */\\n mask = used - 1; /* mask for comparing low */\\n\\n /* check available table space */\\n if ((type === LENS && used > ENOUGH_LENS) ||\\n (type === DISTS && used > ENOUGH_DISTS)) {\\n return 1;\\n }\\n\\n /* process all codes and make table entries */\\n for (;;) {\\n /* create table entry */\\n here_bits = len - drop;\\n if (work[sym] + 1 < match) {\\n here_op = 0;\\n here_val = work[sym];\\n }\\n else if (work[sym] >= match) {\\n here_op = extra[work[sym] - match];\\n here_val = base[work[sym] - match];\\n }\\n else {\\n here_op = 32 + 64; /* end of block */\\n here_val = 0;\\n }\\n\\n /* replicate for those indices with low len bits equal to huff */\\n incr = 1 << (len - drop);\\n fill = 1 << curr;\\n min = fill; /* save offset to next table */\\n do {\\n fill -= incr;\\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\\n } while (fill !== 0);\\n\\n /* backwards increment the len-bit code huff */\\n incr = 1 << (len - 1);\\n while (huff & incr) {\\n incr >>= 1;\\n }\\n if (incr !== 0) {\\n huff &= incr - 1;\\n huff += incr;\\n } else {\\n huff = 0;\\n }\\n\\n /* go to next symbol, update count, len */\\n sym++;\\n if (--count[len] === 0) {\\n if (len === max) { break; }\\n len = lens[lens_index + work[sym]];\\n }\\n\\n /* create new sub-table if needed */\\n if (len > root && (huff & mask) !== low) {\\n /* if first time, transition to sub-tables */\\n if (drop === 0) {\\n drop = root;\\n }\\n\\n /* increment past last table */\\n next += min; /* here min is 1 << curr */\\n\\n /* determine length of next table */\\n curr = len - drop;\\n left = 1 << curr;\\n while (curr + drop < max) {\\n left -= count[curr + drop];\\n if (left <= 0) { break; }\\n curr++;\\n left <<= 1;\\n }\\n\\n /* check for enough space */\\n used += 1 << curr;\\n if ((type === LENS && used > ENOUGH_LENS) ||\\n (type === DISTS && used > ENOUGH_DISTS)) {\\n return 1;\\n }\\n\\n /* point entry in root table to sub-table */\\n low = huff & mask;\\n /*table.op[low] = curr;\\n table.bits[low] = root;\\n table.val[low] = next - opts.table_index;*/\\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\\n }\\n }\\n\\n /* fill in remaining table entry if code is incomplete (guaranteed to have\\n at most one remaining entry, since if the code is incomplete, the\\n maximum code length that was allowed to get this far is one bit) */\\n if (huff !== 0) {\\n //table.op[next + huff] = 64; /* invalid code marker */\\n //table.bits[next + huff] = len - drop;\\n //table.val[next + huff] = 0;\\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\\n }\\n\\n /* set return parameters */\\n //opts.table_index += used;\\n opts.bits = root;\\n return 0;\\n};\\n\\n\\nmodule.exports = inflate_table;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/inftrees.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/messages.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/messages.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nmodule.exports = {\\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\\n 1: 'stream end', /* Z_STREAM_END 1 */\\n 0: '', /* Z_OK 0 */\\n '-1': 'file error', /* Z_ERRNO (-1) */\\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/messages.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/trees.js\":\n/*!*********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/trees.js ***!\n \\*********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\n/* eslint-disable space-unary-ops */\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\n\\n//const Z_FILTERED = 1;\\n//const Z_HUFFMAN_ONLY = 2;\\n//const Z_RLE = 3;\\nconst Z_FIXED = 4;\\n//const Z_DEFAULT_STRATEGY = 0;\\n\\n/* Possible values of the data_type field (though see inflate()) */\\nconst Z_BINARY = 0;\\nconst Z_TEXT = 1;\\n//const Z_ASCII = 1; // = Z_TEXT\\nconst Z_UNKNOWN = 2;\\n\\n/*============================================================================*/\\n\\n\\nfunction zero(buf) { let len = buf.length; while (--len >= 0) { buf[len] = 0; } }\\n\\n// From zutil.h\\n\\nconst STORED_BLOCK = 0;\\nconst STATIC_TREES = 1;\\nconst DYN_TREES = 2;\\n/* The three kinds of block type */\\n\\nconst MIN_MATCH = 3;\\nconst MAX_MATCH = 258;\\n/* The minimum and maximum match lengths */\\n\\n// From deflate.h\\n/* ===========================================================================\\n * Internal compression state.\\n */\\n\\nconst LENGTH_CODES = 29;\\n/* number of length codes, not counting the special END_BLOCK code */\\n\\nconst LITERALS = 256;\\n/* number of literal bytes 0..255 */\\n\\nconst L_CODES = LITERALS + 1 + LENGTH_CODES;\\n/* number of Literal or Length codes, including the END_BLOCK code */\\n\\nconst D_CODES = 30;\\n/* number of distance codes */\\n\\nconst BL_CODES = 19;\\n/* number of codes used to transfer the bit lengths */\\n\\nconst HEAP_SIZE = 2 * L_CODES + 1;\\n/* maximum heap size */\\n\\nconst MAX_BITS = 15;\\n/* All codes must not exceed MAX_BITS bits */\\n\\nconst Buf_size = 16;\\n/* size of bit buffer in bi_buf */\\n\\n\\n/* ===========================================================================\\n * Constants\\n */\\n\\nconst MAX_BL_BITS = 7;\\n/* Bit length codes must not exceed MAX_BL_BITS bits */\\n\\nconst END_BLOCK = 256;\\n/* end of block literal code */\\n\\nconst REP_3_6 = 16;\\n/* repeat previous bit length 3-6 times (2 bits of repeat count) */\\n\\nconst REPZ_3_10 = 17;\\n/* repeat a zero length 3-10 times (3 bits of repeat count) */\\n\\nconst REPZ_11_138 = 18;\\n/* repeat a zero length 11-138 times (7 bits of repeat count) */\\n\\n/* eslint-disable comma-spacing,array-bracket-spacing */\\nconst extra_lbits = /* extra bits for each length code */\\n new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]);\\n\\nconst extra_dbits = /* extra bits for each distance code */\\n new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]);\\n\\nconst extra_blbits = /* extra bits for each bit length code */\\n new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]);\\n\\nconst bl_order =\\n new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);\\n/* eslint-enable comma-spacing,array-bracket-spacing */\\n\\n/* The lengths of the bit length codes are sent in order of decreasing\\n * probability, to avoid transmitting the lengths for unused bit length codes.\\n */\\n\\n/* ===========================================================================\\n * Local data. These are initialized only once.\\n */\\n\\n// We pre-fill arrays with 0 to avoid uninitialized gaps\\n\\nconst DIST_CODE_LEN = 512; /* see definition of array dist_code below */\\n\\n// !!!! Use flat array instead of structure, Freq = i*2, Len = i*2+1\\nconst static_ltree = new Array((L_CODES + 2) * 2);\\nzero(static_ltree);\\n/* The static literal tree. Since the bit lengths are imposed, there is no\\n * need for the L_CODES extra codes used during heap construction. However\\n * The codes 286 and 287 are needed to build a canonical tree (see _tr_init\\n * below).\\n */\\n\\nconst static_dtree = new Array(D_CODES * 2);\\nzero(static_dtree);\\n/* The static distance tree. (Actually a trivial tree since all codes use\\n * 5 bits.)\\n */\\n\\nconst _dist_code = new Array(DIST_CODE_LEN);\\nzero(_dist_code);\\n/* Distance codes. The first 256 values correspond to the distances\\n * 3 .. 258, the last 256 values correspond to the top 8 bits of\\n * the 15 bit distances.\\n */\\n\\nconst _length_code = new Array(MAX_MATCH - MIN_MATCH + 1);\\nzero(_length_code);\\n/* length code for each normalized match length (0 == MIN_MATCH) */\\n\\nconst base_length = new Array(LENGTH_CODES);\\nzero(base_length);\\n/* First normalized length for each code (0 = MIN_MATCH) */\\n\\nconst base_dist = new Array(D_CODES);\\nzero(base_dist);\\n/* First normalized distance for each code (0 = distance of 1) */\\n\\n\\nfunction StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {\\n\\n this.static_tree = static_tree; /* static tree or NULL */\\n this.extra_bits = extra_bits; /* extra bits for each code or NULL */\\n this.extra_base = extra_base; /* base index for extra_bits */\\n this.elems = elems; /* max number of elements in the tree */\\n this.max_length = max_length; /* max bit length for the codes */\\n\\n // show if `static_tree` has data or dummy - needed for monomorphic objects\\n this.has_stree = static_tree && static_tree.length;\\n}\\n\\n\\nlet static_l_desc;\\nlet static_d_desc;\\nlet static_bl_desc;\\n\\n\\nfunction TreeDesc(dyn_tree, stat_desc) {\\n this.dyn_tree = dyn_tree; /* the dynamic tree */\\n this.max_code = 0; /* largest code with non zero frequency */\\n this.stat_desc = stat_desc; /* the corresponding static tree */\\n}\\n\\n\\n\\nconst d_code = (dist) => {\\n\\n return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];\\n};\\n\\n\\n/* ===========================================================================\\n * Output a short LSB first on the stream.\\n * IN assertion: there is enough room in pendingBuf.\\n */\\nconst put_short = (s, w) => {\\n// put_byte(s, (uch)((w) & 0xff));\\n// put_byte(s, (uch)((ush)(w) >> 8));\\n s.pending_buf[s.pending++] = (w) & 0xff;\\n s.pending_buf[s.pending++] = (w >>> 8) & 0xff;\\n};\\n\\n\\n/* ===========================================================================\\n * Send a value on a given number of bits.\\n * IN assertion: length <= 16 and value fits in length bits.\\n */\\nconst send_bits = (s, value, length) => {\\n\\n if (s.bi_valid > (Buf_size - length)) {\\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\\n put_short(s, s.bi_buf);\\n s.bi_buf = value >> (Buf_size - s.bi_valid);\\n s.bi_valid += length - Buf_size;\\n } else {\\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\\n s.bi_valid += length;\\n }\\n};\\n\\n\\nconst send_code = (s, c, tree) => {\\n\\n send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/);\\n};\\n\\n\\n/* ===========================================================================\\n * Reverse the first len bits of a code, using straightforward code (a faster\\n * method would use a table)\\n * IN assertion: 1 <= len <= 15\\n */\\nconst bi_reverse = (code, len) => {\\n\\n let res = 0;\\n do {\\n res |= code & 1;\\n code >>>= 1;\\n res <<= 1;\\n } while (--len > 0);\\n return res >>> 1;\\n};\\n\\n\\n/* ===========================================================================\\n * Flush the bit buffer, keeping at most 7 bits in it.\\n */\\nconst bi_flush = (s) => {\\n\\n if (s.bi_valid === 16) {\\n put_short(s, s.bi_buf);\\n s.bi_buf = 0;\\n s.bi_valid = 0;\\n\\n } else if (s.bi_valid >= 8) {\\n s.pending_buf[s.pending++] = s.bi_buf & 0xff;\\n s.bi_buf >>= 8;\\n s.bi_valid -= 8;\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Compute the optimal bit lengths for a tree and update the total bit length\\n * for the current block.\\n * IN assertion: the fields freq and dad are set, heap[heap_max] and\\n * above are the tree nodes sorted by increasing frequency.\\n * OUT assertions: the field len is set to the optimal bit length, the\\n * array bl_count contains the frequencies for each bit length.\\n * The length opt_len is updated; static_len is also updated if stree is\\n * not null.\\n */\\nconst gen_bitlen = (s, desc) => {\\n// deflate_state *s;\\n// tree_desc *desc; /* the tree descriptor */\\n\\n const tree = desc.dyn_tree;\\n const max_code = desc.max_code;\\n const stree = desc.stat_desc.static_tree;\\n const has_stree = desc.stat_desc.has_stree;\\n const extra = desc.stat_desc.extra_bits;\\n const base = desc.stat_desc.extra_base;\\n const max_length = desc.stat_desc.max_length;\\n let h; /* heap index */\\n let n, m; /* iterate over the tree elements */\\n let bits; /* bit length */\\n let xbits; /* extra bits */\\n let f; /* frequency */\\n let overflow = 0; /* number of elements with bit length too large */\\n\\n for (bits = 0; bits <= MAX_BITS; bits++) {\\n s.bl_count[bits] = 0;\\n }\\n\\n /* In a first pass, compute the optimal bit lengths (which may\\n * overflow in the case of the bit length tree).\\n */\\n tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */\\n\\n for (h = s.heap_max + 1; h < HEAP_SIZE; h++) {\\n n = s.heap[h];\\n bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;\\n if (bits > max_length) {\\n bits = max_length;\\n overflow++;\\n }\\n tree[n * 2 + 1]/*.Len*/ = bits;\\n /* We overwrite tree[n].Dad which is no longer needed */\\n\\n if (n > max_code) { continue; } /* not a leaf node */\\n\\n s.bl_count[bits]++;\\n xbits = 0;\\n if (n >= base) {\\n xbits = extra[n - base];\\n }\\n f = tree[n * 2]/*.Freq*/;\\n s.opt_len += f * (bits + xbits);\\n if (has_stree) {\\n s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits);\\n }\\n }\\n if (overflow === 0) { return; }\\n\\n // Tracev((stderr,\\\"\\\\nbit length overflow\\\\n\\\"));\\n /* This happens for example on obj2 and pic of the Calgary corpus */\\n\\n /* Find the first bit length which could increase: */\\n do {\\n bits = max_length - 1;\\n while (s.bl_count[bits] === 0) { bits--; }\\n s.bl_count[bits]--; /* move one leaf down the tree */\\n s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */\\n s.bl_count[max_length]--;\\n /* The brother of the overflow item also moves one step up,\\n * but this does not affect bl_count[max_length]\\n */\\n overflow -= 2;\\n } while (overflow > 0);\\n\\n /* Now recompute all bit lengths, scanning in increasing frequency.\\n * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all\\n * lengths instead of fixing only the wrong ones. This idea is taken\\n * from 'ar' written by Haruhiko Okumura.)\\n */\\n for (bits = max_length; bits !== 0; bits--) {\\n n = s.bl_count[bits];\\n while (n !== 0) {\\n m = s.heap[--h];\\n if (m > max_code) { continue; }\\n if (tree[m * 2 + 1]/*.Len*/ !== bits) {\\n // Tracev((stderr,\\\"code %d bits %d->%d\\\\n\\\", m, tree[m].Len, bits));\\n s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/;\\n tree[m * 2 + 1]/*.Len*/ = bits;\\n }\\n n--;\\n }\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Generate the codes for a given tree and bit counts (which need not be\\n * optimal).\\n * IN assertion: the array bl_count contains the bit length statistics for\\n * the given tree and the field len is set for all tree elements.\\n * OUT assertion: the field code is set for all tree elements of non\\n * zero code length.\\n */\\nconst gen_codes = (tree, max_code, bl_count) => {\\n// ct_data *tree; /* the tree to decorate */\\n// int max_code; /* largest code with non zero frequency */\\n// ushf *bl_count; /* number of codes at each bit length */\\n\\n const next_code = new Array(MAX_BITS + 1); /* next code value for each bit length */\\n let code = 0; /* running code value */\\n let bits; /* bit index */\\n let n; /* code index */\\n\\n /* The distribution counts are first used to generate the code values\\n * without bit reversal.\\n */\\n for (bits = 1; bits <= MAX_BITS; bits++) {\\n code = (code + bl_count[bits - 1]) << 1;\\n next_code[bits] = code;\\n }\\n /* Check that the bit counts in bl_count are consistent. The last code\\n * must be all ones.\\n */\\n //Assert (code + bl_count[MAX_BITS]-1 == (1< {\\n\\n let n; /* iterates over tree elements */\\n let bits; /* bit counter */\\n let length; /* length value */\\n let code; /* code value */\\n let dist; /* distance index */\\n const bl_count = new Array(MAX_BITS + 1);\\n /* number of codes at each bit length for an optimal tree */\\n\\n // do check in _tr_init()\\n //if (static_init_done) return;\\n\\n /* For some embedded targets, global variables are not initialized: */\\n/*#ifdef NO_INIT_GLOBAL_POINTERS\\n static_l_desc.static_tree = static_ltree;\\n static_l_desc.extra_bits = extra_lbits;\\n static_d_desc.static_tree = static_dtree;\\n static_d_desc.extra_bits = extra_dbits;\\n static_bl_desc.extra_bits = extra_blbits;\\n#endif*/\\n\\n /* Initialize the mapping length (0..255) -> length code (0..28) */\\n length = 0;\\n for (code = 0; code < LENGTH_CODES - 1; code++) {\\n base_length[code] = length;\\n for (n = 0; n < (1 << extra_lbits[code]); n++) {\\n _length_code[length++] = code;\\n }\\n }\\n //Assert (length == 256, \\\"tr_static_init: length != 256\\\");\\n /* Note that the length 255 (match length 258) can be represented\\n * in two different ways: code 284 + 5 bits or code 285, so we\\n * overwrite length_code[255] to use the best encoding:\\n */\\n _length_code[length - 1] = code;\\n\\n /* Initialize the mapping dist (0..32K) -> dist code (0..29) */\\n dist = 0;\\n for (code = 0; code < 16; code++) {\\n base_dist[code] = dist;\\n for (n = 0; n < (1 << extra_dbits[code]); n++) {\\n _dist_code[dist++] = code;\\n }\\n }\\n //Assert (dist == 256, \\\"tr_static_init: dist != 256\\\");\\n dist >>= 7; /* from now on, all distances are divided by 128 */\\n for (; code < D_CODES; code++) {\\n base_dist[code] = dist << 7;\\n for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) {\\n _dist_code[256 + dist++] = code;\\n }\\n }\\n //Assert (dist == 256, \\\"tr_static_init: 256+dist != 512\\\");\\n\\n /* Construct the codes of the static literal tree */\\n for (bits = 0; bits <= MAX_BITS; bits++) {\\n bl_count[bits] = 0;\\n }\\n\\n n = 0;\\n while (n <= 143) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\\n n++;\\n bl_count[8]++;\\n }\\n while (n <= 255) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 9;\\n n++;\\n bl_count[9]++;\\n }\\n while (n <= 279) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 7;\\n n++;\\n bl_count[7]++;\\n }\\n while (n <= 287) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\\n n++;\\n bl_count[8]++;\\n }\\n /* Codes 286 and 287 do not exist, but we must include them in the\\n * tree construction to get a canonical Huffman tree (longest code\\n * all ones)\\n */\\n gen_codes(static_ltree, L_CODES + 1, bl_count);\\n\\n /* The static distance tree is trivial: */\\n for (n = 0; n < D_CODES; n++) {\\n static_dtree[n * 2 + 1]/*.Len*/ = 5;\\n static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5);\\n }\\n\\n // Now data ready and we can init static trees\\n static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS);\\n static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS);\\n static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS);\\n\\n //static_init_done = true;\\n};\\n\\n\\n/* ===========================================================================\\n * Initialize a new block.\\n */\\nconst init_block = (s) => {\\n\\n let n; /* iterates over tree elements */\\n\\n /* Initialize the trees. */\\n for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; }\\n for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; }\\n for (n = 0; n < BL_CODES; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; }\\n\\n s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1;\\n s.opt_len = s.static_len = 0;\\n s.sym_next = s.matches = 0;\\n};\\n\\n\\n/* ===========================================================================\\n * Flush the bit buffer and align the output on a byte boundary\\n */\\nconst bi_windup = (s) =>\\n{\\n if (s.bi_valid > 8) {\\n put_short(s, s.bi_buf);\\n } else if (s.bi_valid > 0) {\\n //put_byte(s, (Byte)s->bi_buf);\\n s.pending_buf[s.pending++] = s.bi_buf;\\n }\\n s.bi_buf = 0;\\n s.bi_valid = 0;\\n};\\n\\n/* ===========================================================================\\n * Compares to subtrees, using the tree depth as tie breaker when\\n * the subtrees have equal frequency. This minimizes the worst case length.\\n */\\nconst smaller = (tree, n, m, depth) => {\\n\\n const _n2 = n * 2;\\n const _m2 = m * 2;\\n return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||\\n (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));\\n};\\n\\n/* ===========================================================================\\n * Restore the heap property by moving down the tree starting at node k,\\n * exchanging a node with the smallest of its two sons if necessary, stopping\\n * when the heap property is re-established (each father smaller than its\\n * two sons).\\n */\\nconst pqdownheap = (s, tree, k) => {\\n// deflate_state *s;\\n// ct_data *tree; /* the tree to restore */\\n// int k; /* node to move down */\\n\\n const v = s.heap[k];\\n let j = k << 1; /* left son of k */\\n while (j <= s.heap_len) {\\n /* Set j to the smallest of the two sons: */\\n if (j < s.heap_len &&\\n smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {\\n j++;\\n }\\n /* Exit if v is smaller than both sons */\\n if (smaller(tree, v, s.heap[j], s.depth)) { break; }\\n\\n /* Exchange v with the smallest son */\\n s.heap[k] = s.heap[j];\\n k = j;\\n\\n /* And continue down the tree, setting j to the left son of k */\\n j <<= 1;\\n }\\n s.heap[k] = v;\\n};\\n\\n\\n// inlined manually\\n// const SMALLEST = 1;\\n\\n/* ===========================================================================\\n * Send the block data compressed using the given Huffman trees\\n */\\nconst compress_block = (s, ltree, dtree) => {\\n// deflate_state *s;\\n// const ct_data *ltree; /* literal tree */\\n// const ct_data *dtree; /* distance tree */\\n\\n let dist; /* distance of matched string */\\n let lc; /* match length or unmatched char (if dist == 0) */\\n let sx = 0; /* running index in sym_buf */\\n let code; /* the code to send */\\n let extra; /* number of extra bits to send */\\n\\n if (s.sym_next !== 0) {\\n do {\\n dist = s.pending_buf[s.sym_buf + sx++] & 0xff;\\n dist += (s.pending_buf[s.sym_buf + sx++] & 0xff) << 8;\\n lc = s.pending_buf[s.sym_buf + sx++];\\n if (dist === 0) {\\n send_code(s, lc, ltree); /* send a literal byte */\\n //Tracecv(isgraph(lc), (stderr,\\\" '%c' \\\", lc));\\n } else {\\n /* Here, lc is the match length - MIN_MATCH */\\n code = _length_code[lc];\\n send_code(s, code + LITERALS + 1, ltree); /* send the length code */\\n extra = extra_lbits[code];\\n if (extra !== 0) {\\n lc -= base_length[code];\\n send_bits(s, lc, extra); /* send the extra length bits */\\n }\\n dist--; /* dist is now the match distance - 1 */\\n code = d_code(dist);\\n //Assert (code < D_CODES, \\\"bad d_code\\\");\\n\\n send_code(s, code, dtree); /* send the distance code */\\n extra = extra_dbits[code];\\n if (extra !== 0) {\\n dist -= base_dist[code];\\n send_bits(s, dist, extra); /* send the extra distance bits */\\n }\\n } /* literal or match pair ? */\\n\\n /* Check that the overlay between pending_buf and sym_buf is ok: */\\n //Assert(s->pending < s->lit_bufsize + sx, \\\"pendingBuf overflow\\\");\\n\\n } while (sx < s.sym_next);\\n }\\n\\n send_code(s, END_BLOCK, ltree);\\n};\\n\\n\\n/* ===========================================================================\\n * Construct one Huffman tree and assigns the code bit strings and lengths.\\n * Update the total bit length for the current block.\\n * IN assertion: the field freq is set for all tree elements.\\n * OUT assertions: the fields len and code are set to the optimal bit length\\n * and corresponding code. The length opt_len is updated; static_len is\\n * also updated if stree is not null. The field max_code is set.\\n */\\nconst build_tree = (s, desc) => {\\n// deflate_state *s;\\n// tree_desc *desc; /* the tree descriptor */\\n\\n const tree = desc.dyn_tree;\\n const stree = desc.stat_desc.static_tree;\\n const has_stree = desc.stat_desc.has_stree;\\n const elems = desc.stat_desc.elems;\\n let n, m; /* iterate over heap elements */\\n let max_code = -1; /* largest code with non zero frequency */\\n let node; /* new node being created */\\n\\n /* Construct the initial heap, with least frequent element in\\n * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].\\n * heap[0] is not used.\\n */\\n s.heap_len = 0;\\n s.heap_max = HEAP_SIZE;\\n\\n for (n = 0; n < elems; n++) {\\n if (tree[n * 2]/*.Freq*/ !== 0) {\\n s.heap[++s.heap_len] = max_code = n;\\n s.depth[n] = 0;\\n\\n } else {\\n tree[n * 2 + 1]/*.Len*/ = 0;\\n }\\n }\\n\\n /* The pkzip format requires that at least one distance code exists,\\n * and that at least one bit should be sent even if there is only one\\n * possible code. So to avoid special checks later on we force at least\\n * two codes of non zero frequency.\\n */\\n while (s.heap_len < 2) {\\n node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);\\n tree[node * 2]/*.Freq*/ = 1;\\n s.depth[node] = 0;\\n s.opt_len--;\\n\\n if (has_stree) {\\n s.static_len -= stree[node * 2 + 1]/*.Len*/;\\n }\\n /* node is 0 or 1 so it does not have extra bits */\\n }\\n desc.max_code = max_code;\\n\\n /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,\\n * establish sub-heaps of increasing lengths:\\n */\\n for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }\\n\\n /* Construct the Huffman tree by repeatedly combining the least two\\n * frequent nodes.\\n */\\n node = elems; /* next internal node of the tree */\\n do {\\n //pqremove(s, tree, n); /* n = node of least frequency */\\n /*** pqremove ***/\\n n = s.heap[1/*SMALLEST*/];\\n s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];\\n pqdownheap(s, tree, 1/*SMALLEST*/);\\n /***/\\n\\n m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */\\n\\n s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */\\n s.heap[--s.heap_max] = m;\\n\\n /* Create a new node father of n and m */\\n tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;\\n s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;\\n tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node;\\n\\n /* and insert the new node in the heap */\\n s.heap[1/*SMALLEST*/] = node++;\\n pqdownheap(s, tree, 1/*SMALLEST*/);\\n\\n } while (s.heap_len >= 2);\\n\\n s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];\\n\\n /* At this point, the fields freq and dad are set. We can now\\n * generate the bit lengths.\\n */\\n gen_bitlen(s, desc);\\n\\n /* The field len is now set, we can generate the bit codes */\\n gen_codes(tree, max_code, s.bl_count);\\n};\\n\\n\\n/* ===========================================================================\\n * Scan a literal or distance tree to determine the frequencies of the codes\\n * in the bit length tree.\\n */\\nconst scan_tree = (s, tree, max_code) => {\\n// deflate_state *s;\\n// ct_data *tree; /* the tree to be scanned */\\n// int max_code; /* and its largest code of non zero frequency */\\n\\n let n; /* iterates over all tree elements */\\n let prevlen = -1; /* last emitted length */\\n let curlen; /* length of current code */\\n\\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\\n\\n let count = 0; /* repeat count of the current code */\\n let max_count = 7; /* max repeat count */\\n let min_count = 4; /* min repeat count */\\n\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n }\\n tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */\\n\\n for (n = 0; n <= max_code; n++) {\\n curlen = nextlen;\\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\\n\\n if (++count < max_count && curlen === nextlen) {\\n continue;\\n\\n } else if (count < min_count) {\\n s.bl_tree[curlen * 2]/*.Freq*/ += count;\\n\\n } else if (curlen !== 0) {\\n\\n if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }\\n s.bl_tree[REP_3_6 * 2]/*.Freq*/++;\\n\\n } else if (count <= 10) {\\n s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++;\\n\\n } else {\\n s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++;\\n }\\n\\n count = 0;\\n prevlen = curlen;\\n\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n\\n } else if (curlen === nextlen) {\\n max_count = 6;\\n min_count = 3;\\n\\n } else {\\n max_count = 7;\\n min_count = 4;\\n }\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Send a literal or distance tree in compressed form, using the codes in\\n * bl_tree.\\n */\\nconst send_tree = (s, tree, max_code) => {\\n// deflate_state *s;\\n// ct_data *tree; /* the tree to be scanned */\\n// int max_code; /* and its largest code of non zero frequency */\\n\\n let n; /* iterates over all tree elements */\\n let prevlen = -1; /* last emitted length */\\n let curlen; /* length of current code */\\n\\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\\n\\n let count = 0; /* repeat count of the current code */\\n let max_count = 7; /* max repeat count */\\n let min_count = 4; /* min repeat count */\\n\\n /* tree[max_code+1].Len = -1; */ /* guard already set */\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n }\\n\\n for (n = 0; n <= max_code; n++) {\\n curlen = nextlen;\\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\\n\\n if (++count < max_count && curlen === nextlen) {\\n continue;\\n\\n } else if (count < min_count) {\\n do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);\\n\\n } else if (curlen !== 0) {\\n if (curlen !== prevlen) {\\n send_code(s, curlen, s.bl_tree);\\n count--;\\n }\\n //Assert(count >= 3 && count <= 6, \\\" 3_6?\\\");\\n send_code(s, REP_3_6, s.bl_tree);\\n send_bits(s, count - 3, 2);\\n\\n } else if (count <= 10) {\\n send_code(s, REPZ_3_10, s.bl_tree);\\n send_bits(s, count - 3, 3);\\n\\n } else {\\n send_code(s, REPZ_11_138, s.bl_tree);\\n send_bits(s, count - 11, 7);\\n }\\n\\n count = 0;\\n prevlen = curlen;\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n\\n } else if (curlen === nextlen) {\\n max_count = 6;\\n min_count = 3;\\n\\n } else {\\n max_count = 7;\\n min_count = 4;\\n }\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Construct the Huffman tree for the bit lengths and return the index in\\n * bl_order of the last bit length code to send.\\n */\\nconst build_bl_tree = (s) => {\\n\\n let max_blindex; /* index of last bit length code of non zero freq */\\n\\n /* Determine the bit length frequencies for literal and distance trees */\\n scan_tree(s, s.dyn_ltree, s.l_desc.max_code);\\n scan_tree(s, s.dyn_dtree, s.d_desc.max_code);\\n\\n /* Build the bit length tree: */\\n build_tree(s, s.bl_desc);\\n /* opt_len now includes the length of the tree representations, except\\n * the lengths of the bit lengths codes and the 5+5+4 bits for the counts.\\n */\\n\\n /* Determine the number of bit length codes to send. The pkzip format\\n * requires that at least 4 bit length codes be sent. (appnote.txt says\\n * 3 but the actual value used is 4.)\\n */\\n for (max_blindex = BL_CODES - 1; max_blindex >= 3; max_blindex--) {\\n if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) {\\n break;\\n }\\n }\\n /* Update opt_len to include the bit length tree and counts */\\n s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;\\n //Tracev((stderr, \\\"\\\\ndyn trees: dyn %ld, stat %ld\\\",\\n // s->opt_len, s->static_len));\\n\\n return max_blindex;\\n};\\n\\n\\n/* ===========================================================================\\n * Send the header for a block using dynamic Huffman trees: the counts, the\\n * lengths of the bit length codes, the literal tree and the distance tree.\\n * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.\\n */\\nconst send_all_trees = (s, lcodes, dcodes, blcodes) => {\\n// deflate_state *s;\\n// int lcodes, dcodes, blcodes; /* number of codes for each tree */\\n\\n let rank; /* index in bl_order */\\n\\n //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, \\\"not enough codes\\\");\\n //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,\\n // \\\"too many codes\\\");\\n //Tracev((stderr, \\\"\\\\nbl counts: \\\"));\\n send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */\\n send_bits(s, dcodes - 1, 5);\\n send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */\\n for (rank = 0; rank < blcodes; rank++) {\\n //Tracev((stderr, \\\"\\\\nbl code %2d \\\", bl_order[rank]));\\n send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3);\\n }\\n //Tracev((stderr, \\\"\\\\nbl tree: sent %ld\\\", s->bits_sent));\\n\\n send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */\\n //Tracev((stderr, \\\"\\\\nlit tree: sent %ld\\\", s->bits_sent));\\n\\n send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */\\n //Tracev((stderr, \\\"\\\\ndist tree: sent %ld\\\", s->bits_sent));\\n};\\n\\n\\n/* ===========================================================================\\n * Check if the data type is TEXT or BINARY, using the following algorithm:\\n * - TEXT if the two conditions below are satisfied:\\n * a) There are no non-portable control characters belonging to the\\n * \\\"block list\\\" (0..6, 14..25, 28..31).\\n * b) There is at least one printable character belonging to the\\n * \\\"allow list\\\" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).\\n * - BINARY otherwise.\\n * - The following partially-portable control characters form a\\n * \\\"gray list\\\" that is ignored in this detection algorithm:\\n * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).\\n * IN assertion: the fields Freq of dyn_ltree are set.\\n */\\nconst detect_data_type = (s) => {\\n /* block_mask is the bit mask of block-listed bytes\\n * set bits 0..6, 14..25, and 28..31\\n * 0xf3ffc07f = binary 11110011111111111100000001111111\\n */\\n let block_mask = 0xf3ffc07f;\\n let n;\\n\\n /* Check for non-textual (\\\"block-listed\\\") bytes. */\\n for (n = 0; n <= 31; n++, block_mask >>>= 1) {\\n if ((block_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) {\\n return Z_BINARY;\\n }\\n }\\n\\n /* Check for textual (\\\"allow-listed\\\") bytes. */\\n if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||\\n s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {\\n return Z_TEXT;\\n }\\n for (n = 32; n < LITERALS; n++) {\\n if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {\\n return Z_TEXT;\\n }\\n }\\n\\n /* There are no \\\"block-listed\\\" or \\\"allow-listed\\\" bytes:\\n * this stream either is empty or has tolerated (\\\"gray-listed\\\") bytes only.\\n */\\n return Z_BINARY;\\n};\\n\\n\\nlet static_init_done = false;\\n\\n/* ===========================================================================\\n * Initialize the tree data structures for a new zlib stream.\\n */\\nconst _tr_init = (s) =>\\n{\\n\\n if (!static_init_done) {\\n tr_static_init();\\n static_init_done = true;\\n }\\n\\n s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);\\n s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);\\n s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);\\n\\n s.bi_buf = 0;\\n s.bi_valid = 0;\\n\\n /* Initialize the first block of the first file: */\\n init_block(s);\\n};\\n\\n\\n/* ===========================================================================\\n * Send a stored block\\n */\\nconst _tr_stored_block = (s, buf, stored_len, last) => {\\n//DeflateState *s;\\n//charf *buf; /* input block */\\n//ulg stored_len; /* length of input block */\\n//int last; /* one if this is the last block for a file */\\n\\n send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */\\n bi_windup(s); /* align on byte boundary */\\n put_short(s, stored_len);\\n put_short(s, ~stored_len);\\n if (stored_len) {\\n s.pending_buf.set(s.window.subarray(buf, buf + stored_len), s.pending);\\n }\\n s.pending += stored_len;\\n};\\n\\n\\n/* ===========================================================================\\n * Send one empty static block to give enough lookahead for inflate.\\n * This takes 10 bits, of which 7 may remain in the bit buffer.\\n */\\nconst _tr_align = (s) => {\\n send_bits(s, STATIC_TREES << 1, 3);\\n send_code(s, END_BLOCK, static_ltree);\\n bi_flush(s);\\n};\\n\\n\\n/* ===========================================================================\\n * Determine the best encoding for the current block: dynamic trees, static\\n * trees or store, and write out the encoded block.\\n */\\nconst _tr_flush_block = (s, buf, stored_len, last) => {\\n//DeflateState *s;\\n//charf *buf; /* input block, or NULL if too old */\\n//ulg stored_len; /* length of input block */\\n//int last; /* one if this is the last block for a file */\\n\\n let opt_lenb, static_lenb; /* opt_len and static_len in bytes */\\n let max_blindex = 0; /* index of last bit length code of non zero freq */\\n\\n /* Build the Huffman trees unless a stored block is forced */\\n if (s.level > 0) {\\n\\n /* Check if the file is binary or text */\\n if (s.strm.data_type === Z_UNKNOWN) {\\n s.strm.data_type = detect_data_type(s);\\n }\\n\\n /* Construct the literal and distance trees */\\n build_tree(s, s.l_desc);\\n // Tracev((stderr, \\\"\\\\nlit data: dyn %ld, stat %ld\\\", s->opt_len,\\n // s->static_len));\\n\\n build_tree(s, s.d_desc);\\n // Tracev((stderr, \\\"\\\\ndist data: dyn %ld, stat %ld\\\", s->opt_len,\\n // s->static_len));\\n /* At this point, opt_len and static_len are the total bit lengths of\\n * the compressed block data, excluding the tree representations.\\n */\\n\\n /* Build the bit length tree for the above two trees, and get the index\\n * in bl_order of the last bit length code to send.\\n */\\n max_blindex = build_bl_tree(s);\\n\\n /* Determine the best encoding. Compute the block lengths in bytes. */\\n opt_lenb = (s.opt_len + 3 + 7) >>> 3;\\n static_lenb = (s.static_len + 3 + 7) >>> 3;\\n\\n // Tracev((stderr, \\\"\\\\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u \\\",\\n // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,\\n // s->sym_next / 3));\\n\\n if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }\\n\\n } else {\\n // Assert(buf != (char*)0, \\\"lost buf\\\");\\n opt_lenb = static_lenb = stored_len + 5; /* force a stored block */\\n }\\n\\n if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) {\\n /* 4: two words for the lengths */\\n\\n /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.\\n * Otherwise we can't have processed more than WSIZE input bytes since\\n * the last block flush, because compression would have been\\n * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to\\n * transform a block into a stored block.\\n */\\n _tr_stored_block(s, buf, stored_len, last);\\n\\n } else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {\\n\\n send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);\\n compress_block(s, static_ltree, static_dtree);\\n\\n } else {\\n send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);\\n send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);\\n compress_block(s, s.dyn_ltree, s.dyn_dtree);\\n }\\n // Assert (s->compressed_len == s->bits_sent, \\\"bad compressed size\\\");\\n /* The above check is made mod 2^32, for files larger than 512 MB\\n * and uLong implemented on 32 bits.\\n */\\n init_block(s);\\n\\n if (last) {\\n bi_windup(s);\\n }\\n // Tracev((stderr,\\\"\\\\ncomprlen %lu(%lu) \\\", s->compressed_len>>3,\\n // s->compressed_len-7*last));\\n};\\n\\n/* ===========================================================================\\n * Save the match info and tally the frequency counts. Return true if\\n * the current block must be flushed.\\n */\\nconst _tr_tally = (s, dist, lc) => {\\n// deflate_state *s;\\n// unsigned dist; /* distance of matched string */\\n// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */\\n\\n s.pending_buf[s.sym_buf + s.sym_next++] = dist;\\n s.pending_buf[s.sym_buf + s.sym_next++] = dist >> 8;\\n s.pending_buf[s.sym_buf + s.sym_next++] = lc;\\n if (dist === 0) {\\n /* lc is the unmatched char */\\n s.dyn_ltree[lc * 2]/*.Freq*/++;\\n } else {\\n s.matches++;\\n /* Here, lc is the match length - MIN_MATCH */\\n dist--; /* dist = match distance - 1 */\\n //Assert((ush)dist < (ush)MAX_DIST(s) &&\\n // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&\\n // (ush)d_code(dist) < (ush)D_CODES, \\\"_tr_tally: bad match\\\");\\n\\n s.dyn_ltree[(_length_code[lc] + LITERALS + 1) * 2]/*.Freq*/++;\\n s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;\\n }\\n\\n return (s.sym_next === s.sym_end);\\n};\\n\\nmodule.exports._tr_init = _tr_init;\\nmodule.exports._tr_stored_block = _tr_stored_block;\\nmodule.exports._tr_flush_block = _tr_flush_block;\\nmodule.exports._tr_tally = _tr_tally;\\nmodule.exports._tr_align = _tr_align;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/trees.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/zstream.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/zstream.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nfunction ZStream() {\\n /* next input byte */\\n this.input = null; // JS specific, because we have no pointers\\n this.next_in = 0;\\n /* number of bytes available at input */\\n this.avail_in = 0;\\n /* total number of input bytes read so far */\\n this.total_in = 0;\\n /* next output byte should be put there */\\n this.output = null; // JS specific, because we have no pointers\\n this.next_out = 0;\\n /* remaining free space at output */\\n this.avail_out = 0;\\n /* total number of bytes output so far */\\n this.total_out = 0;\\n /* last error message, NULL if no error */\\n this.msg = ''/*Z_NULL*/;\\n /* not visible by applications */\\n this.state = null;\\n /* best guess about the data type: binary or text */\\n this.data_type = 2/*Z_UNKNOWN*/;\\n /* adler32 value of the uncompressed data */\\n this.adler = 0;\\n}\\n\\nmodule.exports = ZStream;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/zstream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/minimal.js\":\n/*!********************************************!*\\\n !*** ./node_modules/protobufjs/minimal.js ***!\n \\********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"// minimal library entry point.\\n\\n\\nmodule.exports = __webpack_require__(/*! ./src/index-minimal */ \\\"./node_modules/protobufjs/src/index-minimal.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/minimal.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/index-minimal.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/index-minimal.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nvar protobuf = exports;\\n\\n/**\\n * Build type, one of `\\\"full\\\"`, `\\\"light\\\"` or `\\\"minimal\\\"`.\\n * @name build\\n * @type {string}\\n * @const\\n */\\nprotobuf.build = \\\"minimal\\\";\\n\\n// Serialization\\nprotobuf.Writer = __webpack_require__(/*! ./writer */ \\\"./node_modules/protobufjs/src/writer.js\\\");\\nprotobuf.BufferWriter = __webpack_require__(/*! ./writer_buffer */ \\\"./node_modules/protobufjs/src/writer_buffer.js\\\");\\nprotobuf.Reader = __webpack_require__(/*! ./reader */ \\\"./node_modules/protobufjs/src/reader.js\\\");\\nprotobuf.BufferReader = __webpack_require__(/*! ./reader_buffer */ \\\"./node_modules/protobufjs/src/reader_buffer.js\\\");\\n\\n// Utility\\nprotobuf.util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\nprotobuf.rpc = __webpack_require__(/*! ./rpc */ \\\"./node_modules/protobufjs/src/rpc.js\\\");\\nprotobuf.roots = __webpack_require__(/*! ./roots */ \\\"./node_modules/protobufjs/src/roots.js\\\");\\nprotobuf.configure = configure;\\n\\n/* istanbul ignore next */\\n/**\\n * Reconfigures the library according to the environment.\\n * @returns {undefined}\\n */\\nfunction configure() {\\n protobuf.util._configure();\\n protobuf.Writer._configure(protobuf.BufferWriter);\\n protobuf.Reader._configure(protobuf.BufferReader);\\n}\\n\\n// Set up buffer utility according to the environment\\nconfigure();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/index-minimal.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/reader.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/protobufjs/src/reader.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = Reader;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\nvar BufferReader; // cyclic\\n\\nvar LongBits = util.LongBits,\\n utf8 = util.utf8;\\n\\n/* istanbul ignore next */\\nfunction indexOutOfRange(reader, writeLength) {\\n return RangeError(\\\"index out of range: \\\" + reader.pos + \\\" + \\\" + (writeLength || 1) + \\\" > \\\" + reader.len);\\n}\\n\\n/**\\n * Constructs a new reader instance using the specified buffer.\\n * @classdesc Wire format reader using `Uint8Array` if available, otherwise `Array`.\\n * @constructor\\n * @param {Uint8Array} buffer Buffer to read from\\n */\\nfunction Reader(buffer) {\\n\\n /**\\n * Read buffer.\\n * @type {Uint8Array}\\n */\\n this.buf = buffer;\\n\\n /**\\n * Read buffer position.\\n * @type {number}\\n */\\n this.pos = 0;\\n\\n /**\\n * Read buffer length.\\n * @type {number}\\n */\\n this.len = buffer.length;\\n}\\n\\nvar create_array = typeof Uint8Array !== \\\"undefined\\\"\\n ? function create_typed_array(buffer) {\\n if (buffer instanceof Uint8Array || Array.isArray(buffer))\\n return new Reader(buffer);\\n throw Error(\\\"illegal buffer\\\");\\n }\\n /* istanbul ignore next */\\n : function create_array(buffer) {\\n if (Array.isArray(buffer))\\n return new Reader(buffer);\\n throw Error(\\\"illegal buffer\\\");\\n };\\n\\nvar create = function create() {\\n return util.Buffer\\n ? function create_buffer_setup(buffer) {\\n return (Reader.create = function create_buffer(buffer) {\\n return util.Buffer.isBuffer(buffer)\\n ? new BufferReader(buffer)\\n /* istanbul ignore next */\\n : create_array(buffer);\\n })(buffer);\\n }\\n /* istanbul ignore next */\\n : create_array;\\n};\\n\\n/**\\n * Creates a new reader using the specified buffer.\\n * @function\\n * @param {Uint8Array|Buffer} buffer Buffer to read from\\n * @returns {Reader|BufferReader} A {@link BufferReader} if `buffer` is a Buffer, otherwise a {@link Reader}\\n * @throws {Error} If `buffer` is not a valid buffer\\n */\\nReader.create = create();\\n\\nReader.prototype._slice = util.Array.prototype.subarray || /* istanbul ignore next */ util.Array.prototype.slice;\\n\\n/**\\n * Reads a varint as an unsigned 32 bit value.\\n * @function\\n * @returns {number} Value read\\n */\\nReader.prototype.uint32 = (function read_uint32_setup() {\\n var value = 4294967295; // optimizer type-hint, tends to deopt otherwise (?!)\\n return function read_uint32() {\\n value = ( this.buf[this.pos] & 127 ) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 127) << 7) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 127) << 14) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 127) << 21) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 15) << 28) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n\\n /* istanbul ignore if */\\n if ((this.pos += 5) > this.len) {\\n this.pos = this.len;\\n throw indexOutOfRange(this, 10);\\n }\\n return value;\\n };\\n})();\\n\\n/**\\n * Reads a varint as a signed 32 bit value.\\n * @returns {number} Value read\\n */\\nReader.prototype.int32 = function read_int32() {\\n return this.uint32() | 0;\\n};\\n\\n/**\\n * Reads a zig-zag encoded varint as a signed 32 bit value.\\n * @returns {number} Value read\\n */\\nReader.prototype.sint32 = function read_sint32() {\\n var value = this.uint32();\\n return value >>> 1 ^ -(value & 1) | 0;\\n};\\n\\n/* eslint-disable no-invalid-this */\\n\\nfunction readLongVarint() {\\n // tends to deopt with local vars for octet etc.\\n var bits = new LongBits(0, 0);\\n var i = 0;\\n if (this.len - this.pos > 4) { // fast route (lo)\\n for (; i < 4; ++i) {\\n // 1st..4th\\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i * 7) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n // 5th\\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << 28) >>> 0;\\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) >> 4) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n i = 0;\\n } else {\\n for (; i < 3; ++i) {\\n /* istanbul ignore if */\\n if (this.pos >= this.len)\\n throw indexOutOfRange(this);\\n // 1st..3th\\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i * 7) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n // 4th\\n bits.lo = (bits.lo | (this.buf[this.pos++] & 127) << i * 7) >>> 0;\\n return bits;\\n }\\n if (this.len - this.pos > 4) { // fast route (hi)\\n for (; i < 5; ++i) {\\n // 6th..10th\\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i * 7 + 3) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n } else {\\n for (; i < 5; ++i) {\\n /* istanbul ignore if */\\n if (this.pos >= this.len)\\n throw indexOutOfRange(this);\\n // 6th..10th\\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i * 7 + 3) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n }\\n /* istanbul ignore next */\\n throw Error(\\\"invalid varint encoding\\\");\\n}\\n\\n/* eslint-enable no-invalid-this */\\n\\n/**\\n * Reads a varint as a signed 64 bit value.\\n * @name Reader#int64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a varint as an unsigned 64 bit value.\\n * @name Reader#uint64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a zig-zag encoded varint as a signed 64 bit value.\\n * @name Reader#sint64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a varint as a boolean.\\n * @returns {boolean} Value read\\n */\\nReader.prototype.bool = function read_bool() {\\n return this.uint32() !== 0;\\n};\\n\\nfunction readFixed32_end(buf, end) { // note that this uses `end`, not `pos`\\n return (buf[end - 4]\\n | buf[end - 3] << 8\\n | buf[end - 2] << 16\\n | buf[end - 1] << 24) >>> 0;\\n}\\n\\n/**\\n * Reads fixed 32 bits as an unsigned 32 bit integer.\\n * @returns {number} Value read\\n */\\nReader.prototype.fixed32 = function read_fixed32() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 4 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n return readFixed32_end(this.buf, this.pos += 4);\\n};\\n\\n/**\\n * Reads fixed 32 bits as a signed 32 bit integer.\\n * @returns {number} Value read\\n */\\nReader.prototype.sfixed32 = function read_sfixed32() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 4 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n return readFixed32_end(this.buf, this.pos += 4) | 0;\\n};\\n\\n/* eslint-disable no-invalid-this */\\n\\nfunction readFixed64(/* this: Reader */) {\\n\\n /* istanbul ignore if */\\n if (this.pos + 8 > this.len)\\n throw indexOutOfRange(this, 8);\\n\\n return new LongBits(readFixed32_end(this.buf, this.pos += 4), readFixed32_end(this.buf, this.pos += 4));\\n}\\n\\n/* eslint-enable no-invalid-this */\\n\\n/**\\n * Reads fixed 64 bits.\\n * @name Reader#fixed64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads zig-zag encoded fixed 64 bits.\\n * @name Reader#sfixed64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a float (32 bit) as a number.\\n * @function\\n * @returns {number} Value read\\n */\\nReader.prototype.float = function read_float() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 4 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n var value = util.float.readFloatLE(this.buf, this.pos);\\n this.pos += 4;\\n return value;\\n};\\n\\n/**\\n * Reads a double (64 bit float) as a number.\\n * @function\\n * @returns {number} Value read\\n */\\nReader.prototype.double = function read_double() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 8 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n var value = util.float.readDoubleLE(this.buf, this.pos);\\n this.pos += 8;\\n return value;\\n};\\n\\n/**\\n * Reads a sequence of bytes preceeded by its length as a varint.\\n * @returns {Uint8Array} Value read\\n */\\nReader.prototype.bytes = function read_bytes() {\\n var length = this.uint32(),\\n start = this.pos,\\n end = this.pos + length;\\n\\n /* istanbul ignore if */\\n if (end > this.len)\\n throw indexOutOfRange(this, length);\\n\\n this.pos += length;\\n if (Array.isArray(this.buf)) // plain array\\n return this.buf.slice(start, end);\\n return start === end // fix for IE 10/Win8 and others' subarray returning array of size 1\\n ? new this.buf.constructor(0)\\n : this._slice.call(this.buf, start, end);\\n};\\n\\n/**\\n * Reads a string preceeded by its byte length as a varint.\\n * @returns {string} Value read\\n */\\nReader.prototype.string = function read_string() {\\n var bytes = this.bytes();\\n return utf8.read(bytes, 0, bytes.length);\\n};\\n\\n/**\\n * Skips the specified number of bytes if specified, otherwise skips a varint.\\n * @param {number} [length] Length if known, otherwise a varint is assumed\\n * @returns {Reader} `this`\\n */\\nReader.prototype.skip = function skip(length) {\\n if (typeof length === \\\"number\\\") {\\n /* istanbul ignore if */\\n if (this.pos + length > this.len)\\n throw indexOutOfRange(this, length);\\n this.pos += length;\\n } else {\\n do {\\n /* istanbul ignore if */\\n if (this.pos >= this.len)\\n throw indexOutOfRange(this);\\n } while (this.buf[this.pos++] & 128);\\n }\\n return this;\\n};\\n\\n/**\\n * Skips the next element of the specified wire type.\\n * @param {number} wireType Wire type received\\n * @returns {Reader} `this`\\n */\\nReader.prototype.skipType = function(wireType) {\\n switch (wireType) {\\n case 0:\\n this.skip();\\n break;\\n case 1:\\n this.skip(8);\\n break;\\n case 2:\\n this.skip(this.uint32());\\n break;\\n case 3:\\n while ((wireType = this.uint32() & 7) !== 4) {\\n this.skipType(wireType);\\n }\\n break;\\n case 5:\\n this.skip(4);\\n break;\\n\\n /* istanbul ignore next */\\n default:\\n throw Error(\\\"invalid wire type \\\" + wireType + \\\" at offset \\\" + this.pos);\\n }\\n return this;\\n};\\n\\nReader._configure = function(BufferReader_) {\\n BufferReader = BufferReader_;\\n Reader.create = create();\\n BufferReader._configure();\\n\\n var fn = util.Long ? \\\"toLong\\\" : /* istanbul ignore next */ \\\"toNumber\\\";\\n util.merge(Reader.prototype, {\\n\\n int64: function read_int64() {\\n return readLongVarint.call(this)[fn](false);\\n },\\n\\n uint64: function read_uint64() {\\n return readLongVarint.call(this)[fn](true);\\n },\\n\\n sint64: function read_sint64() {\\n return readLongVarint.call(this).zzDecode()[fn](false);\\n },\\n\\n fixed64: function read_fixed64() {\\n return readFixed64.call(this)[fn](true);\\n },\\n\\n sfixed64: function read_sfixed64() {\\n return readFixed64.call(this)[fn](false);\\n }\\n\\n });\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/reader.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/reader_buffer.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/reader_buffer.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = BufferReader;\\n\\n// extends Reader\\nvar Reader = __webpack_require__(/*! ./reader */ \\\"./node_modules/protobufjs/src/reader.js\\\");\\n(BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n/**\\n * Constructs a new buffer reader instance.\\n * @classdesc Wire format reader using node buffers.\\n * @extends Reader\\n * @constructor\\n * @param {Buffer} buffer Buffer to read from\\n */\\nfunction BufferReader(buffer) {\\n Reader.call(this, buffer);\\n\\n /**\\n * Read buffer.\\n * @name BufferReader#buf\\n * @type {Buffer}\\n */\\n}\\n\\nBufferReader._configure = function () {\\n /* istanbul ignore else */\\n if (util.Buffer)\\n BufferReader.prototype._slice = util.Buffer.prototype.slice;\\n};\\n\\n\\n/**\\n * @override\\n */\\nBufferReader.prototype.string = function read_string_buffer() {\\n var len = this.uint32(); // modifies pos\\n return this.buf.utf8Slice\\n ? this.buf.utf8Slice(this.pos, this.pos = Math.min(this.pos + len, this.len))\\n : this.buf.toString(\\\"utf-8\\\", this.pos, this.pos = Math.min(this.pos + len, this.len));\\n};\\n\\n/**\\n * Reads a sequence of bytes preceeded by its length as a varint.\\n * @name BufferReader#bytes\\n * @function\\n * @returns {Buffer} Value read\\n */\\n\\nBufferReader._configure();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/reader_buffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/roots.js\":\n/*!**********************************************!*\\\n !*** ./node_modules/protobufjs/src/roots.js ***!\n \\**********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = {};\\n\\n/**\\n * Named roots.\\n * This is where pbjs stores generated structures (the option `-r, --root` specifies a name).\\n * Can also be used manually to make roots available accross modules.\\n * @name roots\\n * @type {Object.}\\n * @example\\n * // pbjs -r myroot -o compiled.js ...\\n *\\n * // in another module:\\n * require(\\\"./compiled.js\\\");\\n *\\n * // in any subsequent module:\\n * var root = protobuf.roots[\\\"myroot\\\"];\\n */\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/roots.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/rpc.js\":\n/*!********************************************!*\\\n !*** ./node_modules/protobufjs/src/rpc.js ***!\n \\********************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n/**\\n * Streaming RPC helpers.\\n * @namespace\\n */\\nvar rpc = exports;\\n\\n/**\\n * RPC implementation passed to {@link Service#create} performing a service request on network level, i.e. by utilizing http requests or websockets.\\n * @typedef RPCImpl\\n * @type {function}\\n * @param {Method|rpc.ServiceMethod,Message<{}>>} method Reflected or static method being called\\n * @param {Uint8Array} requestData Request data\\n * @param {RPCImplCallback} callback Callback function\\n * @returns {undefined}\\n * @example\\n * function rpcImpl(method, requestData, callback) {\\n * if (protobuf.util.lcFirst(method.name) !== \\\"myMethod\\\") // compatible with static code\\n * throw Error(\\\"no such method\\\");\\n * asynchronouslyObtainAResponse(requestData, function(err, responseData) {\\n * callback(err, responseData);\\n * });\\n * }\\n */\\n\\n/**\\n * Node-style callback as used by {@link RPCImpl}.\\n * @typedef RPCImplCallback\\n * @type {function}\\n * @param {Error|null} error Error, if any, otherwise `null`\\n * @param {Uint8Array|null} [response] Response data or `null` to signal end of stream, if there hasn't been an error\\n * @returns {undefined}\\n */\\n\\nrpc.Service = __webpack_require__(/*! ./rpc/service */ \\\"./node_modules/protobufjs/src/rpc/service.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/rpc.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/rpc/service.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/protobufjs/src/rpc/service.js ***!\n \\****************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = Service;\\n\\nvar util = __webpack_require__(/*! ../util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n// Extends EventEmitter\\n(Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;\\n\\n/**\\n * A service method callback as used by {@link rpc.ServiceMethod|ServiceMethod}.\\n *\\n * Differs from {@link RPCImplCallback} in that it is an actual callback of a service method which may not return `response = null`.\\n * @typedef rpc.ServiceMethodCallback\\n * @template TRes extends Message\\n * @type {function}\\n * @param {Error|null} error Error, if any\\n * @param {TRes} [response] Response message\\n * @returns {undefined}\\n */\\n\\n/**\\n * A service method part of a {@link rpc.Service} as created by {@link Service.create}.\\n * @typedef rpc.ServiceMethod\\n * @template TReq extends Message\\n * @template TRes extends Message\\n * @type {function}\\n * @param {TReq|Properties} request Request message or plain object\\n * @param {rpc.ServiceMethodCallback} [callback] Node-style callback called with the error, if any, and the response message\\n * @returns {Promise>} Promise if `callback` has been omitted, otherwise `undefined`\\n */\\n\\n/**\\n * Constructs a new RPC service instance.\\n * @classdesc An RPC service as returned by {@link Service#create}.\\n * @exports rpc.Service\\n * @extends util.EventEmitter\\n * @constructor\\n * @param {RPCImpl} rpcImpl RPC implementation\\n * @param {boolean} [requestDelimited=false] Whether requests are length-delimited\\n * @param {boolean} [responseDelimited=false] Whether responses are length-delimited\\n */\\nfunction Service(rpcImpl, requestDelimited, responseDelimited) {\\n\\n if (typeof rpcImpl !== \\\"function\\\")\\n throw TypeError(\\\"rpcImpl must be a function\\\");\\n\\n util.EventEmitter.call(this);\\n\\n /**\\n * RPC implementation. Becomes `null` once the service is ended.\\n * @type {RPCImpl|null}\\n */\\n this.rpcImpl = rpcImpl;\\n\\n /**\\n * Whether requests are length-delimited.\\n * @type {boolean}\\n */\\n this.requestDelimited = Boolean(requestDelimited);\\n\\n /**\\n * Whether responses are length-delimited.\\n * @type {boolean}\\n */\\n this.responseDelimited = Boolean(responseDelimited);\\n}\\n\\n/**\\n * Calls a service method through {@link rpc.Service#rpcImpl|rpcImpl}.\\n * @param {Method|rpc.ServiceMethod} method Reflected or static method\\n * @param {Constructor} requestCtor Request constructor\\n * @param {Constructor} responseCtor Response constructor\\n * @param {TReq|Properties} request Request message or plain object\\n * @param {rpc.ServiceMethodCallback} callback Service callback\\n * @returns {undefined}\\n * @template TReq extends Message\\n * @template TRes extends Message\\n */\\nService.prototype.rpcCall = function rpcCall(method, requestCtor, responseCtor, request, callback) {\\n\\n if (!request)\\n throw TypeError(\\\"request must be specified\\\");\\n\\n var self = this;\\n if (!callback)\\n return util.asPromise(rpcCall, self, method, requestCtor, responseCtor, request);\\n\\n if (!self.rpcImpl) {\\n setTimeout(function() { callback(Error(\\\"already ended\\\")); }, 0);\\n return undefined;\\n }\\n\\n try {\\n return self.rpcImpl(\\n method,\\n requestCtor[self.requestDelimited ? \\\"encodeDelimited\\\" : \\\"encode\\\"](request).finish(),\\n function rpcCallback(err, response) {\\n\\n if (err) {\\n self.emit(\\\"error\\\", err, method);\\n return callback(err);\\n }\\n\\n if (response === null) {\\n self.end(/* endedByRPC */ true);\\n return undefined;\\n }\\n\\n if (!(response instanceof responseCtor)) {\\n try {\\n response = responseCtor[self.responseDelimited ? \\\"decodeDelimited\\\" : \\\"decode\\\"](response);\\n } catch (err) {\\n self.emit(\\\"error\\\", err, method);\\n return callback(err);\\n }\\n }\\n\\n self.emit(\\\"data\\\", response, method);\\n return callback(null, response);\\n }\\n );\\n } catch (err) {\\n self.emit(\\\"error\\\", err, method);\\n setTimeout(function() { callback(err); }, 0);\\n return undefined;\\n }\\n};\\n\\n/**\\n * Ends this service and emits the `end` event.\\n * @param {boolean} [endedByRPC=false] Whether the service has been ended by the RPC implementation.\\n * @returns {rpc.Service} `this`\\n */\\nService.prototype.end = function end(endedByRPC) {\\n if (this.rpcImpl) {\\n if (!endedByRPC) // signal end to rpcImpl\\n this.rpcImpl(null, null, null);\\n this.rpcImpl = null;\\n this.emit(\\\"end\\\").off();\\n }\\n return this;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/rpc/service.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/util/longbits.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/util/longbits.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = LongBits;\\n\\nvar util = __webpack_require__(/*! ../util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n/**\\n * Constructs new long bits.\\n * @classdesc Helper class for working with the low and high bits of a 64 bit value.\\n * @memberof util\\n * @constructor\\n * @param {number} lo Low 32 bits, unsigned\\n * @param {number} hi High 32 bits, unsigned\\n */\\nfunction LongBits(lo, hi) {\\n\\n // note that the casts below are theoretically unnecessary as of today, but older statically\\n // generated converter code might still call the ctor with signed 32bits. kept for compat.\\n\\n /**\\n * Low bits.\\n * @type {number}\\n */\\n this.lo = lo >>> 0;\\n\\n /**\\n * High bits.\\n * @type {number}\\n */\\n this.hi = hi >>> 0;\\n}\\n\\n/**\\n * Zero bits.\\n * @memberof util.LongBits\\n * @type {util.LongBits}\\n */\\nvar zero = LongBits.zero = new LongBits(0, 0);\\n\\nzero.toNumber = function() { return 0; };\\nzero.zzEncode = zero.zzDecode = function() { return this; };\\nzero.length = function() { return 1; };\\n\\n/**\\n * Zero hash.\\n * @memberof util.LongBits\\n * @type {string}\\n */\\nvar zeroHash = LongBits.zeroHash = \\\"\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\";\\n\\n/**\\n * Constructs new long bits from the specified number.\\n * @param {number} value Value\\n * @returns {util.LongBits} Instance\\n */\\nLongBits.fromNumber = function fromNumber(value) {\\n if (value === 0)\\n return zero;\\n var sign = value < 0;\\n if (sign)\\n value = -value;\\n var lo = value >>> 0,\\n hi = (value - lo) / 4294967296 >>> 0;\\n if (sign) {\\n hi = ~hi >>> 0;\\n lo = ~lo >>> 0;\\n if (++lo > 4294967295) {\\n lo = 0;\\n if (++hi > 4294967295)\\n hi = 0;\\n }\\n }\\n return new LongBits(lo, hi);\\n};\\n\\n/**\\n * Constructs new long bits from a number, long or string.\\n * @param {Long|number|string} value Value\\n * @returns {util.LongBits} Instance\\n */\\nLongBits.from = function from(value) {\\n if (typeof value === \\\"number\\\")\\n return LongBits.fromNumber(value);\\n if (util.isString(value)) {\\n /* istanbul ignore else */\\n if (util.Long)\\n value = util.Long.fromString(value);\\n else\\n return LongBits.fromNumber(parseInt(value, 10));\\n }\\n return value.low || value.high ? new LongBits(value.low >>> 0, value.high >>> 0) : zero;\\n};\\n\\n/**\\n * Converts this long bits to a possibly unsafe JavaScript number.\\n * @param {boolean} [unsigned=false] Whether unsigned or not\\n * @returns {number} Possibly unsafe number\\n */\\nLongBits.prototype.toNumber = function toNumber(unsigned) {\\n if (!unsigned && this.hi >>> 31) {\\n var lo = ~this.lo + 1 >>> 0,\\n hi = ~this.hi >>> 0;\\n if (!lo)\\n hi = hi + 1 >>> 0;\\n return -(lo + hi * 4294967296);\\n }\\n return this.lo + this.hi * 4294967296;\\n};\\n\\n/**\\n * Converts this long bits to a long.\\n * @param {boolean} [unsigned=false] Whether unsigned or not\\n * @returns {Long} Long\\n */\\nLongBits.prototype.toLong = function toLong(unsigned) {\\n return util.Long\\n ? new util.Long(this.lo | 0, this.hi | 0, Boolean(unsigned))\\n /* istanbul ignore next */\\n : { low: this.lo | 0, high: this.hi | 0, unsigned: Boolean(unsigned) };\\n};\\n\\nvar charCodeAt = String.prototype.charCodeAt;\\n\\n/**\\n * Constructs new long bits from the specified 8 characters long hash.\\n * @param {string} hash Hash\\n * @returns {util.LongBits} Bits\\n */\\nLongBits.fromHash = function fromHash(hash) {\\n if (hash === zeroHash)\\n return zero;\\n return new LongBits(\\n ( charCodeAt.call(hash, 0)\\n | charCodeAt.call(hash, 1) << 8\\n | charCodeAt.call(hash, 2) << 16\\n | charCodeAt.call(hash, 3) << 24) >>> 0\\n ,\\n ( charCodeAt.call(hash, 4)\\n | charCodeAt.call(hash, 5) << 8\\n | charCodeAt.call(hash, 6) << 16\\n | charCodeAt.call(hash, 7) << 24) >>> 0\\n );\\n};\\n\\n/**\\n * Converts this long bits to a 8 characters long hash.\\n * @returns {string} Hash\\n */\\nLongBits.prototype.toHash = function toHash() {\\n return String.fromCharCode(\\n this.lo & 255,\\n this.lo >>> 8 & 255,\\n this.lo >>> 16 & 255,\\n this.lo >>> 24 ,\\n this.hi & 255,\\n this.hi >>> 8 & 255,\\n this.hi >>> 16 & 255,\\n this.hi >>> 24\\n );\\n};\\n\\n/**\\n * Zig-zag encodes this long bits.\\n * @returns {util.LongBits} `this`\\n */\\nLongBits.prototype.zzEncode = function zzEncode() {\\n var mask = this.hi >> 31;\\n this.hi = ((this.hi << 1 | this.lo >>> 31) ^ mask) >>> 0;\\n this.lo = ( this.lo << 1 ^ mask) >>> 0;\\n return this;\\n};\\n\\n/**\\n * Zig-zag decodes this long bits.\\n * @returns {util.LongBits} `this`\\n */\\nLongBits.prototype.zzDecode = function zzDecode() {\\n var mask = -(this.lo & 1);\\n this.lo = ((this.lo >>> 1 | this.hi << 31) ^ mask) >>> 0;\\n this.hi = ( this.hi >>> 1 ^ mask) >>> 0;\\n return this;\\n};\\n\\n/**\\n * Calculates the length of this longbits when encoded as a varint.\\n * @returns {number} Length\\n */\\nLongBits.prototype.length = function length() {\\n var part0 = this.lo,\\n part1 = (this.lo >>> 28 | this.hi << 4) >>> 0,\\n part2 = this.hi >>> 24;\\n return part2 === 0\\n ? part1 === 0\\n ? part0 < 16384\\n ? part0 < 128 ? 1 : 2\\n : part0 < 2097152 ? 3 : 4\\n : part1 < 16384\\n ? part1 < 128 ? 5 : 6\\n : part1 < 2097152 ? 7 : 8\\n : part2 < 128 ? 9 : 10;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/util/longbits.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/util/minimal.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/protobufjs/src/util/minimal.js ***!\n \\*****************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\nvar util = exports;\\n\\n// used to return a Promise where callback is omitted\\nutil.asPromise = __webpack_require__(/*! @protobufjs/aspromise */ \\\"./node_modules/@protobufjs/aspromise/index.js\\\");\\n\\n// converts to / from base64 encoded strings\\nutil.base64 = __webpack_require__(/*! @protobufjs/base64 */ \\\"./node_modules/@protobufjs/base64/index.js\\\");\\n\\n// base class of rpc.Service\\nutil.EventEmitter = __webpack_require__(/*! @protobufjs/eventemitter */ \\\"./node_modules/@protobufjs/eventemitter/index.js\\\");\\n\\n// float handling accross browsers\\nutil.float = __webpack_require__(/*! @protobufjs/float */ \\\"./node_modules/@protobufjs/float/index.js\\\");\\n\\n// requires modules optionally and hides the call from bundlers\\nutil.inquire = __webpack_require__(/*! @protobufjs/inquire */ \\\"./node_modules/@protobufjs/inquire/index.js\\\");\\n\\n// converts to / from utf8 encoded strings\\nutil.utf8 = __webpack_require__(/*! @protobufjs/utf8 */ \\\"./node_modules/@protobufjs/utf8/index.js\\\");\\n\\n// provides a node-like buffer pool in the browser\\nutil.pool = __webpack_require__(/*! @protobufjs/pool */ \\\"./node_modules/@protobufjs/pool/index.js\\\");\\n\\n// utility to work with the low and high bits of a 64 bit value\\nutil.LongBits = __webpack_require__(/*! ./longbits */ \\\"./node_modules/protobufjs/src/util/longbits.js\\\");\\n\\n/**\\n * Whether running within node or not.\\n * @memberof util\\n * @type {boolean}\\n */\\nutil.isNode = Boolean(typeof __webpack_require__.g !== \\\"undefined\\\"\\n && __webpack_require__.g\\n && __webpack_require__.g.process\\n && __webpack_require__.g.process.versions\\n && __webpack_require__.g.process.versions.node);\\n\\n/**\\n * Global object reference.\\n * @memberof util\\n * @type {Object}\\n */\\nutil.global = util.isNode && __webpack_require__.g\\n || typeof window !== \\\"undefined\\\" && window\\n || typeof self !== \\\"undefined\\\" && self\\n || this; // eslint-disable-line no-invalid-this\\n\\n/**\\n * An immuable empty array.\\n * @memberof util\\n * @type {Array.<*>}\\n * @const\\n */\\nutil.emptyArray = Object.freeze ? Object.freeze([]) : /* istanbul ignore next */ []; // used on prototypes\\n\\n/**\\n * An immutable empty object.\\n * @type {Object}\\n * @const\\n */\\nutil.emptyObject = Object.freeze ? Object.freeze({}) : /* istanbul ignore next */ {}; // used on prototypes\\n\\n/**\\n * Tests if the specified value is an integer.\\n * @function\\n * @param {*} value Value to test\\n * @returns {boolean} `true` if the value is an integer\\n */\\nutil.isInteger = Number.isInteger || /* istanbul ignore next */ function isInteger(value) {\\n return typeof value === \\\"number\\\" && isFinite(value) && Math.floor(value) === value;\\n};\\n\\n/**\\n * Tests if the specified value is a string.\\n * @param {*} value Value to test\\n * @returns {boolean} `true` if the value is a string\\n */\\nutil.isString = function isString(value) {\\n return typeof value === \\\"string\\\" || value instanceof String;\\n};\\n\\n/**\\n * Tests if the specified value is a non-null object.\\n * @param {*} value Value to test\\n * @returns {boolean} `true` if the value is a non-null object\\n */\\nutil.isObject = function isObject(value) {\\n return value && typeof value === \\\"object\\\";\\n};\\n\\n/**\\n * Checks if a property on a message is considered to be present.\\n * This is an alias of {@link util.isSet}.\\n * @function\\n * @param {Object} obj Plain object or message instance\\n * @param {string} prop Property name\\n * @returns {boolean} `true` if considered to be present, otherwise `false`\\n */\\nutil.isset =\\n\\n/**\\n * Checks if a property on a message is considered to be present.\\n * @param {Object} obj Plain object or message instance\\n * @param {string} prop Property name\\n * @returns {boolean} `true` if considered to be present, otherwise `false`\\n */\\nutil.isSet = function isSet(obj, prop) {\\n var value = obj[prop];\\n if (value != null && obj.hasOwnProperty(prop)) // eslint-disable-line eqeqeq, no-prototype-builtins\\n return typeof value !== \\\"object\\\" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;\\n return false;\\n};\\n\\n/**\\n * Any compatible Buffer instance.\\n * This is a minimal stand-alone definition of a Buffer instance. The actual type is that exported by node's typings.\\n * @interface Buffer\\n * @extends Uint8Array\\n */\\n\\n/**\\n * Node's Buffer class if available.\\n * @type {Constructor}\\n */\\nutil.Buffer = (function() {\\n try {\\n var Buffer = util.inquire(\\\"buffer\\\").Buffer;\\n // refuse to use non-node buffers if not explicitly assigned (perf reasons):\\n return Buffer.prototype.utf8Write ? Buffer : /* istanbul ignore next */ null;\\n } catch (e) {\\n /* istanbul ignore next */\\n return null;\\n }\\n})();\\n\\n// Internal alias of or polyfull for Buffer.from.\\nutil._Buffer_from = null;\\n\\n// Internal alias of or polyfill for Buffer.allocUnsafe.\\nutil._Buffer_allocUnsafe = null;\\n\\n/**\\n * Creates a new buffer of whatever type supported by the environment.\\n * @param {number|number[]} [sizeOrArray=0] Buffer size or number array\\n * @returns {Uint8Array|Buffer} Buffer\\n */\\nutil.newBuffer = function newBuffer(sizeOrArray) {\\n /* istanbul ignore next */\\n return typeof sizeOrArray === \\\"number\\\"\\n ? util.Buffer\\n ? util._Buffer_allocUnsafe(sizeOrArray)\\n : new util.Array(sizeOrArray)\\n : util.Buffer\\n ? util._Buffer_from(sizeOrArray)\\n : typeof Uint8Array === \\\"undefined\\\"\\n ? sizeOrArray\\n : new Uint8Array(sizeOrArray);\\n};\\n\\n/**\\n * Array implementation used in the browser. `Uint8Array` if supported, otherwise `Array`.\\n * @type {Constructor}\\n */\\nutil.Array = typeof Uint8Array !== \\\"undefined\\\" ? Uint8Array /* istanbul ignore next */ : Array;\\n\\n/**\\n * Any compatible Long instance.\\n * This is a minimal stand-alone definition of a Long instance. The actual type is that exported by long.js.\\n * @interface Long\\n * @property {number} low Low bits\\n * @property {number} high High bits\\n * @property {boolean} unsigned Whether unsigned or not\\n */\\n\\n/**\\n * Long.js's Long class if available.\\n * @type {Constructor}\\n */\\nutil.Long = /* istanbul ignore next */ util.global.dcodeIO && /* istanbul ignore next */ util.global.dcodeIO.Long\\n || /* istanbul ignore next */ util.global.Long\\n || util.inquire(\\\"long\\\");\\n\\n/**\\n * Regular expression used to verify 2 bit (`bool`) map keys.\\n * @type {RegExp}\\n * @const\\n */\\nutil.key2Re = /^true|false|0|1$/;\\n\\n/**\\n * Regular expression used to verify 32 bit (`int32` etc.) map keys.\\n * @type {RegExp}\\n * @const\\n */\\nutil.key32Re = /^-?(?:0|[1-9][0-9]*)$/;\\n\\n/**\\n * Regular expression used to verify 64 bit (`int64` etc.) map keys.\\n * @type {RegExp}\\n * @const\\n */\\nutil.key64Re = /^(?:[\\\\\\\\x00-\\\\\\\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;\\n\\n/**\\n * Converts a number or long to an 8 characters long hash string.\\n * @param {Long|number} value Value to convert\\n * @returns {string} Hash\\n */\\nutil.longToHash = function longToHash(value) {\\n return value\\n ? util.LongBits.from(value).toHash()\\n : util.LongBits.zeroHash;\\n};\\n\\n/**\\n * Converts an 8 characters long hash string to a long or number.\\n * @param {string} hash Hash\\n * @param {boolean} [unsigned=false] Whether unsigned or not\\n * @returns {Long|number} Original value\\n */\\nutil.longFromHash = function longFromHash(hash, unsigned) {\\n var bits = util.LongBits.fromHash(hash);\\n if (util.Long)\\n return util.Long.fromBits(bits.lo, bits.hi, unsigned);\\n return bits.toNumber(Boolean(unsigned));\\n};\\n\\n/**\\n * Merges the properties of the source object into the destination object.\\n * @memberof util\\n * @param {Object.} dst Destination object\\n * @param {Object.} src Source object\\n * @param {boolean} [ifNotSet=false] Merges only if the key is not already set\\n * @returns {Object.} Destination object\\n */\\nfunction merge(dst, src, ifNotSet) { // used by converters\\n for (var keys = Object.keys(src), i = 0; i < keys.length; ++i)\\n if (dst[keys[i]] === undefined || !ifNotSet)\\n dst[keys[i]] = src[keys[i]];\\n return dst;\\n}\\n\\nutil.merge = merge;\\n\\n/**\\n * Converts the first character of a string to lower case.\\n * @param {string} str String to convert\\n * @returns {string} Converted string\\n */\\nutil.lcFirst = function lcFirst(str) {\\n return str.charAt(0).toLowerCase() + str.substring(1);\\n};\\n\\n/**\\n * Creates a custom error constructor.\\n * @memberof util\\n * @param {string} name Error name\\n * @returns {Constructor} Custom error constructor\\n */\\nfunction newError(name) {\\n\\n function CustomError(message, properties) {\\n\\n if (!(this instanceof CustomError))\\n return new CustomError(message, properties);\\n\\n // Error.call(this, message);\\n // ^ just returns a new error instance because the ctor can be called as a function\\n\\n Object.defineProperty(this, \\\"message\\\", { get: function() { return message; } });\\n\\n /* istanbul ignore next */\\n if (Error.captureStackTrace) // node\\n Error.captureStackTrace(this, CustomError);\\n else\\n Object.defineProperty(this, \\\"stack\\\", { value: new Error().stack || \\\"\\\" });\\n\\n if (properties)\\n merge(this, properties);\\n }\\n\\n (CustomError.prototype = Object.create(Error.prototype)).constructor = CustomError;\\n\\n Object.defineProperty(CustomError.prototype, \\\"name\\\", { get: function() { return name; } });\\n\\n CustomError.prototype.toString = function toString() {\\n return this.name + \\\": \\\" + this.message;\\n };\\n\\n return CustomError;\\n}\\n\\nutil.newError = newError;\\n\\n/**\\n * Constructs a new protocol error.\\n * @classdesc Error subclass indicating a protocol specifc error.\\n * @memberof util\\n * @extends Error\\n * @template T extends Message\\n * @constructor\\n * @param {string} message Error message\\n * @param {Object.} [properties] Additional properties\\n * @example\\n * try {\\n * MyMessage.decode(someBuffer); // throws if required fields are missing\\n * } catch (e) {\\n * if (e instanceof ProtocolError && e.instance)\\n * console.log(\\\"decoded so far: \\\" + JSON.stringify(e.instance));\\n * }\\n */\\nutil.ProtocolError = newError(\\\"ProtocolError\\\");\\n\\n/**\\n * So far decoded message instance.\\n * @name util.ProtocolError#instance\\n * @type {Message}\\n */\\n\\n/**\\n * A OneOf getter as returned by {@link util.oneOfGetter}.\\n * @typedef OneOfGetter\\n * @type {function}\\n * @returns {string|undefined} Set field name, if any\\n */\\n\\n/**\\n * Builds a getter for a oneof's present field name.\\n * @param {string[]} fieldNames Field names\\n * @returns {OneOfGetter} Unbound getter\\n */\\nutil.oneOfGetter = function getOneOf(fieldNames) {\\n var fieldMap = {};\\n for (var i = 0; i < fieldNames.length; ++i)\\n fieldMap[fieldNames[i]] = 1;\\n\\n /**\\n * @returns {string|undefined} Set field name, if any\\n * @this Object\\n * @ignore\\n */\\n return function() { // eslint-disable-line consistent-return\\n for (var keys = Object.keys(this), i = keys.length - 1; i > -1; --i)\\n if (fieldMap[keys[i]] === 1 && this[keys[i]] !== undefined && this[keys[i]] !== null)\\n return keys[i];\\n };\\n};\\n\\n/**\\n * A OneOf setter as returned by {@link util.oneOfSetter}.\\n * @typedef OneOfSetter\\n * @type {function}\\n * @param {string|undefined} value Field name\\n * @returns {undefined}\\n */\\n\\n/**\\n * Builds a setter for a oneof's present field name.\\n * @param {string[]} fieldNames Field names\\n * @returns {OneOfSetter} Unbound setter\\n */\\nutil.oneOfSetter = function setOneOf(fieldNames) {\\n\\n /**\\n * @param {string} name Field name\\n * @returns {undefined}\\n * @this Object\\n * @ignore\\n */\\n return function(name) {\\n for (var i = 0; i < fieldNames.length; ++i)\\n if (fieldNames[i] !== name)\\n delete this[fieldNames[i]];\\n };\\n};\\n\\n/**\\n * Default conversion options used for {@link Message#toJSON} implementations.\\n *\\n * These options are close to proto3's JSON mapping with the exception that internal types like Any are handled just like messages. More precisely:\\n *\\n * - Longs become strings\\n * - Enums become string keys\\n * - Bytes become base64 encoded strings\\n * - (Sub-)Messages become plain objects\\n * - Maps become plain objects with all string keys\\n * - Repeated fields become arrays\\n * - NaN and Infinity for float and double fields become strings\\n *\\n * @type {IConversionOptions}\\n * @see https://developers.google.com/protocol-buffers/docs/proto3?hl=en#json\\n */\\nutil.toJSONOptions = {\\n longs: String,\\n enums: String,\\n bytes: String,\\n json: true\\n};\\n\\n// Sets up buffer utility according to the environment (called in index-minimal)\\nutil._configure = function() {\\n var Buffer = util.Buffer;\\n /* istanbul ignore if */\\n if (!Buffer) {\\n util._Buffer_from = util._Buffer_allocUnsafe = null;\\n return;\\n }\\n // because node 4.x buffers are incompatible & immutable\\n // see: https://github.com/dcodeIO/protobuf.js/pull/665\\n util._Buffer_from = Buffer.from !== Uint8Array.from && Buffer.from ||\\n /* istanbul ignore next */\\n function Buffer_from(value, encoding) {\\n return new Buffer(value, encoding);\\n };\\n util._Buffer_allocUnsafe = Buffer.allocUnsafe ||\\n /* istanbul ignore next */\\n function Buffer_allocUnsafe(size) {\\n return new Buffer(size);\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/util/minimal.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/writer.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/protobufjs/src/writer.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = Writer;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\nvar BufferWriter; // cyclic\\n\\nvar LongBits = util.LongBits,\\n base64 = util.base64,\\n utf8 = util.utf8;\\n\\n/**\\n * Constructs a new writer operation instance.\\n * @classdesc Scheduled writer operation.\\n * @constructor\\n * @param {function(*, Uint8Array, number)} fn Function to call\\n * @param {number} len Value byte length\\n * @param {*} val Value to write\\n * @ignore\\n */\\nfunction Op(fn, len, val) {\\n\\n /**\\n * Function to call.\\n * @type {function(Uint8Array, number, *)}\\n */\\n this.fn = fn;\\n\\n /**\\n * Value byte length.\\n * @type {number}\\n */\\n this.len = len;\\n\\n /**\\n * Next operation.\\n * @type {Writer.Op|undefined}\\n */\\n this.next = undefined;\\n\\n /**\\n * Value to write.\\n * @type {*}\\n */\\n this.val = val; // type varies\\n}\\n\\n/* istanbul ignore next */\\nfunction noop() {} // eslint-disable-line no-empty-function\\n\\n/**\\n * Constructs a new writer state instance.\\n * @classdesc Copied writer state.\\n * @memberof Writer\\n * @constructor\\n * @param {Writer} writer Writer to copy state from\\n * @ignore\\n */\\nfunction State(writer) {\\n\\n /**\\n * Current head.\\n * @type {Writer.Op}\\n */\\n this.head = writer.head;\\n\\n /**\\n * Current tail.\\n * @type {Writer.Op}\\n */\\n this.tail = writer.tail;\\n\\n /**\\n * Current buffer length.\\n * @type {number}\\n */\\n this.len = writer.len;\\n\\n /**\\n * Next state.\\n * @type {State|null}\\n */\\n this.next = writer.states;\\n}\\n\\n/**\\n * Constructs a new writer instance.\\n * @classdesc Wire format writer using `Uint8Array` if available, otherwise `Array`.\\n * @constructor\\n */\\nfunction Writer() {\\n\\n /**\\n * Current length.\\n * @type {number}\\n */\\n this.len = 0;\\n\\n /**\\n * Operations head.\\n * @type {Object}\\n */\\n this.head = new Op(noop, 0, 0);\\n\\n /**\\n * Operations tail\\n * @type {Object}\\n */\\n this.tail = this.head;\\n\\n /**\\n * Linked forked states.\\n * @type {Object|null}\\n */\\n this.states = null;\\n\\n // When a value is written, the writer calculates its byte length and puts it into a linked\\n // list of operations to perform when finish() is called. This both allows us to allocate\\n // buffers of the exact required size and reduces the amount of work we have to do compared\\n // to first calculating over objects and then encoding over objects. In our case, the encoding\\n // part is just a linked list walk calling operations with already prepared values.\\n}\\n\\nvar create = function create() {\\n return util.Buffer\\n ? function create_buffer_setup() {\\n return (Writer.create = function create_buffer() {\\n return new BufferWriter();\\n })();\\n }\\n /* istanbul ignore next */\\n : function create_array() {\\n return new Writer();\\n };\\n};\\n\\n/**\\n * Creates a new writer.\\n * @function\\n * @returns {BufferWriter|Writer} A {@link BufferWriter} when Buffers are supported, otherwise a {@link Writer}\\n */\\nWriter.create = create();\\n\\n/**\\n * Allocates a buffer of the specified size.\\n * @param {number} size Buffer size\\n * @returns {Uint8Array} Buffer\\n */\\nWriter.alloc = function alloc(size) {\\n return new util.Array(size);\\n};\\n\\n// Use Uint8Array buffer pool in the browser, just like node does with buffers\\n/* istanbul ignore else */\\nif (util.Array !== Array)\\n Writer.alloc = util.pool(Writer.alloc, util.Array.prototype.subarray);\\n\\n/**\\n * Pushes a new operation to the queue.\\n * @param {function(Uint8Array, number, *)} fn Function to call\\n * @param {number} len Value byte length\\n * @param {number} val Value to write\\n * @returns {Writer} `this`\\n * @private\\n */\\nWriter.prototype._push = function push(fn, len, val) {\\n this.tail = this.tail.next = new Op(fn, len, val);\\n this.len += len;\\n return this;\\n};\\n\\nfunction writeByte(val, buf, pos) {\\n buf[pos] = val & 255;\\n}\\n\\nfunction writeVarint32(val, buf, pos) {\\n while (val > 127) {\\n buf[pos++] = val & 127 | 128;\\n val >>>= 7;\\n }\\n buf[pos] = val;\\n}\\n\\n/**\\n * Constructs a new varint writer operation instance.\\n * @classdesc Scheduled varint writer operation.\\n * @extends Op\\n * @constructor\\n * @param {number} len Value byte length\\n * @param {number} val Value to write\\n * @ignore\\n */\\nfunction VarintOp(len, val) {\\n this.len = len;\\n this.next = undefined;\\n this.val = val;\\n}\\n\\nVarintOp.prototype = Object.create(Op.prototype);\\nVarintOp.prototype.fn = writeVarint32;\\n\\n/**\\n * Writes an unsigned 32 bit value as a varint.\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.uint32 = function write_uint32(value) {\\n // here, the call to this.push has been inlined and a varint specific Op subclass is used.\\n // uint32 is by far the most frequently used operation and benefits significantly from this.\\n this.len += (this.tail = this.tail.next = new VarintOp(\\n (value = value >>> 0)\\n < 128 ? 1\\n : value < 16384 ? 2\\n : value < 2097152 ? 3\\n : value < 268435456 ? 4\\n : 5,\\n value)).len;\\n return this;\\n};\\n\\n/**\\n * Writes a signed 32 bit value as a varint.\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.int32 = function write_int32(value) {\\n return value < 0\\n ? this._push(writeVarint64, 10, LongBits.fromNumber(value)) // 10 bytes per spec\\n : this.uint32(value);\\n};\\n\\n/**\\n * Writes a 32 bit value as a varint, zig-zag encoded.\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.sint32 = function write_sint32(value) {\\n return this.uint32((value << 1 ^ value >> 31) >>> 0);\\n};\\n\\nfunction writeVarint64(val, buf, pos) {\\n while (val.hi) {\\n buf[pos++] = val.lo & 127 | 128;\\n val.lo = (val.lo >>> 7 | val.hi << 25) >>> 0;\\n val.hi >>>= 7;\\n }\\n while (val.lo > 127) {\\n buf[pos++] = val.lo & 127 | 128;\\n val.lo = val.lo >>> 7;\\n }\\n buf[pos++] = val.lo;\\n}\\n\\n/**\\n * Writes an unsigned 64 bit value as a varint.\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.uint64 = function write_uint64(value) {\\n var bits = LongBits.from(value);\\n return this._push(writeVarint64, bits.length(), bits);\\n};\\n\\n/**\\n * Writes a signed 64 bit value as a varint.\\n * @function\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.int64 = Writer.prototype.uint64;\\n\\n/**\\n * Writes a signed 64 bit value as a varint, zig-zag encoded.\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.sint64 = function write_sint64(value) {\\n var bits = LongBits.from(value).zzEncode();\\n return this._push(writeVarint64, bits.length(), bits);\\n};\\n\\n/**\\n * Writes a boolish value as a varint.\\n * @param {boolean} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.bool = function write_bool(value) {\\n return this._push(writeByte, 1, value ? 1 : 0);\\n};\\n\\nfunction writeFixed32(val, buf, pos) {\\n buf[pos ] = val & 255;\\n buf[pos + 1] = val >>> 8 & 255;\\n buf[pos + 2] = val >>> 16 & 255;\\n buf[pos + 3] = val >>> 24;\\n}\\n\\n/**\\n * Writes an unsigned 32 bit value as fixed 32 bits.\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.fixed32 = function write_fixed32(value) {\\n return this._push(writeFixed32, 4, value >>> 0);\\n};\\n\\n/**\\n * Writes a signed 32 bit value as fixed 32 bits.\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.sfixed32 = Writer.prototype.fixed32;\\n\\n/**\\n * Writes an unsigned 64 bit value as fixed 64 bits.\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.fixed64 = function write_fixed64(value) {\\n var bits = LongBits.from(value);\\n return this._push(writeFixed32, 4, bits.lo)._push(writeFixed32, 4, bits.hi);\\n};\\n\\n/**\\n * Writes a signed 64 bit value as fixed 64 bits.\\n * @function\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.sfixed64 = Writer.prototype.fixed64;\\n\\n/**\\n * Writes a float (32 bit).\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.float = function write_float(value) {\\n return this._push(util.float.writeFloatLE, 4, value);\\n};\\n\\n/**\\n * Writes a double (64 bit float).\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.double = function write_double(value) {\\n return this._push(util.float.writeDoubleLE, 8, value);\\n};\\n\\nvar writeBytes = util.Array.prototype.set\\n ? function writeBytes_set(val, buf, pos) {\\n buf.set(val, pos); // also works for plain array values\\n }\\n /* istanbul ignore next */\\n : function writeBytes_for(val, buf, pos) {\\n for (var i = 0; i < val.length; ++i)\\n buf[pos + i] = val[i];\\n };\\n\\n/**\\n * Writes a sequence of bytes.\\n * @param {Uint8Array|string} value Buffer or base64 encoded string to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.bytes = function write_bytes(value) {\\n var len = value.length >>> 0;\\n if (!len)\\n return this._push(writeByte, 1, 0);\\n if (util.isString(value)) {\\n var buf = Writer.alloc(len = base64.length(value));\\n base64.decode(value, buf, 0);\\n value = buf;\\n }\\n return this.uint32(len)._push(writeBytes, len, value);\\n};\\n\\n/**\\n * Writes a string.\\n * @param {string} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.string = function write_string(value) {\\n var len = utf8.length(value);\\n return len\\n ? this.uint32(len)._push(utf8.write, len, value)\\n : this._push(writeByte, 1, 0);\\n};\\n\\n/**\\n * Forks this writer's state by pushing it to a stack.\\n * Calling {@link Writer#reset|reset} or {@link Writer#ldelim|ldelim} resets the writer to the previous state.\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.fork = function fork() {\\n this.states = new State(this);\\n this.head = this.tail = new Op(noop, 0, 0);\\n this.len = 0;\\n return this;\\n};\\n\\n/**\\n * Resets this instance to the last state.\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.reset = function reset() {\\n if (this.states) {\\n this.head = this.states.head;\\n this.tail = this.states.tail;\\n this.len = this.states.len;\\n this.states = this.states.next;\\n } else {\\n this.head = this.tail = new Op(noop, 0, 0);\\n this.len = 0;\\n }\\n return this;\\n};\\n\\n/**\\n * Resets to the last state and appends the fork state's current write length as a varint followed by its operations.\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.ldelim = function ldelim() {\\n var head = this.head,\\n tail = this.tail,\\n len = this.len;\\n this.reset().uint32(len);\\n if (len) {\\n this.tail.next = head.next; // skip noop\\n this.tail = tail;\\n this.len += len;\\n }\\n return this;\\n};\\n\\n/**\\n * Finishes the write operation.\\n * @returns {Uint8Array} Finished buffer\\n */\\nWriter.prototype.finish = function finish() {\\n var head = this.head.next, // skip noop\\n buf = this.constructor.alloc(this.len),\\n pos = 0;\\n while (head) {\\n head.fn(head.val, buf, pos);\\n pos += head.len;\\n head = head.next;\\n }\\n // this.head = this.tail = null;\\n return buf;\\n};\\n\\nWriter._configure = function(BufferWriter_) {\\n BufferWriter = BufferWriter_;\\n Writer.create = create();\\n BufferWriter._configure();\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/writer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/writer_buffer.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/writer_buffer.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = BufferWriter;\\n\\n// extends Writer\\nvar Writer = __webpack_require__(/*! ./writer */ \\\"./node_modules/protobufjs/src/writer.js\\\");\\n(BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n/**\\n * Constructs a new buffer writer instance.\\n * @classdesc Wire format writer using node buffers.\\n * @extends Writer\\n * @constructor\\n */\\nfunction BufferWriter() {\\n Writer.call(this);\\n}\\n\\nBufferWriter._configure = function () {\\n /**\\n * Allocates a buffer of the specified size.\\n * @function\\n * @param {number} size Buffer size\\n * @returns {Buffer} Buffer\\n */\\n BufferWriter.alloc = util._Buffer_allocUnsafe;\\n\\n BufferWriter.writeBytesBuffer = util.Buffer && util.Buffer.prototype instanceof Uint8Array && util.Buffer.prototype.set.name === \\\"set\\\"\\n ? function writeBytesBuffer_set(val, buf, pos) {\\n buf.set(val, pos); // faster than copy (requires node >= 4 where Buffers extend Uint8Array and set is properly inherited)\\n // also works for plain array values\\n }\\n /* istanbul ignore next */\\n : function writeBytesBuffer_copy(val, buf, pos) {\\n if (val.copy) // Buffer values\\n val.copy(buf, pos, 0, val.length);\\n else for (var i = 0; i < val.length;) // plain array values\\n buf[pos++] = val[i++];\\n };\\n};\\n\\n\\n/**\\n * @override\\n */\\nBufferWriter.prototype.bytes = function write_bytes_buffer(value) {\\n if (util.isString(value))\\n value = util._Buffer_from(value, \\\"base64\\\");\\n var len = value.length >>> 0;\\n this.uint32(len);\\n if (len)\\n this._push(BufferWriter.writeBytesBuffer, len, value);\\n return this;\\n};\\n\\nfunction writeStringBuffer(val, buf, pos) {\\n if (val.length < 40) // plain js is faster for short strings (probably due to redundant assertions)\\n util.utf8.write(val, buf, pos);\\n else if (buf.utf8Write)\\n buf.utf8Write(val, pos);\\n else\\n buf.write(val, pos);\\n}\\n\\n/**\\n * @override\\n */\\nBufferWriter.prototype.string = function write_string_buffer(value) {\\n var len = util.Buffer.byteLength(value);\\n this.uint32(len);\\n if (len)\\n this._push(writeStringBuffer, len, value);\\n return this;\\n};\\n\\n\\n/**\\n * Finishes the write operation.\\n * @name BufferWriter#finish\\n * @function\\n * @returns {Buffer} Finished buffer\\n */\\n\\nBufferWriter._configure();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/writer_buffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./worklet/dist/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/raw-loader/dist/cjs.js!./worklet/dist/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\\\"/*\\\\n * ATTENTION: The \\\\\\\"eval\\\\\\\" devtool has been used (maybe by default in mode: \\\\\\\"development\\\\\\\").\\\\n * This devtool is neither made for production nor for readable output files.\\\\n * It uses \\\\\\\"eval()\\\\\\\" calls to create a separate source file in the browser devtools.\\\\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\\\\n * or disable the default devtool with \\\\\\\"devtool: false\\\\\\\".\\\\n * If you are looking for production-ready output files, see mode: \\\\\\\"production\\\\\\\" (https://webpack.js.org/configuration/mode/).\\\\n */\\\\n/******/ (() => { // webpackBootstrap\\\\n/******/ \\\\t\\\\\\\"use strict\\\\\\\";\\\\n/******/ \\\\tvar __webpack_modules__ = ({\\\\n\\\\n/***/ \\\\\\\"./worklet/src/voice-changer-worklet-processor.ts\\\\\\\":\\\\n/*!********************************************************!*\\\\\\\\\\\\n !*** ./worklet/src/voice-changer-worklet-processor.ts ***!\\\\n \\\\\\\\********************************************************/\\\\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\\\\n\\\\neval(\\\\\\\"__webpack_require__.r(__webpack_exports__);\\\\\\\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\\\\\\\n/* harmony export */ RequestType: () => (/* binding */ RequestType),\\\\\\\\n/* harmony export */ ResponseType: () => (/* binding */ ResponseType)\\\\\\\\n/* harmony export */ });\\\\\\\\nconst RequestType = {\\\\\\\\n \\\\\\\\\\\\\\\"voice\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"voice\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"config\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"config\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"start\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"start\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"stop\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"stop\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"trancateBuffer\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"trancateBuffer\\\\\\\\\\\\\\\",\\\\\\\\n};\\\\\\\\nconst ResponseType = {\\\\\\\\n \\\\\\\\\\\\\\\"volume\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"volume\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"inputData\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"inputData\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"start_ok\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"start_ok\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"stop_ok\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"stop_ok\\\\\\\\\\\\\\\",\\\\\\\\n};\\\\\\\\nclass VoiceChangerWorkletProcessor extends AudioWorkletProcessor {\\\\\\\\n /**\\\\\\\\n * @constructor\\\\\\\\n */\\\\\\\\n constructor() {\\\\\\\\n super();\\\\\\\\n this.BLOCK_SIZE = 128;\\\\\\\\n this.initialized = false;\\\\\\\\n this.volume = 0;\\\\\\\\n this.numTrancateTreshold = 150;\\\\\\\\n // private volTrancateThreshold = 0.0005\\\\\\\\n // private volTrancateLength = 32\\\\\\\\n // private volTrancateCount = 0\\\\\\\\n this.isRecording = false;\\\\\\\\n this.playBuffer = [];\\\\\\\\n this.calcVol = (data, prevVol) => {\\\\\\\\n const sum = data.reduce((prev, cur) => {\\\\\\\\n return prev + cur * cur;\\\\\\\\n }, 0);\\\\\\\\n const rms = Math.sqrt(sum / data.length);\\\\\\\\n return Math.max(rms, prevVol * 0.95);\\\\\\\\n };\\\\\\\\n this.trancateBuffer = () => {\\\\\\\\n console.log(\\\\\\\\\\\\\\\"[worklet] Buffer truncated\\\\\\\\\\\\\\\");\\\\\\\\n while (this.playBuffer.length > 2) {\\\\\\\\n this.playBuffer.shift();\\\\\\\\n }\\\\\\\\n };\\\\\\\\n this.pushData = (inputData) => {\\\\\\\\n const volumeResponse = {\\\\\\\\n responseType: ResponseType.inputData,\\\\\\\\n inputData: inputData\\\\\\\\n };\\\\\\\\n this.port.postMessage(volumeResponse);\\\\\\\\n };\\\\\\\\n this.initialized = true;\\\\\\\\n this.port.onmessage = this.handleMessage.bind(this);\\\\\\\\n }\\\\\\\\n handleMessage(event) {\\\\\\\\n const request = event.data;\\\\\\\\n if (request.requestType === \\\\\\\\\\\\\\\"config\\\\\\\\\\\\\\\") {\\\\\\\\n this.numTrancateTreshold = request.numTrancateTreshold;\\\\\\\\n // this.volTrancateLength = request.volTrancateLength\\\\\\\\n // this.volTrancateThreshold = request.volTrancateThreshold\\\\\\\\n console.log(\\\\\\\\\\\\\\\"[worklet] worklet configured\\\\\\\\\\\\\\\", request);\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n else if (request.requestType === \\\\\\\\\\\\\\\"start\\\\\\\\\\\\\\\") {\\\\\\\\n if (this.isRecording) {\\\\\\\\n console.warn(\\\\\\\\\\\\\\\"[worklet] recoring is already started\\\\\\\\\\\\\\\");\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n this.isRecording = true;\\\\\\\\n const startResponse = {\\\\\\\\n responseType: \\\\\\\\\\\\\\\"start_ok\\\\\\\\\\\\\\\",\\\\\\\\n };\\\\\\\\n this.port.postMessage(startResponse);\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n else if (request.requestType === \\\\\\\\\\\\\\\"stop\\\\\\\\\\\\\\\") {\\\\\\\\n if (!this.isRecording) {\\\\\\\\n console.warn(\\\\\\\\\\\\\\\"[worklet] recoring is not started\\\\\\\\\\\\\\\");\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n this.isRecording = false;\\\\\\\\n const stopResponse = {\\\\\\\\n responseType: \\\\\\\\\\\\\\\"stop_ok\\\\\\\\\\\\\\\",\\\\\\\\n };\\\\\\\\n this.port.postMessage(stopResponse);\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n else if (request.requestType === \\\\\\\\\\\\\\\"trancateBuffer\\\\\\\\\\\\\\\") {\\\\\\\\n this.trancateBuffer();\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n if (this.playBuffer.length > this.numTrancateTreshold) {\\\\\\\\n this.trancateBuffer();\\\\\\\\n }\\\\\\\\n const f32Data = request.voice;\\\\\\\\n const chunkNum = f32Data.length / this.BLOCK_SIZE;\\\\\\\\n for (let i = 0; i < chunkNum; i++) {\\\\\\\\n const block = f32Data.slice(i * this.BLOCK_SIZE, (i + 1) * this.BLOCK_SIZE);\\\\\\\\n this.playBuffer.push(block);\\\\\\\\n }\\\\\\\\n }\\\\\\\\n process(_inputs, outputs, _parameters) {\\\\\\\\n if (!this.initialized) {\\\\\\\\n console.warn(\\\\\\\\\\\\\\\"[worklet] worklet_process not ready\\\\\\\\\\\\\\\");\\\\\\\\n return true;\\\\\\\\n }\\\\\\\\n if (this.isRecording) {\\\\\\\\n if (_inputs.length > 0 && _inputs[0].length > 0) {\\\\\\\\n this.pushData(_inputs[0][0]);\\\\\\\\n }\\\\\\\\n }\\\\\\\\n if (this.playBuffer.length === 0) {\\\\\\\\n // console.log(\\\\\\\\\\\\\\\"[worklet] no play buffer\\\\\\\\\\\\\\\")\\\\\\\\n return true;\\\\\\\\n }\\\\\\\\n //// 一定期間無音状態が続いている場合はスキップ。\\\\\\\\n // let voice: Float32Array | undefined\\\\\\\\n // while (true) {\\\\\\\\n // voice = this.playBuffer.shift()\\\\\\\\n // if (!voice) {\\\\\\\\n // break\\\\\\\\n // }\\\\\\\\n // this.volume = this.calcVol(voice, this.volume)\\\\\\\\n // if (this.volume < this.volTrancateThreshold) {\\\\\\\\n // this.volTrancateCount += 1\\\\\\\\n // } else {\\\\\\\\n // this.volTrancateCount = 0\\\\\\\\n // }\\\\\\\\n // // V.1.5.0よりsilent skipで音飛びするようになったので無効化\\\\\\\\n // if (this.volTrancateCount < this.volTrancateLength || this.volTrancateLength < 0) {\\\\\\\\n // break\\\\\\\\n // } else {\\\\\\\\n // break\\\\\\\\n // // console.log(\\\\\\\\\\\\\\\"silent...skip\\\\\\\\\\\\\\\")\\\\\\\\n // }\\\\\\\\n // }\\\\\\\\n let voice = this.playBuffer.shift();\\\\\\\\n if (voice) {\\\\\\\\n this.volume = this.calcVol(voice, this.volume);\\\\\\\\n const volumeResponse = {\\\\\\\\n responseType: ResponseType.volume,\\\\\\\\n volume: this.volume\\\\\\\\n };\\\\\\\\n this.port.postMessage(volumeResponse);\\\\\\\\n outputs[0][0].set(voice);\\\\\\\\n if (outputs[0].length == 2) {\\\\\\\\n outputs[0][1].set(voice);\\\\\\\\n }\\\\\\\\n }\\\\\\\\n return true;\\\\\\\\n }\\\\\\\\n}\\\\\\\\nregisterProcessor(\\\\\\\\\\\\\\\"voice-changer-worklet-processor\\\\\\\\\\\\\\\", VoiceChangerWorkletProcessor);\\\\\\\\n\\\\\\\\n\\\\\\\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./worklet/src/voice-changer-worklet-processor.ts?\\\\\\\");\\\\n\\\\n/***/ })\\\\n\\\\n/******/ \\\\t});\\\\n/************************************************************************/\\\\n/******/ \\\\t// The require scope\\\\n/******/ \\\\tvar __webpack_require__ = {};\\\\n/******/ \\\\t\\\\n/************************************************************************/\\\\n/******/ \\\\t/* webpack/runtime/define property getters */\\\\n/******/ \\\\t(() => {\\\\n/******/ \\\\t\\\\t// define getter functions for harmony exports\\\\n/******/ \\\\t\\\\t__webpack_require__.d = (exports, definition) => {\\\\n/******/ \\\\t\\\\t\\\\tfor(var key in definition) {\\\\n/******/ \\\\t\\\\t\\\\t\\\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\\\n/******/ \\\\t\\\\t\\\\t\\\\t\\\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\\\n/******/ \\\\t\\\\t\\\\t\\\\t}\\\\n/******/ \\\\t\\\\t\\\\t}\\\\n/******/ \\\\t\\\\t};\\\\n/******/ \\\\t})();\\\\n/******/ \\\\t\\\\n/******/ \\\\t/* webpack/runtime/hasOwnProperty shorthand */\\\\n/******/ \\\\t(() => {\\\\n/******/ \\\\t\\\\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\\\\n/******/ \\\\t})();\\\\n/******/ \\\\t\\\\n/******/ \\\\t/* webpack/runtime/make namespace object */\\\\n/******/ \\\\t(() => {\\\\n/******/ \\\\t\\\\t// define __esModule on exports\\\\n/******/ \\\\t\\\\t__webpack_require__.r = (exports) => {\\\\n/******/ \\\\t\\\\t\\\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\\\n/******/ \\\\t\\\\t\\\\t\\\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\\\n/******/ \\\\t\\\\t\\\\t}\\\\n/******/ \\\\t\\\\t\\\\tObject.defineProperty(exports, '__esModule', { value: true });\\\\n/******/ \\\\t\\\\t};\\\\n/******/ \\\\t})();\\\\n/******/ \\\\t\\\\n/************************************************************************/\\\\n/******/ \\\\t\\\\n/******/ \\\\t// startup\\\\n/******/ \\\\t// Load entry module and return exports\\\\n/******/ \\\\t// This entry module can't be inlined because the eval devtool is used.\\\\n/******/ \\\\tvar __webpack_exports__ = {};\\\\n/******/ \\\\t__webpack_modules__[\\\\\\\"./worklet/src/voice-changer-worklet-processor.ts\\\\\\\"](0, __webpack_exports__, __webpack_require__);\\\\n/******/ \\\\t\\\\n/******/ })()\\\\n;\\\");\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./worklet/dist/index.js?./node_modules/raw-loader/dist/cjs.js\");\n\n/***/ }),\n\n/***/ \"./src/License.ts\":\n/*!************************!*\\\n !*** ./src/License.ts ***!\n \\************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ getLicenceInfo: () => (/* binding */ getLicenceInfo)\\n/* harmony export */ });\\nconst getLicenceInfo = () => {\\n return [\\n {\\n name: \\\"VC Helper\\\",\\n url: \\\"https://github.com/w-okada/voice-changer\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://raw.githubusercontent.com/w-okada/voice-changer/master/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n {\\n name: \\\"MMVC\\\",\\n url: \\\"https://github.com/isletennos/MMVC_Trainer\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://raw.githubusercontent.com/isletennos/MMVC_Trainer/main/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n {\\n name: \\\"so-vits-svc\\\",\\n url: \\\"https://github.com/svc-develop-team/so-vits-svc\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://github.com/svc-develop-team/so-vits-svc/blob/4.0/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n {\\n name: \\\"ContentVec\\\",\\n url: \\\"https://github.com/auspicious3000/contentvec\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://raw.githubusercontent.com/auspicious3000/contentvec/main/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n ];\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/License.ts?\");\n\n/***/ }),\n\n/***/ \"./src/ServerConfigurator.ts\":\n/*!***********************************!*\\\n !*** ./src/ServerConfigurator.ts ***!\n \\***********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ServerConfigurator: () => (/* binding */ ServerConfigurator)\\n/* harmony export */ });\\nclass ServerConfigurator {\\n constructor() {\\n this.serverUrl = \\\"\\\";\\n this.setServerUrl = (serverUrl) => {\\n this.serverUrl = serverUrl;\\n console.log(`[ServerConfigurator] Server URL: ${this.serverUrl}`);\\n };\\n this.getSettings = async () => {\\n const url = this.serverUrl + \\\"/info\\\";\\n const info = await new Promise((resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n fetch(request).then(async (response) => {\\n const json = await response.json();\\n resolve(json);\\n });\\n });\\n return info;\\n };\\n this.getPerformance = async () => {\\n const url = this.serverUrl + \\\"/performance\\\";\\n const info = await new Promise((resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n fetch(request).then(async (response) => {\\n const json = await response.json();\\n resolve(json);\\n });\\n });\\n return info;\\n };\\n this.updateSettings = async (key, val) => {\\n const url = this.serverUrl + \\\"/update_settings\\\";\\n const info = await new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"key\\\", key);\\n formData.append(\\\"val\\\", val);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return info;\\n };\\n this.uploadFile2 = async (dir, file, onprogress) => {\\n const url = this.serverUrl + \\\"/upload_file\\\";\\n onprogress(0, false);\\n const size = 1024 * 1024;\\n let index = 0; // index値\\n const fileLength = file.size;\\n const filename = dir + file.name;\\n const fileChunkNum = Math.ceil(fileLength / size);\\n while (true) {\\n const promises = [];\\n for (let i = 0; i < 10; i++) {\\n if (index * size >= fileLength) {\\n break;\\n }\\n const chunk = file.slice(index * size, (index + 1) * size);\\n const p = new Promise((resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"file\\\", new Blob([chunk]));\\n formData.append(\\\"filename\\\", `${filename}_${index}`);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n fetch(request).then(async (_response) => {\\n // console.log(await response.text())\\n resolve();\\n });\\n });\\n index += 1;\\n promises.push(p);\\n }\\n await Promise.all(promises);\\n if (index * size >= fileLength) {\\n break;\\n }\\n onprogress(Math.floor(((index) / (fileChunkNum + 1)) * 100), false);\\n }\\n return fileChunkNum;\\n };\\n this.uploadFile = async (buf, filename, onprogress) => {\\n const url = this.serverUrl + \\\"/upload_file\\\";\\n onprogress(0, false);\\n const size = 1024 * 1024;\\n const fileChunks = [];\\n let index = 0; // index値\\n for (let cur = 0; cur < buf.byteLength; cur += size) {\\n fileChunks.push({\\n hash: index++,\\n chunk: buf.slice(cur, cur + size),\\n });\\n }\\n const chunkNum = fileChunks.length;\\n // console.log(\\\"FILE_CHUNKS:\\\", chunkNum, fileChunks)\\n while (true) {\\n const promises = [];\\n for (let i = 0; i < 10; i++) {\\n const chunk = fileChunks.shift();\\n if (!chunk) {\\n break;\\n }\\n const p = new Promise((resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"file\\\", new Blob([chunk.chunk]));\\n formData.append(\\\"filename\\\", `${filename}_${chunk.hash}`);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n fetch(request).then(async (_response) => {\\n // console.log(await response.text())\\n resolve();\\n });\\n });\\n promises.push(p);\\n }\\n await Promise.all(promises);\\n if (fileChunks.length == 0) {\\n break;\\n }\\n onprogress(Math.floor(((chunkNum - fileChunks.length) / (chunkNum + 1)) * 100), false);\\n }\\n return chunkNum;\\n };\\n this.concatUploadedFile = async (filename, chunkNum) => {\\n const url = this.serverUrl + \\\"/concat_uploaded_file\\\";\\n await new Promise((resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"filename\\\", filename);\\n formData.append(\\\"filenameChunkNum\\\", \\\"\\\" + chunkNum);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n fetch(request).then(async (response) => {\\n console.log(await response.text());\\n resolve();\\n });\\n });\\n };\\n this.loadModel = async (slot, isHalf, params = \\\"{}\\\") => {\\n if (isHalf == undefined || isHalf == null) {\\n console.warn(\\\"isHalf is invalid value\\\", isHalf);\\n isHalf = false;\\n }\\n const url = this.serverUrl + \\\"/load_model\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"slot\\\", \\\"\\\" + slot);\\n formData.append(\\\"isHalf\\\", \\\"\\\" + isHalf);\\n formData.append(\\\"params\\\", params);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.uploadAssets = async (params) => {\\n const url = this.serverUrl + \\\"/upload_model_assets\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"params\\\", params);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.switchModelType = async (clinetType) => {\\n const url = this.serverUrl + \\\"/model_type\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"modelType\\\", clinetType);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.getModelType = async () => {\\n const url = this.serverUrl + \\\"/model_type\\\";\\n const info = new Promise(async (resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.export2onnx = async () => {\\n const url = this.serverUrl + \\\"/onnx\\\";\\n const info = new Promise(async (resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.mergeModel = async (req) => {\\n const url = this.serverUrl + \\\"/merge_model\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"request\\\", JSON.stringify(req));\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n console.log(\\\"RESPONSE\\\", res);\\n resolve(res);\\n });\\n return await info;\\n };\\n this.updateModelDefault = async () => {\\n const url = this.serverUrl + \\\"/update_model_default\\\";\\n const info = new Promise(async (resolve) => {\\n const request = new Request(url, {\\n method: 'POST',\\n });\\n const res = await (await fetch(request)).json();\\n console.log(\\\"RESPONSE\\\", res);\\n resolve(res);\\n });\\n return await info;\\n };\\n this.updateModelInfo = async (slot, key, val) => {\\n const url = this.serverUrl + \\\"/update_model_info\\\";\\n const newData = { slot, key, val };\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"newData\\\", JSON.stringify(newData));\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n console.log(\\\"RESPONSE\\\", res);\\n resolve(res);\\n });\\n return await info;\\n };\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/ServerConfigurator.ts?\");\n\n/***/ }),\n\n/***/ \"./src/VoiceChangerClient.ts\":\n/*!***********************************!*\\\n !*** ./src/VoiceChangerClient.ts ***!\n \\***********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ VoiceChangerClient: () => (/* binding */ VoiceChangerClient)\\n/* harmony export */ });\\n/* harmony import */ var _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VoiceChangerWorkletNode */ \\\"./src/VoiceChangerWorkletNode.ts\\\");\\n/* harmony import */ var raw_loader_worklet_dist_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!../worklet/dist/index.js */ \\\"./node_modules/raw-loader/dist/cjs.js!./worklet/dist/index.js\\\");\\n/* harmony import */ var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! amazon-chime-sdk-js */ \\\"./node_modules/amazon-chime-sdk-js/build/index.js\\\");\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ \\\"./src/util.ts\\\");\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _ServerConfigurator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ServerConfigurator */ \\\"./src/ServerConfigurator.ts\\\");\\n/* harmony import */ var _utils_BlockingQueue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/BlockingQueue */ \\\"./src/utils/BlockingQueue.ts\\\");\\n\\n// @ts-ignore\\n\\n\\n\\n\\n\\n// オーディオデータの流れ\\n// input node(mic or MediaStream) -> [vf node] -> [vc node] -> \\n// sio/rest server -> [vc node] -> output node\\n\\nclass VoiceChangerClient {\\n constructor(ctx, vfEnable, voiceChangerWorkletListener) {\\n this.vfEnable = false;\\n this.vf = null;\\n this.currentDevice = null;\\n this.currentMediaStream = null;\\n this.currentMediaStreamAudioSourceNode = null;\\n this.inputGainNode = null;\\n this.outputGainNode = null;\\n this._isVoiceChanging = false;\\n this.setting = _const__WEBPACK_IMPORTED_MODULE_4__.DefaultVoiceChangerClientSetting;\\n this.sslCertified = [];\\n this.sem = new _utils_BlockingQueue__WEBPACK_IMPORTED_MODULE_6__.BlockingQueue();\\n this.lock = async () => {\\n const num = await this.sem.dequeue();\\n return num;\\n };\\n this.unlock = (num) => {\\n this.sem.enqueue(num + 1);\\n };\\n this.isInitialized = async () => {\\n if (this.promiseForInitialize) {\\n await this.promiseForInitialize;\\n }\\n return true;\\n };\\n /////////////////////////////////////////////////////\\n // オペレーション\\n /////////////////////////////////////////////////////\\n /// Operations ///\\n this.setup = async () => {\\n const lockNum = await this.lock();\\n console.log(`Input Setup=> echo: ${this.setting.echoCancel}, noise1: ${this.setting.noiseSuppression}, noise2: ${this.setting.noiseSuppression2}`);\\n // condition check\\n if (!this.vcInNode) {\\n console.warn(\\\"vc node is not initialized.\\\");\\n throw \\\"vc node is not initialized.\\\";\\n }\\n // Main Process\\n //// shutdown & re-generate mediastream\\n if (this.currentMediaStream) {\\n this.currentMediaStream.getTracks().forEach(x => { x.stop(); });\\n this.currentMediaStream = null;\\n }\\n //// Input デバイスがnullの時はmicStreamを止めてリターン\\n if (!this.setting.audioInput) {\\n console.log(`Input Setup=> client mic is disabled. ${this.setting.audioInput}`);\\n this.vcInNode.stop();\\n await this.unlock(lockNum);\\n return;\\n }\\n if (typeof this.setting.audioInput == \\\"string\\\") {\\n try {\\n if (this.setting.audioInput == \\\"none\\\") {\\n this.currentMediaStream = (0,_util__WEBPACK_IMPORTED_MODULE_3__.createDummyMediaStream)(this.ctx);\\n }\\n else {\\n this.currentMediaStream = await navigator.mediaDevices.getUserMedia({\\n audio: {\\n deviceId: this.setting.audioInput,\\n channelCount: 1,\\n sampleRate: this.setting.sampleRate,\\n sampleSize: 16,\\n autoGainControl: false,\\n echoCancellation: this.setting.echoCancel,\\n noiseSuppression: this.setting.noiseSuppression\\n }\\n });\\n }\\n }\\n catch (e) {\\n console.warn(e);\\n this.vcInNode.stop();\\n await this.unlock(lockNum);\\n throw e;\\n }\\n // this.currentMediaStream.getAudioTracks().forEach((x) => {\\n // console.log(\\\"MIC Setting(cap)\\\", x.getCapabilities())\\n // console.log(\\\"MIC Setting(const)\\\", x.getConstraints())\\n // console.log(\\\"MIC Setting(setting)\\\", x.getSettings())\\n // })\\n }\\n else {\\n this.currentMediaStream = this.setting.audioInput;\\n }\\n // connect nodes.\\n this.currentMediaStreamAudioSourceNode = this.ctx.createMediaStreamSource(this.currentMediaStream);\\n this.inputGainNode = this.ctx.createGain();\\n this.inputGainNode.gain.value = this.setting.inputGain;\\n this.currentMediaStreamAudioSourceNode.connect(this.inputGainNode);\\n if (this.currentDevice && this.setting.noiseSuppression2) {\\n this.currentDevice.chooseNewInnerDevice(this.currentMediaStream);\\n const voiceFocusNode = await this.currentDevice.createAudioNode(this.ctx); // vf node\\n this.inputGainNode.connect(voiceFocusNode.start); // input node -> vf node\\n voiceFocusNode.end.connect(this.vcInNode);\\n }\\n else {\\n // console.log(\\\"input___ media stream\\\", this.currentMediaStream)\\n // this.currentMediaStream.getTracks().forEach(x => {\\n // console.log(\\\"input___ media stream set\\\", x.getSettings())\\n // console.log(\\\"input___ media stream con\\\", x.getConstraints())\\n // console.log(\\\"input___ media stream cap\\\", x.getCapabilities())\\n // })\\n // console.log(\\\"input___ media node\\\", this.currentMediaStreamAudioSourceNode)\\n // console.log(\\\"input___ gain node\\\", this.inputGainNode.channelCount, this.inputGainNode)\\n this.inputGainNode.connect(this.vcInNode);\\n }\\n this.vcInNode.setOutputNode(this.vcOutNode);\\n console.log(\\\"Input Setup=> success\\\");\\n await this.unlock(lockNum);\\n };\\n this.start = async () => {\\n await this.vcInNode.start();\\n this._isVoiceChanging = true;\\n };\\n this.stop = async () => {\\n await this.vcInNode.stop();\\n this._isVoiceChanging = false;\\n };\\n ////////////////////////\\n /// 設定\\n //////////////////////////////\\n this.setServerUrl = (serverUrl, openTab = false) => {\\n const url = (0,_util__WEBPACK_IMPORTED_MODULE_3__.validateUrl)(serverUrl);\\n const pageUrl = `${location.protocol}//${location.host}`;\\n if (url != pageUrl && url.length != 0 && location.protocol == \\\"https:\\\" && this.sslCertified.includes(url) == false) {\\n if (openTab) {\\n const value = window.confirm(\\\"MMVC Server is different from this page's origin. Open tab to open ssl connection. OK? (You can close the opened tab after ssl connection succeed.)\\\");\\n if (value) {\\n window.open(url, '_blank');\\n this.sslCertified.push(url);\\n }\\n else {\\n alert(\\\"Your voice conversion may fail...\\\");\\n }\\n }\\n }\\n this.vcInNode.updateSetting({ ...this.vcInNode.getSettings(), serverUrl: url });\\n this.configurator.setServerUrl(url);\\n };\\n this.updateClientSetting = async (setting) => {\\n let reconstructInputRequired = false;\\n if (this.setting.audioInput != setting.audioInput ||\\n this.setting.echoCancel != setting.echoCancel ||\\n this.setting.noiseSuppression != setting.noiseSuppression ||\\n this.setting.noiseSuppression2 != setting.noiseSuppression2 ||\\n this.setting.sampleRate != setting.sampleRate) {\\n reconstructInputRequired = true;\\n }\\n if (this.setting.inputGain != setting.inputGain) {\\n this.setInputGain(setting.inputGain);\\n }\\n if (this.setting.outputGain != setting.outputGain) {\\n this.setOutputGain(setting.outputGain);\\n }\\n this.setting = setting;\\n if (reconstructInputRequired) {\\n await this.setup();\\n }\\n };\\n this.setInputGain = (val) => {\\n this.setting.inputGain = val;\\n if (!this.inputGainNode) {\\n return;\\n }\\n this.inputGainNode.gain.value = val;\\n };\\n this.setOutputGain = (val) => {\\n if (!this.outputGainNode) {\\n return;\\n }\\n this.outputGainNode.gain.value = val;\\n };\\n /////////////////////////////////////////////////////\\n // コンポーネント設定、操作\\n /////////////////////////////////////////////////////\\n //## Server ##//\\n this.switchModelType = (clientType) => {\\n return this.configurator.switchModelType(clientType);\\n };\\n this.getModelType = () => {\\n return this.configurator.getModelType();\\n };\\n this.getOnnx = async () => {\\n return this.configurator.export2onnx();\\n };\\n this.mergeModel = async (req) => {\\n return this.configurator.mergeModel(req);\\n };\\n this.updateModelDefault = async () => {\\n return this.configurator.updateModelDefault();\\n };\\n this.updateModelInfo = async (slot, key, val) => {\\n return this.configurator.updateModelInfo(slot, key, val);\\n };\\n this.updateServerSettings = (key, val) => {\\n return this.configurator.updateSettings(key, val);\\n };\\n this.uploadFile = (buf, filename, onprogress) => {\\n return this.configurator.uploadFile(buf, filename, onprogress);\\n };\\n this.uploadFile2 = (dir, file, onprogress) => {\\n return this.configurator.uploadFile2(dir, file, onprogress);\\n };\\n this.concatUploadedFile = (filename, chunkNum) => {\\n return this.configurator.concatUploadedFile(filename, chunkNum);\\n };\\n this.loadModel = (slot, isHalf, params) => {\\n return this.configurator.loadModel(slot, isHalf, params);\\n };\\n this.uploadAssets = (params) => {\\n return this.configurator.uploadAssets(params);\\n };\\n //## Worklet ##//\\n this.configureWorklet = (setting) => {\\n this.vcInNode.configure(setting);\\n this.vcOutNode.configure(setting);\\n };\\n this.startOutputRecording = () => {\\n this.vcOutNode.startOutputRecording();\\n };\\n this.stopOutputRecording = () => {\\n return this.vcOutNode.stopOutputRecording();\\n };\\n this.trancateBuffer = () => {\\n this.vcOutNode.trancateBuffer();\\n };\\n //## Worklet Node ##//\\n this.updateWorkletNodeSetting = (setting) => {\\n this.vcInNode.updateSetting(setting);\\n this.vcOutNode.updateSetting(setting);\\n };\\n /////////////////////////////////////////////////////\\n // 情報取得\\n /////////////////////////////////////////////////////\\n // Information\\n this.getClientSettings = () => {\\n return this.vcInNode.getSettings();\\n };\\n this.getServerSettings = () => {\\n return this.configurator.getSettings();\\n };\\n this.getPerformance = () => {\\n return this.configurator.getPerformance();\\n };\\n this.getSocketId = () => {\\n return this.vcInNode.getSocketId();\\n };\\n this.sem.enqueue(0);\\n this.configurator = new _ServerConfigurator__WEBPACK_IMPORTED_MODULE_5__.ServerConfigurator();\\n this.ctx = ctx;\\n this.vfEnable = vfEnable;\\n this.promiseForInitialize = new Promise(async (resolve) => {\\n const scriptUrl = URL.createObjectURL(new Blob([raw_loader_worklet_dist_index_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"]], { type: \\\"text/javascript\\\" }));\\n // await this.ctx.audioWorklet.addModule(scriptUrl)\\n // this.vcInNode = new VoiceChangerWorkletNode(this.ctx, voiceChangerWorkletListener); // vc node \\n try {\\n this.vcInNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(this.ctx, voiceChangerWorkletListener); // vc node \\n }\\n catch (err) {\\n await this.ctx.audioWorklet.addModule(scriptUrl);\\n this.vcInNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(this.ctx, voiceChangerWorkletListener); // vc node \\n }\\n // const ctx44k = new AudioContext({ sampleRate: 44100 }) // これでもプチプチが残る\\n const ctx44k = new AudioContext({ sampleRate: 48000 }); // 結局これが一番まし。\\n console.log(\\\"audio out:\\\", ctx44k);\\n try {\\n this.vcOutNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(ctx44k, voiceChangerWorkletListener); // vc node \\n }\\n catch (err) {\\n await ctx44k.audioWorklet.addModule(scriptUrl);\\n this.vcOutNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(ctx44k, voiceChangerWorkletListener); // vc node \\n }\\n this.currentMediaStreamAudioDestinationNode = ctx44k.createMediaStreamDestination(); // output node\\n this.outputGainNode = ctx44k.createGain();\\n this.outputGainNode.gain.value = this.setting.outputGain;\\n this.vcOutNode.connect(this.outputGainNode); // vc node -> output node\\n this.outputGainNode.connect(this.currentMediaStreamAudioDestinationNode);\\n if (this.vfEnable) {\\n this.vf = await amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_2__.VoiceFocusDeviceTransformer.create({ variant: 'c20' });\\n const dummyMediaStream = (0,_util__WEBPACK_IMPORTED_MODULE_3__.createDummyMediaStream)(this.ctx);\\n this.currentDevice = (await this.vf.createTransformDevice(dummyMediaStream)) || null;\\n }\\n resolve();\\n });\\n }\\n get stream() {\\n return this.currentMediaStreamAudioDestinationNode.stream;\\n }\\n get isVoiceChanging() {\\n return this._isVoiceChanging;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/VoiceChangerClient.ts?\");\n\n/***/ }),\n\n/***/ \"./src/VoiceChangerWorkletNode.ts\":\n/*!****************************************!*\\\n !*** ./src/VoiceChangerWorkletNode.ts ***!\n \\****************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ VoiceChangerWorkletNode: () => (/* binding */ VoiceChangerWorkletNode),\\n/* harmony export */ postVoice: () => (/* binding */ postVoice)\\n/* harmony export */ });\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var socket_io_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! socket.io-client */ \\\"./node_modules/socket.io-client/build/esm/index.js\\\");\\n/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \\\"./node_modules/buffer/index.js\\\")[\\\"Buffer\\\"];\\n\\n\\nclass VoiceChangerWorkletNode extends AudioWorkletNode {\\n constructor(context, listener) {\\n super(context, \\\"voice-changer-worklet-processor\\\");\\n this.setting = _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting;\\n this.requestChunks = [];\\n this.socket = null;\\n // performance monitor\\n this.bufferStart = 0;\\n this.isOutputRecording = false;\\n this.recordingOutputChunk = [];\\n this.outputNode = null;\\n // Promises\\n this.startPromiseResolve = null;\\n this.stopPromiseResolve = null;\\n this.setOutputNode = (outputNode) => {\\n this.outputNode = outputNode;\\n };\\n // 設定\\n this.updateSetting = (setting) => {\\n console.log(`[WorkletNode] Updating WorkletNode Setting,`, this.setting, setting);\\n let recreateSocketIoRequired = false;\\n if (this.setting.serverUrl != setting.serverUrl || this.setting.protocol != setting.protocol) {\\n recreateSocketIoRequired = true;\\n }\\n this.setting = setting;\\n if (recreateSocketIoRequired) {\\n this.createSocketIO();\\n }\\n };\\n this.getSettings = () => {\\n return this.setting;\\n };\\n this.getSocketId = () => {\\n return this.socket?.id;\\n };\\n // 処理\\n this.createSocketIO = () => {\\n if (this.socket) {\\n this.socket.close();\\n }\\n if (this.setting.protocol === \\\"sio\\\") {\\n this.socket = (0,socket_io_client__WEBPACK_IMPORTED_MODULE_1__.io)(this.setting.serverUrl + \\\"/test\\\");\\n this.socket.on('connect_error', (err) => {\\n this.listener.notifyException(_const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION.ERR_SIO_CONNECT_FAILED, `[SIO] rconnection failed ${err}`);\\n });\\n this.socket.on('connect', () => {\\n console.log(`[SIO] connect to ${this.setting.serverUrl}`);\\n console.log(`[SIO] ${this.socket?.id}`);\\n });\\n this.socket.on('close', function (socket) {\\n console.log(`[SIO] close ${socket.id}`);\\n });\\n this.socket.on('message', (response) => {\\n console.log(\\\"message:\\\", response);\\n });\\n this.socket.on('response', (response) => {\\n const cur = Date.now();\\n const responseTime = cur - response[0];\\n const result = response[1];\\n const perf = response[2];\\n // Quick hack for server device mode\\n if (response[0] == 0) {\\n this.listener.notifyResponseTime(Math.round(perf[0] * 1000), perf.slice(1, 4));\\n return;\\n }\\n if (result.byteLength < 128 * 2) {\\n this.listener.notifyException(_const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION.ERR_SIO_INVALID_RESPONSE, `[SIO] recevied data is too short ${result.byteLength}`);\\n }\\n else {\\n if (this.outputNode != null) {\\n this.outputNode.postReceivedVoice(response[1]);\\n }\\n else {\\n this.postReceivedVoice(response[1]);\\n }\\n this.listener.notifyResponseTime(responseTime, perf);\\n }\\n });\\n }\\n };\\n this.postReceivedVoice = (data) => {\\n // Int16 to Float\\n const i16Data = new Int16Array(data);\\n const f32Data = new Float32Array(i16Data.length);\\n // console.log(`[worklet] f32DataLength${f32Data.length} i16DataLength${i16Data.length}`)\\n i16Data.forEach((x, i) => {\\n const float = (x >= 0x8000) ? -(0x10000 - x) / 0x8000 : x / 0x7FFF;\\n f32Data[i] = float;\\n });\\n // アップサンプリング\\n let upSampledBuffer = null;\\n if (this.setting.sendingSampleRate == 48000) {\\n upSampledBuffer = f32Data;\\n }\\n else {\\n upSampledBuffer = new Float32Array(f32Data.length * 2);\\n for (let i = 0; i < f32Data.length; i++) {\\n const currentFrame = f32Data[i];\\n const nextFrame = i + 1 < f32Data.length ? f32Data[i + 1] : f32Data[i];\\n upSampledBuffer[i * 2] = currentFrame;\\n upSampledBuffer[i * 2 + 1] = (currentFrame + nextFrame) / 2;\\n }\\n }\\n const req = {\\n requestType: \\\"voice\\\",\\n voice: upSampledBuffer,\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n if (this.isOutputRecording) {\\n this.recordingOutputChunk.push(upSampledBuffer);\\n }\\n };\\n this.sendBuffer = async (newBuffer) => {\\n const timestamp = Date.now();\\n if (this.setting.protocol === \\\"sio\\\") {\\n if (!this.socket) {\\n console.warn(`sio is not initialized`);\\n return;\\n }\\n // console.log(\\\"emit!\\\")\\n this.socket.emit('request_message', [\\n timestamp,\\n newBuffer.buffer\\n ]);\\n }\\n else {\\n const res = await postVoice(this.setting.serverUrl + \\\"/test\\\", timestamp, newBuffer.buffer);\\n if (res.byteLength < 128 * 2) {\\n this.listener.notifyException(_const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION.ERR_REST_INVALID_RESPONSE, `[REST] recevied data is too short ${res.byteLength}`);\\n }\\n else {\\n if (this.outputNode != null) {\\n this.outputNode.postReceivedVoice(res);\\n }\\n else {\\n this.postReceivedVoice(res);\\n }\\n this.listener.notifyResponseTime(Date.now() - timestamp);\\n }\\n }\\n };\\n this.configure = (setting) => {\\n const req = {\\n requestType: \\\"config\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: setting.numTrancateTreshold,\\n volTrancateThreshold: setting.volTrancateThreshold,\\n volTrancateLength: setting.volTrancateLength\\n };\\n this.port.postMessage(req);\\n };\\n this.start = async () => {\\n const p = new Promise((resolve) => {\\n this.startPromiseResolve = resolve;\\n });\\n const req = {\\n requestType: \\\"start\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n await p;\\n };\\n this.stop = async () => {\\n const p = new Promise((resolve) => {\\n this.stopPromiseResolve = resolve;\\n });\\n const req = {\\n requestType: \\\"stop\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n await p;\\n };\\n this.trancateBuffer = () => {\\n const req = {\\n requestType: \\\"trancateBuffer\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n };\\n this.startOutputRecording = () => {\\n this.recordingOutputChunk = [];\\n this.isOutputRecording = true;\\n };\\n this.stopOutputRecording = () => {\\n this.isOutputRecording = false;\\n const dataSize = this.recordingOutputChunk.reduce((prev, cur) => {\\n return prev + cur.length;\\n }, 0);\\n const samples = new Float32Array(dataSize);\\n let sampleIndex = 0;\\n for (let i = 0; i < this.recordingOutputChunk.length; i++) {\\n for (let j = 0; j < this.recordingOutputChunk[i].length; j++) {\\n samples[sampleIndex] = this.recordingOutputChunk[i][j];\\n sampleIndex++;\\n }\\n }\\n return samples;\\n };\\n this.port.onmessage = this.handleMessage.bind(this);\\n this.listener = listener;\\n this.createSocketIO();\\n console.log(`[worklet_node][voice-changer-worklet-processor] created.`);\\n }\\n _averageDownsampleBuffer(buffer, originalSampleRate, destinationSamplerate) {\\n if (originalSampleRate == destinationSamplerate) {\\n return buffer;\\n }\\n if (destinationSamplerate > originalSampleRate) {\\n throw \\\"downsampling rate show be smaller than original sample rate\\\";\\n }\\n const sampleRateRatio = originalSampleRate / destinationSamplerate;\\n const newLength = Math.round(buffer.length / sampleRateRatio);\\n const result = new Float32Array(newLength);\\n let offsetResult = 0;\\n let offsetBuffer = 0;\\n while (offsetResult < result.length) {\\n var nextOffsetBuffer = Math.round((offsetResult + 1) * sampleRateRatio);\\n // Use average value of skipped samples\\n var accum = 0, count = 0;\\n for (var i = offsetBuffer; i < nextOffsetBuffer && i < buffer.length; i++) {\\n accum += buffer[i];\\n count++;\\n }\\n result[offsetResult] = accum / count;\\n // Or you can simply get rid of the skipped samples:\\n // result[offsetResult] = buffer[nextOffsetBuffer];\\n offsetResult++;\\n offsetBuffer = nextOffsetBuffer;\\n }\\n return result;\\n }\\n handleMessage(event) {\\n // console.log(`[Node:handleMessage_] `, event.data.volume);\\n if (event.data.responseType === \\\"start_ok\\\") {\\n if (this.startPromiseResolve) {\\n this.startPromiseResolve();\\n this.startPromiseResolve = null;\\n }\\n }\\n else if (event.data.responseType === \\\"stop_ok\\\") {\\n if (this.stopPromiseResolve) {\\n this.stopPromiseResolve();\\n this.stopPromiseResolve = null;\\n }\\n }\\n else if (event.data.responseType === \\\"volume\\\") {\\n this.listener.notifyVolume(event.data.volume);\\n }\\n else if (event.data.responseType === \\\"inputData\\\") {\\n const inputData = event.data.inputData;\\n // console.log(\\\"receive input data\\\", inputData)\\n // ダウンサンプリング\\n let downsampledBuffer = null;\\n if (this.setting.sendingSampleRate == 48000) {\\n downsampledBuffer = inputData;\\n }\\n else if (this.setting.downSamplingMode == _const__WEBPACK_IMPORTED_MODULE_0__.DownSamplingMode.decimate) {\\n //////// (Kind 1) 間引き //////////\\n //// 48000Hz で入ってくるので間引いて24000Hzに変換する。\\n downsampledBuffer = new Float32Array(inputData.length / 2);\\n for (let i = 0; i < inputData.length; i++) {\\n if (i % 2 == 0) {\\n downsampledBuffer[i / 2] = inputData[i];\\n }\\n }\\n }\\n else {\\n //////// (Kind 2) 平均 //////////\\n // downsampledBuffer = this._averageDownsampleBuffer(buffer, 48000, 24000)\\n downsampledBuffer = this._averageDownsampleBuffer(inputData, 48000, this.setting.sendingSampleRate);\\n }\\n // Float to Int16\\n const arrayBuffer = new ArrayBuffer(downsampledBuffer.length * 2);\\n const dataView = new DataView(arrayBuffer);\\n for (let i = 0; i < downsampledBuffer.length; i++) {\\n let s = Math.max(-1, Math.min(1, downsampledBuffer[i]));\\n s = s < 0 ? s * 0x8000 : s * 0x7FFF;\\n dataView.setInt16(i * 2, s, true);\\n }\\n // バッファリング\\n this.requestChunks.push(arrayBuffer);\\n //// リクエストバッファの中身が、リクエスト送信数と違う場合は処理終了。\\n if (this.requestChunks.length < this.setting.inputChunkNum) {\\n return;\\n }\\n // リクエスト用の入れ物を作成\\n const windowByteLength = this.requestChunks.reduce((prev, cur) => {\\n return prev + cur.byteLength;\\n }, 0);\\n const newBuffer = new Uint8Array(windowByteLength);\\n // リクエストのデータをセット\\n this.requestChunks.reduce((prev, cur) => {\\n newBuffer.set(new Uint8Array(cur), prev);\\n return prev + cur.byteLength;\\n }, 0);\\n this.sendBuffer(newBuffer);\\n this.requestChunks = [];\\n this.listener.notifySendBufferingTime(Date.now() - this.bufferStart);\\n this.bufferStart = Date.now();\\n }\\n else {\\n console.warn(`[worklet_node][voice-changer-worklet-processor] unknown response ${event.data.responseType}`, event.data);\\n }\\n }\\n}\\nconst postVoice = async (url, timestamp, buffer) => {\\n const obj = {\\n timestamp,\\n buffer: Buffer.from(buffer).toString('base64')\\n };\\n const body = JSON.stringify(obj);\\n const res = await fetch(`${url}`, {\\n method: \\\"POST\\\",\\n headers: {\\n 'Accept': 'application/json',\\n 'Content-Type': 'application/json'\\n },\\n body: body\\n });\\n try {\\n const receivedJson = await res.json();\\n const changedVoiceBase64 = receivedJson[\\\"changedVoiceBase64\\\"];\\n const buf = Buffer.from(changedVoiceBase64, \\\"base64\\\");\\n const ab = new ArrayBuffer(buf.length);\\n const view = new Uint8Array(ab);\\n for (let i = 0; i < buf.length; ++i) {\\n view[i] = buf[i];\\n }\\n return ab;\\n }\\n catch (e) {\\n console.log(\\\"Exception:\\\", e);\\n return new ArrayBuffer(10);\\n }\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/VoiceChangerWorkletNode.ts?\");\n\n/***/ }),\n\n/***/ \"./src/const.ts\":\n/*!**********************!*\\\n !*** ./src/const.ts ***!\n \\**********************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ClientType: () => (/* binding */ ClientType),\\n/* harmony export */ CrossFadeOverlapSize: () => (/* binding */ CrossFadeOverlapSize),\\n/* harmony export */ DefaultServerSetting: () => (/* binding */ DefaultServerSetting),\\n/* harmony export */ DefaultServerSetting_DDSP_SVC: () => (/* binding */ DefaultServerSetting_DDSP_SVC),\\n/* harmony export */ DefaultServerSetting_MMVCv13: () => (/* binding */ DefaultServerSetting_MMVCv13),\\n/* harmony export */ DefaultServerSetting_MMVCv15: () => (/* binding */ DefaultServerSetting_MMVCv15),\\n/* harmony export */ DefaultServerSetting_RVC: () => (/* binding */ DefaultServerSetting_RVC),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40: () => (/* binding */ DefaultServerSetting_so_vits_svc_40),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40_c: () => (/* binding */ DefaultServerSetting_so_vits_svc_40_c),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40v2: () => (/* binding */ DefaultServerSetting_so_vits_svc_40v2),\\n/* harmony export */ DefaultVoiceChangerClientSetting: () => (/* binding */ DefaultVoiceChangerClientSetting),\\n/* harmony export */ DefaultWorkletNodeSetting: () => (/* binding */ DefaultWorkletNodeSetting),\\n/* harmony export */ DefaultWorkletNodeSetting_DDSP_SVC: () => (/* binding */ DefaultWorkletNodeSetting_DDSP_SVC),\\n/* harmony export */ DefaultWorkletNodeSetting_RVC: () => (/* binding */ DefaultWorkletNodeSetting_RVC),\\n/* harmony export */ DefaultWorkletNodeSetting_so_vits_svc_40: () => (/* binding */ DefaultWorkletNodeSetting_so_vits_svc_40),\\n/* harmony export */ DefaultWorkletNodeSetting_so_vits_svc_40v2: () => (/* binding */ DefaultWorkletNodeSetting_so_vits_svc_40v2),\\n/* harmony export */ DefaultWorkletSetting: () => (/* binding */ DefaultWorkletSetting),\\n/* harmony export */ DiffMethod: () => (/* binding */ DiffMethod),\\n/* harmony export */ DownSamplingMode: () => (/* binding */ DownSamplingMode),\\n/* harmony export */ F0Detector: () => (/* binding */ F0Detector),\\n/* harmony export */ Framework: () => (/* binding */ Framework),\\n/* harmony export */ INDEXEDDB_DB_APP_NAME: () => (/* binding */ INDEXEDDB_DB_APP_NAME),\\n/* harmony export */ INDEXEDDB_DB_NAME: () => (/* binding */ INDEXEDDB_DB_NAME),\\n/* harmony export */ INDEXEDDB_KEY_CLIENT: () => (/* binding */ INDEXEDDB_KEY_CLIENT),\\n/* harmony export */ INDEXEDDB_KEY_MODEL_DATA: () => (/* binding */ INDEXEDDB_KEY_MODEL_DATA),\\n/* harmony export */ INDEXEDDB_KEY_SERVER: () => (/* binding */ INDEXEDDB_KEY_SERVER),\\n/* harmony export */ INDEXEDDB_KEY_WORKLET: () => (/* binding */ INDEXEDDB_KEY_WORKLET),\\n/* harmony export */ INDEXEDDB_KEY_WORKLETNODE: () => (/* binding */ INDEXEDDB_KEY_WORKLETNODE),\\n/* harmony export */ InputSampleRate: () => (/* binding */ InputSampleRate),\\n/* harmony export */ MAX_MODEL_SLOT_NUM: () => (/* binding */ MAX_MODEL_SLOT_NUM),\\n/* harmony export */ ModelSamplingRate: () => (/* binding */ ModelSamplingRate),\\n/* harmony export */ OnnxExecutionProvider: () => (/* binding */ OnnxExecutionProvider),\\n/* harmony export */ Protocol: () => (/* binding */ Protocol),\\n/* harmony export */ RVCModelType: () => (/* binding */ RVCModelType),\\n/* harmony export */ SampleRate: () => (/* binding */ SampleRate),\\n/* harmony export */ SendingSampleRate: () => (/* binding */ SendingSampleRate),\\n/* harmony export */ ServerSettingKey: () => (/* binding */ ServerSettingKey),\\n/* harmony export */ VOICE_CHANGER_CLIENT_EXCEPTION: () => (/* binding */ VOICE_CHANGER_CLIENT_EXCEPTION),\\n/* harmony export */ VoiceChangerType: () => (/* binding */ VoiceChangerType)\\n/* harmony export */ });\\n// (★1) chunk sizeは 128サンプル, 256byte(int16)と定義。\\n// (★2) 256byte(最低バッファサイズ256から間引いた個数x2byte)をchunkとして管理。\\n// 24000sample -> 1sec, 128sample(1chunk) -> 5.333msec\\n// 187.5chunk -> 1sec\\nconst ClientType = {\\n \\\"MMVCv15\\\": \\\"MMVCv15\\\",\\n \\\"MMVCv13\\\": \\\"MMVCv13\\\",\\n \\\"so-vits-svc-40\\\": \\\"so-vits-svc-40\\\",\\n \\\"so-vits-svc-40_c\\\": \\\"so-vits-svc-40_c\\\",\\n \\\"so-vits-svc-40v2\\\": \\\"so-vits-svc-40v2\\\",\\n \\\"DDSP-SVC\\\": \\\"DDSP-SVC\\\",\\n \\\"RVC\\\": \\\"RVC\\\"\\n};\\nconst VoiceChangerType = {\\n \\\"MMVCv15\\\": \\\"MMVCv15\\\",\\n \\\"MMVCv13\\\": \\\"MMVCv13\\\",\\n \\\"so-vits-svc-40\\\": \\\"so-vits-svc-40\\\",\\n \\\"so-vits-svc-40_c\\\": \\\"so-vits-svc-40_c\\\",\\n \\\"so-vits-svc-40v2\\\": \\\"so-vits-svc-40v2\\\",\\n \\\"DDSP-SVC\\\": \\\"DDSP-SVC\\\",\\n \\\"RVC\\\": \\\"RVC\\\"\\n};\\n///////////////////////\\n// サーバセッティング\\n///////////////////////\\nconst InputSampleRate = {\\n \\\"48000\\\": 48000,\\n \\\"44100\\\": 44100,\\n \\\"24000\\\": 24000\\n};\\nconst ModelSamplingRate = {\\n \\\"48000\\\": 48000,\\n \\\"40000\\\": 40000,\\n \\\"32000\\\": 32000\\n};\\nconst CrossFadeOverlapSize = {\\n \\\"1024\\\": 1024,\\n \\\"2048\\\": 2048,\\n \\\"4096\\\": 4096,\\n};\\nconst OnnxExecutionProvider = {\\n \\\"CPUExecutionProvider\\\": \\\"CPUExecutionProvider\\\",\\n \\\"CUDAExecutionProvider\\\": \\\"CUDAExecutionProvider\\\",\\n \\\"DmlExecutionProvider\\\": \\\"DmlExecutionProvider\\\",\\n \\\"OpenVINOExecutionProvider\\\": \\\"OpenVINOExecutionProvider\\\",\\n};\\nconst Framework = {\\n \\\"PyTorch\\\": \\\"PyTorch\\\",\\n \\\"ONNX\\\": \\\"ONNX\\\",\\n};\\nconst F0Detector = {\\n \\\"dio\\\": \\\"dio\\\",\\n \\\"harvest\\\": \\\"harvest\\\",\\n // \\\"parselmouth\\\": \\\"parselmouth\\\",\\n \\\"crepe\\\": \\\"crepe\\\",\\n};\\nconst DiffMethod = {\\n \\\"pndm\\\": \\\"pndm\\\",\\n \\\"dpm-solver\\\": \\\"dpm-solver\\\",\\n};\\nconst RVCModelType = {\\n \\\"pyTorchRVC\\\": \\\"pyTorchRVC\\\",\\n \\\"pyTorchRVCNono\\\": \\\"pyTorchRVCNono\\\",\\n \\\"pyTorchRVCv2\\\": \\\"pyTorchRVCv2\\\",\\n \\\"pyTorchRVCv2Nono\\\": \\\"pyTorchRVCv2Nono\\\",\\n \\\"pyTorchWebUI\\\": \\\"pyTorchWebUI\\\",\\n \\\"pyTorchWebUINono\\\": \\\"pyTorchWebUINono\\\",\\n \\\"onnxRVC\\\": \\\"onnxRVC\\\",\\n \\\"onnxRVCNono\\\": \\\"onnxRVCNono\\\",\\n};\\nconst ServerSettingKey = {\\n \\\"srcId\\\": \\\"srcId\\\",\\n \\\"dstId\\\": \\\"dstId\\\",\\n \\\"gpu\\\": \\\"gpu\\\",\\n \\\"crossFadeOffsetRate\\\": \\\"crossFadeOffsetRate\\\",\\n \\\"crossFadeEndRate\\\": \\\"crossFadeEndRate\\\",\\n \\\"crossFadeOverlapSize\\\": \\\"crossFadeOverlapSize\\\",\\n \\\"framework\\\": \\\"framework\\\",\\n \\\"onnxExecutionProvider\\\": \\\"onnxExecutionProvider\\\",\\n \\\"f0Factor\\\": \\\"f0Factor\\\",\\n \\\"f0Detector\\\": \\\"f0Detector\\\",\\n \\\"recordIO\\\": \\\"recordIO\\\",\\n \\\"enableServerAudio\\\": \\\"enableServerAudio\\\",\\n \\\"serverAudioStated\\\": \\\"serverAudioStated\\\",\\n \\\"serverInputAudioSampleRate\\\": \\\"serverInputAudioSampleRate\\\",\\n \\\"serverOutputAudioSampleRate\\\": \\\"serverOutputAudioSampleRate\\\",\\n \\\"serverInputAudioBufferSize\\\": \\\"serverInputAudioBufferSize\\\",\\n \\\"serverOutputAudioBufferSize\\\": \\\"serverOutputAudioBufferSize\\\",\\n \\\"serverInputDeviceId\\\": \\\"serverInputDeviceId\\\",\\n \\\"serverOutputDeviceId\\\": \\\"serverOutputDeviceId\\\",\\n \\\"serverReadChunkSize\\\": \\\"serverReadChunkSize\\\",\\n \\\"serverInputAudioGain\\\": \\\"serverInputAudioGain\\\",\\n \\\"serverOutputAudioGain\\\": \\\"serverOutputAudioGain\\\",\\n \\\"tran\\\": \\\"tran\\\",\\n \\\"noiseScale\\\": \\\"noiseScale\\\",\\n \\\"predictF0\\\": \\\"predictF0\\\",\\n \\\"silentThreshold\\\": \\\"silentThreshold\\\",\\n \\\"extraConvertSize\\\": \\\"extraConvertSize\\\",\\n \\\"clusterInferRatio\\\": \\\"clusterInferRatio\\\",\\n \\\"indexRatio\\\": \\\"indexRatio\\\",\\n \\\"protect\\\": \\\"protect\\\",\\n \\\"rvcQuality\\\": \\\"rvcQuality\\\",\\n \\\"modelSamplingRate\\\": \\\"modelSamplingRate\\\",\\n \\\"silenceFront\\\": \\\"silenceFront\\\",\\n \\\"modelSlotIndex\\\": \\\"modelSlotIndex\\\",\\n \\\"useEnhancer\\\": \\\"useEnhancer\\\",\\n \\\"useDiff\\\": \\\"useDiff\\\",\\n // \\\"useDiffDpm\\\": \\\"useDiffDpm\\\",\\n \\\"diffMethod\\\": \\\"diffMethod\\\",\\n \\\"useDiffSilence\\\": \\\"useDiffSilence\\\",\\n \\\"diffAcc\\\": \\\"diffAcc\\\",\\n \\\"diffSpkId\\\": \\\"diffSpkId\\\",\\n \\\"kStep\\\": \\\"kStep\\\",\\n \\\"threshold\\\": \\\"threshold\\\",\\n \\\"inputSampleRate\\\": \\\"inputSampleRate\\\",\\n \\\"enableDirectML\\\": \\\"enableDirectML\\\",\\n};\\nconst DefaultServerSetting = {\\n // VC Common \\n inputSampleRate: 48000,\\n crossFadeOffsetRate: 0.0,\\n crossFadeEndRate: 1.0,\\n crossFadeOverlapSize: CrossFadeOverlapSize[1024],\\n recordIO: 0,\\n enableServerAudio: 0,\\n serverAudioStated: 0,\\n serverInputAudioSampleRate: 48000,\\n serverOutputAudioSampleRate: 48000,\\n serverInputAudioBufferSize: 1024 * 24,\\n serverOutputAudioBufferSize: 1024 * 24,\\n serverInputDeviceId: -1,\\n serverOutputDeviceId: -1,\\n serverReadChunkSize: 256,\\n serverInputAudioGain: 1.0,\\n serverOutputAudioGain: 1.0,\\n // VC Specific\\n srcId: 0,\\n dstId: 1,\\n gpu: 0,\\n framework: Framework.PyTorch,\\n f0Factor: 1.0,\\n onnxExecutionProvider: OnnxExecutionProvider.CPUExecutionProvider,\\n f0Detector: F0Detector.dio,\\n tran: 0,\\n noiseScale: 0,\\n predictF0: 0,\\n silentThreshold: 0,\\n extraConvertSize: 0,\\n clusterInferRatio: 0,\\n indexRatio: 0,\\n protect: 0.5,\\n rvcQuality: 0,\\n modelSamplingRate: 48000,\\n silenceFront: 1,\\n modelSlotIndex: 0,\\n sampleModels: [],\\n gpus: [],\\n useEnhancer: 0,\\n useDiff: 1,\\n diffMethod: \\\"dpm-solver\\\",\\n useDiffSilence: 0,\\n diffAcc: 20,\\n diffSpkId: 1,\\n kStep: 120,\\n threshold: -45,\\n enableDirectML: 0,\\n // \\n status: \\\"ok\\\",\\n configFile: \\\"\\\",\\n pyTorchModelFile: \\\"\\\",\\n onnxModelFile: \\\"\\\",\\n onnxExecutionProviders: [],\\n modelSlots: [],\\n serverAudioInputDevices: [],\\n serverAudioOutputDevices: []\\n};\\nconst DefaultServerSetting_MMVCv15 = {\\n ...DefaultServerSetting, dstId: 101,\\n};\\nconst DefaultServerSetting_MMVCv13 = {\\n ...DefaultServerSetting, srcId: 107, dstId: 100,\\n};\\nconst DefaultServerSetting_so_vits_svc_40 = {\\n ...DefaultServerSetting, tran: 10, noiseScale: 0.3, extraConvertSize: 1024 * 8, clusterInferRatio: 0.1,\\n};\\nconst DefaultServerSetting_so_vits_svc_40_c = {\\n ...DefaultServerSetting, tran: 10, noiseScale: 0.3, extraConvertSize: 1024 * 8, clusterInferRatio: 0.1,\\n};\\nconst DefaultServerSetting_so_vits_svc_40v2 = {\\n ...DefaultServerSetting, tran: 10, noiseScale: 0.3, extraConvertSize: 1024 * 8, clusterInferRatio: 0.1,\\n};\\nconst DefaultServerSetting_DDSP_SVC = {\\n ...DefaultServerSetting, dstId: 1, tran: 10, extraConvertSize: 1024 * 8\\n};\\nconst DefaultServerSetting_RVC = {\\n ...DefaultServerSetting, tran: 10, extraConvertSize: 1024 * 4, f0Detector: F0Detector.harvest\\n};\\nconst DefaultWorkletSetting = {\\n numTrancateTreshold: 100,\\n volTrancateThreshold: 0.0005,\\n volTrancateLength: 32\\n};\\n///////////////////////\\n// Worklet Nodeセッティング\\n///////////////////////\\nconst Protocol = {\\n \\\"sio\\\": \\\"sio\\\",\\n \\\"rest\\\": \\\"rest\\\",\\n};\\nconst SendingSampleRate = {\\n \\\"48000\\\": 48000,\\n \\\"44100\\\": 44100,\\n \\\"24000\\\": 24000\\n};\\nconst DownSamplingMode = {\\n \\\"decimate\\\": \\\"decimate\\\",\\n \\\"average\\\": \\\"average\\\"\\n};\\nconst DefaultWorkletNodeSetting = {\\n serverUrl: \\\"\\\",\\n protocol: \\\"sio\\\",\\n sendingSampleRate: 48000,\\n inputChunkNum: 48,\\n downSamplingMode: \\\"average\\\"\\n};\\nconst DefaultWorkletNodeSetting_so_vits_svc_40 = {\\n ...DefaultWorkletNodeSetting, inputChunkNum: 128,\\n};\\nconst DefaultWorkletNodeSetting_so_vits_svc_40v2 = {\\n ...DefaultWorkletNodeSetting, inputChunkNum: 128,\\n};\\nconst DefaultWorkletNodeSetting_DDSP_SVC = {\\n ...DefaultWorkletNodeSetting, inputChunkNum: 256,\\n};\\nconst DefaultWorkletNodeSetting_RVC = {\\n ...DefaultWorkletNodeSetting, inputChunkNum: 256,\\n};\\n///////////////////////\\n// クライアントセッティング\\n///////////////////////\\nconst SampleRate = {\\n \\\"48000\\\": 48000,\\n};\\nconst DefaultVoiceChangerClientSetting = {\\n audioInput: null,\\n sampleRate: 48000,\\n speakers: [\\n {\\n \\\"id\\\": 0,\\n \\\"name\\\": \\\"user\\\"\\n },\\n {\\n \\\"id\\\": 101,\\n \\\"name\\\": \\\"ずんだもん\\\"\\n },\\n {\\n \\\"id\\\": 102,\\n \\\"name\\\": \\\"そら\\\"\\n },\\n {\\n \\\"id\\\": 103,\\n \\\"name\\\": \\\"めたん\\\"\\n },\\n {\\n \\\"id\\\": 104,\\n \\\"name\\\": \\\"つむぎ\\\"\\n }\\n ],\\n correspondences: [],\\n echoCancel: false,\\n noiseSuppression: false,\\n noiseSuppression2: false,\\n inputGain: 1.0,\\n outputGain: 1.0\\n};\\n////////////////////////////////////\\n// Exceptions\\n////////////////////////////////////\\nconst VOICE_CHANGER_CLIENT_EXCEPTION = {\\n ERR_SIO_CONNECT_FAILED: \\\"ERR_SIO_CONNECT_FAILED\\\",\\n ERR_SIO_INVALID_RESPONSE: \\\"ERR_SIO_INVALID_RESPONSE\\\",\\n ERR_REST_INVALID_RESPONSE: \\\"ERR_REST_INVALID_RESPONSE\\\",\\n ERR_MIC_STREAM_NOT_INITIALIZED: \\\"ERR_MIC_STREAM_NOT_INITIALIZED\\\"\\n};\\n////////////////////////////////////\\n// indexedDB\\n////////////////////////////////////\\nconst INDEXEDDB_DB_APP_NAME = \\\"INDEXEDDB_KEY_VOICE_CHANGER\\\";\\nconst INDEXEDDB_DB_NAME = \\\"INDEXEDDB_KEY_VOICE_CHANGER_DB\\\";\\nconst INDEXEDDB_KEY_CLIENT = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_CLIENT\\\";\\nconst INDEXEDDB_KEY_SERVER = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_SERVER\\\";\\nconst INDEXEDDB_KEY_WORKLETNODE = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_WORKLETNODE\\\";\\nconst INDEXEDDB_KEY_MODEL_DATA = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_MODEL_DATA\\\";\\nconst INDEXEDDB_KEY_WORKLET = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_WORKLET\\\";\\nconst MAX_MODEL_SLOT_NUM = 4;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/const.ts?\");\n\n/***/ }),\n\n/***/ \"./src/exceptions.ts\":\n/*!***************************!*\\\n !*** ./src/exceptions.ts ***!\n \\***************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ModelLoadException: () => (/* binding */ ModelLoadException)\\n/* harmony export */ });\\nclass ModelLoadException extends Error {\\n constructor(causeFileType) {\\n super(`Model Load Exception:${causeFileType}`);\\n this.causeFileType = \\\"\\\";\\n this.causeFileType = causeFileType;\\n this.name = this.constructor.name;\\n Error.captureStackTrace(this);\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/exceptions.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useClient.ts\":\n/*!********************************!*\\\n !*** ./src/hooks/useClient.ts ***!\n \\********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useClient: () => (/* binding */ useClient)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../VoiceChangerClient */ \\\"./src/VoiceChangerClient.ts\\\");\\n/* harmony import */ var _useClientSetting__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useClientSetting */ \\\"./src/hooks/useClientSetting.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n/* harmony import */ var _useServerSetting__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./useServerSetting */ \\\"./src/hooks/useServerSetting.ts\\\");\\n/* harmony import */ var _useWorkletNodeSetting__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./useWorkletNodeSetting */ \\\"./src/hooks/useWorkletNodeSetting.ts\\\");\\n/* harmony import */ var _useWorkletSetting__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useWorkletSetting */ \\\"./src/hooks/useWorkletSetting.ts\\\");\\n\\n\\n\\n\\n\\n\\n\\nconst InitialPerformanceData = {\\n responseTime: 0,\\n preprocessTime: 0,\\n mainprocessTime: 0,\\n postprocessTime: 0\\n};\\nconst useClient = (props) => {\\n const [initialized, setInitialized] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);\\n // const [clientType, setClientType] = useState(null)\\n // (1-1) クライアント \\n const voiceChangerClientRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\\n const [voiceChangerClient, setVoiceChangerClient] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(voiceChangerClientRef.current);\\n //// クライアント初期化待ち用フラグ\\n const initializedResolveRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\\n const initializedPromise = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return new Promise((resolve) => {\\n initializedResolveRef.current = resolve;\\n });\\n }, []);\\n // (1-2) 各種設定I/F\\n const clientSetting = (0,_useClientSetting__WEBPACK_IMPORTED_MODULE_2__.useClientSetting)({ clientType: props.clientType, voiceChangerClient, audioContext: props.audioContext });\\n const workletNodeSetting = (0,_useWorkletNodeSetting__WEBPACK_IMPORTED_MODULE_5__.useWorkletNodeSetting)({ clientType: props.clientType, voiceChangerClient });\\n const workletSetting = (0,_useWorkletSetting__WEBPACK_IMPORTED_MODULE_6__.useWorkletSetting)({ clientType: props.clientType, voiceChangerClient });\\n const serverSetting = (0,_useServerSetting__WEBPACK_IMPORTED_MODULE_4__.useServerSetting)({ clientType: props.clientType, voiceChangerClient });\\n const indexedDBState = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_3__.useIndexedDB)({ clientType: props.clientType });\\n // (1-3) モニタリングデータ\\n const [bufferingTime, setBufferingTime] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n const [performance, setPerformance] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(InitialPerformanceData);\\n const [volume, setVolume] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n const [ioErrorCount, setIoErrorCount] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n //// Server Audio Deviceを使うとき、モニタリングデータはpolling\\n const updatePerformance = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n if (!voiceChangerClientRef.current) {\\n return null;\\n }\\n return async () => {\\n if (voiceChangerClientRef.current) {\\n const performance = await voiceChangerClientRef.current.getPerformance();\\n const responseTime = performance[0];\\n const preprocessTime = performance[1];\\n const mainprocessTime = performance[2];\\n const postprocessTime = performance[3];\\n setPerformance({ responseTime, preprocessTime, mainprocessTime, postprocessTime });\\n }\\n else {\\n const responseTime = 0;\\n const preprocessTime = 0;\\n const mainprocessTime = 0;\\n const postprocessTime = 0;\\n setPerformance({ responseTime, preprocessTime, mainprocessTime, postprocessTime });\\n }\\n };\\n }, [voiceChangerClientRef.current]);\\n // (1-4) エラーステータス\\n const ioErrorCountRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(0);\\n const resetIoErrorCount = () => {\\n ioErrorCountRef.current = 0;\\n setIoErrorCount(ioErrorCountRef.current);\\n };\\n // (2-1) 初期化処理\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const initialized = async () => {\\n if (!props.audioContext) {\\n return;\\n }\\n const voiceChangerClient = new _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_1__.VoiceChangerClient(props.audioContext, true, {\\n notifySendBufferingTime: (val) => {\\n setBufferingTime(val);\\n },\\n notifyResponseTime: (val, perf) => {\\n const responseTime = val;\\n const preprocessTime = perf ? Math.ceil(perf[0] * 1000) : 0;\\n const mainprocessTime = perf ? Math.ceil(perf[1] * 1000) : 0;\\n const postprocessTime = perf ? Math.ceil(perf[2] * 1000) : 0;\\n setPerformance({ responseTime, preprocessTime, mainprocessTime, postprocessTime });\\n },\\n notifyException: (mes) => {\\n if (mes.length > 0) {\\n console.log(`error:${mes}`);\\n ioErrorCountRef.current += 1;\\n setIoErrorCount(ioErrorCountRef.current);\\n }\\n },\\n notifyVolume: (vol) => {\\n setVolume(vol);\\n }\\n });\\n await voiceChangerClient.isInitialized();\\n voiceChangerClientRef.current = voiceChangerClient;\\n setVoiceChangerClient(voiceChangerClientRef.current);\\n console.log(\\\"[useClient] client initialized\\\");\\n // const audio = document.getElementById(props.audioOutputElementId) as HTMLAudioElement\\n // audio.srcObject = voiceChangerClientRef.current.stream\\n // audio.play()\\n initializedResolveRef.current();\\n setInitialized(true);\\n };\\n initialized();\\n }, [props.audioContext]);\\n const setAudioOutputElementId = (elemId) => {\\n if (!voiceChangerClientRef.current) {\\n console.warn(\\\"[voiceChangerClient] is not ready for set audio output.\\\");\\n return;\\n }\\n const audio = document.getElementById(elemId);\\n if (audio.paused) {\\n audio.srcObject = voiceChangerClientRef.current.stream;\\n audio.play();\\n }\\n };\\n // (2-2) 情報リロード\\n const getInfo = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n await initializedPromise;\\n await clientSetting.reloadClientSetting(); // 実質的な処理の意味はない\\n await serverSetting.reloadServerInfo();\\n };\\n }, [clientSetting.reloadClientSetting, serverSetting.reloadServerInfo]);\\n const clearSetting = async () => {\\n await clientSetting.clearSetting();\\n await workletNodeSetting.clearSetting();\\n await workletSetting.clearSetting();\\n await serverSetting.clearSetting();\\n };\\n return {\\n initialized,\\n // 各種設定I/Fへの参照\\n clientSetting,\\n workletNodeSetting,\\n workletSetting,\\n serverSetting,\\n indexedDBState,\\n // モニタリングデータ\\n bufferingTime,\\n volume,\\n performance,\\n updatePerformance,\\n // setClientType,\\n // 情報取得\\n getInfo,\\n // 設定クリア\\n clearSetting,\\n // AudioOutputElement 設定\\n setAudioOutputElementId,\\n ioErrorCount,\\n resetIoErrorCount\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useClient.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useClientSetting.ts\":\n/*!***************************************!*\\\n !*** ./src/hooks/useClientSetting.ts ***!\n \\***************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useClientSetting: () => (/* binding */ useClientSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n\\n\\n\\nconst useClientSetting = (props) => {\\n const [clientSetting, setClientSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_const__WEBPACK_IMPORTED_MODULE_1__.DefaultVoiceChangerClientSetting);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // 初期化 その1 DBから取得\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const loadCache = async () => {\\n const setting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_CLIENT);\\n if (!setting) {\\n return;\\n }\\n console.log(\\\"[ClientSetting] Load Setting from db\\\", setting);\\n if (setting.audioInput == \\\"null\\\") {\\n setting.audioInput = null;\\n }\\n if (setting) {\\n setClientSetting({ ...setting });\\n }\\n };\\n loadCache();\\n }, []);\\n // 初期化 その2 クライアントに設定\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const initialSetup = async () => {\\n if (!props.voiceChangerClient)\\n return;\\n try {\\n await props.voiceChangerClient.updateClientSetting(clientSetting);\\n }\\n catch (e) {\\n console.error(e);\\n }\\n };\\n initialSetup();\\n }, [props.voiceChangerClient]);\\n const storeSetting = async (setting) => {\\n const storeData = { ...setting };\\n if (typeof storeData.audioInput != \\\"string\\\") {\\n storeData.audioInput = null;\\n }\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_CLIENT, storeData);\\n setClientSetting(setting);\\n };\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_CLIENT);\\n };\\n //////////////\\n // 設定\\n /////////////\\n const updateClientSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (_clientSetting) => {\\n if (!props.voiceChangerClient)\\n return;\\n for (let k in _clientSetting) {\\n const cur_v = clientSetting[k];\\n const new_v = _clientSetting[k];\\n if (cur_v != new_v) {\\n storeSetting(_clientSetting);\\n await props.voiceChangerClient.updateClientSetting(_clientSetting);\\n break;\\n }\\n }\\n };\\n }, [props.voiceChangerClient, clientSetting]);\\n const setServerUrl = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return (url) => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.setServerUrl(url, true);\\n };\\n }, [props.voiceChangerClient]);\\n //////////////\\n // 操作\\n /////////////\\n // (1) start\\n const start = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n // props.voiceChangerClient.setServerUrl(setting.mmvcServerUrl, true)\\n await props.voiceChangerClient.start();\\n };\\n }, [props.voiceChangerClient]);\\n // (2) stop\\n const stop = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n await props.voiceChangerClient.stop();\\n };\\n }, [props.voiceChangerClient]);\\n const reloadClientSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n await props.voiceChangerClient.getClientSettings();\\n };\\n }, [props.voiceChangerClient]);\\n return {\\n clientSetting,\\n clearSetting,\\n setServerUrl,\\n updateClientSetting,\\n start,\\n stop,\\n reloadClientSetting\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useClientSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useIndexedDB.ts\":\n/*!***********************************!*\\\n !*** ./src/hooks/useIndexedDB.ts ***!\n \\***********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useIndexedDB: () => (/* binding */ useIndexedDB)\\n/* harmony export */ });\\n/* harmony import */ var localforage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! localforage */ \\\"./node_modules/localforage/dist/localforage.js\\\");\\n/* harmony import */ var localforage__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(localforage__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n\\n\\n\\nconst useIndexedDB = (props) => {\\n const clientType = props.clientType || \\\"default\\\";\\n localforage__WEBPACK_IMPORTED_MODULE_0___default().config({\\n driver: (localforage__WEBPACK_IMPORTED_MODULE_0___default().INDEXEDDB),\\n name: _const__WEBPACK_IMPORTED_MODULE_2__.INDEXEDDB_DB_APP_NAME,\\n version: 1.0,\\n storeName: `${_const__WEBPACK_IMPORTED_MODULE_2__.INDEXEDDB_DB_NAME}`,\\n description: 'appStorage'\\n });\\n const setItem = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async (key, value) => {\\n const clientKey = `${clientType}_${key}`;\\n await localforage__WEBPACK_IMPORTED_MODULE_0___default().setItem(clientKey, value);\\n };\\n }, [props.clientType]);\\n const getItem = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async (key) => {\\n const clientKey = `${clientType}_${key}`;\\n return await localforage__WEBPACK_IMPORTED_MODULE_0___default().getItem(clientKey);\\n };\\n }, [props.clientType]);\\n const removeItem = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async (key) => {\\n const clientKey = `${clientType}_${key}`;\\n console.log(\\\"remove key:\\\", clientKey);\\n return await localforage__WEBPACK_IMPORTED_MODULE_0___default().removeItem(clientKey);\\n };\\n }, [props.clientType]);\\n const removeDB = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async () => {\\n const keys = await localforage__WEBPACK_IMPORTED_MODULE_0___default().keys();\\n for (const key of keys) {\\n console.log(\\\"remove key:\\\", key);\\n await localforage__WEBPACK_IMPORTED_MODULE_0___default().removeItem(key);\\n }\\n };\\n }, [props.clientType]);\\n return {\\n dummy: \\\"\\\",\\n setItem,\\n getItem,\\n removeItem,\\n removeDB\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useIndexedDB.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useServerSetting.ts\":\n/*!***************************************!*\\\n !*** ./src/hooks/useServerSetting.ts ***!\n \\***************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ InitialFileUploadSetting: () => (/* binding */ InitialFileUploadSetting),\\n/* harmony export */ ModelAssetName: () => (/* binding */ ModelAssetName),\\n/* harmony export */ ModelFileKind: () => (/* binding */ ModelFileKind),\\n/* harmony export */ useServerSetting: () => (/* binding */ useServerSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n/* harmony import */ var _exceptions__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../exceptions */ \\\"./src/exceptions.ts\\\");\\n\\n\\n\\n\\nconst ModelAssetName = {\\n iconFile: \\\"iconFile\\\"\\n};\\nconst ModelFileKind = {\\n \\\"mmvcv13Config\\\": \\\"mmvcv13Config\\\",\\n \\\"mmvcv13Model\\\": \\\"mmvcv13Model\\\",\\n \\\"mmvcv15Config\\\": \\\"mmvcv15Config\\\",\\n \\\"mmvcv15Model\\\": \\\"mmvcv15Model\\\",\\n \\\"soVitsSvc40Config\\\": \\\"soVitsSvc40Config\\\",\\n \\\"soVitsSvc40Model\\\": \\\"soVitsSvc40Model\\\",\\n \\\"soVitsSvc40Cluster\\\": \\\"soVitsSvc40Cluster\\\",\\n \\\"rvcModel\\\": \\\"rvcModel\\\",\\n \\\"rvcIndex\\\": \\\"rvcIndex\\\",\\n \\\"ddspSvcModel\\\": \\\"ddspSvcModel\\\",\\n \\\"ddspSvcModelConfig\\\": \\\"ddspSvcModelConfig\\\",\\n \\\"ddspSvcDiffusion\\\": \\\"ddspSvcDiffusion\\\",\\n \\\"ddspSvcDiffusionConfig\\\": \\\"ddspSvcDiffusionConfig\\\",\\n};\\nconst InitialFileUploadSetting = {\\n isHalf: true,\\n uploaded: false,\\n defaultTune: 0,\\n defaultIndexRatio: 1,\\n defaultProtect: 0.5,\\n framework: _const__WEBPACK_IMPORTED_MODULE_1__.Framework.PyTorch,\\n params: \\\"{}\\\",\\n mmvcv13Config: null,\\n mmvcv13Model: null,\\n mmvcv15Config: null,\\n mmvcv15Model: null,\\n soVitsSvc40Config: null,\\n soVitsSvc40Model: null,\\n soVitsSvc40Cluster: null,\\n soVitsSvc40v2Config: null,\\n soVitsSvc40v2Model: null,\\n soVitsSvc40v2Cluster: null,\\n rvcModel: null,\\n rvcFeature: null,\\n rvcIndex: null,\\n isSampleMode: false,\\n sampleId: null,\\n rvcIndexDownload: true,\\n ddspSvcModel: null,\\n ddspSvcModelConfig: null,\\n ddspSvcDiffusion: null,\\n ddspSvcDiffusionConfig: null,\\n};\\nconst useServerSetting = (props) => {\\n // const settingRef = useRef(DefaultVoiceChangerServerSetting)\\n const getDefaultServerSetting = () => {\\n if (props.clientType == \\\"MMVCv13\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_MMVCv13;\\n }\\n else if (props.clientType == \\\"MMVCv15\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_MMVCv15;\\n }\\n else if (props.clientType == \\\"so-vits-svc-40\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_so_vits_svc_40;\\n }\\n else if (props.clientType == \\\"so-vits-svc-40_c\\\") {\\n console.log(\\\"default so_vits_svc_40_c\\\");\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_so_vits_svc_40_c;\\n }\\n else if (props.clientType == \\\"so-vits-svc-40v2\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_so_vits_svc_40v2;\\n }\\n else if (props.clientType == \\\"DDSP-SVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_DDSP_SVC;\\n }\\n else if (props.clientType == \\\"RVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_RVC;\\n }\\n else {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_MMVCv15;\\n }\\n };\\n const [serverSetting, setServerSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(getDefaultServerSetting());\\n const [fileUploadSettings, setFileUploadSettings] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // clientTypeが新しく設定されたときに、serverのmodelType動作を変更+設定反映\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n if (!props.voiceChangerClient)\\n return;\\n if (!props.clientType)\\n return;\\n const setInitialSetting = async () => {\\n // Set Model Type\\n await props.voiceChangerClient.switchModelType(props.clientType);\\n // Load Default (and Cache) and set\\n const defaultServerSetting = getDefaultServerSetting();\\n const cachedServerSetting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER);\\n let initialSetting;\\n if (cachedServerSetting) {\\n initialSetting = {\\n ...defaultServerSetting, ...cachedServerSetting,\\n serverAudioStated: 0,\\n inputSampleRate: 48000\\n }; // sample rateは時限措置\\n }\\n else {\\n initialSetting = { ...defaultServerSetting };\\n }\\n setServerSetting(initialSetting);\\n // upload setting\\n for (let i = 0; i < Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey).length; i++) {\\n const k = Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey)[i];\\n const v = initialSetting[k];\\n if (v) {\\n props.voiceChangerClient.updateServerSettings(k, \\\"\\\" + v);\\n }\\n }\\n // Load file upload cache\\n const loadedFileUploadSettings = [];\\n for (let i = 0; i < _const__WEBPACK_IMPORTED_MODULE_1__.MAX_MODEL_SLOT_NUM; i++) {\\n const modleKey = `${_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_MODEL_DATA}_${i}`;\\n const fileuploadSetting = await getItem(modleKey);\\n if (!fileuploadSetting) {\\n loadedFileUploadSettings.push(InitialFileUploadSetting);\\n }\\n else {\\n loadedFileUploadSettings.push(fileuploadSetting);\\n }\\n }\\n setFileUploadSettings(loadedFileUploadSettings);\\n reloadServerInfo();\\n };\\n setInitialSetting();\\n }, [props.voiceChangerClient, props.clientType]);\\n //////////////\\n // 設定\\n /////////////\\n const updateServerSettings = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (setting) => {\\n if (!props.voiceChangerClient)\\n return;\\n for (let i = 0; i < Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey).length; i++) {\\n const k = Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey)[i];\\n const cur_v = serverSetting[k];\\n const new_v = setting[k];\\n if (cur_v != new_v) {\\n const res = await props.voiceChangerClient.updateServerSettings(k, \\\"\\\" + new_v);\\n if (res.onnxExecutionProviders && res.onnxExecutionProviders.length > 0) {\\n res.onnxExecutionProvider = res.onnxExecutionProviders[0];\\n }\\n else {\\n res.onnxExecutionProvider = \\\"CPUExecutionProvider\\\";\\n }\\n setServerSetting(res);\\n const storeData = { ...res };\\n storeData.recordIO = 0;\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER, storeData);\\n }\\n }\\n };\\n }, [props.voiceChangerClient, serverSetting]);\\n const setFileUploadSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (slot, fileUploadSetting) => {\\n fileUploadSetting.uploaded = false;\\n fileUploadSettings[slot] = fileUploadSetting;\\n setFileUploadSettings([...fileUploadSettings]);\\n };\\n }, [fileUploadSettings]);\\n //////////////\\n // 操作\\n /////////////\\n const [uploadProgress, setUploadProgress] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n const [isUploading, setIsUploading] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);\\n // (e) モデルアップロード\\n const _uploadFile = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (modelData, onprogress, dir = \\\"\\\") => {\\n if (!props.voiceChangerClient)\\n return;\\n const num = await props.voiceChangerClient.uploadFile(modelData.data, dir + modelData.filename, onprogress);\\n const res = await props.voiceChangerClient.concatUploadedFile(dir + modelData.filename, num);\\n console.log(\\\"uploaded\\\", num, res);\\n };\\n }, [props.voiceChangerClient]);\\n const _uploadFile2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (file, onprogress, dir = \\\"\\\") => {\\n if (!props.voiceChangerClient)\\n return;\\n console.log(\\\"uploading..1.\\\", file);\\n console.log(\\\"uploading..2.\\\", file.name);\\n const num = await props.voiceChangerClient.uploadFile2(dir, file, onprogress);\\n const res = await props.voiceChangerClient.concatUploadedFile(dir + file.name, num);\\n console.log(\\\"uploaded\\\", num, res);\\n };\\n }, [props.voiceChangerClient]);\\n // 新しいアップローダ\\n const uploadModel = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (setting) => {\\n if (!props.voiceChangerClient) {\\n return;\\n }\\n setUploadProgress(0);\\n setIsUploading(true);\\n if (setting.isSampleMode == false) {\\n const progRate = 1 / setting.files.length;\\n for (let i = 0; i < setting.files.length; i++) {\\n const progOffset = 100 * i * progRate;\\n await _uploadFile2(setting.files[i].file, (progress, _end) => {\\n setUploadProgress(progress * progRate + progOffset);\\n }, setting.files[i].dir);\\n }\\n }\\n const params = {\\n ...setting, files: setting.files.map((f) => { return { name: f.file.name, kind: f.kind, dir: f.dir }; })\\n };\\n const loadPromise = props.voiceChangerClient.loadModel(0, false, JSON.stringify(params));\\n await loadPromise;\\n setUploadProgress(0);\\n setIsUploading(false);\\n reloadServerInfo();\\n };\\n }, [props.voiceChangerClient]);\\n // 古いアップローダ(新GUIへ以降まで、当分残しておく。)\\n const loadModel = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (slot) => {\\n const fileUploadSetting = fileUploadSettings[slot];\\n console.log(\\\"[loadModel]\\\", fileUploadSetting);\\n console.log(\\\"[loadModel] model:\\\", props.clientType);\\n if (fileUploadSetting.isSampleMode == false) {\\n if (props.clientType == \\\"MMVCv13\\\") {\\n if (!fileUploadSetting.mmvcv13Config) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Config\\\");\\n }\\n if (!fileUploadSetting.mmvcv13Model) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Model\\\");\\n }\\n }\\n else if (props.clientType == \\\"MMVCv15\\\") {\\n if (!fileUploadSetting.mmvcv15Config) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Config\\\");\\n }\\n if (!fileUploadSetting.mmvcv15Model) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Model\\\");\\n }\\n }\\n else if (props.clientType == \\\"so-vits-svc-40\\\") {\\n if (!fileUploadSetting.soVitsSvc40Config) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Config\\\");\\n }\\n if (!fileUploadSetting.soVitsSvc40Model) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Model\\\");\\n }\\n }\\n else if (props.clientType == \\\"so-vits-svc-40v2\\\") {\\n if (!fileUploadSetting.soVitsSvc40v2Config) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Config\\\");\\n }\\n if (!fileUploadSetting.soVitsSvc40v2Model) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Model\\\");\\n }\\n }\\n else if (props.clientType == \\\"RVC\\\") {\\n if (!fileUploadSetting.rvcModel) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Model\\\");\\n }\\n }\\n else if (props.clientType == \\\"DDSP-SVC\\\") {\\n if (!fileUploadSetting.ddspSvcModel) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"DDSP-Model\\\");\\n }\\n if (!fileUploadSetting.ddspSvcModelConfig) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"DDSP-Config\\\");\\n }\\n if (!fileUploadSetting.ddspSvcDiffusion) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Diff-Model\\\");\\n }\\n if (!fileUploadSetting.ddspSvcDiffusionConfig) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"Diff-Config\\\");\\n }\\n }\\n else {\\n }\\n }\\n else { //Sampleモード\\n if (!fileUploadSetting.sampleId) {\\n throw new _exceptions__WEBPACK_IMPORTED_MODULE_3__.ModelLoadException(\\\"SampleId\\\");\\n }\\n }\\n if (!props.voiceChangerClient)\\n return;\\n setUploadProgress(0);\\n setIsUploading(true);\\n // normal models(MMVC13,15, so-vits-svc, RVC)\\n const normalModels = [\\n fileUploadSetting.mmvcv13Config,\\n fileUploadSetting.mmvcv13Model,\\n fileUploadSetting.mmvcv15Config,\\n fileUploadSetting.mmvcv15Model,\\n fileUploadSetting.soVitsSvc40Config,\\n fileUploadSetting.soVitsSvc40Model,\\n fileUploadSetting.soVitsSvc40Cluster,\\n fileUploadSetting.soVitsSvc40v2Config,\\n fileUploadSetting.soVitsSvc40v2Model,\\n fileUploadSetting.soVitsSvc40v2Cluster,\\n ].filter(x => { return x != null; });\\n console.log(\\\"[SENDING FILE]\\\", normalModels);\\n for (let i = 0; i < normalModels.length; i++) {\\n if (!normalModels[i].data) {\\n // const fileSize = normalModels[i].file!.size / 1024 / 1024\\n normalModels[i].data = await normalModels[i].file.arrayBuffer();\\n normalModels[i].filename = await normalModels[i].file.name;\\n }\\n }\\n if (fileUploadSetting.isSampleMode == false) {\\n for (let i = 0; i < normalModels.length; i++) {\\n const progRate = 1 / normalModels.length;\\n const progOffset = 100 * i * progRate;\\n await _uploadFile(normalModels[i], (progress, _end) => {\\n setUploadProgress(progress * progRate + progOffset);\\n });\\n // await _uploadFile2(normalModels[i].file!, (progress: number, _end: boolean) => {\\n // setUploadProgress(progress * progRate + progOffset)\\n // })\\n }\\n }\\n // slotModel ローカルキャッシュ無効(RVC)\\n const slotModels = [\\n fileUploadSetting.rvcModel,\\n fileUploadSetting.rvcIndex,\\n ].filter(x => { return x != null; });\\n for (let i = 0; i < slotModels.length; i++) {\\n if (!slotModels[i].data) {\\n slotModels[i].filename = await slotModels[i].file.name;\\n }\\n }\\n if (fileUploadSetting.isSampleMode == false) {\\n for (let i = 0; i < slotModels.length; i++) {\\n const progRate = 1 / slotModels.length;\\n const progOffset = 100 * i * progRate;\\n await _uploadFile2(slotModels[i].file, (progress, _end) => {\\n setUploadProgress(progress * progRate + progOffset);\\n });\\n }\\n }\\n // DDSP-SVC (ファイル名(config)が被る可能性があるため、アップロードフォルダを分ける必要がある)\\n const ddspSvcModels = [fileUploadSetting.ddspSvcModel, fileUploadSetting.ddspSvcModelConfig, fileUploadSetting.ddspSvcDiffusion, fileUploadSetting.ddspSvcDiffusionConfig].filter(x => { return x != null; });\\n for (let i = 0; i < ddspSvcModels.length; i++) {\\n if (!ddspSvcModels[i].data) {\\n ddspSvcModels[i].data = await ddspSvcModels[i].file.arrayBuffer();\\n ddspSvcModels[i].filename = await ddspSvcModels[i].file.name;\\n }\\n }\\n if (fileUploadSetting.isSampleMode == false) {\\n for (let i = 0; i < ddspSvcModels.length; i++) {\\n const progRate = 1 / ddspSvcModels.length;\\n const progOffset = 100 * i * progRate;\\n const dir = i == 0 || i == 1 ? \\\"ddsp_mod/\\\" : \\\"ddsp_diff/\\\";\\n await _uploadFile(ddspSvcModels[i], (progress, _end) => {\\n setUploadProgress(progress * progRate + progOffset);\\n }, dir);\\n }\\n }\\n // const configFileName = fileUploadSetting.configFile?.filename || \\\"-\\\"\\n const params = JSON.stringify({\\n defaultTune: fileUploadSetting.defaultTune || 0,\\n defaultIndexRatio: fileUploadSetting.defaultIndexRatio || 1,\\n defaultProtect: fileUploadSetting.defaultProtect || 0.5,\\n sampleId: fileUploadSetting.isSampleMode ? fileUploadSetting.sampleId || \\\"\\\" : \\\"\\\",\\n rvcIndexDownload: fileUploadSetting.rvcIndexDownload || false,\\n files: fileUploadSetting.isSampleMode ? {} : {\\n mmvcv13Config: props.clientType == \\\"MMVCv13\\\" ? fileUploadSetting.mmvcv13Config?.filename || \\\"\\\" : \\\"\\\",\\n mmvcv13Model: props.clientType == \\\"MMVCv13\\\" ? fileUploadSetting.mmvcv13Model?.filename || \\\"\\\" : \\\"\\\",\\n mmvcv15Config: props.clientType == \\\"MMVCv15\\\" ? fileUploadSetting.mmvcv15Config?.filename || \\\"\\\" : \\\"\\\",\\n mmvcv15Model: props.clientType == \\\"MMVCv15\\\" ? fileUploadSetting.mmvcv15Model?.filename || \\\"\\\" : \\\"\\\",\\n soVitsSvc40Config: props.clientType == \\\"so-vits-svc-40\\\" ? fileUploadSetting.soVitsSvc40Config?.filename || \\\"\\\" : \\\"\\\",\\n soVitsSvc40Model: props.clientType == \\\"so-vits-svc-40\\\" ? fileUploadSetting.soVitsSvc40Model?.filename || \\\"\\\" : \\\"\\\",\\n soVitsSvc40Cluster: props.clientType == \\\"so-vits-svc-40\\\" ? fileUploadSetting.soVitsSvc40Cluster?.filename || \\\"\\\" : \\\"\\\",\\n rvcModel: props.clientType == \\\"RVC\\\" ? fileUploadSetting.rvcModel?.filename || \\\"\\\" : \\\"\\\",\\n rvcIndex: props.clientType == \\\"RVC\\\" ? fileUploadSetting.rvcIndex?.filename || \\\"\\\" : \\\"\\\",\\n rvcFeature: props.clientType == \\\"RVC\\\" ? fileUploadSetting.rvcFeature?.filename || \\\"\\\" : \\\"\\\",\\n ddspSvcModel: props.clientType == \\\"DDSP-SVC\\\" ? fileUploadSetting.ddspSvcModel?.filename ? \\\"ddsp_mod/\\\" + fileUploadSetting.ddspSvcModel?.filename : \\\"\\\" : \\\"\\\",\\n ddspSvcModelConfig: props.clientType == \\\"DDSP-SVC\\\" ? fileUploadSetting.ddspSvcModelConfig?.filename ? \\\"ddsp_mod/\\\" + fileUploadSetting.ddspSvcModelConfig?.filename : \\\"\\\" : \\\"\\\",\\n ddspSvcDiffusion: props.clientType == \\\"DDSP-SVC\\\" ? fileUploadSetting.ddspSvcDiffusion?.filename ? \\\"ddsp_diff/\\\" + fileUploadSetting.ddspSvcDiffusion?.filename : \\\"\\\" : \\\"\\\",\\n ddspSvcDiffusionConfig: props.clientType == \\\"DDSP-SVC\\\" ? fileUploadSetting.ddspSvcDiffusionConfig?.filename ? \\\"ddsp_diff/\\\" + fileUploadSetting.ddspSvcDiffusionConfig.filename : \\\"\\\" : \\\"\\\",\\n }\\n });\\n if (fileUploadSetting.isHalf == undefined) {\\n fileUploadSetting.isHalf = false;\\n }\\n console.log(\\\"PARAMS:\\\", params);\\n const loadPromise = props.voiceChangerClient.loadModel(slot, fileUploadSetting.isHalf, params);\\n // サーバでロード中にキャッシュにセーブ\\n storeToCache(slot, fileUploadSetting);\\n await loadPromise;\\n fileUploadSetting.uploaded = true;\\n fileUploadSettings[slot] = fileUploadSetting;\\n setFileUploadSettings([...fileUploadSettings]);\\n setUploadProgress(0);\\n setIsUploading(false);\\n reloadServerInfo();\\n };\\n }, [fileUploadSettings, props.voiceChangerClient, props.clientType]);\\n const storeToCache = (slot, fileUploadSetting) => {\\n try {\\n const saveData = {\\n isHalf: fileUploadSetting.isHalf,\\n uploaded: false,\\n defaultTune: fileUploadSetting.defaultTune,\\n defaultIndexRatio: fileUploadSetting.defaultIndexRatio,\\n defaultProtect: fileUploadSetting.defaultProtect,\\n framework: fileUploadSetting.framework,\\n params: fileUploadSetting.params,\\n mmvcv13Config: fileUploadSetting.mmvcv13Config ? { data: fileUploadSetting.mmvcv13Config.data, filename: fileUploadSetting.mmvcv13Config.filename } : null,\\n mmvcv13Model: fileUploadSetting.mmvcv13Model ? { data: fileUploadSetting.mmvcv13Model.data, filename: fileUploadSetting.mmvcv13Model.filename } : null,\\n mmvcv15Config: fileUploadSetting.mmvcv15Config ? { data: fileUploadSetting.mmvcv15Config.data, filename: fileUploadSetting.mmvcv15Config.filename } : null,\\n mmvcv15Model: fileUploadSetting.mmvcv15Model ? { data: fileUploadSetting.mmvcv15Model.data, filename: fileUploadSetting.mmvcv15Model.filename } : null,\\n soVitsSvc40Config: fileUploadSetting.soVitsSvc40Config ? { data: fileUploadSetting.soVitsSvc40Config.data, filename: fileUploadSetting.soVitsSvc40Config.filename } : null,\\n soVitsSvc40Model: fileUploadSetting.soVitsSvc40Model ? { data: fileUploadSetting.soVitsSvc40Model.data, filename: fileUploadSetting.soVitsSvc40Model.filename } : null,\\n soVitsSvc40Cluster: fileUploadSetting.soVitsSvc40Cluster ? { data: fileUploadSetting.soVitsSvc40Cluster.data, filename: fileUploadSetting.soVitsSvc40Cluster.filename } : null,\\n soVitsSvc40v2Config: fileUploadSetting.soVitsSvc40v2Config ? { data: fileUploadSetting.soVitsSvc40v2Config.data, filename: fileUploadSetting.soVitsSvc40v2Config.filename } : null,\\n soVitsSvc40v2Model: fileUploadSetting.soVitsSvc40v2Model ? { data: fileUploadSetting.soVitsSvc40v2Model.data, filename: fileUploadSetting.soVitsSvc40v2Model.filename } : null,\\n soVitsSvc40v2Cluster: fileUploadSetting.soVitsSvc40v2Cluster ? { data: fileUploadSetting.soVitsSvc40v2Cluster.data, filename: fileUploadSetting.soVitsSvc40v2Cluster.filename } : null,\\n rvcModel: fileUploadSetting.rvcModel ? { data: fileUploadSetting.rvcModel.data, filename: fileUploadSetting.rvcModel.filename } : null,\\n rvcIndex: fileUploadSetting.rvcIndex ? { data: fileUploadSetting.rvcIndex.data, filename: fileUploadSetting.rvcIndex.filename } : null,\\n rvcFeature: fileUploadSetting.rvcFeature ? { data: fileUploadSetting.rvcFeature.data, filename: fileUploadSetting.rvcFeature.filename } : null,\\n ddspSvcModel: fileUploadSetting.ddspSvcModel ? { data: fileUploadSetting.ddspSvcModel.data, filename: fileUploadSetting.ddspSvcModel.filename } : null,\\n ddspSvcModelConfig: fileUploadSetting.ddspSvcModelConfig ? { data: fileUploadSetting.ddspSvcModelConfig.data, filename: fileUploadSetting.ddspSvcModelConfig.filename } : null,\\n ddspSvcDiffusion: fileUploadSetting.ddspSvcDiffusion ? { data: fileUploadSetting.ddspSvcDiffusion.data, filename: fileUploadSetting.ddspSvcDiffusion.filename } : null,\\n ddspSvcDiffusionConfig: fileUploadSetting.ddspSvcDiffusionConfig ? { data: fileUploadSetting.ddspSvcDiffusionConfig.data, filename: fileUploadSetting.ddspSvcDiffusionConfig.filename } : null,\\n isSampleMode: fileUploadSetting.isSampleMode,\\n sampleId: fileUploadSetting.sampleId,\\n rvcIndexDownload: fileUploadSetting.rvcIndexDownload,\\n };\\n setItem(`${_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_MODEL_DATA}_${slot}`, saveData);\\n }\\n catch (e) {\\n console.log(\\\"Excpetion:::::::::\\\", e);\\n }\\n };\\n const uploadAssets = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (slot, name, file) => {\\n if (!props.voiceChangerClient)\\n return;\\n await _uploadFile2(file, (progress, _end) => {\\n console.log(progress, _end);\\n });\\n const assetUploadSetting = {\\n slot,\\n name,\\n file: file.name\\n };\\n await props.voiceChangerClient.uploadAssets(JSON.stringify(assetUploadSetting));\\n reloadServerInfo();\\n };\\n }, [fileUploadSettings, props.voiceChangerClient, props.clientType]);\\n const reloadServerInfo = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n const res = await props.voiceChangerClient.getServerSettings();\\n setServerSetting(res);\\n const storeData = { ...res };\\n storeData.recordIO = 0;\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER, storeData);\\n };\\n }, [props.voiceChangerClient]);\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER);\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_MODEL_DATA);\\n for (let i = 0; i < _const__WEBPACK_IMPORTED_MODULE_1__.MAX_MODEL_SLOT_NUM; i++) {\\n const modleKey = `${_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_MODEL_DATA}_${i}`;\\n await removeItem(modleKey);\\n }\\n };\\n const getOnnx = async () => {\\n return props.voiceChangerClient.getOnnx();\\n };\\n const mergeModel = async (request) => {\\n const serverInfo = await props.voiceChangerClient.mergeModel(request);\\n setServerSetting(serverInfo);\\n return serverInfo;\\n };\\n const updateModelDefault = async () => {\\n const serverInfo = await props.voiceChangerClient.updateModelDefault();\\n setServerSetting(serverInfo);\\n return serverInfo;\\n };\\n const updateModelInfo = async (slot, key, val) => {\\n const serverInfo = await props.voiceChangerClient.updateModelInfo(slot, key, val);\\n setServerSetting(serverInfo);\\n return serverInfo;\\n };\\n return {\\n serverSetting,\\n updateServerSettings,\\n clearSetting,\\n reloadServerInfo,\\n fileUploadSettings,\\n setFileUploadSetting,\\n loadModel,\\n uploadModel,\\n uploadProgress,\\n isUploading,\\n getOnnx,\\n mergeModel,\\n updateModelDefault,\\n updateModelInfo,\\n uploadAssets\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useServerSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useWorkletNodeSetting.ts\":\n/*!********************************************!*\\\n !*** ./src/hooks/useWorkletNodeSetting.ts ***!\n \\********************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useWorkletNodeSetting: () => (/* binding */ useWorkletNodeSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n\\n\\n\\nconst useWorkletNodeSetting = (props) => {\\n const defaultWorkletNodeSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n if (props.clientType == \\\"MMVCv13\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting;\\n }\\n else if (props.clientType == \\\"MMVCv15\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting;\\n }\\n else if (props.clientType == \\\"so-vits-svc-40\\\" || props.clientType == \\\"so-vits-svc-40_c\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting_so_vits_svc_40;\\n }\\n else if (props.clientType == \\\"so-vits-svc-40v2\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting_so_vits_svc_40v2;\\n }\\n else if (props.clientType == \\\"DDSP-SVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting_DDSP_SVC;\\n }\\n else if (props.clientType == \\\"RVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting_RVC;\\n }\\n else {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting;\\n }\\n }, []);\\n const [workletNodeSetting, _setWorkletNodeSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultWorkletNodeSetting);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // 初期化 その1 DBから取得\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const loadCache = async () => {\\n const setting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLETNODE);\\n if (setting) {\\n _setWorkletNodeSetting({ ...setting, sendingSampleRate: 48000 }); // sample rateは時限措置\\n }\\n };\\n loadCache();\\n }, []);\\n // 初期化 その2 クライアントに設定\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.setServerUrl(workletNodeSetting.serverUrl);\\n props.voiceChangerClient.updateWorkletNodeSetting(workletNodeSetting);\\n }, [props.voiceChangerClient]);\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLETNODE);\\n };\\n //////////////\\n // 設定\\n /////////////\\n const updateWorkletNodeSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return (_workletNodeSetting) => {\\n if (!props.voiceChangerClient)\\n return;\\n for (let k in _workletNodeSetting) {\\n const cur_v = workletNodeSetting[k];\\n const new_v = _workletNodeSetting[k];\\n if (cur_v != new_v) {\\n _setWorkletNodeSetting(_workletNodeSetting);\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLETNODE, _workletNodeSetting);\\n props.voiceChangerClient.updateWorkletNodeSetting(_workletNodeSetting);\\n break;\\n }\\n }\\n };\\n }, [props.voiceChangerClient, workletNodeSetting]);\\n const startOutputRecording = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return () => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.startOutputRecording();\\n };\\n }, [props.voiceChangerClient]);\\n const stopOutputRecording = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return new Float32Array();\\n return props.voiceChangerClient.stopOutputRecording();\\n };\\n }, [props.voiceChangerClient]);\\n const trancateBuffer = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.trancateBuffer();\\n };\\n }, [props.voiceChangerClient]);\\n return {\\n workletNodeSetting,\\n clearSetting,\\n updateWorkletNodeSetting,\\n startOutputRecording,\\n stopOutputRecording,\\n trancateBuffer\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useWorkletNodeSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useWorkletSetting.ts\":\n/*!****************************************!*\\\n !*** ./src/hooks/useWorkletSetting.ts ***!\n \\****************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useWorkletSetting: () => (/* binding */ useWorkletSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n\\n\\n\\nconst useWorkletSetting = (props) => {\\n const [setting, _setSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletSetting);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // DBから設定取得(キャッシュによる初期化)\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const loadCache = async () => {\\n const setting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLET);\\n if (!setting) {\\n // デフォルト設定\\n const params = new URLSearchParams(location.search);\\n const colab = params.get(\\\"colab\\\");\\n if (colab == \\\"true\\\") {\\n _setSetting({\\n numTrancateTreshold: 300,\\n volTrancateThreshold: 0.0005,\\n volTrancateLength: 32,\\n });\\n }\\n else {\\n _setSetting({\\n numTrancateTreshold: 100,\\n volTrancateThreshold: 0.0005,\\n volTrancateLength: 32,\\n });\\n }\\n }\\n else {\\n _setSetting({\\n ...setting\\n });\\n }\\n };\\n loadCache();\\n }, []);\\n // クライアントへ設定反映 初期化, 設定変更\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.configureWorklet(setting);\\n }, [props.voiceChangerClient, setting]);\\n // 設定 _setSettingがトリガでuseEffectが呼ばれて、workletに設定が飛ぶ\\n const setSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return (setting) => {\\n if (!props.voiceChangerClient)\\n return;\\n _setSetting(setting);\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLET, setting);\\n };\\n }, [props.voiceChangerClient]);\\n // その他 オペレーション\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLET);\\n };\\n return {\\n setting,\\n clearSetting,\\n setSetting,\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useWorkletSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/index.ts\":\n/*!**********************!*\\\n !*** ./src/index.ts ***!\n \\**********************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ClientType: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.ClientType),\\n/* harmony export */ CrossFadeOverlapSize: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.CrossFadeOverlapSize),\\n/* harmony export */ DefaultServerSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting),\\n/* harmony export */ DefaultServerSetting_DDSP_SVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_DDSP_SVC),\\n/* harmony export */ DefaultServerSetting_MMVCv13: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_MMVCv13),\\n/* harmony export */ DefaultServerSetting_MMVCv15: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_MMVCv15),\\n/* harmony export */ DefaultServerSetting_RVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_RVC),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_so_vits_svc_40),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40_c: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_so_vits_svc_40_c),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40v2: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_so_vits_svc_40v2),\\n/* harmony export */ DefaultVoiceChangerClientSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultVoiceChangerClientSetting),\\n/* harmony export */ DefaultWorkletNodeSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting),\\n/* harmony export */ DefaultWorkletNodeSetting_DDSP_SVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting_DDSP_SVC),\\n/* harmony export */ DefaultWorkletNodeSetting_RVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting_RVC),\\n/* harmony export */ DefaultWorkletNodeSetting_so_vits_svc_40: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting_so_vits_svc_40),\\n/* harmony export */ DefaultWorkletNodeSetting_so_vits_svc_40v2: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting_so_vits_svc_40v2),\\n/* harmony export */ DefaultWorkletSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletSetting),\\n/* harmony export */ DiffMethod: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DiffMethod),\\n/* harmony export */ DownSamplingMode: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DownSamplingMode),\\n/* harmony export */ F0Detector: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.F0Detector),\\n/* harmony export */ Framework: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.Framework),\\n/* harmony export */ INDEXEDDB_DB_APP_NAME: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_DB_APP_NAME),\\n/* harmony export */ INDEXEDDB_DB_NAME: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_DB_NAME),\\n/* harmony export */ INDEXEDDB_KEY_CLIENT: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_CLIENT),\\n/* harmony export */ INDEXEDDB_KEY_MODEL_DATA: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_MODEL_DATA),\\n/* harmony export */ INDEXEDDB_KEY_SERVER: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_SERVER),\\n/* harmony export */ INDEXEDDB_KEY_WORKLET: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_WORKLET),\\n/* harmony export */ INDEXEDDB_KEY_WORKLETNODE: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_WORKLETNODE),\\n/* harmony export */ InitialFileUploadSetting: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.InitialFileUploadSetting),\\n/* harmony export */ InputSampleRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.InputSampleRate),\\n/* harmony export */ MAX_MODEL_SLOT_NUM: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.MAX_MODEL_SLOT_NUM),\\n/* harmony export */ ModelAssetName: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.ModelAssetName),\\n/* harmony export */ ModelFileKind: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.ModelFileKind),\\n/* harmony export */ ModelLoadException: () => (/* reexport safe */ _exceptions__WEBPACK_IMPORTED_MODULE_1__.ModelLoadException),\\n/* harmony export */ ModelSamplingRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.ModelSamplingRate),\\n/* harmony export */ OnnxExecutionProvider: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.OnnxExecutionProvider),\\n/* harmony export */ Protocol: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.Protocol),\\n/* harmony export */ RVCModelType: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.RVCModelType),\\n/* harmony export */ SampleRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.SampleRate),\\n/* harmony export */ SendingSampleRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.SendingSampleRate),\\n/* harmony export */ ServerSettingKey: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.ServerSettingKey),\\n/* harmony export */ VOICE_CHANGER_CLIENT_EXCEPTION: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION),\\n/* harmony export */ VoiceChangerClient: () => (/* reexport safe */ _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_2__.VoiceChangerClient),\\n/* harmony export */ VoiceChangerType: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerType),\\n/* harmony export */ createDummyMediaStream: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.createDummyMediaStream),\\n/* harmony export */ fileSelector: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.fileSelector),\\n/* harmony export */ fileSelectorAsDataURL: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.fileSelectorAsDataURL),\\n/* harmony export */ getLicenceInfo: () => (/* reexport safe */ _License__WEBPACK_IMPORTED_MODULE_6__.getLicenceInfo),\\n/* harmony export */ useClient: () => (/* reexport safe */ _hooks_useClient__WEBPACK_IMPORTED_MODULE_4__.useClient),\\n/* harmony export */ useIndexedDB: () => (/* reexport safe */ _hooks_useIndexedDB__WEBPACK_IMPORTED_MODULE_5__.useIndexedDB),\\n/* harmony export */ useServerSetting: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.useServerSetting),\\n/* harmony export */ validateUrl: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.validateUrl)\\n/* harmony export */ });\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _exceptions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./exceptions */ \\\"./src/exceptions.ts\\\");\\n/* harmony import */ var _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VoiceChangerClient */ \\\"./src/VoiceChangerClient.ts\\\");\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ \\\"./src/util.ts\\\");\\n/* harmony import */ var _hooks_useClient__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useClient */ \\\"./src/hooks/useClient.ts\\\");\\n/* harmony import */ var _hooks_useIndexedDB__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hooks/useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n/* harmony import */ var _License__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./License */ \\\"./src/License.ts\\\");\\n/* harmony import */ var _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./hooks/useServerSetting */ \\\"./src/hooks/useServerSetting.ts\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/index.ts?\");\n\n/***/ }),\n\n/***/ \"./src/util.ts\":\n/*!*********************!*\\\n !*** ./src/util.ts ***!\n \\*********************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ createDummyMediaStream: () => (/* binding */ createDummyMediaStream),\\n/* harmony export */ fileSelector: () => (/* binding */ fileSelector),\\n/* harmony export */ fileSelectorAsDataURL: () => (/* binding */ fileSelectorAsDataURL),\\n/* harmony export */ validateUrl: () => (/* binding */ validateUrl)\\n/* harmony export */ });\\nconst createDummyMediaStream = (audioContext) => {\\n const dummyOutputNode = audioContext.createMediaStreamDestination();\\n const gainNode = audioContext.createGain();\\n gainNode.gain.value = 0.0;\\n gainNode.connect(dummyOutputNode);\\n const oscillatorNode = audioContext.createOscillator();\\n oscillatorNode.frequency.value = 440;\\n oscillatorNode.connect(gainNode);\\n oscillatorNode.start();\\n return dummyOutputNode.stream;\\n};\\nconst fileSelector = async (regex) => {\\n const fileInput = document.createElement(\\\"input\\\");\\n fileInput.type = \\\"file\\\";\\n const p = new Promise((resolve, reject) => {\\n fileInput.onchange = (e) => {\\n if (e.target instanceof HTMLInputElement == false) {\\n console.log(\\\"invalid target!\\\", e.target);\\n reject(\\\"invalid target\\\");\\n return null;\\n }\\n const target = e.target;\\n if (!target.files || target.files.length == 0) {\\n reject(\\\"no file selected\\\");\\n return null;\\n }\\n if (regex != \\\"\\\" && target.files[0].type.match(regex)) {\\n reject(`not target file type ${target.files[0].type}`);\\n return null;\\n }\\n resolve(target.files[0]);\\n return null;\\n };\\n fileInput.click();\\n });\\n return await p;\\n};\\nconst fileSelectorAsDataURL = async (regex) => {\\n const f = await fileSelector(regex);\\n if (!f) {\\n return f;\\n }\\n const url = await new Promise((resolve) => {\\n const reader = new FileReader();\\n reader.onload = () => {\\n console.log(\\\"load data\\\", reader.result);\\n resolve(reader.result);\\n };\\n reader.readAsDataURL(f);\\n });\\n return url;\\n};\\nconst validateUrl = (url) => {\\n if (url?.endsWith(\\\"/\\\")) {\\n return url.substring(0, url.length - 1);\\n }\\n return url;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/util.ts?\");\n\n/***/ }),\n\n/***/ \"./src/utils/BlockingQueue.ts\":\n/*!************************************!*\\\n !*** ./src/utils/BlockingQueue.ts ***!\n \\************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ BlockingQueue: () => (/* binding */ BlockingQueue)\\n/* harmony export */ });\\nclass BlockingQueue {\\n constructor() {\\n this._resolvers = [];\\n this._promises = [];\\n }\\n _add() {\\n this._promises.push(new Promise((resolve) => {\\n this._resolvers.push(resolve);\\n }));\\n }\\n enqueue(t) {\\n if (this._resolvers.length == 0)\\n this._add();\\n const resolve = this._resolvers.shift();\\n resolve(t);\\n }\\n dequeue() {\\n if (this._promises.length == 0)\\n this._add();\\n const promise = this._promises.shift();\\n return promise;\\n }\\n isEmpty() {\\n return this._promises.length == 0;\\n }\\n isBlocked() {\\n return this._resolvers.length != 0;\\n }\\n get length() {\\n return this._promises.length - this._resolvers.length;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/utils/BlockingQueue.ts?\");\n\n/***/ }),\n\n/***/ \"./node_modules/tslib/tslib.es6.js\":\n/*!*****************************************!*\\\n !*** ./node_modules/tslib/tslib.es6.js ***!\n \\*****************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ __assign: () => (/* binding */ __assign),\\n/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator),\\n/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator),\\n/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues),\\n/* harmony export */ __await: () => (/* binding */ __await),\\n/* harmony export */ __awaiter: () => (/* binding */ __awaiter),\\n/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet),\\n/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet),\\n/* harmony export */ __createBinding: () => (/* binding */ __createBinding),\\n/* harmony export */ __decorate: () => (/* binding */ __decorate),\\n/* harmony export */ __exportStar: () => (/* binding */ __exportStar),\\n/* harmony export */ __extends: () => (/* binding */ __extends),\\n/* harmony export */ __generator: () => (/* binding */ __generator),\\n/* harmony export */ __importDefault: () => (/* binding */ __importDefault),\\n/* harmony export */ __importStar: () => (/* binding */ __importStar),\\n/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject),\\n/* harmony export */ __metadata: () => (/* binding */ __metadata),\\n/* harmony export */ __param: () => (/* binding */ __param),\\n/* harmony export */ __read: () => (/* binding */ __read),\\n/* harmony export */ __rest: () => (/* binding */ __rest),\\n/* harmony export */ __spread: () => (/* binding */ __spread),\\n/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays),\\n/* harmony export */ __values: () => (/* binding */ __values)\\n/* harmony export */ });\\n/*! *****************************************************************************\\r\\nCopyright (c) Microsoft Corporation.\\r\\n\\r\\nPermission to use, copy, modify, and/or distribute this software for any\\r\\npurpose with or without fee is hereby granted.\\r\\n\\r\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\\r\\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\\r\\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\\r\\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\\r\\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\\r\\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\\r\\nPERFORMANCE OF THIS SOFTWARE.\\r\\n***************************************************************************** */\\r\\n/* global Reflect, Promise */\\r\\n\\r\\nvar extendStatics = function(d, b) {\\r\\n extendStatics = Object.setPrototypeOf ||\\r\\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\\r\\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\\r\\n return extendStatics(d, b);\\r\\n};\\r\\n\\r\\nfunction __extends(d, b) {\\r\\n extendStatics(d, b);\\r\\n function __() { this.constructor = d; }\\r\\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\\r\\n}\\r\\n\\r\\nvar __assign = function() {\\r\\n __assign = Object.assign || function __assign(t) {\\r\\n for (var s, i = 1, n = arguments.length; i < n; i++) {\\r\\n s = arguments[i];\\r\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\\r\\n }\\r\\n return t;\\r\\n }\\r\\n return __assign.apply(this, arguments);\\r\\n}\\r\\n\\r\\nfunction __rest(s, e) {\\r\\n var t = {};\\r\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\\r\\n t[p] = s[p];\\r\\n if (s != null && typeof Object.getOwnPropertySymbols === \\\"function\\\")\\r\\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\\r\\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\\r\\n t[p[i]] = s[p[i]];\\r\\n }\\r\\n return t;\\r\\n}\\r\\n\\r\\nfunction __decorate(decorators, target, key, desc) {\\r\\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\\r\\n if (typeof Reflect === \\\"object\\\" && typeof Reflect.decorate === \\\"function\\\") r = Reflect.decorate(decorators, target, key, desc);\\r\\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\\r\\n return c > 3 && r && Object.defineProperty(target, key, r), r;\\r\\n}\\r\\n\\r\\nfunction __param(paramIndex, decorator) {\\r\\n return function (target, key) { decorator(target, key, paramIndex); }\\r\\n}\\r\\n\\r\\nfunction __metadata(metadataKey, metadataValue) {\\r\\n if (typeof Reflect === \\\"object\\\" && typeof Reflect.metadata === \\\"function\\\") return Reflect.metadata(metadataKey, metadataValue);\\r\\n}\\r\\n\\r\\nfunction __awaiter(thisArg, _arguments, P, generator) {\\r\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\r\\n return new (P || (P = Promise))(function (resolve, reject) {\\r\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\r\\n function rejected(value) { try { step(generator[\\\"throw\\\"](value)); } catch (e) { reject(e); } }\\r\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\r\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\r\\n });\\r\\n}\\r\\n\\r\\nfunction __generator(thisArg, body) {\\r\\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\\r\\n return g = { next: verb(0), \\\"throw\\\": verb(1), \\\"return\\\": verb(2) }, typeof Symbol === \\\"function\\\" && (g[Symbol.iterator] = function() { return this; }), g;\\r\\n function verb(n) { return function (v) { return step([n, v]); }; }\\r\\n function step(op) {\\r\\n if (f) throw new TypeError(\\\"Generator is already executing.\\\");\\r\\n while (_) try {\\r\\n if (f = 1, y && (t = op[0] & 2 ? y[\\\"return\\\"] : op[0] ? y[\\\"throw\\\"] || ((t = y[\\\"return\\\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\\r\\n if (y = 0, t) op = [op[0] & 2, t.value];\\r\\n switch (op[0]) {\\r\\n case 0: case 1: t = op; break;\\r\\n case 4: _.label++; return { value: op[1], done: false };\\r\\n case 5: _.label++; y = op[1]; op = [0]; continue;\\r\\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\\r\\n default:\\r\\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\\r\\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\\r\\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\\r\\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\\r\\n if (t[2]) _.ops.pop();\\r\\n _.trys.pop(); continue;\\r\\n }\\r\\n op = body.call(thisArg, _);\\r\\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\\r\\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\\r\\n }\\r\\n}\\r\\n\\r\\nfunction __createBinding(o, m, k, k2) {\\r\\n if (k2 === undefined) k2 = k;\\r\\n o[k2] = m[k];\\r\\n}\\r\\n\\r\\nfunction __exportStar(m, exports) {\\r\\n for (var p in m) if (p !== \\\"default\\\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\\r\\n}\\r\\n\\r\\nfunction __values(o) {\\r\\n var s = typeof Symbol === \\\"function\\\" && Symbol.iterator, m = s && o[s], i = 0;\\r\\n if (m) return m.call(o);\\r\\n if (o && typeof o.length === \\\"number\\\") return {\\r\\n next: function () {\\r\\n if (o && i >= o.length) o = void 0;\\r\\n return { value: o && o[i++], done: !o };\\r\\n }\\r\\n };\\r\\n throw new TypeError(s ? \\\"Object is not iterable.\\\" : \\\"Symbol.iterator is not defined.\\\");\\r\\n}\\r\\n\\r\\nfunction __read(o, n) {\\r\\n var m = typeof Symbol === \\\"function\\\" && o[Symbol.iterator];\\r\\n if (!m) return o;\\r\\n var i = m.call(o), r, ar = [], e;\\r\\n try {\\r\\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\\r\\n }\\r\\n catch (error) { e = { error: error }; }\\r\\n finally {\\r\\n try {\\r\\n if (r && !r.done && (m = i[\\\"return\\\"])) m.call(i);\\r\\n }\\r\\n finally { if (e) throw e.error; }\\r\\n }\\r\\n return ar;\\r\\n}\\r\\n\\r\\nfunction __spread() {\\r\\n for (var ar = [], i = 0; i < arguments.length; i++)\\r\\n ar = ar.concat(__read(arguments[i]));\\r\\n return ar;\\r\\n}\\r\\n\\r\\nfunction __spreadArrays() {\\r\\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\\r\\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\\r\\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\\r\\n r[k] = a[j];\\r\\n return r;\\r\\n};\\r\\n\\r\\nfunction __await(v) {\\r\\n return this instanceof __await ? (this.v = v, this) : new __await(v);\\r\\n}\\r\\n\\r\\nfunction __asyncGenerator(thisArg, _arguments, generator) {\\r\\n if (!Symbol.asyncIterator) throw new TypeError(\\\"Symbol.asyncIterator is not defined.\\\");\\r\\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\\r\\n return i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\"), verb(\\\"return\\\"), i[Symbol.asyncIterator] = function () { return this; }, i;\\r\\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\\r\\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\\r\\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\\r\\n function fulfill(value) { resume(\\\"next\\\", value); }\\r\\n function reject(value) { resume(\\\"throw\\\", value); }\\r\\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\\r\\n}\\r\\n\\r\\nfunction __asyncDelegator(o) {\\r\\n var i, p;\\r\\n return i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\", function (e) { throw e; }), verb(\\\"return\\\"), i[Symbol.iterator] = function () { return this; }, i;\\r\\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \\\"return\\\" } : f ? f(v) : v; } : f; }\\r\\n}\\r\\n\\r\\nfunction __asyncValues(o) {\\r\\n if (!Symbol.asyncIterator) throw new TypeError(\\\"Symbol.asyncIterator is not defined.\\\");\\r\\n var m = o[Symbol.asyncIterator], i;\\r\\n return m ? m.call(o) : (o = typeof __values === \\\"function\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\"), verb(\\\"return\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\r\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\r\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\r\\n}\\r\\n\\r\\nfunction __makeTemplateObject(cooked, raw) {\\r\\n if (Object.defineProperty) { Object.defineProperty(cooked, \\\"raw\\\", { value: raw }); } else { cooked.raw = raw; }\\r\\n return cooked;\\r\\n};\\r\\n\\r\\nfunction __importStar(mod) {\\r\\n if (mod && mod.__esModule) return mod;\\r\\n var result = {};\\r\\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\\r\\n result.default = mod;\\r\\n return result;\\r\\n}\\r\\n\\r\\nfunction __importDefault(mod) {\\r\\n return (mod && mod.__esModule) ? mod : { default: mod };\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldGet(receiver, privateMap) {\\r\\n if (!privateMap.has(receiver)) {\\r\\n throw new TypeError(\\\"attempted to get private field on non-instance\\\");\\r\\n }\\r\\n return privateMap.get(receiver);\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldSet(receiver, privateMap, value) {\\r\\n if (!privateMap.has(receiver)) {\\r\\n throw new TypeError(\\\"attempted to set private field on non-instance\\\");\\r\\n }\\r\\n privateMap.set(receiver, value);\\r\\n return value;\\r\\n}\\r\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/tslib/tslib.es6.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/ua-parser-js/src/ua-parser.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/ua-parser-js/src/ua-parser.js ***!\n \\****************************************************/\n/***/ (function(module, exports, __webpack_require__) {\n\neval(\"var __WEBPACK_AMD_DEFINE_RESULT__;/////////////////////////////////////////////////////////////////////////////////\\n/* UAParser.js v1.0.35\\n Copyright © 2012-2021 Faisal Salman \\n MIT License *//*\\n Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.\\n Supports browser & node.js environment. \\n Demo : https://faisalman.github.io/ua-parser-js\\n Source : https://github.com/faisalman/ua-parser-js */\\n/////////////////////////////////////////////////////////////////////////////////\\n\\n(function (window, undefined) {\\n\\n 'use strict';\\n\\n //////////////\\n // Constants\\n /////////////\\n\\n\\n var LIBVERSION = '1.0.35',\\n EMPTY = '',\\n UNKNOWN = '?',\\n FUNC_TYPE = 'function',\\n UNDEF_TYPE = 'undefined',\\n OBJ_TYPE = 'object',\\n STR_TYPE = 'string',\\n MAJOR = 'major',\\n MODEL = 'model',\\n NAME = 'name',\\n TYPE = 'type',\\n VENDOR = 'vendor',\\n VERSION = 'version',\\n ARCHITECTURE= 'architecture',\\n CONSOLE = 'console',\\n MOBILE = 'mobile',\\n TABLET = 'tablet',\\n SMARTTV = 'smarttv',\\n WEARABLE = 'wearable',\\n EMBEDDED = 'embedded',\\n UA_MAX_LENGTH = 350;\\n\\n var AMAZON = 'Amazon',\\n APPLE = 'Apple',\\n ASUS = 'ASUS',\\n BLACKBERRY = 'BlackBerry',\\n BROWSER = 'Browser',\\n CHROME = 'Chrome',\\n EDGE = 'Edge',\\n FIREFOX = 'Firefox',\\n GOOGLE = 'Google',\\n HUAWEI = 'Huawei',\\n LG = 'LG',\\n MICROSOFT = 'Microsoft',\\n MOTOROLA = 'Motorola',\\n OPERA = 'Opera',\\n SAMSUNG = 'Samsung',\\n SHARP = 'Sharp',\\n SONY = 'Sony',\\n VIERA = 'Viera',\\n XIAOMI = 'Xiaomi',\\n ZEBRA = 'Zebra',\\n FACEBOOK = 'Facebook',\\n CHROMIUM_OS = 'Chromium OS',\\n MAC_OS = 'Mac OS';\\n\\n ///////////\\n // Helper\\n //////////\\n\\n var extend = function (regexes, extensions) {\\n var mergedRegexes = {};\\n for (var i in regexes) {\\n if (extensions[i] && extensions[i].length % 2 === 0) {\\n mergedRegexes[i] = extensions[i].concat(regexes[i]);\\n } else {\\n mergedRegexes[i] = regexes[i];\\n }\\n }\\n return mergedRegexes;\\n },\\n enumerize = function (arr) {\\n var enums = {};\\n for (var i=0; i 0) {\\n if (q.length === 2) {\\n if (typeof q[1] == FUNC_TYPE) {\\n // assign modified match\\n this[q[0]] = q[1].call(this, match);\\n } else {\\n // assign given value, ignore regex match\\n this[q[0]] = q[1];\\n }\\n } else if (q.length === 3) {\\n // check whether function or regex\\n if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {\\n // call function (usually string mapper)\\n this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;\\n } else {\\n // sanitize match using given regex\\n this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;\\n }\\n } else if (q.length === 4) {\\n this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;\\n }\\n } else {\\n this[q] = match ? match : undefined;\\n }\\n }\\n }\\n }\\n i += 2;\\n }\\n },\\n\\n strMapper = function (str, map) {\\n\\n for (var i in map) {\\n // check if current value is array\\n if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {\\n for (var j = 0; j < map[i].length; j++) {\\n if (has(map[i][j], str)) {\\n return (i === UNKNOWN) ? undefined : i;\\n }\\n }\\n } else if (has(map[i], str)) {\\n return (i === UNKNOWN) ? undefined : i;\\n }\\n }\\n return str;\\n };\\n\\n ///////////////\\n // String map\\n //////////////\\n\\n // Safari < 3.0\\n var oldSafariMap = {\\n '1.0' : '/8',\\n '1.2' : '/1',\\n '1.3' : '/3',\\n '2.0' : '/412',\\n '2.0.2' : '/416',\\n '2.0.3' : '/417',\\n '2.0.4' : '/419',\\n '?' : '/'\\n },\\n windowsVersionMap = {\\n 'ME' : '4.90',\\n 'NT 3.11' : 'NT3.51',\\n 'NT 4.0' : 'NT4.0',\\n '2000' : 'NT 5.0',\\n 'XP' : ['NT 5.1', 'NT 5.2'],\\n 'Vista' : 'NT 6.0',\\n '7' : 'NT 6.1',\\n '8' : 'NT 6.2',\\n '8.1' : 'NT 6.3',\\n '10' : ['NT 6.4', 'NT 10.0'],\\n 'RT' : 'ARM'\\n };\\n\\n //////////////\\n // Regex map\\n /////////////\\n\\n var regexes = {\\n\\n browser : [[\\n\\n /\\\\b(?:crmo|crios)\\\\/([\\\\w\\\\.]+)/i // Chrome for Android/iOS\\n ], [VERSION, [NAME, 'Chrome']], [\\n /edg(?:e|ios|a)?\\\\/([\\\\w\\\\.]+)/i // Microsoft Edge\\n ], [VERSION, [NAME, 'Edge']], [\\n\\n // Presto based\\n /(opera mini)\\\\/([-\\\\w\\\\.]+)/i, // Opera Mini\\n /(opera [mobiletab]{3,6})\\\\b.+version\\\\/([-\\\\w\\\\.]+)/i, // Opera Mobi/Tablet\\n /(opera)(?:.+version\\\\/|[\\\\/ ]+)([\\\\w\\\\.]+)/i // Opera\\n ], [NAME, VERSION], [\\n /opios[\\\\/ ]+([\\\\w\\\\.]+)/i // Opera mini on iphone >= 8.0\\n ], [VERSION, [NAME, OPERA+' Mini']], [\\n /\\\\bopr\\\\/([\\\\w\\\\.]+)/i // Opera Webkit\\n ], [VERSION, [NAME, OPERA]], [\\n\\n // Mixed\\n /(kindle)\\\\/([\\\\w\\\\.]+)/i, // Kindle\\n /(lunascape|maxthon|netfront|jasmine|blazer)[\\\\/ ]?([\\\\w\\\\.]*)/i, // Lunascape/Maxthon/Netfront/Jasmine/Blazer\\n // Trident based\\n /(avant |iemobile|slim)(?:browser)?[\\\\/ ]?([\\\\w\\\\.]*)/i, // Avant/IEMobile/SlimBrowser\\n /(ba?idubrowser)[\\\\/ ]?([\\\\w\\\\.]+)/i, // Baidu Browser\\n /(?:ms|\\\\()(ie) ([\\\\w\\\\.]+)/i, // Internet Explorer\\n\\n // Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon\\n /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\\\\/([-\\\\w\\\\.]+)/i,\\n // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ, aka ShouQ\\n /(heytap|ovi)browser\\\\/([\\\\d\\\\.]+)/i, // Heytap/Ovi\\n /(weibo)__([\\\\d\\\\.]+)/i // Weibo\\n ], [NAME, VERSION], [\\n /(?:\\\\buc? ?browser|(?:juc.+)ucweb)[\\\\/ ]?([\\\\w\\\\.]+)/i // UCBrowser\\n ], [VERSION, [NAME, 'UC'+BROWSER]], [\\n /microm.+\\\\bqbcore\\\\/([\\\\w\\\\.]+)/i, // WeChat Desktop for Windows Built-in Browser\\n /\\\\bqbcore\\\\/([\\\\w\\\\.]+).+microm/i\\n ], [VERSION, [NAME, 'WeChat(Win) Desktop']], [\\n /micromessenger\\\\/([\\\\w\\\\.]+)/i // WeChat\\n ], [VERSION, [NAME, 'WeChat']], [\\n /konqueror\\\\/([\\\\w\\\\.]+)/i // Konqueror\\n ], [VERSION, [NAME, 'Konqueror']], [\\n /trident.+rv[: ]([\\\\w\\\\.]{1,9})\\\\b.+like gecko/i // IE11\\n ], [VERSION, [NAME, 'IE']], [\\n /ya(?:search)?browser\\\\/([\\\\w\\\\.]+)/i // Yandex\\n ], [VERSION, [NAME, 'Yandex']], [\\n /(avast|avg)\\\\/([\\\\w\\\\.]+)/i // Avast/AVG Secure Browser\\n ], [[NAME, /(.+)/, '$1 Secure '+BROWSER], VERSION], [\\n /\\\\bfocus\\\\/([\\\\w\\\\.]+)/i // Firefox Focus\\n ], [VERSION, [NAME, FIREFOX+' Focus']], [\\n /\\\\bopt\\\\/([\\\\w\\\\.]+)/i // Opera Touch\\n ], [VERSION, [NAME, OPERA+' Touch']], [\\n /coc_coc\\\\w+\\\\/([\\\\w\\\\.]+)/i // Coc Coc Browser\\n ], [VERSION, [NAME, 'Coc Coc']], [\\n /dolfin\\\\/([\\\\w\\\\.]+)/i // Dolphin\\n ], [VERSION, [NAME, 'Dolphin']], [\\n /coast\\\\/([\\\\w\\\\.]+)/i // Opera Coast\\n ], [VERSION, [NAME, OPERA+' Coast']], [\\n /miuibrowser\\\\/([\\\\w\\\\.]+)/i // MIUI Browser\\n ], [VERSION, [NAME, 'MIUI '+BROWSER]], [\\n /fxios\\\\/([-\\\\w\\\\.]+)/i // Firefox for iOS\\n ], [VERSION, [NAME, FIREFOX]], [\\n /\\\\bqihu|(qi?ho?o?|360)browser/i // 360\\n ], [[NAME, '360 '+BROWSER]], [\\n /(oculus|samsung|sailfish|huawei)browser\\\\/([\\\\w\\\\.]+)/i\\n ], [[NAME, /(.+)/, '$1 '+BROWSER], VERSION], [ // Oculus/Samsung/Sailfish/Huawei Browser\\n /(comodo_dragon)\\\\/([\\\\w\\\\.]+)/i // Comodo Dragon\\n ], [[NAME, /_/g, ' '], VERSION], [\\n /(electron)\\\\/([\\\\w\\\\.]+) safari/i, // Electron-based App\\n /(tesla)(?: qtcarbrowser|\\\\/(20\\\\d\\\\d\\\\.[-\\\\w\\\\.]+))/i, // Tesla\\n /m?(qqbrowser|baiduboxapp|2345Explorer)[\\\\/ ]?([\\\\w\\\\.]+)/i // QQBrowser/Baidu App/2345 Browser\\n ], [NAME, VERSION], [\\n /(metasr)[\\\\/ ]?([\\\\w\\\\.]+)/i, // SouGouBrowser\\n /(lbbrowser)/i, // LieBao Browser\\n /\\\\[(linkedin)app\\\\]/i // LinkedIn App for iOS & Android\\n ], [NAME], [\\n\\n // WebView\\n /((?:fban\\\\/fbios|fb_iab\\\\/fb4a)(?!.+fbav)|;fbav\\\\/([\\\\w\\\\.]+);)/i // Facebook App for iOS & Android\\n ], [[NAME, FACEBOOK], VERSION], [\\n /(kakao(?:talk|story))[\\\\/ ]([\\\\w\\\\.]+)/i, // Kakao App\\n /(naver)\\\\(.*?(\\\\d+\\\\.[\\\\w\\\\.]+).*\\\\)/i, // Naver InApp\\n /safari (line)\\\\/([\\\\w\\\\.]+)/i, // Line App for iOS\\n /\\\\b(line)\\\\/([\\\\w\\\\.]+)\\\\/iab/i, // Line App for Android\\n /(chromium|instagram)[\\\\/ ]([-\\\\w\\\\.]+)/i // Chromium/Instagram\\n ], [NAME, VERSION], [\\n /\\\\bgsa\\\\/([\\\\w\\\\.]+) .*safari\\\\//i // Google Search Appliance on iOS\\n ], [VERSION, [NAME, 'GSA']], [\\n /musical_ly(?:.+app_?version\\\\/|_)([\\\\w\\\\.]+)/i // TikTok\\n ], [VERSION, [NAME, 'TikTok']], [\\n\\n /headlesschrome(?:\\\\/([\\\\w\\\\.]+)| )/i // Chrome Headless\\n ], [VERSION, [NAME, CHROME+' Headless']], [\\n\\n / wv\\\\).+(chrome)\\\\/([\\\\w\\\\.]+)/i // Chrome WebView\\n ], [[NAME, CHROME+' WebView'], VERSION], [\\n\\n /droid.+ version\\\\/([\\\\w\\\\.]+)\\\\b.+(?:mobile safari|safari)/i // Android Browser\\n ], [VERSION, [NAME, 'Android '+BROWSER]], [\\n\\n /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\\\/v?([\\\\w\\\\.]+)/i // Chrome/OmniWeb/Arora/Tizen/Nokia\\n ], [NAME, VERSION], [\\n\\n /version\\\\/([\\\\w\\\\.\\\\,]+) .*mobile\\\\/\\\\w+ (safari)/i // Mobile Safari\\n ], [VERSION, [NAME, 'Mobile Safari']], [\\n /version\\\\/([\\\\w(\\\\.|\\\\,)]+) .*(mobile ?safari|safari)/i // Safari & Safari Mobile\\n ], [VERSION, NAME], [\\n /webkit.+?(mobile ?safari|safari)(\\\\/[\\\\w\\\\.]+)/i // Safari < 3.0\\n ], [NAME, [VERSION, strMapper, oldSafariMap]], [\\n\\n /(webkit|khtml)\\\\/([\\\\w\\\\.]+)/i\\n ], [NAME, VERSION], [\\n\\n // Gecko based\\n /(navigator|netscape\\\\d?)\\\\/([-\\\\w\\\\.]+)/i // Netscape\\n ], [[NAME, 'Netscape'], VERSION], [\\n /mobile vr; rv:([\\\\w\\\\.]+)\\\\).+firefox/i // Firefox Reality\\n ], [VERSION, [NAME, FIREFOX+' Reality']], [\\n /ekiohf.+(flow)\\\\/([\\\\w\\\\.]+)/i, // Flow\\n /(swiftfox)/i, // Swiftfox\\n /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\\\/ ]?([\\\\w\\\\.\\\\+]+)/i,\\n // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror/Klar\\n /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\\\/([-\\\\w\\\\.]+)$/i,\\n // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix\\n /(firefox)\\\\/([\\\\w\\\\.]+)/i, // Other Firefox-based\\n /(mozilla)\\\\/([\\\\w\\\\.]+) .+rv\\\\:.+gecko\\\\/\\\\d+/i, // Mozilla\\n\\n // Other\\n /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\\\. ]?browser)[-\\\\/ ]?v?([\\\\w\\\\.]+)/i,\\n // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir/Obigo/Mosaic/Go/ICE/UP.Browser\\n /(links) \\\\(([\\\\w\\\\.]+)/i, // Links\\n /panasonic;(viera)/i // Panasonic Viera\\n ], [NAME, VERSION], [\\n \\n /(cobalt)\\\\/([\\\\w\\\\.]+)/i // Cobalt\\n ], [NAME, [VERSION, /master.|lts./, \\\"\\\"]]\\n ],\\n\\n cpu : [[\\n\\n /(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\\\)]/i // AMD64 (x64)\\n ], [[ARCHITECTURE, 'amd64']], [\\n\\n /(ia32(?=;))/i // IA32 (quicktime)\\n ], [[ARCHITECTURE, lowerize]], [\\n\\n /((?:i[346]|x)86)[;\\\\)]/i // IA32 (x86)\\n ], [[ARCHITECTURE, 'ia32']], [\\n\\n /\\\\b(aarch64|arm(v?8e?l?|_?64))\\\\b/i // ARM64\\n ], [[ARCHITECTURE, 'arm64']], [\\n\\n /\\\\b(arm(?:v[67])?ht?n?[fl]p?)\\\\b/i // ARMHF\\n ], [[ARCHITECTURE, 'armhf']], [\\n\\n // PocketPC mistakenly identified as PowerPC\\n /windows (ce|mobile); ppc;/i\\n ], [[ARCHITECTURE, 'arm']], [\\n\\n /((?:ppc|powerpc)(?:64)?)(?: mac|;|\\\\))/i // PowerPC\\n ], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [\\n\\n /(sun4\\\\w)[;\\\\)]/i // SPARC\\n ], [[ARCHITECTURE, 'sparc']], [\\n\\n /((?:avr32|ia64(?=;))|68k(?=\\\\))|\\\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\\\b|pa-risc)/i\\n // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC\\n ], [[ARCHITECTURE, lowerize]]\\n ],\\n\\n device : [[\\n\\n //////////////////////////\\n // MOBILES & TABLETS\\n /////////////////////////\\n\\n // Samsung\\n /\\\\b(sch-i[89]0\\\\d|shw-m380s|sm-[ptx]\\\\w{2,4}|gt-[pn]\\\\d{2,4}|sgh-t8[56]9|nexus 10)/i\\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [\\n /\\\\b((?:s[cgp]h|gt|sm)-\\\\w+|sc[g-]?[\\\\d]+a?|galaxy nexus)/i,\\n /samsung[- ]([-\\\\w]+)/i,\\n /sec-(sgh\\\\w+)/i\\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, MOBILE]], [\\n\\n // Apple\\n /(?:\\\\/|\\\\()(ip(?:hone|od)[\\\\w, ]*)(?:\\\\/|;)/i // iPod/iPhone\\n ], [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]], [\\n /\\\\((ipad);[-\\\\w\\\\),; ]+apple/i, // iPad\\n /applecoremedia\\\\/[\\\\w\\\\.]+ \\\\((ipad)/i,\\n /\\\\b(ipad)\\\\d\\\\d?,\\\\d\\\\d?[;\\\\]].+ios/i\\n ], [MODEL, [VENDOR, APPLE], [TYPE, TABLET]], [\\n /(macintosh);/i\\n ], [MODEL, [VENDOR, APPLE]], [\\n\\n // Sharp\\n /\\\\b(sh-?[altvz]?\\\\d\\\\d[a-ekm]?)/i\\n ], [MODEL, [VENDOR, SHARP], [TYPE, MOBILE]], [\\n\\n // Huawei\\n /\\\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\\\d{2})\\\\b(?!.+d\\\\/s)/i\\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, TABLET]], [\\n /(?:huawei|honor)([-\\\\w ]+)[;\\\\)]/i,\\n /\\\\b(nexus 6p|\\\\w{2,4}e?-[atu]?[ln][\\\\dx][012359c][adn]?)\\\\b(?!.+d\\\\/s)/i\\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, MOBILE]], [\\n\\n // Xiaomi\\n /\\\\b(poco[\\\\w ]+)(?: bui|\\\\))/i, // Xiaomi POCO\\n /\\\\b; (\\\\w+) build\\\\/hm\\\\1/i, // Xiaomi Hongmi 'numeric' models\\n /\\\\b(hm[-_ ]?note?[_ ]?(?:\\\\d\\\\w)?) bui/i, // Xiaomi Hongmi\\n /\\\\b(redmi[\\\\-_ ]?(?:note|k)?[\\\\w_ ]+)(?: bui|\\\\))/i, // Xiaomi Redmi\\n /\\\\b(mi[-_ ]?(?:a\\\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\\\d?\\\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\\\))/i // Xiaomi Mi\\n ], [[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, MOBILE]], [\\n /\\\\b(mi[-_ ]?(?:pad)(?:[\\\\w_ ]+))(?: bui|\\\\))/i // Mi Pad tablets\\n ],[[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, TABLET]], [\\n\\n // OPPO\\n /; (\\\\w+) bui.+ oppo/i,\\n /\\\\b(cph[12]\\\\d{3}|p(?:af|c[al]|d\\\\w|e[ar])[mt]\\\\d0|x9007|a101op)\\\\b/i\\n ], [MODEL, [VENDOR, 'OPPO'], [TYPE, MOBILE]], [\\n\\n // Vivo\\n /vivo (\\\\w+)(?: bui|\\\\))/i,\\n /\\\\b(v[12]\\\\d{3}\\\\w?[at])(?: bui|;)/i\\n ], [MODEL, [VENDOR, 'Vivo'], [TYPE, MOBILE]], [\\n\\n // Realme\\n /\\\\b(rmx[12]\\\\d{3})(?: bui|;|\\\\))/i\\n ], [MODEL, [VENDOR, 'Realme'], [TYPE, MOBILE]], [\\n\\n // Motorola\\n /\\\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\\\b[\\\\w ]+build\\\\//i,\\n /\\\\bmot(?:orola)?[- ](\\\\w*)/i,\\n /((?:moto[\\\\w\\\\(\\\\) ]+|xt\\\\d{3,4}|nexus 6)(?= bui|\\\\)))/i\\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, MOBILE]], [\\n /\\\\b(mz60\\\\d|xoom[2 ]{0,2}) build\\\\//i\\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, TABLET]], [\\n\\n // LG\\n /((?=lg)?[vl]k\\\\-?\\\\d{3}) bui| 3\\\\.[-\\\\w; ]{10}lg?-([06cv9]{3,4})/i\\n ], [MODEL, [VENDOR, LG], [TYPE, TABLET]], [\\n /(lm(?:-?f100[nv]?|-[\\\\w\\\\.]+)(?= bui|\\\\))|nexus [45])/i,\\n /\\\\blg[-e;\\\\/ ]+((?!browser|netcast|android tv)\\\\w+)/i,\\n /\\\\blg-?([\\\\d\\\\w]+) bui/i\\n ], [MODEL, [VENDOR, LG], [TYPE, MOBILE]], [\\n\\n // Lenovo\\n /(ideatab[-\\\\w ]+)/i,\\n /lenovo ?(s[56]000[-\\\\w]+|tab(?:[\\\\w ]+)|yt[-\\\\d\\\\w]{6}|tb[-\\\\d\\\\w]{6})/i\\n ], [MODEL, [VENDOR, 'Lenovo'], [TYPE, TABLET]], [\\n\\n // Nokia\\n /(?:maemo|nokia).*(n900|lumia \\\\d+)/i,\\n /nokia[-_ ]?([-\\\\w\\\\.]*)/i\\n ], [[MODEL, /_/g, ' '], [VENDOR, 'Nokia'], [TYPE, MOBILE]], [\\n\\n // Google\\n /(pixel c)\\\\b/i // Google Pixel C\\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, TABLET]], [\\n /droid.+; (pixel[\\\\daxl ]{0,6})(?: bui|\\\\))/i // Google Pixel\\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, MOBILE]], [\\n\\n // Sony\\n /droid.+ (a?\\\\d[0-2]{2}so|[c-g]\\\\d{4}|so[-gl]\\\\w+|xq-a\\\\w[4-7][12])(?= bui|\\\\).+chrome\\\\/(?![1-6]{0,1}\\\\d\\\\.))/i\\n ], [MODEL, [VENDOR, SONY], [TYPE, MOBILE]], [\\n /sony tablet [ps]/i,\\n /\\\\b(?:sony)?sgp\\\\w+(?: bui|\\\\))/i\\n ], [[MODEL, 'Xperia Tablet'], [VENDOR, SONY], [TYPE, TABLET]], [\\n\\n // OnePlus\\n / (kb2005|in20[12]5|be20[12][59])\\\\b/i,\\n /(?:one)?(?:plus)? (a\\\\d0\\\\d\\\\d)(?: b|\\\\))/i\\n ], [MODEL, [VENDOR, 'OnePlus'], [TYPE, MOBILE]], [\\n\\n // Amazon\\n /(alexa)webm/i,\\n /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\\\\))/i, // Kindle Fire without Silk / Echo Show\\n /(kf[a-z]+)( bui|\\\\)).+silk\\\\//i // Kindle Fire HD\\n ], [MODEL, [VENDOR, AMAZON], [TYPE, TABLET]], [\\n /((?:sd|kf)[0349hijorstuw]+)( bui|\\\\)).+silk\\\\//i // Fire Phone\\n ], [[MODEL, /(.+)/g, 'Fire Phone $1'], [VENDOR, AMAZON], [TYPE, MOBILE]], [\\n\\n // BlackBerry\\n /(playbook);[-\\\\w\\\\),; ]+(rim)/i // BlackBerry PlayBook\\n ], [MODEL, VENDOR, [TYPE, TABLET]], [\\n /\\\\b((?:bb[a-f]|st[hv])100-\\\\d)/i,\\n /\\\\(bb10; (\\\\w+)/i // BlackBerry 10\\n ], [MODEL, [VENDOR, BLACKBERRY], [TYPE, MOBILE]], [\\n\\n // Asus\\n /(?:\\\\b|asus_)(transfo[prime ]{4,10} \\\\w+|eeepc|slider \\\\w+|nexus 7|padfone|p00[cj])/i\\n ], [MODEL, [VENDOR, ASUS], [TYPE, TABLET]], [\\n / (z[bes]6[027][012][km][ls]|zenfone \\\\d\\\\w?)\\\\b/i\\n ], [MODEL, [VENDOR, ASUS], [TYPE, MOBILE]], [\\n\\n // HTC\\n /(nexus 9)/i // HTC Nexus 9\\n ], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [\\n /(htc)[-;_ ]{1,2}([\\\\w ]+(?=\\\\)| bui)|\\\\w+)/i, // HTC\\n\\n // ZTE\\n /(zte)[- ]([\\\\w ]+?)(?: bui|\\\\/|\\\\))/i,\\n /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\\\.))|sony(?!-bra))[-_ ]?([-\\\\w]*)/i // Alcatel/GeeksPhone/Nexian/Panasonic/Sony\\n ], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [\\n\\n // Acer\\n /droid.+; ([ab][1-7]-?[0178a]\\\\d\\\\d?)/i\\n ], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [\\n\\n // Meizu\\n /droid.+; (m[1-5] note) bui/i,\\n /\\\\bmz-([-\\\\w]{2,})/i\\n ], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [\\n\\n // MIXED\\n /(blackberry|benq|palm(?=\\\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\\\w]*)/i,\\n // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron\\n /(hp) ([\\\\w ]+\\\\w)/i, // HP iPAQ\\n /(asus)-?(\\\\w+)/i, // Asus\\n /(microsoft); (lumia[\\\\w ]+)/i, // Microsoft Lumia\\n /(lenovo)[-_ ]?([-\\\\w]+)/i, // Lenovo\\n /(jolla)/i, // Jolla\\n /(oppo) ?([\\\\w ]+) bui/i // OPPO\\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\\n\\n /(kobo)\\\\s(ereader|touch)/i, // Kobo\\n /(archos) (gamepad2?)/i, // Archos\\n /(hp).+(touchpad(?!.+tablet)|tablet)/i, // HP TouchPad\\n /(kindle)\\\\/([\\\\w\\\\.]+)/i, // Kindle\\n /(nook)[\\\\w ]+build\\\\/(\\\\w+)/i, // Nook\\n /(dell) (strea[kpr\\\\d ]*[\\\\dko])/i, // Dell Streak\\n /(le[- ]+pan)[- ]+(\\\\w{1,9}) bui/i, // Le Pan Tablets\\n /(trinity)[- ]*(t\\\\d{3}) bui/i, // Trinity Tablets\\n /(gigaset)[- ]+(q\\\\w{1,9}) bui/i, // Gigaset Tablets\\n /(vodafone) ([\\\\w ]+)(?:\\\\)| bui)/i // Vodafone\\n ], [VENDOR, MODEL, [TYPE, TABLET]], [\\n\\n /(surface duo)/i // Surface Duo\\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, TABLET]], [\\n /droid [\\\\d\\\\.]+; (fp\\\\du?)(?: b|\\\\))/i // Fairphone\\n ], [MODEL, [VENDOR, 'Fairphone'], [TYPE, MOBILE]], [\\n /(u304aa)/i // AT&T\\n ], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [\\n /\\\\bsie-(\\\\w*)/i // Siemens\\n ], [MODEL, [VENDOR, 'Siemens'], [TYPE, MOBILE]], [\\n /\\\\b(rct\\\\w+) b/i // RCA Tablets\\n ], [MODEL, [VENDOR, 'RCA'], [TYPE, TABLET]], [\\n /\\\\b(venue[\\\\d ]{2,7}) b/i // Dell Venue Tablets\\n ], [MODEL, [VENDOR, 'Dell'], [TYPE, TABLET]], [\\n /\\\\b(q(?:mv|ta)\\\\w+) b/i // Verizon Tablet\\n ], [MODEL, [VENDOR, 'Verizon'], [TYPE, TABLET]], [\\n /\\\\b(?:barnes[& ]+noble |bn[rt])([\\\\w\\\\+ ]*) b/i // Barnes & Noble Tablet\\n ], [MODEL, [VENDOR, 'Barnes & Noble'], [TYPE, TABLET]], [\\n /\\\\b(tm\\\\d{3}\\\\w+) b/i\\n ], [MODEL, [VENDOR, 'NuVision'], [TYPE, TABLET]], [\\n /\\\\b(k88) b/i // ZTE K Series Tablet\\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, TABLET]], [\\n /\\\\b(nx\\\\d{3}j) b/i // ZTE Nubia\\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, MOBILE]], [\\n /\\\\b(gen\\\\d{3}) b.+49h/i // Swiss GEN Mobile\\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, MOBILE]], [\\n /\\\\b(zur\\\\d{3}) b/i // Swiss ZUR Tablet\\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, TABLET]], [\\n /\\\\b((zeki)?tb.*\\\\b) b/i // Zeki Tablets\\n ], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [\\n /\\\\b([yr]\\\\d{2}) b/i,\\n /\\\\b(dragon[- ]+touch |dt)(\\\\w{5}) b/i // Dragon Touch Tablet\\n ], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [\\n /\\\\b(ns-?\\\\w{0,9}) b/i // Insignia Tablets\\n ], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [\\n /\\\\b((nxa|next)-?\\\\w{0,9}) b/i // NextBook Tablets\\n ], [MODEL, [VENDOR, 'NextBook'], [TYPE, TABLET]], [\\n /\\\\b(xtreme\\\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i // Voice Xtreme Phones\\n ], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [\\n /\\\\b(lvtel\\\\-)?(v1[12]) b/i // LvTel Phones\\n ], [[VENDOR, 'LvTel'], MODEL, [TYPE, MOBILE]], [\\n /\\\\b(ph-1) /i // Essential PH-1\\n ], [MODEL, [VENDOR, 'Essential'], [TYPE, MOBILE]], [\\n /\\\\b(v(100md|700na|7011|917g).*\\\\b) b/i // Envizen Tablets\\n ], [MODEL, [VENDOR, 'Envizen'], [TYPE, TABLET]], [\\n /\\\\b(trio[-\\\\w\\\\. ]+) b/i // MachSpeed Tablets\\n ], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [\\n /\\\\btu_(1491) b/i // Rotor Tablets\\n ], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [\\n /(shield[\\\\w ]+) b/i // Nvidia Shield Tablets\\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, TABLET]], [\\n /(sprint) (\\\\w+)/i // Sprint Phones\\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\\n /(kin\\\\.[onetw]{3})/i // Microsoft Kin\\n ], [[MODEL, /\\\\./g, ' '], [VENDOR, MICROSOFT], [TYPE, MOBILE]], [\\n /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\\\)/i // Zebra\\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, TABLET]], [\\n /droid.+; (ec30|ps20|tc[2-8]\\\\d[kx])\\\\)/i\\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, MOBILE]], [\\n\\n ///////////////////\\n // SMARTTVS\\n ///////////////////\\n\\n /smart-tv.+(samsung)/i // Samsung\\n ], [VENDOR, [TYPE, SMARTTV]], [\\n /hbbtv.+maple;(\\\\d+)/i\\n ], [[MODEL, /^/, 'SmartTV'], [VENDOR, SAMSUNG], [TYPE, SMARTTV]], [\\n /(nux; netcast.+smarttv|lg (netcast\\\\.tv-201\\\\d|android tv))/i // LG SmartTV\\n ], [[VENDOR, LG], [TYPE, SMARTTV]], [\\n /(apple) ?tv/i // Apple TV\\n ], [VENDOR, [MODEL, APPLE+' TV'], [TYPE, SMARTTV]], [\\n /crkey/i // Google Chromecast\\n ], [[MODEL, CHROME+'cast'], [VENDOR, GOOGLE], [TYPE, SMARTTV]], [\\n /droid.+aft(\\\\w)( bui|\\\\))/i // Fire TV\\n ], [MODEL, [VENDOR, AMAZON], [TYPE, SMARTTV]], [\\n /\\\\(dtv[\\\\);].+(aquos)/i,\\n /(aquos-tv[\\\\w ]+)\\\\)/i // Sharp\\n ], [MODEL, [VENDOR, SHARP], [TYPE, SMARTTV]],[\\n /(bravia[\\\\w ]+)( bui|\\\\))/i // Sony\\n ], [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]], [\\n /(mitv-\\\\w{5}) bui/i // Xiaomi\\n ], [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]], [\\n /Hbbtv.*(technisat) (.*);/i // TechniSAT\\n ], [VENDOR, MODEL, [TYPE, SMARTTV]], [\\n /\\\\b(roku)[\\\\dx]*[\\\\)\\\\/]((?:dvp-)?[\\\\d\\\\.]*)/i, // Roku\\n /hbbtv\\\\/\\\\d+\\\\.\\\\d+\\\\.\\\\d+ +\\\\([\\\\w\\\\+ ]*; *([\\\\w\\\\d][^;]*);([^;]*)/i // HbbTV devices\\n ], [[VENDOR, trim], [MODEL, trim], [TYPE, SMARTTV]], [\\n /\\\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\\\b/i // SmartTV from Unidentified Vendors\\n ], [[TYPE, SMARTTV]], [\\n\\n ///////////////////\\n // CONSOLES\\n ///////////////////\\n\\n /(ouya)/i, // Ouya\\n /(nintendo) ([wids3utch]+)/i // Nintendo\\n ], [VENDOR, MODEL, [TYPE, CONSOLE]], [\\n /droid.+; (shield) bui/i // Nvidia\\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, CONSOLE]], [\\n /(playstation [345portablevi]+)/i // Playstation\\n ], [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]], [\\n /\\\\b(xbox(?: one)?(?!; xbox))[\\\\); ]/i // Microsoft Xbox\\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]], [\\n\\n ///////////////////\\n // WEARABLES\\n ///////////////////\\n\\n /((pebble))app/i // Pebble\\n ], [VENDOR, MODEL, [TYPE, WEARABLE]], [\\n /(watch)(?: ?os[,\\\\/]|\\\\d,\\\\d\\\\/)[\\\\d\\\\.]+/i // Apple Watch\\n ], [MODEL, [VENDOR, APPLE], [TYPE, WEARABLE]], [\\n /droid.+; (glass) \\\\d/i // Google Glass\\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, WEARABLE]], [\\n /droid.+; (wt63?0{2,3})\\\\)/i\\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, WEARABLE]], [\\n /(quest( 2| pro)?)/i // Oculus Quest\\n ], [MODEL, [VENDOR, FACEBOOK], [TYPE, WEARABLE]], [\\n\\n ///////////////////\\n // EMBEDDED\\n ///////////////////\\n\\n /(tesla)(?: qtcarbrowser|\\\\/[-\\\\w\\\\.]+)/i // Tesla\\n ], [VENDOR, [TYPE, EMBEDDED]], [\\n /(aeobc)\\\\b/i // Echo Dot\\n ], [MODEL, [VENDOR, AMAZON], [TYPE, EMBEDDED]], [\\n\\n ////////////////////\\n // MIXED (GENERIC)\\n ///////////////////\\n\\n /droid .+?; ([^;]+?)(?: bui|\\\\) applew).+? mobile safari/i // Android Phones from Unidentified Vendors\\n ], [MODEL, [TYPE, MOBILE]], [\\n /droid .+?; ([^;]+?)(?: bui|\\\\) applew).+?(?! mobile) safari/i // Android Tablets from Unidentified Vendors\\n ], [MODEL, [TYPE, TABLET]], [\\n /\\\\b((tablet|tab)[;\\\\/]|focus\\\\/\\\\d(?!.+mobile))/i // Unidentifiable Tablet\\n ], [[TYPE, TABLET]], [\\n /(phone|mobile(?:[;\\\\/]| [ \\\\w\\\\/\\\\.]*safari)|pda(?=.+windows ce))/i // Unidentifiable Mobile\\n ], [[TYPE, MOBILE]], [\\n /(android[-\\\\w\\\\. ]{0,9});.+buil/i // Generic Android Device\\n ], [MODEL, [VENDOR, 'Generic']]\\n ],\\n\\n engine : [[\\n\\n /windows.+ edge\\\\/([\\\\w\\\\.]+)/i // EdgeHTML\\n ], [VERSION, [NAME, EDGE+'HTML']], [\\n\\n /webkit\\\\/537\\\\.36.+chrome\\\\/(?!27)([\\\\w\\\\.]+)/i // Blink\\n ], [VERSION, [NAME, 'Blink']], [\\n\\n /(presto)\\\\/([\\\\w\\\\.]+)/i, // Presto\\n /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\\\/([\\\\w\\\\.]+)/i, // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna\\n /ekioh(flow)\\\\/([\\\\w\\\\.]+)/i, // Flow\\n /(khtml|tasman|links)[\\\\/ ]\\\\(?([\\\\w\\\\.]+)/i, // KHTML/Tasman/Links\\n /(icab)[\\\\/ ]([23]\\\\.[\\\\d\\\\.]+)/i, // iCab\\n /\\\\b(libweb)/i\\n ], [NAME, VERSION], [\\n\\n /rv\\\\:([\\\\w\\\\.]{1,9})\\\\b.+(gecko)/i // Gecko\\n ], [VERSION, NAME]\\n ],\\n\\n os : [[\\n\\n // Windows\\n /microsoft (windows) (vista|xp)/i // Windows (iTunes)\\n ], [NAME, VERSION], [\\n /(windows) nt 6\\\\.2; (arm)/i, // Windows RT\\n /(windows (?:phone(?: os)?|mobile))[\\\\/ ]?([\\\\d\\\\.\\\\w ]*)/i, // Windows Phone\\n /(windows)[\\\\/ ]?([ntce\\\\d\\\\. ]+\\\\w)(?!.+xbox)/i\\n ], [NAME, [VERSION, strMapper, windowsVersionMap]], [\\n /(win(?=3|9|n)|win 9x )([nt\\\\d\\\\.]+)/i\\n ], [[NAME, 'Windows'], [VERSION, strMapper, windowsVersionMap]], [\\n\\n // iOS/macOS\\n /ip[honead]{2,4}\\\\b(?:.*os ([\\\\w]+) like mac|; opera)/i, // iOS\\n /ios;fbsv\\\\/([\\\\d\\\\.]+)/i,\\n /cfnetwork\\\\/.+darwin/i\\n ], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [\\n /(mac os x) ?([\\\\w\\\\. ]*)/i,\\n /(macintosh|mac_powerpc\\\\b)(?!.+haiku)/i // Mac OS\\n ], [[NAME, MAC_OS], [VERSION, /_/g, '.']], [\\n\\n // Mobile OSes\\n /droid ([\\\\w\\\\.]+)\\\\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS\\n ], [VERSION, NAME], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS\\n /(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\\\/ ]?([\\\\w\\\\.]*)/i,\\n /(blackberry)\\\\w*\\\\/([\\\\w\\\\.]*)/i, // Blackberry\\n /(tizen|kaios)[\\\\/ ]([\\\\w\\\\.]+)/i, // Tizen/KaiOS\\n /\\\\((series40);/i // Series 40\\n ], [NAME, VERSION], [\\n /\\\\(bb(10);/i // BlackBerry 10\\n ], [VERSION, [NAME, BLACKBERRY]], [\\n /(?:symbian ?os|symbos|s60(?=;)|series60)[-\\\\/ ]?([\\\\w\\\\.]*)/i // Symbian\\n ], [VERSION, [NAME, 'Symbian']], [\\n /mozilla\\\\/[\\\\d\\\\.]+ \\\\((?:mobile|tablet|tv|mobile; [\\\\w ]+); rv:.+ gecko\\\\/([\\\\w\\\\.]+)/i // Firefox OS\\n ], [VERSION, [NAME, FIREFOX+' OS']], [\\n /web0s;.+rt(tv)/i,\\n /\\\\b(?:hp)?wos(?:browser)?\\\\/([\\\\w\\\\.]+)/i // WebOS\\n ], [VERSION, [NAME, 'webOS']], [\\n /watch(?: ?os[,\\\\/]|\\\\d,\\\\d\\\\/)([\\\\d\\\\.]+)/i // watchOS\\n ], [VERSION, [NAME, 'watchOS']], [\\n\\n // Google Chromecast\\n /crkey\\\\/([\\\\d\\\\.]+)/i // Google Chromecast\\n ], [VERSION, [NAME, CHROME+'cast']], [\\n /(cros) [\\\\w]+(?:\\\\)| ([\\\\w\\\\.]+)\\\\b)/i // Chromium OS\\n ], [[NAME, CHROMIUM_OS], VERSION],[\\n\\n // Smart TVs\\n /panasonic;(viera)/i, // Panasonic Viera\\n /(netrange)mmh/i, // Netrange\\n /(nettv)\\\\/(\\\\d+\\\\.[\\\\w\\\\.]+)/i, // NetTV\\n\\n // Console\\n /(nintendo|playstation) ([wids345portablevuch]+)/i, // Nintendo/Playstation\\n /(xbox); +xbox ([^\\\\);]+)/i, // Microsoft Xbox (360, One, X, S, Series X, Series S)\\n\\n // Other\\n /\\\\b(joli|palm)\\\\b ?(?:os)?\\\\/?([\\\\w\\\\.]*)/i, // Joli/Palm\\n /(mint)[\\\\/\\\\(\\\\) ]?(\\\\w*)/i, // Mint\\n /(mageia|vectorlinux)[; ]/i, // Mageia/VectorLinux\\n /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\\\/ ]?(?!chrom|package)([-\\\\w\\\\.]*)/i,\\n // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire\\n /(hurd|linux) ?([\\\\w\\\\.]*)/i, // Hurd/Linux\\n /(gnu) ?([\\\\w\\\\.]*)/i, // GNU\\n /\\\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\\\/ ]?(?!amd|[ix346]{1,2}86)([\\\\w\\\\.]*)/i, // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly\\n /(haiku) (\\\\w+)/i // Haiku\\n ], [NAME, VERSION], [\\n /(sunos) ?([\\\\w\\\\.\\\\d]*)/i // Solaris\\n ], [[NAME, 'Solaris'], VERSION], [\\n /((?:open)?solaris)[-\\\\/ ]?([\\\\w\\\\.]*)/i, // Solaris\\n /(aix) ((\\\\d)(?=\\\\.|\\\\)| )[\\\\w\\\\.])*/i, // AIX\\n /\\\\b(beos|os\\\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX/SerenityOS\\n /(unix) ?([\\\\w\\\\.]*)/i // UNIX\\n ], [NAME, VERSION]\\n ]\\n };\\n\\n /////////////////\\n // Constructor\\n ////////////////\\n\\n var UAParser = function (ua, extensions) {\\n\\n if (typeof ua === OBJ_TYPE) {\\n extensions = ua;\\n ua = undefined;\\n }\\n\\n if (!(this instanceof UAParser)) {\\n return new UAParser(ua, extensions).getResult();\\n }\\n\\n var _navigator = (typeof window !== UNDEF_TYPE && window.navigator) ? window.navigator : undefined;\\n var _ua = ua || ((_navigator && _navigator.userAgent) ? _navigator.userAgent : EMPTY);\\n var _uach = (_navigator && _navigator.userAgentData) ? _navigator.userAgentData : undefined;\\n var _rgxmap = extensions ? extend(regexes, extensions) : regexes;\\n var _isSelfNav = _navigator && _navigator.userAgent == _ua;\\n\\n this.getBrowser = function () {\\n var _browser = {};\\n _browser[NAME] = undefined;\\n _browser[VERSION] = undefined;\\n rgxMapper.call(_browser, _ua, _rgxmap.browser);\\n _browser[MAJOR] = majorize(_browser[VERSION]);\\n // Brave-specific detection\\n if (_isSelfNav && _navigator && _navigator.brave && typeof _navigator.brave.isBrave == FUNC_TYPE) {\\n _browser[NAME] = 'Brave';\\n }\\n return _browser;\\n };\\n this.getCPU = function () {\\n var _cpu = {};\\n _cpu[ARCHITECTURE] = undefined;\\n rgxMapper.call(_cpu, _ua, _rgxmap.cpu);\\n return _cpu;\\n };\\n this.getDevice = function () {\\n var _device = {};\\n _device[VENDOR] = undefined;\\n _device[MODEL] = undefined;\\n _device[TYPE] = undefined;\\n rgxMapper.call(_device, _ua, _rgxmap.device);\\n if (_isSelfNav && !_device[TYPE] && _uach && _uach.mobile) {\\n _device[TYPE] = MOBILE;\\n }\\n // iPadOS-specific detection: identified as Mac, but has some iOS-only properties\\n if (_isSelfNav && _device[MODEL] == 'Macintosh' && _navigator && typeof _navigator.standalone !== UNDEF_TYPE && _navigator.maxTouchPoints && _navigator.maxTouchPoints > 2) {\\n _device[MODEL] = 'iPad';\\n _device[TYPE] = TABLET;\\n }\\n return _device;\\n };\\n this.getEngine = function () {\\n var _engine = {};\\n _engine[NAME] = undefined;\\n _engine[VERSION] = undefined;\\n rgxMapper.call(_engine, _ua, _rgxmap.engine);\\n return _engine;\\n };\\n this.getOS = function () {\\n var _os = {};\\n _os[NAME] = undefined;\\n _os[VERSION] = undefined;\\n rgxMapper.call(_os, _ua, _rgxmap.os);\\n if (_isSelfNav && !_os[NAME] && _uach && _uach.platform != 'Unknown') {\\n _os[NAME] = _uach.platform \\n .replace(/chrome os/i, CHROMIUM_OS)\\n .replace(/macos/i, MAC_OS); // backward compatibility\\n }\\n return _os;\\n };\\n this.getResult = function () {\\n return {\\n ua : this.getUA(),\\n browser : this.getBrowser(),\\n engine : this.getEngine(),\\n os : this.getOS(),\\n device : this.getDevice(),\\n cpu : this.getCPU()\\n };\\n };\\n this.getUA = function () {\\n return _ua;\\n };\\n this.setUA = function (ua) {\\n _ua = (typeof ua === STR_TYPE && ua.length > UA_MAX_LENGTH) ? trim(ua, UA_MAX_LENGTH) : ua;\\n return this;\\n };\\n this.setUA(_ua);\\n return this;\\n };\\n\\n UAParser.VERSION = LIBVERSION;\\n UAParser.BROWSER = enumerize([NAME, VERSION, MAJOR]);\\n UAParser.CPU = enumerize([ARCHITECTURE]);\\n UAParser.DEVICE = enumerize([MODEL, VENDOR, TYPE, CONSOLE, MOBILE, SMARTTV, TABLET, WEARABLE, EMBEDDED]);\\n UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);\\n\\n ///////////\\n // Export\\n //////////\\n\\n // check js environment\\n if (typeof(exports) !== UNDEF_TYPE) {\\n // nodejs env\\n if (\\\"object\\\" !== UNDEF_TYPE && module.exports) {\\n exports = module.exports = UAParser;\\n }\\n exports.UAParser = UAParser;\\n } else {\\n // requirejs env (optional)\\n if (\\\"function\\\" === FUNC_TYPE && __webpack_require__.amdO) {\\n !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {\\n return UAParser;\\n }).call(exports, __webpack_require__, exports, module),\\n\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\\n } else if (typeof window !== UNDEF_TYPE) {\\n // browser env\\n window.UAParser = UAParser;\\n }\\n }\\n\\n // jQuery/Zepto specific (optional)\\n // Note:\\n // In AMD env the global scope should be kept clean, but jQuery is an exception.\\n // jQuery always exports to global scope, unless jQuery.noConflict(true) is used,\\n // and we should catch that.\\n var $ = typeof window !== UNDEF_TYPE && (window.jQuery || window.Zepto);\\n if ($ && !$.ua) {\\n var parser = new UAParser();\\n $.ua = parser.getResult();\\n $.ua.get = function () {\\n return parser.getUA();\\n };\\n $.ua.set = function (ua) {\\n parser.setUA(ua);\\n var result = parser.getResult();\\n for (var prop in result) {\\n $.ua[prop] = result[prop];\\n }\\n };\\n }\\n\\n})(typeof window === 'object' ? window : this);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/ua-parser-js/src/ua-parser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/regex.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/regex.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/regex.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/rng.js\":\n/*!***************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/rng.js ***!\n \\***************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (/* binding */ rng)\\n/* harmony export */ });\\n// Unique ID creation requires a high quality random # generator. In the browser we therefore\\n// require the crypto API and do not support built-in fallback to lower quality random number\\n// generators (like Math.random()).\\nvar getRandomValues;\\nvar rnds8 = new Uint8Array(16);\\nfunction rng() {\\n // lazy load so that environments that need to polyfill have a chance to do so\\n if (!getRandomValues) {\\n // getRandomValues needs to be invoked in a context where \\\"this\\\" is a Crypto implementation. Also,\\n // find the complete implementation of crypto (msCrypto) on IE11.\\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\\n\\n if (!getRandomValues) {\\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\\n }\\n }\\n\\n return getRandomValues(rnds8);\\n}\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/rng.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/stringify.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/stringify.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ \\\"./node_modules/uuid/dist/esm-browser/validate.js\\\");\\n\\n/**\\n * Convert array of 16 byte values to UUID string format of the form:\\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\\n */\\n\\nvar byteToHex = [];\\n\\nfor (var i = 0; i < 256; ++i) {\\n byteToHex.push((i + 0x100).toString(16).substr(1));\\n}\\n\\nfunction stringify(arr) {\\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\\n // Note: Be careful editing this code! It's been tuned for performance\\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\\n // of the following:\\n // - One or more input array values don't map to a hex octet (leading to\\n // \\\"undefined\\\" in the uuid)\\n // - Invalid input values for the RFC `version` or `variant` fields\\n\\n if (!(0,_validate_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"])(uuid)) {\\n throw TypeError('Stringified UUID is invalid');\\n }\\n\\n return uuid;\\n}\\n\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stringify);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/stringify.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/v4.js\":\n/*!**************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/v4.js ***!\n \\**************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ \\\"./node_modules/uuid/dist/esm-browser/rng.js\\\");\\n/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ \\\"./node_modules/uuid/dist/esm-browser/stringify.js\\\");\\n\\n\\n\\nfunction v4(options, buf, offset) {\\n options = options || {};\\n var rnds = options.random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"])(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\\n\\n rnds[6] = rnds[6] & 0x0f | 0x40;\\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\\n\\n if (buf) {\\n offset = offset || 0;\\n\\n for (var i = 0; i < 16; ++i) {\\n buf[offset + i] = rnds[i];\\n }\\n\\n return buf;\\n }\\n\\n return (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"])(rnds);\\n}\\n\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v4);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/v4.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/validate.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/validate.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./regex.js */ \\\"./node_modules/uuid/dist/esm-browser/regex.js\\\");\\n\\n\\nfunction validate(uuid) {\\n return typeof uuid === 'string' && _regex_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"].test(uuid);\\n}\\n\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (validate);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/validate.js?\");\n\n/***/ }),\n\n/***/ \"react\":\n/*!************************!*\\\n !*** external \"react\" ***!\n \\************************/\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_react__;\n\n/***/ }),\n\n/***/ \"./node_modules/@socket.io/component-emitter/index.mjs\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@socket.io/component-emitter/index.mjs ***!\n \\*************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Emitter: () => (/* binding */ Emitter)\\n/* harmony export */ });\\n/**\\n * Initialize a new `Emitter`.\\n *\\n * @api public\\n */\\n\\nfunction Emitter(obj) {\\n if (obj) return mixin(obj);\\n}\\n\\n/**\\n * Mixin the emitter properties.\\n *\\n * @param {Object} obj\\n * @return {Object}\\n * @api private\\n */\\n\\nfunction mixin(obj) {\\n for (var key in Emitter.prototype) {\\n obj[key] = Emitter.prototype[key];\\n }\\n return obj;\\n}\\n\\n/**\\n * Listen on the given `event` with `fn`.\\n *\\n * @param {String} event\\n * @param {Function} fn\\n * @return {Emitter}\\n * @api public\\n */\\n\\nEmitter.prototype.on =\\nEmitter.prototype.addEventListener = function(event, fn){\\n this._callbacks = this._callbacks || {};\\n (this._callbacks['$' + event] = this._callbacks['$' + event] || [])\\n .push(fn);\\n return this;\\n};\\n\\n/**\\n * Adds an `event` listener that will be invoked a single\\n * time then automatically removed.\\n *\\n * @param {String} event\\n * @param {Function} fn\\n * @return {Emitter}\\n * @api public\\n */\\n\\nEmitter.prototype.once = function(event, fn){\\n function on() {\\n this.off(event, on);\\n fn.apply(this, arguments);\\n }\\n\\n on.fn = fn;\\n this.on(event, on);\\n return this;\\n};\\n\\n/**\\n * Remove the given callback for `event` or all\\n * registered callbacks.\\n *\\n * @param {String} event\\n * @param {Function} fn\\n * @return {Emitter}\\n * @api public\\n */\\n\\nEmitter.prototype.off =\\nEmitter.prototype.removeListener =\\nEmitter.prototype.removeAllListeners =\\nEmitter.prototype.removeEventListener = function(event, fn){\\n this._callbacks = this._callbacks || {};\\n\\n // all\\n if (0 == arguments.length) {\\n this._callbacks = {};\\n return this;\\n }\\n\\n // specific event\\n var callbacks = this._callbacks['$' + event];\\n if (!callbacks) return this;\\n\\n // remove all handlers\\n if (1 == arguments.length) {\\n delete this._callbacks['$' + event];\\n return this;\\n }\\n\\n // remove specific handler\\n var cb;\\n for (var i = 0; i < callbacks.length; i++) {\\n cb = callbacks[i];\\n if (cb === fn || cb.fn === fn) {\\n callbacks.splice(i, 1);\\n break;\\n }\\n }\\n\\n // Remove event specific arrays for event types that no\\n // one is subscribed for to avoid memory leak.\\n if (callbacks.length === 0) {\\n delete this._callbacks['$' + event];\\n }\\n\\n return this;\\n};\\n\\n/**\\n * Emit `event` with the given args.\\n *\\n * @param {String} event\\n * @param {Mixed} ...\\n * @return {Emitter}\\n */\\n\\nEmitter.prototype.emit = function(event){\\n this._callbacks = this._callbacks || {};\\n\\n var args = new Array(arguments.length - 1)\\n , callbacks = this._callbacks['$' + event];\\n\\n for (var i = 1; i < arguments.length; i++) {\\n args[i - 1] = arguments[i];\\n }\\n\\n if (callbacks) {\\n callbacks = callbacks.slice(0);\\n for (var i = 0, len = callbacks.length; i < len; ++i) {\\n callbacks[i].apply(this, args);\\n }\\n }\\n\\n return this;\\n};\\n\\n// alias used for reserved events (protected method)\\nEmitter.prototype.emitReserved = Emitter.prototype.emit;\\n\\n/**\\n * Return array of callbacks for `event`.\\n *\\n * @param {String} event\\n * @return {Array}\\n * @api public\\n */\\n\\nEmitter.prototype.listeners = function(event){\\n this._callbacks = this._callbacks || {};\\n return this._callbacks['$' + event] || [];\\n};\\n\\n/**\\n * Check if this emitter has `event` handlers.\\n *\\n * @param {String} event\\n * @return {Boolean}\\n * @api public\\n */\\n\\nEmitter.prototype.hasListeners = function(event){\\n return !! this.listeners(event).length;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@socket.io/component-emitter/index.mjs?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/has-cors.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/has-cors.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ hasCORS: () => (/* binding */ hasCORS)\\n/* harmony export */ });\\n// imported from https://github.com/component/has-cors\\nlet value = false;\\ntry {\\n value = typeof XMLHttpRequest !== 'undefined' &&\\n 'withCredentials' in new XMLHttpRequest();\\n}\\ncatch (err) {\\n // if XMLHttp support is disabled in IE then it will throw\\n // when trying to create\\n}\\nconst hasCORS = value;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/has-cors.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/parseqs.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decode: () => (/* binding */ decode),\\n/* harmony export */ encode: () => (/* binding */ encode)\\n/* harmony export */ });\\n// imported from https://github.com/galkn/querystring\\n/**\\n * Compiles a querystring\\n * Returns string representation of the object\\n *\\n * @param {Object}\\n * @api private\\n */\\nfunction encode(obj) {\\n let str = '';\\n for (let i in obj) {\\n if (obj.hasOwnProperty(i)) {\\n if (str.length)\\n str += '&';\\n str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]);\\n }\\n }\\n return str;\\n}\\n/**\\n * Parses a simple querystring into an object\\n *\\n * @param {String} qs\\n * @api private\\n */\\nfunction decode(qs) {\\n let qry = {};\\n let pairs = qs.split('&');\\n for (let i = 0, l = pairs.length; i < l; i++) {\\n let pair = pairs[i].split('=');\\n qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\\n }\\n return qry;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/parseqs.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/parseuri.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/parseuri.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ parse: () => (/* binding */ parse)\\n/* harmony export */ });\\n// imported from https://github.com/galkn/parseuri\\n/**\\n * Parses a URI\\n *\\n * Note: we could also have used the built-in URL object, but it isn't supported on all platforms.\\n *\\n * See:\\n * - https://developer.mozilla.org/en-US/docs/Web/API/URL\\n * - https://caniuse.com/url\\n * - https://www.rfc-editor.org/rfc/rfc3986#appendix-B\\n *\\n * History of the parse() method:\\n * - first commit: https://github.com/socketio/socket.io-client/commit/4ee1d5d94b3906a9c052b459f1a818b15f38f91c\\n * - export into its own module: https://github.com/socketio/engine.io-client/commit/de2c561e4564efeb78f1bdb1ba39ef81b2822cb3\\n * - reimport: https://github.com/socketio/engine.io-client/commit/df32277c3f6d622eec5ed09f493cae3f3391d242\\n *\\n * @author Steven Levithan (MIT license)\\n * @api private\\n */\\nconst re = /^(?:(?![^:@\\\\/?#]+:[^:@\\\\/]*@)(http|https|ws|wss):\\\\/\\\\/)?((?:(([^:@\\\\/?#]*)(?::([^:@\\\\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\\\\/?#]*)(?::(\\\\d*))?)(((\\\\/(?:[^?#](?![^?#\\\\/]*\\\\.[^?#\\\\/.]+(?:[?#]|$)))*\\\\/?)?([^?#\\\\/]*))(?:\\\\?([^#]*))?(?:#(.*))?)/;\\nconst parts = [\\n 'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor'\\n];\\nfunction parse(str) {\\n const src = str, b = str.indexOf('['), e = str.indexOf(']');\\n if (b != -1 && e != -1) {\\n str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length);\\n }\\n let m = re.exec(str || ''), uri = {}, i = 14;\\n while (i--) {\\n uri[parts[i]] = m[i] || '';\\n }\\n if (b != -1 && e != -1) {\\n uri.source = src;\\n uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':');\\n uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':');\\n uri.ipv6uri = true;\\n }\\n uri.pathNames = pathNames(uri, uri['path']);\\n uri.queryKey = queryKey(uri, uri['query']);\\n return uri;\\n}\\nfunction pathNames(obj, path) {\\n const regx = /\\\\/{2,9}/g, names = path.replace(regx, \\\"/\\\").split(\\\"/\\\");\\n if (path.slice(0, 1) == '/' || path.length === 0) {\\n names.splice(0, 1);\\n }\\n if (path.slice(-1) == '/') {\\n names.splice(names.length - 1, 1);\\n }\\n return names;\\n}\\nfunction queryKey(uri, query) {\\n const data = {};\\n query.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function ($0, $1, $2) {\\n if ($1) {\\n data[$1] = $2;\\n }\\n });\\n return data;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/parseuri.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/yeast.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/yeast.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decode: () => (/* binding */ decode),\\n/* harmony export */ encode: () => (/* binding */ encode),\\n/* harmony export */ yeast: () => (/* binding */ yeast)\\n/* harmony export */ });\\n// imported from https://github.com/unshiftio/yeast\\n\\nconst alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'.split(''), length = 64, map = {};\\nlet seed = 0, i = 0, prev;\\n/**\\n * Return a string representing the specified number.\\n *\\n * @param {Number} num The number to convert.\\n * @returns {String} The string representation of the number.\\n * @api public\\n */\\nfunction encode(num) {\\n let encoded = '';\\n do {\\n encoded = alphabet[num % length] + encoded;\\n num = Math.floor(num / length);\\n } while (num > 0);\\n return encoded;\\n}\\n/**\\n * Return the integer value specified by the given string.\\n *\\n * @param {String} str The string to convert.\\n * @returns {Number} The integer value represented by the string.\\n * @api public\\n */\\nfunction decode(str) {\\n let decoded = 0;\\n for (i = 0; i < str.length; i++) {\\n decoded = decoded * length + map[str.charAt(i)];\\n }\\n return decoded;\\n}\\n/**\\n * Yeast: A tiny growing id generator.\\n *\\n * @returns {String} A unique id.\\n * @api public\\n */\\nfunction yeast() {\\n const now = encode(+new Date());\\n if (now !== prev)\\n return seed = 0, prev = now;\\n return now + '.' + encode(seed++);\\n}\\n//\\n// Map each character to its index.\\n//\\nfor (; i < length; i++)\\n map[alphabet[i]] = i;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/yeast.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/globalThis.browser.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/globalThis.browser.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ globalThisShim: () => (/* binding */ globalThisShim)\\n/* harmony export */ });\\nconst globalThisShim = (() => {\\n if (typeof self !== \\\"undefined\\\") {\\n return self;\\n }\\n else if (typeof window !== \\\"undefined\\\") {\\n return window;\\n }\\n else {\\n return Function(\\\"return this\\\")();\\n }\\n})();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/globalThis.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Socket: () => (/* reexport safe */ _socket_js__WEBPACK_IMPORTED_MODULE_0__.Socket),\\n/* harmony export */ Transport: () => (/* reexport safe */ _transport_js__WEBPACK_IMPORTED_MODULE_1__.Transport),\\n/* harmony export */ installTimerFunctions: () => (/* reexport safe */ _util_js__WEBPACK_IMPORTED_MODULE_3__.installTimerFunctions),\\n/* harmony export */ nextTick: () => (/* reexport safe */ _transports_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_5__.nextTick),\\n/* harmony export */ parse: () => (/* reexport safe */ _contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_4__.parse),\\n/* harmony export */ protocol: () => (/* binding */ protocol),\\n/* harmony export */ transports: () => (/* reexport safe */ _transports_index_js__WEBPACK_IMPORTED_MODULE_2__.transports)\\n/* harmony export */ });\\n/* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./socket.js */ \\\"./node_modules/engine.io-client/build/esm/socket.js\\\");\\n/* harmony import */ var _transport_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transport.js */ \\\"./node_modules/engine.io-client/build/esm/transport.js\\\");\\n/* harmony import */ var _transports_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transports/index.js */ \\\"./node_modules/engine.io-client/build/esm/transports/index.js\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./contrib/parseuri.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseuri.js\\\");\\n/* harmony import */ var _transports_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./transports/websocket-constructor.js */ \\\"./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js\\\");\\n\\n\\nconst protocol = _socket_js__WEBPACK_IMPORTED_MODULE_0__.Socket.protocol;\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/socket.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/socket.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Socket: () => (/* binding */ Socket)\\n/* harmony export */ });\\n/* harmony import */ var _transports_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transports/index.js */ \\\"./node_modules/engine.io-client/build/esm/transports/index.js\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./contrib/parseqs.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\\\");\\n/* harmony import */ var _contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./contrib/parseuri.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseuri.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n\\n\\n\\n\\n\\n\\nclass Socket extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_4__.Emitter {\\n /**\\n * Socket constructor.\\n *\\n * @param {String|Object} uri - uri or options\\n * @param {Object} opts - options\\n */\\n constructor(uri, opts = {}) {\\n super();\\n this.writeBuffer = [];\\n if (uri && \\\"object\\\" === typeof uri) {\\n opts = uri;\\n uri = null;\\n }\\n if (uri) {\\n uri = (0,_contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_3__.parse)(uri);\\n opts.hostname = uri.host;\\n opts.secure = uri.protocol === \\\"https\\\" || uri.protocol === \\\"wss\\\";\\n opts.port = uri.port;\\n if (uri.query)\\n opts.query = uri.query;\\n }\\n else if (opts.host) {\\n opts.hostname = (0,_contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_3__.parse)(opts.host).host;\\n }\\n (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.installTimerFunctions)(this, opts);\\n this.secure =\\n null != opts.secure\\n ? opts.secure\\n : typeof location !== \\\"undefined\\\" && \\\"https:\\\" === location.protocol;\\n if (opts.hostname && !opts.port) {\\n // if no port is specified manually, use the protocol default\\n opts.port = this.secure ? \\\"443\\\" : \\\"80\\\";\\n }\\n this.hostname =\\n opts.hostname ||\\n (typeof location !== \\\"undefined\\\" ? location.hostname : \\\"localhost\\\");\\n this.port =\\n opts.port ||\\n (typeof location !== \\\"undefined\\\" && location.port\\n ? location.port\\n : this.secure\\n ? \\\"443\\\"\\n : \\\"80\\\");\\n this.transports = opts.transports || [\\\"polling\\\", \\\"websocket\\\"];\\n this.writeBuffer = [];\\n this.prevBufferLen = 0;\\n this.opts = Object.assign({\\n path: \\\"/engine.io\\\",\\n agent: false,\\n withCredentials: false,\\n upgrade: true,\\n timestampParam: \\\"t\\\",\\n rememberUpgrade: false,\\n addTrailingSlash: true,\\n rejectUnauthorized: true,\\n perMessageDeflate: {\\n threshold: 1024,\\n },\\n transportOptions: {},\\n closeOnBeforeunload: true,\\n }, opts);\\n this.opts.path =\\n this.opts.path.replace(/\\\\/$/, \\\"\\\") +\\n (this.opts.addTrailingSlash ? \\\"/\\\" : \\\"\\\");\\n if (typeof this.opts.query === \\\"string\\\") {\\n this.opts.query = (0,_contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__.decode)(this.opts.query);\\n }\\n // set on handshake\\n this.id = null;\\n this.upgrades = null;\\n this.pingInterval = null;\\n this.pingTimeout = null;\\n // set on heartbeat\\n this.pingTimeoutTimer = null;\\n if (typeof addEventListener === \\\"function\\\") {\\n if (this.opts.closeOnBeforeunload) {\\n // Firefox closes the connection when the \\\"beforeunload\\\" event is emitted but not Chrome. This event listener\\n // ensures every browser behaves the same (no \\\"disconnect\\\" event at the Socket.IO level when the page is\\n // closed/reloaded)\\n this.beforeunloadEventListener = () => {\\n if (this.transport) {\\n // silently close the transport\\n this.transport.removeAllListeners();\\n this.transport.close();\\n }\\n };\\n addEventListener(\\\"beforeunload\\\", this.beforeunloadEventListener, false);\\n }\\n if (this.hostname !== \\\"localhost\\\") {\\n this.offlineEventListener = () => {\\n this.onClose(\\\"transport close\\\", {\\n description: \\\"network connection lost\\\",\\n });\\n };\\n addEventListener(\\\"offline\\\", this.offlineEventListener, false);\\n }\\n }\\n this.open();\\n }\\n /**\\n * Creates transport of the given type.\\n *\\n * @param {String} name - transport name\\n * @return {Transport}\\n * @private\\n */\\n createTransport(name) {\\n const query = Object.assign({}, this.opts.query);\\n // append engine.io protocol identifier\\n query.EIO = engine_io_parser__WEBPACK_IMPORTED_MODULE_5__.protocol;\\n // transport name\\n query.transport = name;\\n // session id if we already have one\\n if (this.id)\\n query.sid = this.id;\\n const opts = Object.assign({}, this.opts.transportOptions[name], this.opts, {\\n query,\\n socket: this,\\n hostname: this.hostname,\\n secure: this.secure,\\n port: this.port,\\n });\\n return new _transports_index_js__WEBPACK_IMPORTED_MODULE_0__.transports[name](opts);\\n }\\n /**\\n * Initializes transport to use and starts probe.\\n *\\n * @private\\n */\\n open() {\\n let transport;\\n if (this.opts.rememberUpgrade &&\\n Socket.priorWebsocketSuccess &&\\n this.transports.indexOf(\\\"websocket\\\") !== -1) {\\n transport = \\\"websocket\\\";\\n }\\n else if (0 === this.transports.length) {\\n // Emit error on next tick so it can be listened to\\n this.setTimeoutFn(() => {\\n this.emitReserved(\\\"error\\\", \\\"No transports available\\\");\\n }, 0);\\n return;\\n }\\n else {\\n transport = this.transports[0];\\n }\\n this.readyState = \\\"opening\\\";\\n // Retry with the next transport if the transport is disabled (jsonp: false)\\n try {\\n transport = this.createTransport(transport);\\n }\\n catch (e) {\\n this.transports.shift();\\n this.open();\\n return;\\n }\\n transport.open();\\n this.setTransport(transport);\\n }\\n /**\\n * Sets the current transport. Disables the existing one (if any).\\n *\\n * @private\\n */\\n setTransport(transport) {\\n if (this.transport) {\\n this.transport.removeAllListeners();\\n }\\n // set up transport\\n this.transport = transport;\\n // set up transport listeners\\n transport\\n .on(\\\"drain\\\", this.onDrain.bind(this))\\n .on(\\\"packet\\\", this.onPacket.bind(this))\\n .on(\\\"error\\\", this.onError.bind(this))\\n .on(\\\"close\\\", (reason) => this.onClose(\\\"transport close\\\", reason));\\n }\\n /**\\n * Probes a transport.\\n *\\n * @param {String} name - transport name\\n * @private\\n */\\n probe(name) {\\n let transport = this.createTransport(name);\\n let failed = false;\\n Socket.priorWebsocketSuccess = false;\\n const onTransportOpen = () => {\\n if (failed)\\n return;\\n transport.send([{ type: \\\"ping\\\", data: \\\"probe\\\" }]);\\n transport.once(\\\"packet\\\", (msg) => {\\n if (failed)\\n return;\\n if (\\\"pong\\\" === msg.type && \\\"probe\\\" === msg.data) {\\n this.upgrading = true;\\n this.emitReserved(\\\"upgrading\\\", transport);\\n if (!transport)\\n return;\\n Socket.priorWebsocketSuccess = \\\"websocket\\\" === transport.name;\\n this.transport.pause(() => {\\n if (failed)\\n return;\\n if (\\\"closed\\\" === this.readyState)\\n return;\\n cleanup();\\n this.setTransport(transport);\\n transport.send([{ type: \\\"upgrade\\\" }]);\\n this.emitReserved(\\\"upgrade\\\", transport);\\n transport = null;\\n this.upgrading = false;\\n this.flush();\\n });\\n }\\n else {\\n const err = new Error(\\\"probe error\\\");\\n // @ts-ignore\\n err.transport = transport.name;\\n this.emitReserved(\\\"upgradeError\\\", err);\\n }\\n });\\n };\\n function freezeTransport() {\\n if (failed)\\n return;\\n // Any callback called by transport should be ignored since now\\n failed = true;\\n cleanup();\\n transport.close();\\n transport = null;\\n }\\n // Handle any error that happens while probing\\n const onerror = (err) => {\\n const error = new Error(\\\"probe error: \\\" + err);\\n // @ts-ignore\\n error.transport = transport.name;\\n freezeTransport();\\n this.emitReserved(\\\"upgradeError\\\", error);\\n };\\n function onTransportClose() {\\n onerror(\\\"transport closed\\\");\\n }\\n // When the socket is closed while we're probing\\n function onclose() {\\n onerror(\\\"socket closed\\\");\\n }\\n // When the socket is upgraded while we're probing\\n function onupgrade(to) {\\n if (transport && to.name !== transport.name) {\\n freezeTransport();\\n }\\n }\\n // Remove all listeners on the transport and on self\\n const cleanup = () => {\\n transport.removeListener(\\\"open\\\", onTransportOpen);\\n transport.removeListener(\\\"error\\\", onerror);\\n transport.removeListener(\\\"close\\\", onTransportClose);\\n this.off(\\\"close\\\", onclose);\\n this.off(\\\"upgrading\\\", onupgrade);\\n };\\n transport.once(\\\"open\\\", onTransportOpen);\\n transport.once(\\\"error\\\", onerror);\\n transport.once(\\\"close\\\", onTransportClose);\\n this.once(\\\"close\\\", onclose);\\n this.once(\\\"upgrading\\\", onupgrade);\\n transport.open();\\n }\\n /**\\n * Called when connection is deemed open.\\n *\\n * @private\\n */\\n onOpen() {\\n this.readyState = \\\"open\\\";\\n Socket.priorWebsocketSuccess = \\\"websocket\\\" === this.transport.name;\\n this.emitReserved(\\\"open\\\");\\n this.flush();\\n // we check for `readyState` in case an `open`\\n // listener already closed the socket\\n if (\\\"open\\\" === this.readyState && this.opts.upgrade) {\\n let i = 0;\\n const l = this.upgrades.length;\\n for (; i < l; i++) {\\n this.probe(this.upgrades[i]);\\n }\\n }\\n }\\n /**\\n * Handles a packet.\\n *\\n * @private\\n */\\n onPacket(packet) {\\n if (\\\"opening\\\" === this.readyState ||\\n \\\"open\\\" === this.readyState ||\\n \\\"closing\\\" === this.readyState) {\\n this.emitReserved(\\\"packet\\\", packet);\\n // Socket is live - any packet counts\\n this.emitReserved(\\\"heartbeat\\\");\\n switch (packet.type) {\\n case \\\"open\\\":\\n this.onHandshake(JSON.parse(packet.data));\\n break;\\n case \\\"ping\\\":\\n this.resetPingTimeout();\\n this.sendPacket(\\\"pong\\\");\\n this.emitReserved(\\\"ping\\\");\\n this.emitReserved(\\\"pong\\\");\\n break;\\n case \\\"error\\\":\\n const err = new Error(\\\"server error\\\");\\n // @ts-ignore\\n err.code = packet.data;\\n this.onError(err);\\n break;\\n case \\\"message\\\":\\n this.emitReserved(\\\"data\\\", packet.data);\\n this.emitReserved(\\\"message\\\", packet.data);\\n break;\\n }\\n }\\n else {\\n }\\n }\\n /**\\n * Called upon handshake completion.\\n *\\n * @param {Object} data - handshake obj\\n * @private\\n */\\n onHandshake(data) {\\n this.emitReserved(\\\"handshake\\\", data);\\n this.id = data.sid;\\n this.transport.query.sid = data.sid;\\n this.upgrades = this.filterUpgrades(data.upgrades);\\n this.pingInterval = data.pingInterval;\\n this.pingTimeout = data.pingTimeout;\\n this.maxPayload = data.maxPayload;\\n this.onOpen();\\n // In case open handler closes socket\\n if (\\\"closed\\\" === this.readyState)\\n return;\\n this.resetPingTimeout();\\n }\\n /**\\n * Sets and resets ping timeout timer based on server pings.\\n *\\n * @private\\n */\\n resetPingTimeout() {\\n this.clearTimeoutFn(this.pingTimeoutTimer);\\n this.pingTimeoutTimer = this.setTimeoutFn(() => {\\n this.onClose(\\\"ping timeout\\\");\\n }, this.pingInterval + this.pingTimeout);\\n if (this.opts.autoUnref) {\\n this.pingTimeoutTimer.unref();\\n }\\n }\\n /**\\n * Called on `drain` event\\n *\\n * @private\\n */\\n onDrain() {\\n this.writeBuffer.splice(0, this.prevBufferLen);\\n // setting prevBufferLen = 0 is very important\\n // for example, when upgrading, upgrade packet is sent over,\\n // and a nonzero prevBufferLen could cause problems on `drain`\\n this.prevBufferLen = 0;\\n if (0 === this.writeBuffer.length) {\\n this.emitReserved(\\\"drain\\\");\\n }\\n else {\\n this.flush();\\n }\\n }\\n /**\\n * Flush write buffers.\\n *\\n * @private\\n */\\n flush() {\\n if (\\\"closed\\\" !== this.readyState &&\\n this.transport.writable &&\\n !this.upgrading &&\\n this.writeBuffer.length) {\\n const packets = this.getWritablePackets();\\n this.transport.send(packets);\\n // keep track of current length of writeBuffer\\n // splice writeBuffer and callbackBuffer on `drain`\\n this.prevBufferLen = packets.length;\\n this.emitReserved(\\\"flush\\\");\\n }\\n }\\n /**\\n * Ensure the encoded size of the writeBuffer is below the maxPayload value sent by the server (only for HTTP\\n * long-polling)\\n *\\n * @private\\n */\\n getWritablePackets() {\\n const shouldCheckPayloadSize = this.maxPayload &&\\n this.transport.name === \\\"polling\\\" &&\\n this.writeBuffer.length > 1;\\n if (!shouldCheckPayloadSize) {\\n return this.writeBuffer;\\n }\\n let payloadSize = 1; // first packet type\\n for (let i = 0; i < this.writeBuffer.length; i++) {\\n const data = this.writeBuffer[i].data;\\n if (data) {\\n payloadSize += (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.byteLength)(data);\\n }\\n if (i > 0 && payloadSize > this.maxPayload) {\\n return this.writeBuffer.slice(0, i);\\n }\\n payloadSize += 2; // separator + packet type\\n }\\n return this.writeBuffer;\\n }\\n /**\\n * Sends a message.\\n *\\n * @param {String} msg - message.\\n * @param {Object} options.\\n * @param {Function} callback function.\\n * @return {Socket} for chaining.\\n */\\n write(msg, options, fn) {\\n this.sendPacket(\\\"message\\\", msg, options, fn);\\n return this;\\n }\\n send(msg, options, fn) {\\n this.sendPacket(\\\"message\\\", msg, options, fn);\\n return this;\\n }\\n /**\\n * Sends a packet.\\n *\\n * @param {String} type: packet type.\\n * @param {String} data.\\n * @param {Object} options.\\n * @param {Function} fn - callback function.\\n * @private\\n */\\n sendPacket(type, data, options, fn) {\\n if (\\\"function\\\" === typeof data) {\\n fn = data;\\n data = undefined;\\n }\\n if (\\\"function\\\" === typeof options) {\\n fn = options;\\n options = null;\\n }\\n if (\\\"closing\\\" === this.readyState || \\\"closed\\\" === this.readyState) {\\n return;\\n }\\n options = options || {};\\n options.compress = false !== options.compress;\\n const packet = {\\n type: type,\\n data: data,\\n options: options,\\n };\\n this.emitReserved(\\\"packetCreate\\\", packet);\\n this.writeBuffer.push(packet);\\n if (fn)\\n this.once(\\\"flush\\\", fn);\\n this.flush();\\n }\\n /**\\n * Closes the connection.\\n */\\n close() {\\n const close = () => {\\n this.onClose(\\\"forced close\\\");\\n this.transport.close();\\n };\\n const cleanupAndClose = () => {\\n this.off(\\\"upgrade\\\", cleanupAndClose);\\n this.off(\\\"upgradeError\\\", cleanupAndClose);\\n close();\\n };\\n const waitForUpgrade = () => {\\n // wait for upgrade to finish since we can't send packets while pausing a transport\\n this.once(\\\"upgrade\\\", cleanupAndClose);\\n this.once(\\\"upgradeError\\\", cleanupAndClose);\\n };\\n if (\\\"opening\\\" === this.readyState || \\\"open\\\" === this.readyState) {\\n this.readyState = \\\"closing\\\";\\n if (this.writeBuffer.length) {\\n this.once(\\\"drain\\\", () => {\\n if (this.upgrading) {\\n waitForUpgrade();\\n }\\n else {\\n close();\\n }\\n });\\n }\\n else if (this.upgrading) {\\n waitForUpgrade();\\n }\\n else {\\n close();\\n }\\n }\\n return this;\\n }\\n /**\\n * Called upon transport error\\n *\\n * @private\\n */\\n onError(err) {\\n Socket.priorWebsocketSuccess = false;\\n this.emitReserved(\\\"error\\\", err);\\n this.onClose(\\\"transport error\\\", err);\\n }\\n /**\\n * Called upon transport close.\\n *\\n * @private\\n */\\n onClose(reason, description) {\\n if (\\\"opening\\\" === this.readyState ||\\n \\\"open\\\" === this.readyState ||\\n \\\"closing\\\" === this.readyState) {\\n // clear timers\\n this.clearTimeoutFn(this.pingTimeoutTimer);\\n // stop event from firing again for transport\\n this.transport.removeAllListeners(\\\"close\\\");\\n // ensure transport won't stay open\\n this.transport.close();\\n // ignore further transport communication\\n this.transport.removeAllListeners();\\n if (typeof removeEventListener === \\\"function\\\") {\\n removeEventListener(\\\"beforeunload\\\", this.beforeunloadEventListener, false);\\n removeEventListener(\\\"offline\\\", this.offlineEventListener, false);\\n }\\n // set ready state\\n this.readyState = \\\"closed\\\";\\n // clear session id\\n this.id = null;\\n // emit close event\\n this.emitReserved(\\\"close\\\", reason, description);\\n // clean buffers after, so users can still\\n // grab the buffers on `close` event\\n this.writeBuffer = [];\\n this.prevBufferLen = 0;\\n }\\n }\\n /**\\n * Filters upgrades, returning only those matching client transports.\\n *\\n * @param {Array} upgrades - server upgrades\\n * @private\\n */\\n filterUpgrades(upgrades) {\\n const filteredUpgrades = [];\\n let i = 0;\\n const j = upgrades.length;\\n for (; i < j; i++) {\\n if (~this.transports.indexOf(upgrades[i]))\\n filteredUpgrades.push(upgrades[i]);\\n }\\n return filteredUpgrades;\\n }\\n}\\nSocket.protocol = engine_io_parser__WEBPACK_IMPORTED_MODULE_5__.protocol;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/socket.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transport.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transport.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Transport: () => (/* binding */ Transport)\\n/* harmony export */ });\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n\\n\\n\\nclass TransportError extends Error {\\n constructor(reason, description, context) {\\n super(reason);\\n this.description = description;\\n this.context = context;\\n this.type = \\\"TransportError\\\";\\n }\\n}\\nclass Transport extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_1__.Emitter {\\n /**\\n * Transport abstract constructor.\\n *\\n * @param {Object} opts - options\\n * @protected\\n */\\n constructor(opts) {\\n super();\\n this.writable = false;\\n (0,_util_js__WEBPACK_IMPORTED_MODULE_2__.installTimerFunctions)(this, opts);\\n this.opts = opts;\\n this.query = opts.query;\\n this.socket = opts.socket;\\n }\\n /**\\n * Emits an error.\\n *\\n * @param {String} reason\\n * @param description\\n * @param context - the error context\\n * @return {Transport} for chaining\\n * @protected\\n */\\n onError(reason, description, context) {\\n super.emitReserved(\\\"error\\\", new TransportError(reason, description, context));\\n return this;\\n }\\n /**\\n * Opens the transport.\\n */\\n open() {\\n this.readyState = \\\"opening\\\";\\n this.doOpen();\\n return this;\\n }\\n /**\\n * Closes the transport.\\n */\\n close() {\\n if (this.readyState === \\\"opening\\\" || this.readyState === \\\"open\\\") {\\n this.doClose();\\n this.onClose();\\n }\\n return this;\\n }\\n /**\\n * Sends multiple packets.\\n *\\n * @param {Array} packets\\n */\\n send(packets) {\\n if (this.readyState === \\\"open\\\") {\\n this.write(packets);\\n }\\n else {\\n // this might happen if the transport was silently closed in the beforeunload event handler\\n }\\n }\\n /**\\n * Called upon open\\n *\\n * @protected\\n */\\n onOpen() {\\n this.readyState = \\\"open\\\";\\n this.writable = true;\\n super.emitReserved(\\\"open\\\");\\n }\\n /**\\n * Called with data.\\n *\\n * @param {String} data\\n * @protected\\n */\\n onData(data) {\\n const packet = (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_0__.decodePacket)(data, this.socket.binaryType);\\n this.onPacket(packet);\\n }\\n /**\\n * Called with a decoded packet.\\n *\\n * @protected\\n */\\n onPacket(packet) {\\n super.emitReserved(\\\"packet\\\", packet);\\n }\\n /**\\n * Called upon close.\\n *\\n * @protected\\n */\\n onClose(details) {\\n this.readyState = \\\"closed\\\";\\n super.emitReserved(\\\"close\\\", details);\\n }\\n /**\\n * Pauses the transport, in order not to lose packets during an upgrade.\\n *\\n * @param onPause\\n */\\n pause(onPause) { }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transport.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ transports: () => (/* binding */ transports)\\n/* harmony export */ });\\n/* harmony import */ var _polling_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./polling.js */ \\\"./node_modules/engine.io-client/build/esm/transports/polling.js\\\");\\n/* harmony import */ var _websocket_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./websocket.js */ \\\"./node_modules/engine.io-client/build/esm/transports/websocket.js\\\");\\n\\n\\nconst transports = {\\n websocket: _websocket_js__WEBPACK_IMPORTED_MODULE_1__.WS,\\n polling: _polling_js__WEBPACK_IMPORTED_MODULE_0__.Polling,\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/polling.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/polling.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Polling: () => (/* binding */ Polling),\\n/* harmony export */ Request: () => (/* binding */ Request)\\n/* harmony export */ });\\n/* harmony import */ var _transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../transport.js */ \\\"./node_modules/engine.io-client/build/esm/transport.js\\\");\\n/* harmony import */ var _contrib_yeast_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../contrib/yeast.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/yeast.js\\\");\\n/* harmony import */ var _contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contrib/parseqs.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\\\");\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _xmlhttprequest_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./xmlhttprequest.js */ \\\"./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\nfunction empty() { }\\nconst hasXHR2 = (function () {\\n const xhr = new _xmlhttprequest_js__WEBPACK_IMPORTED_MODULE_4__.XHR({\\n xdomain: false,\\n });\\n return null != xhr.responseType;\\n})();\\nclass Polling extends _transport_js__WEBPACK_IMPORTED_MODULE_0__.Transport {\\n /**\\n * XHR Polling constructor.\\n *\\n * @param {Object} opts\\n * @package\\n */\\n constructor(opts) {\\n super(opts);\\n this.polling = false;\\n if (typeof location !== \\\"undefined\\\") {\\n const isSSL = \\\"https:\\\" === location.protocol;\\n let port = location.port;\\n // some user agents have empty `location.port`\\n if (!port) {\\n port = isSSL ? \\\"443\\\" : \\\"80\\\";\\n }\\n this.xd =\\n (typeof location !== \\\"undefined\\\" &&\\n opts.hostname !== location.hostname) ||\\n port !== opts.port;\\n this.xs = opts.secure !== isSSL;\\n }\\n /**\\n * XHR supports binary\\n */\\n const forceBase64 = opts && opts.forceBase64;\\n this.supportsBinary = hasXHR2 && !forceBase64;\\n }\\n get name() {\\n return \\\"polling\\\";\\n }\\n /**\\n * Opens the socket (triggers polling). We write a PING message to determine\\n * when the transport is open.\\n *\\n * @protected\\n */\\n doOpen() {\\n this.poll();\\n }\\n /**\\n * Pauses polling.\\n *\\n * @param {Function} onPause - callback upon buffers are flushed and transport is paused\\n * @package\\n */\\n pause(onPause) {\\n this.readyState = \\\"pausing\\\";\\n const pause = () => {\\n this.readyState = \\\"paused\\\";\\n onPause();\\n };\\n if (this.polling || !this.writable) {\\n let total = 0;\\n if (this.polling) {\\n total++;\\n this.once(\\\"pollComplete\\\", function () {\\n --total || pause();\\n });\\n }\\n if (!this.writable) {\\n total++;\\n this.once(\\\"drain\\\", function () {\\n --total || pause();\\n });\\n }\\n }\\n else {\\n pause();\\n }\\n }\\n /**\\n * Starts polling cycle.\\n *\\n * @private\\n */\\n poll() {\\n this.polling = true;\\n this.doPoll();\\n this.emitReserved(\\\"poll\\\");\\n }\\n /**\\n * Overloads onData to detect payloads.\\n *\\n * @protected\\n */\\n onData(data) {\\n const callback = (packet) => {\\n // if its the first message we consider the transport open\\n if (\\\"opening\\\" === this.readyState && packet.type === \\\"open\\\") {\\n this.onOpen();\\n }\\n // if its a close packet, we close the ongoing requests\\n if (\\\"close\\\" === packet.type) {\\n this.onClose({ description: \\\"transport closed by the server\\\" });\\n return false;\\n }\\n // otherwise bypass onData and handle the message\\n this.onPacket(packet);\\n };\\n // decode payload\\n (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_3__.decodePayload)(data, this.socket.binaryType).forEach(callback);\\n // if an event did not trigger closing\\n if (\\\"closed\\\" !== this.readyState) {\\n // if we got data we're not polling\\n this.polling = false;\\n this.emitReserved(\\\"pollComplete\\\");\\n if (\\\"open\\\" === this.readyState) {\\n this.poll();\\n }\\n else {\\n }\\n }\\n }\\n /**\\n * For polling, send a close packet.\\n *\\n * @protected\\n */\\n doClose() {\\n const close = () => {\\n this.write([{ type: \\\"close\\\" }]);\\n };\\n if (\\\"open\\\" === this.readyState) {\\n close();\\n }\\n else {\\n // in case we're trying to close while\\n // handshaking is in progress (GH-164)\\n this.once(\\\"open\\\", close);\\n }\\n }\\n /**\\n * Writes a packets payload.\\n *\\n * @param {Array} packets - data packets\\n * @protected\\n */\\n write(packets) {\\n this.writable = false;\\n (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_3__.encodePayload)(packets, (data) => {\\n this.doWrite(data, () => {\\n this.writable = true;\\n this.emitReserved(\\\"drain\\\");\\n });\\n });\\n }\\n /**\\n * Generates uri for connection.\\n *\\n * @private\\n */\\n uri() {\\n let query = this.query || {};\\n const schema = this.opts.secure ? \\\"https\\\" : \\\"http\\\";\\n let port = \\\"\\\";\\n // cache busting is forced\\n if (false !== this.opts.timestampRequests) {\\n query[this.opts.timestampParam] = (0,_contrib_yeast_js__WEBPACK_IMPORTED_MODULE_1__.yeast)();\\n }\\n if (!this.supportsBinary && !query.sid) {\\n query.b64 = 1;\\n }\\n // avoid port if default for schema\\n if (this.opts.port &&\\n ((\\\"https\\\" === schema && Number(this.opts.port) !== 443) ||\\n (\\\"http\\\" === schema && Number(this.opts.port) !== 80))) {\\n port = \\\":\\\" + this.opts.port;\\n }\\n const encodedQuery = (0,_contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__.encode)(query);\\n const ipv6 = this.opts.hostname.indexOf(\\\":\\\") !== -1;\\n return (schema +\\n \\\"://\\\" +\\n (ipv6 ? \\\"[\\\" + this.opts.hostname + \\\"]\\\" : this.opts.hostname) +\\n port +\\n this.opts.path +\\n (encodedQuery.length ? \\\"?\\\" + encodedQuery : \\\"\\\"));\\n }\\n /**\\n * Creates a request.\\n *\\n * @param {String} method\\n * @private\\n */\\n request(opts = {}) {\\n Object.assign(opts, { xd: this.xd, xs: this.xs }, this.opts);\\n return new Request(this.uri(), opts);\\n }\\n /**\\n * Sends data.\\n *\\n * @param {String} data to send.\\n * @param {Function} called upon flush.\\n * @private\\n */\\n doWrite(data, fn) {\\n const req = this.request({\\n method: \\\"POST\\\",\\n data: data,\\n });\\n req.on(\\\"success\\\", fn);\\n req.on(\\\"error\\\", (xhrStatus, context) => {\\n this.onError(\\\"xhr post error\\\", xhrStatus, context);\\n });\\n }\\n /**\\n * Starts a poll cycle.\\n *\\n * @private\\n */\\n doPoll() {\\n const req = this.request();\\n req.on(\\\"data\\\", this.onData.bind(this));\\n req.on(\\\"error\\\", (xhrStatus, context) => {\\n this.onError(\\\"xhr poll error\\\", xhrStatus, context);\\n });\\n this.pollXhr = req;\\n }\\n}\\nclass Request extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__.Emitter {\\n /**\\n * Request constructor\\n *\\n * @param {Object} options\\n * @package\\n */\\n constructor(uri, opts) {\\n super();\\n (0,_util_js__WEBPACK_IMPORTED_MODULE_6__.installTimerFunctions)(this, opts);\\n this.opts = opts;\\n this.method = opts.method || \\\"GET\\\";\\n this.uri = uri;\\n this.async = false !== opts.async;\\n this.data = undefined !== opts.data ? opts.data : null;\\n this.create();\\n }\\n /**\\n * Creates the XHR object and sends the request.\\n *\\n * @private\\n */\\n create() {\\n const opts = (0,_util_js__WEBPACK_IMPORTED_MODULE_6__.pick)(this.opts, \\\"agent\\\", \\\"pfx\\\", \\\"key\\\", \\\"passphrase\\\", \\\"cert\\\", \\\"ca\\\", \\\"ciphers\\\", \\\"rejectUnauthorized\\\", \\\"autoUnref\\\");\\n opts.xdomain = !!this.opts.xd;\\n opts.xscheme = !!this.opts.xs;\\n const xhr = (this.xhr = new _xmlhttprequest_js__WEBPACK_IMPORTED_MODULE_4__.XHR(opts));\\n try {\\n xhr.open(this.method, this.uri, this.async);\\n try {\\n if (this.opts.extraHeaders) {\\n xhr.setDisableHeaderCheck && xhr.setDisableHeaderCheck(true);\\n for (let i in this.opts.extraHeaders) {\\n if (this.opts.extraHeaders.hasOwnProperty(i)) {\\n xhr.setRequestHeader(i, this.opts.extraHeaders[i]);\\n }\\n }\\n }\\n }\\n catch (e) { }\\n if (\\\"POST\\\" === this.method) {\\n try {\\n xhr.setRequestHeader(\\\"Content-type\\\", \\\"text/plain;charset=UTF-8\\\");\\n }\\n catch (e) { }\\n }\\n try {\\n xhr.setRequestHeader(\\\"Accept\\\", \\\"*/*\\\");\\n }\\n catch (e) { }\\n // ie6 check\\n if (\\\"withCredentials\\\" in xhr) {\\n xhr.withCredentials = this.opts.withCredentials;\\n }\\n if (this.opts.requestTimeout) {\\n xhr.timeout = this.opts.requestTimeout;\\n }\\n xhr.onreadystatechange = () => {\\n if (4 !== xhr.readyState)\\n return;\\n if (200 === xhr.status || 1223 === xhr.status) {\\n this.onLoad();\\n }\\n else {\\n // make sure the `error` event handler that's user-set\\n // does not throw in the same tick and gets caught here\\n this.setTimeoutFn(() => {\\n this.onError(typeof xhr.status === \\\"number\\\" ? xhr.status : 0);\\n }, 0);\\n }\\n };\\n xhr.send(this.data);\\n }\\n catch (e) {\\n // Need to defer since .create() is called directly from the constructor\\n // and thus the 'error' event can only be only bound *after* this exception\\n // occurs. Therefore, also, we cannot throw here at all.\\n this.setTimeoutFn(() => {\\n this.onError(e);\\n }, 0);\\n return;\\n }\\n if (typeof document !== \\\"undefined\\\") {\\n this.index = Request.requestsCount++;\\n Request.requests[this.index] = this;\\n }\\n }\\n /**\\n * Called upon error.\\n *\\n * @private\\n */\\n onError(err) {\\n this.emitReserved(\\\"error\\\", err, this.xhr);\\n this.cleanup(true);\\n }\\n /**\\n * Cleans up house.\\n *\\n * @private\\n */\\n cleanup(fromError) {\\n if (\\\"undefined\\\" === typeof this.xhr || null === this.xhr) {\\n return;\\n }\\n this.xhr.onreadystatechange = empty;\\n if (fromError) {\\n try {\\n this.xhr.abort();\\n }\\n catch (e) { }\\n }\\n if (typeof document !== \\\"undefined\\\") {\\n delete Request.requests[this.index];\\n }\\n this.xhr = null;\\n }\\n /**\\n * Called upon load.\\n *\\n * @private\\n */\\n onLoad() {\\n const data = this.xhr.responseText;\\n if (data !== null) {\\n this.emitReserved(\\\"data\\\", data);\\n this.emitReserved(\\\"success\\\");\\n this.cleanup();\\n }\\n }\\n /**\\n * Aborts the request.\\n *\\n * @package\\n */\\n abort() {\\n this.cleanup();\\n }\\n}\\nRequest.requestsCount = 0;\\nRequest.requests = {};\\n/**\\n * Aborts pending requests when unloading the window. This is needed to prevent\\n * memory leaks (e.g. when using IE) and to ensure that no spurious error is\\n * emitted.\\n */\\nif (typeof document !== \\\"undefined\\\") {\\n // @ts-ignore\\n if (typeof attachEvent === \\\"function\\\") {\\n // @ts-ignore\\n attachEvent(\\\"onunload\\\", unloadHandler);\\n }\\n else if (typeof addEventListener === \\\"function\\\") {\\n const terminationEvent = \\\"onpagehide\\\" in _globalThis_js__WEBPACK_IMPORTED_MODULE_7__.globalThisShim ? \\\"pagehide\\\" : \\\"unload\\\";\\n addEventListener(terminationEvent, unloadHandler, false);\\n }\\n}\\nfunction unloadHandler() {\\n for (let i in Request.requests) {\\n if (Request.requests.hasOwnProperty(i)) {\\n Request.requests[i].abort();\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/polling.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ WebSocket: () => (/* binding */ WebSocket),\\n/* harmony export */ defaultBinaryType: () => (/* binding */ defaultBinaryType),\\n/* harmony export */ nextTick: () => (/* binding */ nextTick),\\n/* harmony export */ usingBrowserWebSocket: () => (/* binding */ usingBrowserWebSocket)\\n/* harmony export */ });\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n\\nconst nextTick = (() => {\\n const isPromiseAvailable = typeof Promise === \\\"function\\\" && typeof Promise.resolve === \\\"function\\\";\\n if (isPromiseAvailable) {\\n return (cb) => Promise.resolve().then(cb);\\n }\\n else {\\n return (cb, setTimeoutFn) => setTimeoutFn(cb, 0);\\n }\\n})();\\nconst WebSocket = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.WebSocket || _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.MozWebSocket;\\nconst usingBrowserWebSocket = true;\\nconst defaultBinaryType = \\\"arraybuffer\\\";\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/websocket.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/websocket.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ WS: () => (/* binding */ WS)\\n/* harmony export */ });\\n/* harmony import */ var _transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../transport.js */ \\\"./node_modules/engine.io-client/build/esm/transport.js\\\");\\n/* harmony import */ var _contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../contrib/parseqs.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\\\");\\n/* harmony import */ var _contrib_yeast_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contrib/yeast.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/yeast.js\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./websocket-constructor.js */ \\\"./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js\\\");\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \\\"./node_modules/buffer/index.js\\\")[\\\"Buffer\\\"];\\n\\n\\n\\n\\n\\n\\n// detect ReactNative environment\\nconst isReactNative = typeof navigator !== \\\"undefined\\\" &&\\n typeof navigator.product === \\\"string\\\" &&\\n navigator.product.toLowerCase() === \\\"reactnative\\\";\\nclass WS extends _transport_js__WEBPACK_IMPORTED_MODULE_0__.Transport {\\n /**\\n * WebSocket transport constructor.\\n *\\n * @param {Object} opts - connection options\\n * @protected\\n */\\n constructor(opts) {\\n super(opts);\\n this.supportsBinary = !opts.forceBase64;\\n }\\n get name() {\\n return \\\"websocket\\\";\\n }\\n doOpen() {\\n if (!this.check()) {\\n // let probe timeout\\n return;\\n }\\n const uri = this.uri();\\n const protocols = this.opts.protocols;\\n // React Native only supports the 'headers' option, and will print a warning if anything else is passed\\n const opts = isReactNative\\n ? {}\\n : (0,_util_js__WEBPACK_IMPORTED_MODULE_3__.pick)(this.opts, \\\"agent\\\", \\\"perMessageDeflate\\\", \\\"pfx\\\", \\\"key\\\", \\\"passphrase\\\", \\\"cert\\\", \\\"ca\\\", \\\"ciphers\\\", \\\"rejectUnauthorized\\\", \\\"localAddress\\\", \\\"protocolVersion\\\", \\\"origin\\\", \\\"maxPayload\\\", \\\"family\\\", \\\"checkServerIdentity\\\");\\n if (this.opts.extraHeaders) {\\n opts.headers = this.opts.extraHeaders;\\n }\\n try {\\n this.ws =\\n _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.usingBrowserWebSocket && !isReactNative\\n ? protocols\\n ? new _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket(uri, protocols)\\n : new _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket(uri)\\n : new _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket(uri, protocols, opts);\\n }\\n catch (err) {\\n return this.emitReserved(\\\"error\\\", err);\\n }\\n this.ws.binaryType = this.socket.binaryType || _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.defaultBinaryType;\\n this.addEventListeners();\\n }\\n /**\\n * Adds event listeners to the socket\\n *\\n * @private\\n */\\n addEventListeners() {\\n this.ws.onopen = () => {\\n if (this.opts.autoUnref) {\\n this.ws._socket.unref();\\n }\\n this.onOpen();\\n };\\n this.ws.onclose = (closeEvent) => this.onClose({\\n description: \\\"websocket connection closed\\\",\\n context: closeEvent,\\n });\\n this.ws.onmessage = (ev) => this.onData(ev.data);\\n this.ws.onerror = (e) => this.onError(\\\"websocket error\\\", e);\\n }\\n write(packets) {\\n this.writable = false;\\n // encodePacket efficient as it uses WS framing\\n // no need for encodePayload\\n for (let i = 0; i < packets.length; i++) {\\n const packet = packets[i];\\n const lastPacket = i === packets.length - 1;\\n (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_5__.encodePacket)(packet, this.supportsBinary, (data) => {\\n // always create a new object (GH-437)\\n const opts = {};\\n if (!_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.usingBrowserWebSocket) {\\n if (packet.options) {\\n opts.compress = packet.options.compress;\\n }\\n if (this.opts.perMessageDeflate) {\\n const len = \\n // @ts-ignore\\n \\\"string\\\" === typeof data ? Buffer.byteLength(data) : data.length;\\n if (len < this.opts.perMessageDeflate.threshold) {\\n opts.compress = false;\\n }\\n }\\n }\\n // Sometimes the websocket has already been closed but the browser didn't\\n // have a chance of informing us about it yet, in that case send will\\n // throw an error\\n try {\\n if (_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.usingBrowserWebSocket) {\\n // TypeError is thrown when passing the second argument on Safari\\n this.ws.send(data);\\n }\\n else {\\n this.ws.send(data, opts);\\n }\\n }\\n catch (e) {\\n }\\n if (lastPacket) {\\n // fake drain\\n // defer to next tick to allow Socket to clear writeBuffer\\n (0,_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.nextTick)(() => {\\n this.writable = true;\\n this.emitReserved(\\\"drain\\\");\\n }, this.setTimeoutFn);\\n }\\n });\\n }\\n }\\n doClose() {\\n if (typeof this.ws !== \\\"undefined\\\") {\\n this.ws.close();\\n this.ws = null;\\n }\\n }\\n /**\\n * Generates uri for connection.\\n *\\n * @private\\n */\\n uri() {\\n let query = this.query || {};\\n const schema = this.opts.secure ? \\\"wss\\\" : \\\"ws\\\";\\n let port = \\\"\\\";\\n // avoid port if default for schema\\n if (this.opts.port &&\\n ((\\\"wss\\\" === schema && Number(this.opts.port) !== 443) ||\\n (\\\"ws\\\" === schema && Number(this.opts.port) !== 80))) {\\n port = \\\":\\\" + this.opts.port;\\n }\\n // append timestamp to URI\\n if (this.opts.timestampRequests) {\\n query[this.opts.timestampParam] = (0,_contrib_yeast_js__WEBPACK_IMPORTED_MODULE_2__.yeast)();\\n }\\n // communicate binary support capabilities\\n if (!this.supportsBinary) {\\n query.b64 = 1;\\n }\\n const encodedQuery = (0,_contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_1__.encode)(query);\\n const ipv6 = this.opts.hostname.indexOf(\\\":\\\") !== -1;\\n return (schema +\\n \\\"://\\\" +\\n (ipv6 ? \\\"[\\\" + this.opts.hostname + \\\"]\\\" : this.opts.hostname) +\\n port +\\n this.opts.path +\\n (encodedQuery.length ? \\\"?\\\" + encodedQuery : \\\"\\\"));\\n }\\n /**\\n * Feature detection for WebSocket.\\n *\\n * @return {Boolean} whether this transport is available.\\n * @private\\n */\\n check() {\\n return !!_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/websocket.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ XHR: () => (/* binding */ XHR)\\n/* harmony export */ });\\n/* harmony import */ var _contrib_has_cors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../contrib/has-cors.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/has-cors.js\\\");\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n// browser shim for xmlhttprequest module\\n\\n\\nfunction XHR(opts) {\\n const xdomain = opts.xdomain;\\n // XMLHttpRequest can be disabled on IE\\n try {\\n if (\\\"undefined\\\" !== typeof XMLHttpRequest && (!xdomain || _contrib_has_cors_js__WEBPACK_IMPORTED_MODULE_0__.hasCORS)) {\\n return new XMLHttpRequest();\\n }\\n }\\n catch (e) { }\\n if (!xdomain) {\\n try {\\n return new _globalThis_js__WEBPACK_IMPORTED_MODULE_1__.globalThisShim[[\\\"Active\\\"].concat(\\\"Object\\\").join(\\\"X\\\")](\\\"Microsoft.XMLHTTP\\\");\\n }\\n catch (e) { }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/util.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/util.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ byteLength: () => (/* binding */ byteLength),\\n/* harmony export */ installTimerFunctions: () => (/* binding */ installTimerFunctions),\\n/* harmony export */ pick: () => (/* binding */ pick)\\n/* harmony export */ });\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n\\nfunction pick(obj, ...attr) {\\n return attr.reduce((acc, k) => {\\n if (obj.hasOwnProperty(k)) {\\n acc[k] = obj[k];\\n }\\n return acc;\\n }, {});\\n}\\n// Keep a reference to the real timeout functions so they can be used when overridden\\nconst NATIVE_SET_TIMEOUT = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.setTimeout;\\nconst NATIVE_CLEAR_TIMEOUT = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.clearTimeout;\\nfunction installTimerFunctions(obj, opts) {\\n if (opts.useNativeTimers) {\\n obj.setTimeoutFn = NATIVE_SET_TIMEOUT.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n obj.clearTimeoutFn = NATIVE_CLEAR_TIMEOUT.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n }\\n else {\\n obj.setTimeoutFn = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.setTimeout.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n obj.clearTimeoutFn = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.clearTimeout.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n }\\n}\\n// base64 encoded buffers are about 33% bigger (https://en.wikipedia.org/wiki/Base64)\\nconst BASE64_OVERHEAD = 1.33;\\n// we could also have used `new Blob([obj]).size`, but it isn't supported in IE9\\nfunction byteLength(obj) {\\n if (typeof obj === \\\"string\\\") {\\n return utf8Length(obj);\\n }\\n // arraybuffer or blob\\n return Math.ceil((obj.byteLength || obj.size) * BASE64_OVERHEAD);\\n}\\nfunction utf8Length(str) {\\n let c = 0, length = 0;\\n for (let i = 0, l = str.length; i < l; i++) {\\n c = str.charCodeAt(i);\\n if (c < 0x80) {\\n length += 1;\\n }\\n else if (c < 0x800) {\\n length += 2;\\n }\\n else if (c < 0xd800 || c >= 0xe000) {\\n length += 3;\\n }\\n else {\\n i++;\\n length += 4;\\n }\\n }\\n return length;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/util.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/commons.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/commons.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ERROR_PACKET: () => (/* binding */ ERROR_PACKET),\\n/* harmony export */ PACKET_TYPES: () => (/* binding */ PACKET_TYPES),\\n/* harmony export */ PACKET_TYPES_REVERSE: () => (/* binding */ PACKET_TYPES_REVERSE)\\n/* harmony export */ });\\nconst PACKET_TYPES = Object.create(null); // no Map = no polyfill\\nPACKET_TYPES[\\\"open\\\"] = \\\"0\\\";\\nPACKET_TYPES[\\\"close\\\"] = \\\"1\\\";\\nPACKET_TYPES[\\\"ping\\\"] = \\\"2\\\";\\nPACKET_TYPES[\\\"pong\\\"] = \\\"3\\\";\\nPACKET_TYPES[\\\"message\\\"] = \\\"4\\\";\\nPACKET_TYPES[\\\"upgrade\\\"] = \\\"5\\\";\\nPACKET_TYPES[\\\"noop\\\"] = \\\"6\\\";\\nconst PACKET_TYPES_REVERSE = Object.create(null);\\nObject.keys(PACKET_TYPES).forEach(key => {\\n PACKET_TYPES_REVERSE[PACKET_TYPES[key]] = key;\\n});\\nconst ERROR_PACKET = { type: \\\"error\\\", data: \\\"parser error\\\" };\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/commons.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decode: () => (/* binding */ decode),\\n/* harmony export */ encode: () => (/* binding */ encode)\\n/* harmony export */ });\\n// imported from https://github.com/socketio/base64-arraybuffer\\nconst chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\\n// Use a lookup table to find the index.\\nconst lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\\nfor (let i = 0; i < chars.length; i++) {\\n lookup[chars.charCodeAt(i)] = i;\\n}\\nconst encode = (arraybuffer) => {\\n let bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';\\n for (i = 0; i < len; i += 3) {\\n base64 += chars[bytes[i] >> 2];\\n base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];\\n base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];\\n base64 += chars[bytes[i + 2] & 63];\\n }\\n if (len % 3 === 2) {\\n base64 = base64.substring(0, base64.length - 1) + '=';\\n }\\n else if (len % 3 === 1) {\\n base64 = base64.substring(0, base64.length - 2) + '==';\\n }\\n return base64;\\n};\\nconst decode = (base64) => {\\n let bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;\\n if (base64[base64.length - 1] === '=') {\\n bufferLength--;\\n if (base64[base64.length - 2] === '=') {\\n bufferLength--;\\n }\\n }\\n const arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);\\n for (i = 0; i < len; i += 4) {\\n encoded1 = lookup[base64.charCodeAt(i)];\\n encoded2 = lookup[base64.charCodeAt(i + 1)];\\n encoded3 = lookup[base64.charCodeAt(i + 2)];\\n encoded4 = lookup[base64.charCodeAt(i + 3)];\\n bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);\\n bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);\\n bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);\\n }\\n return arraybuffer;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/decodePacket.browser.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/decodePacket.browser.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _commons_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./commons.js */ \\\"./node_modules/engine.io-parser/build/esm/commons.js\\\");\\n/* harmony import */ var _contrib_base64_arraybuffer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./contrib/base64-arraybuffer.js */ \\\"./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js\\\");\\n\\n\\nconst withNativeArrayBuffer = typeof ArrayBuffer === \\\"function\\\";\\nconst decodePacket = (encodedPacket, binaryType) => {\\n if (typeof encodedPacket !== \\\"string\\\") {\\n return {\\n type: \\\"message\\\",\\n data: mapBinary(encodedPacket, binaryType)\\n };\\n }\\n const type = encodedPacket.charAt(0);\\n if (type === \\\"b\\\") {\\n return {\\n type: \\\"message\\\",\\n data: decodeBase64Packet(encodedPacket.substring(1), binaryType)\\n };\\n }\\n const packetType = _commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES_REVERSE[type];\\n if (!packetType) {\\n return _commons_js__WEBPACK_IMPORTED_MODULE_0__.ERROR_PACKET;\\n }\\n return encodedPacket.length > 1\\n ? {\\n type: _commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES_REVERSE[type],\\n data: encodedPacket.substring(1)\\n }\\n : {\\n type: _commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES_REVERSE[type]\\n };\\n};\\nconst decodeBase64Packet = (data, binaryType) => {\\n if (withNativeArrayBuffer) {\\n const decoded = (0,_contrib_base64_arraybuffer_js__WEBPACK_IMPORTED_MODULE_1__.decode)(data);\\n return mapBinary(decoded, binaryType);\\n }\\n else {\\n return { base64: true, data }; // fallback for old browsers\\n }\\n};\\nconst mapBinary = (data, binaryType) => {\\n switch (binaryType) {\\n case \\\"blob\\\":\\n return data instanceof ArrayBuffer ? new Blob([data]) : data;\\n case \\\"arraybuffer\\\":\\n default:\\n return data; // assuming the data is already an ArrayBuffer\\n }\\n};\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (decodePacket);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/decodePacket.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/encodePacket.browser.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/encodePacket.browser.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _commons_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./commons.js */ \\\"./node_modules/engine.io-parser/build/esm/commons.js\\\");\\n\\nconst withNativeBlob = typeof Blob === \\\"function\\\" ||\\n (typeof Blob !== \\\"undefined\\\" &&\\n Object.prototype.toString.call(Blob) === \\\"[object BlobConstructor]\\\");\\nconst withNativeArrayBuffer = typeof ArrayBuffer === \\\"function\\\";\\n// ArrayBuffer.isView method is not defined in IE10\\nconst isView = obj => {\\n return typeof ArrayBuffer.isView === \\\"function\\\"\\n ? ArrayBuffer.isView(obj)\\n : obj && obj.buffer instanceof ArrayBuffer;\\n};\\nconst encodePacket = ({ type, data }, supportsBinary, callback) => {\\n if (withNativeBlob && data instanceof Blob) {\\n if (supportsBinary) {\\n return callback(data);\\n }\\n else {\\n return encodeBlobAsBase64(data, callback);\\n }\\n }\\n else if (withNativeArrayBuffer &&\\n (data instanceof ArrayBuffer || isView(data))) {\\n if (supportsBinary) {\\n return callback(data);\\n }\\n else {\\n return encodeBlobAsBase64(new Blob([data]), callback);\\n }\\n }\\n // plain string\\n return callback(_commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES[type] + (data || \\\"\\\"));\\n};\\nconst encodeBlobAsBase64 = (data, callback) => {\\n const fileReader = new FileReader();\\n fileReader.onload = function () {\\n const content = fileReader.result.split(\\\",\\\")[1];\\n callback(\\\"b\\\" + (content || \\\"\\\"));\\n };\\n return fileReader.readAsDataURL(data);\\n};\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (encodePacket);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/encodePacket.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decodePacket: () => (/* reexport safe */ _decodePacket_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"]),\\n/* harmony export */ decodePayload: () => (/* binding */ decodePayload),\\n/* harmony export */ encodePacket: () => (/* reexport safe */ _encodePacket_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"]),\\n/* harmony export */ encodePayload: () => (/* binding */ encodePayload),\\n/* harmony export */ protocol: () => (/* binding */ protocol)\\n/* harmony export */ });\\n/* harmony import */ var _encodePacket_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./encodePacket.js */ \\\"./node_modules/engine.io-parser/build/esm/encodePacket.browser.js\\\");\\n/* harmony import */ var _decodePacket_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./decodePacket.js */ \\\"./node_modules/engine.io-parser/build/esm/decodePacket.browser.js\\\");\\n\\n\\nconst SEPARATOR = String.fromCharCode(30); // see https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text\\nconst encodePayload = (packets, callback) => {\\n // some packets may be added to the array while encoding, so the initial length must be saved\\n const length = packets.length;\\n const encodedPackets = new Array(length);\\n let count = 0;\\n packets.forEach((packet, i) => {\\n // force base64 encoding for binary packets\\n (0,_encodePacket_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"])(packet, false, encodedPacket => {\\n encodedPackets[i] = encodedPacket;\\n if (++count === length) {\\n callback(encodedPackets.join(SEPARATOR));\\n }\\n });\\n });\\n};\\nconst decodePayload = (encodedPayload, binaryType) => {\\n const encodedPackets = encodedPayload.split(SEPARATOR);\\n const packets = [];\\n for (let i = 0; i < encodedPackets.length; i++) {\\n const decodedPacket = (0,_decodePacket_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"])(encodedPackets[i], binaryType);\\n packets.push(decodedPacket);\\n if (decodedPacket.type === \\\"error\\\") {\\n break;\\n }\\n }\\n return packets;\\n};\\nconst protocol = 4;\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/contrib/backo2.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/contrib/backo2.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Backoff: () => (/* binding */ Backoff)\\n/* harmony export */ });\\n/**\\n * Initialize backoff timer with `opts`.\\n *\\n * - `min` initial timeout in milliseconds [100]\\n * - `max` max timeout [10000]\\n * - `jitter` [0]\\n * - `factor` [2]\\n *\\n * @param {Object} opts\\n * @api public\\n */\\nfunction Backoff(opts) {\\n opts = opts || {};\\n this.ms = opts.min || 100;\\n this.max = opts.max || 10000;\\n this.factor = opts.factor || 2;\\n this.jitter = opts.jitter > 0 && opts.jitter <= 1 ? opts.jitter : 0;\\n this.attempts = 0;\\n}\\n/**\\n * Return the backoff duration.\\n *\\n * @return {Number}\\n * @api public\\n */\\nBackoff.prototype.duration = function () {\\n var ms = this.ms * Math.pow(this.factor, this.attempts++);\\n if (this.jitter) {\\n var rand = Math.random();\\n var deviation = Math.floor(rand * this.jitter * ms);\\n ms = (Math.floor(rand * 10) & 1) == 0 ? ms - deviation : ms + deviation;\\n }\\n return Math.min(ms, this.max) | 0;\\n};\\n/**\\n * Reset the number of attempts.\\n *\\n * @api public\\n */\\nBackoff.prototype.reset = function () {\\n this.attempts = 0;\\n};\\n/**\\n * Set the minimum duration\\n *\\n * @api public\\n */\\nBackoff.prototype.setMin = function (min) {\\n this.ms = min;\\n};\\n/**\\n * Set the maximum duration\\n *\\n * @api public\\n */\\nBackoff.prototype.setMax = function (max) {\\n this.max = max;\\n};\\n/**\\n * Set the jitter\\n *\\n * @api public\\n */\\nBackoff.prototype.setJitter = function (jitter) {\\n this.jitter = jitter;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/contrib/backo2.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Manager: () => (/* reexport safe */ _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager),\\n/* harmony export */ Socket: () => (/* reexport safe */ _socket_js__WEBPACK_IMPORTED_MODULE_2__.Socket),\\n/* harmony export */ connect: () => (/* binding */ lookup),\\n/* harmony export */ \\\"default\\\": () => (/* binding */ lookup),\\n/* harmony export */ io: () => (/* binding */ lookup),\\n/* harmony export */ protocol: () => (/* reexport safe */ socket_io_parser__WEBPACK_IMPORTED_MODULE_3__.protocol)\\n/* harmony export */ });\\n/* harmony import */ var _url_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./url.js */ \\\"./node_modules/socket.io-client/build/esm/url.js\\\");\\n/* harmony import */ var _manager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./manager.js */ \\\"./node_modules/socket.io-client/build/esm/manager.js\\\");\\n/* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./socket.js */ \\\"./node_modules/socket.io-client/build/esm/socket.js\\\");\\n/* harmony import */ var socket_io_parser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! socket.io-parser */ \\\"./node_modules/socket.io-parser/build/esm/index.js\\\");\\n\\n\\n\\n/**\\n * Managers cache.\\n */\\nconst cache = {};\\nfunction lookup(uri, opts) {\\n if (typeof uri === \\\"object\\\") {\\n opts = uri;\\n uri = undefined;\\n }\\n opts = opts || {};\\n const parsed = (0,_url_js__WEBPACK_IMPORTED_MODULE_0__.url)(uri, opts.path || \\\"/socket.io\\\");\\n const source = parsed.source;\\n const id = parsed.id;\\n const path = parsed.path;\\n const sameNamespace = cache[id] && path in cache[id][\\\"nsps\\\"];\\n const newConnection = opts.forceNew ||\\n opts[\\\"force new connection\\\"] ||\\n false === opts.multiplex ||\\n sameNamespace;\\n let io;\\n if (newConnection) {\\n io = new _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager(source, opts);\\n }\\n else {\\n if (!cache[id]) {\\n cache[id] = new _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager(source, opts);\\n }\\n io = cache[id];\\n }\\n if (parsed.query && !opts.query) {\\n opts.query = parsed.queryKey;\\n }\\n return io.socket(parsed.path, opts);\\n}\\n// so that \\\"lookup\\\" can be used both as a function (e.g. `io(...)`) and as a\\n// namespace (e.g. `io.connect(...)`), for backward compatibility\\nObject.assign(lookup, {\\n Manager: _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager,\\n Socket: _socket_js__WEBPACK_IMPORTED_MODULE_2__.Socket,\\n io: lookup,\\n connect: lookup,\\n});\\n/**\\n * Protocol version.\\n *\\n * @public\\n */\\n\\n/**\\n * Expose constructors for standalone build.\\n *\\n * @public\\n */\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/manager.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/manager.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Manager: () => (/* binding */ Manager)\\n/* harmony export */ });\\n/* harmony import */ var engine_io_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! engine.io-client */ \\\"./node_modules/engine.io-client/build/esm/index.js\\\");\\n/* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./socket.js */ \\\"./node_modules/socket.io-client/build/esm/socket.js\\\");\\n/* harmony import */ var socket_io_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! socket.io-parser */ \\\"./node_modules/socket.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _on_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./on.js */ \\\"./node_modules/socket.io-client/build/esm/on.js\\\");\\n/* harmony import */ var _contrib_backo2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./contrib/backo2.js */ \\\"./node_modules/socket.io-client/build/esm/contrib/backo2.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n\\n\\n\\n\\n\\n\\nclass Manager extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__.Emitter {\\n constructor(uri, opts) {\\n var _a;\\n super();\\n this.nsps = {};\\n this.subs = [];\\n if (uri && \\\"object\\\" === typeof uri) {\\n opts = uri;\\n uri = undefined;\\n }\\n opts = opts || {};\\n opts.path = opts.path || \\\"/socket.io\\\";\\n this.opts = opts;\\n (0,engine_io_client__WEBPACK_IMPORTED_MODULE_0__.installTimerFunctions)(this, opts);\\n this.reconnection(opts.reconnection !== false);\\n this.reconnectionAttempts(opts.reconnectionAttempts || Infinity);\\n this.reconnectionDelay(opts.reconnectionDelay || 1000);\\n this.reconnectionDelayMax(opts.reconnectionDelayMax || 5000);\\n this.randomizationFactor((_a = opts.randomizationFactor) !== null && _a !== void 0 ? _a : 0.5);\\n this.backoff = new _contrib_backo2_js__WEBPACK_IMPORTED_MODULE_4__.Backoff({\\n min: this.reconnectionDelay(),\\n max: this.reconnectionDelayMax(),\\n jitter: this.randomizationFactor(),\\n });\\n this.timeout(null == opts.timeout ? 20000 : opts.timeout);\\n this._readyState = \\\"closed\\\";\\n this.uri = uri;\\n const _parser = opts.parser || socket_io_parser__WEBPACK_IMPORTED_MODULE_2__;\\n this.encoder = new _parser.Encoder();\\n this.decoder = new _parser.Decoder();\\n this._autoConnect = opts.autoConnect !== false;\\n if (this._autoConnect)\\n this.open();\\n }\\n reconnection(v) {\\n if (!arguments.length)\\n return this._reconnection;\\n this._reconnection = !!v;\\n return this;\\n }\\n reconnectionAttempts(v) {\\n if (v === undefined)\\n return this._reconnectionAttempts;\\n this._reconnectionAttempts = v;\\n return this;\\n }\\n reconnectionDelay(v) {\\n var _a;\\n if (v === undefined)\\n return this._reconnectionDelay;\\n this._reconnectionDelay = v;\\n (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setMin(v);\\n return this;\\n }\\n randomizationFactor(v) {\\n var _a;\\n if (v === undefined)\\n return this._randomizationFactor;\\n this._randomizationFactor = v;\\n (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setJitter(v);\\n return this;\\n }\\n reconnectionDelayMax(v) {\\n var _a;\\n if (v === undefined)\\n return this._reconnectionDelayMax;\\n this._reconnectionDelayMax = v;\\n (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setMax(v);\\n return this;\\n }\\n timeout(v) {\\n if (!arguments.length)\\n return this._timeout;\\n this._timeout = v;\\n return this;\\n }\\n /**\\n * Starts trying to reconnect if reconnection is enabled and we have not\\n * started reconnecting yet\\n *\\n * @private\\n */\\n maybeReconnectOnOpen() {\\n // Only try to reconnect if it's the first time we're connecting\\n if (!this._reconnecting &&\\n this._reconnection &&\\n this.backoff.attempts === 0) {\\n // keeps reconnection from firing twice for the same reconnection loop\\n this.reconnect();\\n }\\n }\\n /**\\n * Sets the current transport `socket`.\\n *\\n * @param {Function} fn - optional, callback\\n * @return self\\n * @public\\n */\\n open(fn) {\\n if (~this._readyState.indexOf(\\\"open\\\"))\\n return this;\\n this.engine = new engine_io_client__WEBPACK_IMPORTED_MODULE_0__.Socket(this.uri, this.opts);\\n const socket = this.engine;\\n const self = this;\\n this._readyState = \\\"opening\\\";\\n this.skipReconnect = false;\\n // emit `open`\\n const openSubDestroy = (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"open\\\", function () {\\n self.onopen();\\n fn && fn();\\n });\\n // emit `error`\\n const errorSub = (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"error\\\", (err) => {\\n self.cleanup();\\n self._readyState = \\\"closed\\\";\\n this.emitReserved(\\\"error\\\", err);\\n if (fn) {\\n fn(err);\\n }\\n else {\\n // Only do this if there is no fn to handle the error\\n self.maybeReconnectOnOpen();\\n }\\n });\\n if (false !== this._timeout) {\\n const timeout = this._timeout;\\n if (timeout === 0) {\\n openSubDestroy(); // prevents a race condition with the 'open' event\\n }\\n // set timer\\n const timer = this.setTimeoutFn(() => {\\n openSubDestroy();\\n socket.close();\\n // @ts-ignore\\n socket.emit(\\\"error\\\", new Error(\\\"timeout\\\"));\\n }, timeout);\\n if (this.opts.autoUnref) {\\n timer.unref();\\n }\\n this.subs.push(function subDestroy() {\\n clearTimeout(timer);\\n });\\n }\\n this.subs.push(openSubDestroy);\\n this.subs.push(errorSub);\\n return this;\\n }\\n /**\\n * Alias for open()\\n *\\n * @return self\\n * @public\\n */\\n connect(fn) {\\n return this.open(fn);\\n }\\n /**\\n * Called upon transport open.\\n *\\n * @private\\n */\\n onopen() {\\n // clear old subs\\n this.cleanup();\\n // mark as open\\n this._readyState = \\\"open\\\";\\n this.emitReserved(\\\"open\\\");\\n // add new subs\\n const socket = this.engine;\\n this.subs.push((0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"ping\\\", this.onping.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"data\\\", this.ondata.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"error\\\", this.onerror.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"close\\\", this.onclose.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(this.decoder, \\\"decoded\\\", this.ondecoded.bind(this)));\\n }\\n /**\\n * Called upon a ping.\\n *\\n * @private\\n */\\n onping() {\\n this.emitReserved(\\\"ping\\\");\\n }\\n /**\\n * Called with data.\\n *\\n * @private\\n */\\n ondata(data) {\\n try {\\n this.decoder.add(data);\\n }\\n catch (e) {\\n this.onclose(\\\"parse error\\\", e);\\n }\\n }\\n /**\\n * Called when parser fully decodes a packet.\\n *\\n * @private\\n */\\n ondecoded(packet) {\\n // the nextTick call prevents an exception in a user-provided event listener from triggering a disconnection due to a \\\"parse error\\\"\\n (0,engine_io_client__WEBPACK_IMPORTED_MODULE_0__.nextTick)(() => {\\n this.emitReserved(\\\"packet\\\", packet);\\n }, this.setTimeoutFn);\\n }\\n /**\\n * Called upon socket error.\\n *\\n * @private\\n */\\n onerror(err) {\\n this.emitReserved(\\\"error\\\", err);\\n }\\n /**\\n * Creates a new socket for the given `nsp`.\\n *\\n * @return {Socket}\\n * @public\\n */\\n socket(nsp, opts) {\\n let socket = this.nsps[nsp];\\n if (!socket) {\\n socket = new _socket_js__WEBPACK_IMPORTED_MODULE_1__.Socket(this, nsp, opts);\\n this.nsps[nsp] = socket;\\n }\\n else if (this._autoConnect && !socket.active) {\\n socket.connect();\\n }\\n return socket;\\n }\\n /**\\n * Called upon a socket close.\\n *\\n * @param socket\\n * @private\\n */\\n _destroy(socket) {\\n const nsps = Object.keys(this.nsps);\\n for (const nsp of nsps) {\\n const socket = this.nsps[nsp];\\n if (socket.active) {\\n return;\\n }\\n }\\n this._close();\\n }\\n /**\\n * Writes a packet.\\n *\\n * @param packet\\n * @private\\n */\\n _packet(packet) {\\n const encodedPackets = this.encoder.encode(packet);\\n for (let i = 0; i < encodedPackets.length; i++) {\\n this.engine.write(encodedPackets[i], packet.options);\\n }\\n }\\n /**\\n * Clean up transport subscriptions and packet buffer.\\n *\\n * @private\\n */\\n cleanup() {\\n this.subs.forEach((subDestroy) => subDestroy());\\n this.subs.length = 0;\\n this.decoder.destroy();\\n }\\n /**\\n * Close the current socket.\\n *\\n * @private\\n */\\n _close() {\\n this.skipReconnect = true;\\n this._reconnecting = false;\\n this.onclose(\\\"forced close\\\");\\n if (this.engine)\\n this.engine.close();\\n }\\n /**\\n * Alias for close()\\n *\\n * @private\\n */\\n disconnect() {\\n return this._close();\\n }\\n /**\\n * Called upon engine close.\\n *\\n * @private\\n */\\n onclose(reason, description) {\\n this.cleanup();\\n this.backoff.reset();\\n this._readyState = \\\"closed\\\";\\n this.emitReserved(\\\"close\\\", reason, description);\\n if (this._reconnection && !this.skipReconnect) {\\n this.reconnect();\\n }\\n }\\n /**\\n * Attempt a reconnection.\\n *\\n * @private\\n */\\n reconnect() {\\n if (this._reconnecting || this.skipReconnect)\\n return this;\\n const self = this;\\n if (this.backoff.attempts >= this._reconnectionAttempts) {\\n this.backoff.reset();\\n this.emitReserved(\\\"reconnect_failed\\\");\\n this._reconnecting = false;\\n }\\n else {\\n const delay = this.backoff.duration();\\n this._reconnecting = true;\\n const timer = this.setTimeoutFn(() => {\\n if (self.skipReconnect)\\n return;\\n this.emitReserved(\\\"reconnect_attempt\\\", self.backoff.attempts);\\n // check again for the case socket closed in above events\\n if (self.skipReconnect)\\n return;\\n self.open((err) => {\\n if (err) {\\n self._reconnecting = false;\\n self.reconnect();\\n this.emitReserved(\\\"reconnect_error\\\", err);\\n }\\n else {\\n self.onreconnect();\\n }\\n });\\n }, delay);\\n if (this.opts.autoUnref) {\\n timer.unref();\\n }\\n this.subs.push(function subDestroy() {\\n clearTimeout(timer);\\n });\\n }\\n }\\n /**\\n * Called upon successful reconnect.\\n *\\n * @private\\n */\\n onreconnect() {\\n const attempt = this.backoff.attempts;\\n this._reconnecting = false;\\n this.backoff.reset();\\n this.emitReserved(\\\"reconnect\\\", attempt);\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/manager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/on.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/on.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ on: () => (/* binding */ on)\\n/* harmony export */ });\\nfunction on(obj, ev, fn) {\\n obj.on(ev, fn);\\n return function subDestroy() {\\n obj.off(ev, fn);\\n };\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/on.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/socket.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/socket.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Socket: () => (/* binding */ Socket)\\n/* harmony export */ });\\n/* harmony import */ var socket_io_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! socket.io-parser */ \\\"./node_modules/socket.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _on_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./on.js */ \\\"./node_modules/socket.io-client/build/esm/on.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n\\n\\n\\n/**\\n * Internal events.\\n * These events can't be emitted by the user.\\n */\\nconst RESERVED_EVENTS = Object.freeze({\\n connect: 1,\\n connect_error: 1,\\n disconnect: 1,\\n disconnecting: 1,\\n // EventEmitter reserved events: https://nodejs.org/api/events.html#events_event_newlistener\\n newListener: 1,\\n removeListener: 1,\\n});\\n/**\\n * A Socket is the fundamental class for interacting with the server.\\n *\\n * A Socket belongs to a certain Namespace (by default /) and uses an underlying {@link Manager} to communicate.\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"connect\\\", () => {\\n * console.log(\\\"connected\\\");\\n * });\\n *\\n * // send an event to the server\\n * socket.emit(\\\"foo\\\", \\\"bar\\\");\\n *\\n * socket.on(\\\"foobar\\\", () => {\\n * // an event was received from the server\\n * });\\n *\\n * // upon disconnection\\n * socket.on(\\\"disconnect\\\", (reason) => {\\n * console.log(`disconnected due to ${reason}`);\\n * });\\n */\\nclass Socket extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_2__.Emitter {\\n /**\\n * `Socket` constructor.\\n */\\n constructor(io, nsp, opts) {\\n super();\\n /**\\n * Whether the socket is currently connected to the server.\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"connect\\\", () => {\\n * console.log(socket.connected); // true\\n * });\\n *\\n * socket.on(\\\"disconnect\\\", () => {\\n * console.log(socket.connected); // false\\n * });\\n */\\n this.connected = false;\\n /**\\n * Whether the connection state was recovered after a temporary disconnection. In that case, any missed packets will\\n * be transmitted by the server.\\n */\\n this.recovered = false;\\n /**\\n * Buffer for packets received before the CONNECT packet\\n */\\n this.receiveBuffer = [];\\n /**\\n * Buffer for packets that will be sent once the socket is connected\\n */\\n this.sendBuffer = [];\\n /**\\n * The queue of packets to be sent with retry in case of failure.\\n *\\n * Packets are sent one by one, each waiting for the server acknowledgement, in order to guarantee the delivery order.\\n * @private\\n */\\n this._queue = [];\\n /**\\n * A sequence to generate the ID of the {@link QueuedPacket}.\\n * @private\\n */\\n this._queueSeq = 0;\\n this.ids = 0;\\n this.acks = {};\\n this.flags = {};\\n this.io = io;\\n this.nsp = nsp;\\n if (opts && opts.auth) {\\n this.auth = opts.auth;\\n }\\n this._opts = Object.assign({}, opts);\\n if (this.io._autoConnect)\\n this.open();\\n }\\n /**\\n * Whether the socket is currently disconnected\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"connect\\\", () => {\\n * console.log(socket.disconnected); // false\\n * });\\n *\\n * socket.on(\\\"disconnect\\\", () => {\\n * console.log(socket.disconnected); // true\\n * });\\n */\\n get disconnected() {\\n return !this.connected;\\n }\\n /**\\n * Subscribe to open, close and packet events\\n *\\n * @private\\n */\\n subEvents() {\\n if (this.subs)\\n return;\\n const io = this.io;\\n this.subs = [\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"open\\\", this.onopen.bind(this)),\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"packet\\\", this.onpacket.bind(this)),\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"error\\\", this.onerror.bind(this)),\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"close\\\", this.onclose.bind(this)),\\n ];\\n }\\n /**\\n * Whether the Socket will try to reconnect when its Manager connects or reconnects.\\n *\\n * @example\\n * const socket = io();\\n *\\n * console.log(socket.active); // true\\n *\\n * socket.on(\\\"disconnect\\\", (reason) => {\\n * if (reason === \\\"io server disconnect\\\") {\\n * // the disconnection was initiated by the server, you need to manually reconnect\\n * console.log(socket.active); // false\\n * }\\n * // else the socket will automatically try to reconnect\\n * console.log(socket.active); // true\\n * });\\n */\\n get active() {\\n return !!this.subs;\\n }\\n /**\\n * \\\"Opens\\\" the socket.\\n *\\n * @example\\n * const socket = io({\\n * autoConnect: false\\n * });\\n *\\n * socket.connect();\\n */\\n connect() {\\n if (this.connected)\\n return this;\\n this.subEvents();\\n if (!this.io[\\\"_reconnecting\\\"])\\n this.io.open(); // ensure open\\n if (\\\"open\\\" === this.io._readyState)\\n this.onopen();\\n return this;\\n }\\n /**\\n * Alias for {@link connect()}.\\n */\\n open() {\\n return this.connect();\\n }\\n /**\\n * Sends a `message` event.\\n *\\n * This method mimics the WebSocket.send() method.\\n *\\n * @see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send\\n *\\n * @example\\n * socket.send(\\\"hello\\\");\\n *\\n * // this is equivalent to\\n * socket.emit(\\\"message\\\", \\\"hello\\\");\\n *\\n * @return self\\n */\\n send(...args) {\\n args.unshift(\\\"message\\\");\\n this.emit.apply(this, args);\\n return this;\\n }\\n /**\\n * Override `emit`.\\n * If the event is in `events`, it's emitted normally.\\n *\\n * @example\\n * socket.emit(\\\"hello\\\", \\\"world\\\");\\n *\\n * // all serializable datastructures are supported (no need to call JSON.stringify)\\n * socket.emit(\\\"hello\\\", 1, \\\"2\\\", { 3: [\\\"4\\\"], 5: Uint8Array.from([6]) });\\n *\\n * // with an acknowledgement from the server\\n * socket.emit(\\\"hello\\\", \\\"world\\\", (val) => {\\n * // ...\\n * });\\n *\\n * @return self\\n */\\n emit(ev, ...args) {\\n if (RESERVED_EVENTS.hasOwnProperty(ev)) {\\n throw new Error('\\\"' + ev.toString() + '\\\" is a reserved event name');\\n }\\n args.unshift(ev);\\n if (this._opts.retries && !this.flags.fromQueue && !this.flags.volatile) {\\n this._addToQueue(args);\\n return this;\\n }\\n const packet = {\\n type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.EVENT,\\n data: args,\\n };\\n packet.options = {};\\n packet.options.compress = this.flags.compress !== false;\\n // event ack callback\\n if (\\\"function\\\" === typeof args[args.length - 1]) {\\n const id = this.ids++;\\n const ack = args.pop();\\n this._registerAckCallback(id, ack);\\n packet.id = id;\\n }\\n const isTransportWritable = this.io.engine &&\\n this.io.engine.transport &&\\n this.io.engine.transport.writable;\\n const discardPacket = this.flags.volatile && (!isTransportWritable || !this.connected);\\n if (discardPacket) {\\n }\\n else if (this.connected) {\\n this.notifyOutgoingListeners(packet);\\n this.packet(packet);\\n }\\n else {\\n this.sendBuffer.push(packet);\\n }\\n this.flags = {};\\n return this;\\n }\\n /**\\n * @private\\n */\\n _registerAckCallback(id, ack) {\\n var _a;\\n const timeout = (_a = this.flags.timeout) !== null && _a !== void 0 ? _a : this._opts.ackTimeout;\\n if (timeout === undefined) {\\n this.acks[id] = ack;\\n return;\\n }\\n // @ts-ignore\\n const timer = this.io.setTimeoutFn(() => {\\n delete this.acks[id];\\n for (let i = 0; i < this.sendBuffer.length; i++) {\\n if (this.sendBuffer[i].id === id) {\\n this.sendBuffer.splice(i, 1);\\n }\\n }\\n ack.call(this, new Error(\\\"operation has timed out\\\"));\\n }, timeout);\\n this.acks[id] = (...args) => {\\n // @ts-ignore\\n this.io.clearTimeoutFn(timer);\\n ack.apply(this, [null, ...args]);\\n };\\n }\\n /**\\n * Emits an event and waits for an acknowledgement\\n *\\n * @example\\n * // without timeout\\n * const response = await socket.emitWithAck(\\\"hello\\\", \\\"world\\\");\\n *\\n * // with a specific timeout\\n * try {\\n * const response = await socket.timeout(1000).emitWithAck(\\\"hello\\\", \\\"world\\\");\\n * } catch (err) {\\n * // the server did not acknowledge the event in the given delay\\n * }\\n *\\n * @return a Promise that will be fulfilled when the server acknowledges the event\\n */\\n emitWithAck(ev, ...args) {\\n // the timeout flag is optional\\n const withErr = this.flags.timeout !== undefined || this._opts.ackTimeout !== undefined;\\n return new Promise((resolve, reject) => {\\n args.push((arg1, arg2) => {\\n if (withErr) {\\n return arg1 ? reject(arg1) : resolve(arg2);\\n }\\n else {\\n return resolve(arg1);\\n }\\n });\\n this.emit(ev, ...args);\\n });\\n }\\n /**\\n * Add the packet to the queue.\\n * @param args\\n * @private\\n */\\n _addToQueue(args) {\\n let ack;\\n if (typeof args[args.length - 1] === \\\"function\\\") {\\n ack = args.pop();\\n }\\n const packet = {\\n id: this._queueSeq++,\\n tryCount: 0,\\n pending: false,\\n args,\\n flags: Object.assign({ fromQueue: true }, this.flags),\\n };\\n args.push((err, ...responseArgs) => {\\n if (packet !== this._queue[0]) {\\n // the packet has already been acknowledged\\n return;\\n }\\n const hasError = err !== null;\\n if (hasError) {\\n if (packet.tryCount > this._opts.retries) {\\n this._queue.shift();\\n if (ack) {\\n ack(err);\\n }\\n }\\n }\\n else {\\n this._queue.shift();\\n if (ack) {\\n ack(null, ...responseArgs);\\n }\\n }\\n packet.pending = false;\\n return this._drainQueue();\\n });\\n this._queue.push(packet);\\n this._drainQueue();\\n }\\n /**\\n * Send the first packet of the queue, and wait for an acknowledgement from the server.\\n * @param force - whether to resend a packet that has not been acknowledged yet\\n *\\n * @private\\n */\\n _drainQueue(force = false) {\\n if (!this.connected || this._queue.length === 0) {\\n return;\\n }\\n const packet = this._queue[0];\\n if (packet.pending && !force) {\\n return;\\n }\\n packet.pending = true;\\n packet.tryCount++;\\n this.flags = packet.flags;\\n this.emit.apply(this, packet.args);\\n }\\n /**\\n * Sends a packet.\\n *\\n * @param packet\\n * @private\\n */\\n packet(packet) {\\n packet.nsp = this.nsp;\\n this.io._packet(packet);\\n }\\n /**\\n * Called upon engine `open`.\\n *\\n * @private\\n */\\n onopen() {\\n if (typeof this.auth == \\\"function\\\") {\\n this.auth((data) => {\\n this._sendConnectPacket(data);\\n });\\n }\\n else {\\n this._sendConnectPacket(this.auth);\\n }\\n }\\n /**\\n * Sends a CONNECT packet to initiate the Socket.IO session.\\n *\\n * @param data\\n * @private\\n */\\n _sendConnectPacket(data) {\\n this.packet({\\n type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.CONNECT,\\n data: this._pid\\n ? Object.assign({ pid: this._pid, offset: this._lastOffset }, data)\\n : data,\\n });\\n }\\n /**\\n * Called upon engine or manager `error`.\\n *\\n * @param err\\n * @private\\n */\\n onerror(err) {\\n if (!this.connected) {\\n this.emitReserved(\\\"connect_error\\\", err);\\n }\\n }\\n /**\\n * Called upon engine `close`.\\n *\\n * @param reason\\n * @param description\\n * @private\\n */\\n onclose(reason, description) {\\n this.connected = false;\\n delete this.id;\\n this.emitReserved(\\\"disconnect\\\", reason, description);\\n }\\n /**\\n * Called with socket packet.\\n *\\n * @param packet\\n * @private\\n */\\n onpacket(packet) {\\n const sameNamespace = packet.nsp === this.nsp;\\n if (!sameNamespace)\\n return;\\n switch (packet.type) {\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.CONNECT:\\n if (packet.data && packet.data.sid) {\\n this.onconnect(packet.data.sid, packet.data.pid);\\n }\\n else {\\n this.emitReserved(\\\"connect_error\\\", new Error(\\\"It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)\\\"));\\n }\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.EVENT:\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.BINARY_EVENT:\\n this.onevent(packet);\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.ACK:\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.BINARY_ACK:\\n this.onack(packet);\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.DISCONNECT:\\n this.ondisconnect();\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.CONNECT_ERROR:\\n this.destroy();\\n const err = new Error(packet.data.message);\\n // @ts-ignore\\n err.data = packet.data.data;\\n this.emitReserved(\\\"connect_error\\\", err);\\n break;\\n }\\n }\\n /**\\n * Called upon a server event.\\n *\\n * @param packet\\n * @private\\n */\\n onevent(packet) {\\n const args = packet.data || [];\\n if (null != packet.id) {\\n args.push(this.ack(packet.id));\\n }\\n if (this.connected) {\\n this.emitEvent(args);\\n }\\n else {\\n this.receiveBuffer.push(Object.freeze(args));\\n }\\n }\\n emitEvent(args) {\\n if (this._anyListeners && this._anyListeners.length) {\\n const listeners = this._anyListeners.slice();\\n for (const listener of listeners) {\\n listener.apply(this, args);\\n }\\n }\\n super.emit.apply(this, args);\\n if (this._pid && args.length && typeof args[args.length - 1] === \\\"string\\\") {\\n this._lastOffset = args[args.length - 1];\\n }\\n }\\n /**\\n * Produces an ack callback to emit with an event.\\n *\\n * @private\\n */\\n ack(id) {\\n const self = this;\\n let sent = false;\\n return function (...args) {\\n // prevent double callbacks\\n if (sent)\\n return;\\n sent = true;\\n self.packet({\\n type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.ACK,\\n id: id,\\n data: args,\\n });\\n };\\n }\\n /**\\n * Called upon a server acknowlegement.\\n *\\n * @param packet\\n * @private\\n */\\n onack(packet) {\\n const ack = this.acks[packet.id];\\n if (\\\"function\\\" === typeof ack) {\\n ack.apply(this, packet.data);\\n delete this.acks[packet.id];\\n }\\n else {\\n }\\n }\\n /**\\n * Called upon server connect.\\n *\\n * @private\\n */\\n onconnect(id, pid) {\\n this.id = id;\\n this.recovered = pid && this._pid === pid;\\n this._pid = pid; // defined only if connection state recovery is enabled\\n this.connected = true;\\n this.emitBuffered();\\n this.emitReserved(\\\"connect\\\");\\n this._drainQueue(true);\\n }\\n /**\\n * Emit buffered events (received and emitted).\\n *\\n * @private\\n */\\n emitBuffered() {\\n this.receiveBuffer.forEach((args) => this.emitEvent(args));\\n this.receiveBuffer = [];\\n this.sendBuffer.forEach((packet) => {\\n this.notifyOutgoingListeners(packet);\\n this.packet(packet);\\n });\\n this.sendBuffer = [];\\n }\\n /**\\n * Called upon server disconnect.\\n *\\n * @private\\n */\\n ondisconnect() {\\n this.destroy();\\n this.onclose(\\\"io server disconnect\\\");\\n }\\n /**\\n * Called upon forced client/server side disconnections,\\n * this method ensures the manager stops tracking us and\\n * that reconnections don't get triggered for this.\\n *\\n * @private\\n */\\n destroy() {\\n if (this.subs) {\\n // clean subscriptions to avoid reconnections\\n this.subs.forEach((subDestroy) => subDestroy());\\n this.subs = undefined;\\n }\\n this.io[\\\"_destroy\\\"](this);\\n }\\n /**\\n * Disconnects the socket manually. In that case, the socket will not try to reconnect.\\n *\\n * If this is the last active Socket instance of the {@link Manager}, the low-level connection will be closed.\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"disconnect\\\", (reason) => {\\n * // console.log(reason); prints \\\"io client disconnect\\\"\\n * });\\n *\\n * socket.disconnect();\\n *\\n * @return self\\n */\\n disconnect() {\\n if (this.connected) {\\n this.packet({ type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.DISCONNECT });\\n }\\n // remove socket from pool\\n this.destroy();\\n if (this.connected) {\\n // fire events\\n this.onclose(\\\"io client disconnect\\\");\\n }\\n return this;\\n }\\n /**\\n * Alias for {@link disconnect()}.\\n *\\n * @return self\\n */\\n close() {\\n return this.disconnect();\\n }\\n /**\\n * Sets the compress flag.\\n *\\n * @example\\n * socket.compress(false).emit(\\\"hello\\\");\\n *\\n * @param compress - if `true`, compresses the sending data\\n * @return self\\n */\\n compress(compress) {\\n this.flags.compress = compress;\\n return this;\\n }\\n /**\\n * Sets a modifier for a subsequent event emission that the event message will be dropped when this socket is not\\n * ready to send messages.\\n *\\n * @example\\n * socket.volatile.emit(\\\"hello\\\"); // the server may or may not receive it\\n *\\n * @returns self\\n */\\n get volatile() {\\n this.flags.volatile = true;\\n return this;\\n }\\n /**\\n * Sets a modifier for a subsequent event emission that the callback will be called with an error when the\\n * given number of milliseconds have elapsed without an acknowledgement from the server:\\n *\\n * @example\\n * socket.timeout(5000).emit(\\\"my-event\\\", (err) => {\\n * if (err) {\\n * // the server did not acknowledge the event in the given delay\\n * }\\n * });\\n *\\n * @returns self\\n */\\n timeout(timeout) {\\n this.flags.timeout = timeout;\\n return this;\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback.\\n *\\n * @example\\n * socket.onAny((event, ...args) => {\\n * console.log(`got ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n onAny(listener) {\\n this._anyListeners = this._anyListeners || [];\\n this._anyListeners.push(listener);\\n return this;\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback. The listener is added to the beginning of the listeners array.\\n *\\n * @example\\n * socket.prependAny((event, ...args) => {\\n * console.log(`got event ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n prependAny(listener) {\\n this._anyListeners = this._anyListeners || [];\\n this._anyListeners.unshift(listener);\\n return this;\\n }\\n /**\\n * Removes the listener that will be fired when any event is emitted.\\n *\\n * @example\\n * const catchAllListener = (event, ...args) => {\\n * console.log(`got event ${event}`);\\n * }\\n *\\n * socket.onAny(catchAllListener);\\n *\\n * // remove a specific listener\\n * socket.offAny(catchAllListener);\\n *\\n * // or remove all listeners\\n * socket.offAny();\\n *\\n * @param listener\\n */\\n offAny(listener) {\\n if (!this._anyListeners) {\\n return this;\\n }\\n if (listener) {\\n const listeners = this._anyListeners;\\n for (let i = 0; i < listeners.length; i++) {\\n if (listener === listeners[i]) {\\n listeners.splice(i, 1);\\n return this;\\n }\\n }\\n }\\n else {\\n this._anyListeners = [];\\n }\\n return this;\\n }\\n /**\\n * Returns an array of listeners that are listening for any event that is specified. This array can be manipulated,\\n * e.g. to remove listeners.\\n */\\n listenersAny() {\\n return this._anyListeners || [];\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback.\\n *\\n * Note: acknowledgements sent to the server are not included.\\n *\\n * @example\\n * socket.onAnyOutgoing((event, ...args) => {\\n * console.log(`sent event ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n onAnyOutgoing(listener) {\\n this._anyOutgoingListeners = this._anyOutgoingListeners || [];\\n this._anyOutgoingListeners.push(listener);\\n return this;\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback. The listener is added to the beginning of the listeners array.\\n *\\n * Note: acknowledgements sent to the server are not included.\\n *\\n * @example\\n * socket.prependAnyOutgoing((event, ...args) => {\\n * console.log(`sent event ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n prependAnyOutgoing(listener) {\\n this._anyOutgoingListeners = this._anyOutgoingListeners || [];\\n this._anyOutgoingListeners.unshift(listener);\\n return this;\\n }\\n /**\\n * Removes the listener that will be fired when any event is emitted.\\n *\\n * @example\\n * const catchAllListener = (event, ...args) => {\\n * console.log(`sent event ${event}`);\\n * }\\n *\\n * socket.onAnyOutgoing(catchAllListener);\\n *\\n * // remove a specific listener\\n * socket.offAnyOutgoing(catchAllListener);\\n *\\n * // or remove all listeners\\n * socket.offAnyOutgoing();\\n *\\n * @param [listener] - the catch-all listener (optional)\\n */\\n offAnyOutgoing(listener) {\\n if (!this._anyOutgoingListeners) {\\n return this;\\n }\\n if (listener) {\\n const listeners = this._anyOutgoingListeners;\\n for (let i = 0; i < listeners.length; i++) {\\n if (listener === listeners[i]) {\\n listeners.splice(i, 1);\\n return this;\\n }\\n }\\n }\\n else {\\n this._anyOutgoingListeners = [];\\n }\\n return this;\\n }\\n /**\\n * Returns an array of listeners that are listening for any event that is specified. This array can be manipulated,\\n * e.g. to remove listeners.\\n */\\n listenersAnyOutgoing() {\\n return this._anyOutgoingListeners || [];\\n }\\n /**\\n * Notify the listeners for each packet sent\\n *\\n * @param packet\\n *\\n * @private\\n */\\n notifyOutgoingListeners(packet) {\\n if (this._anyOutgoingListeners && this._anyOutgoingListeners.length) {\\n const listeners = this._anyOutgoingListeners.slice();\\n for (const listener of listeners) {\\n listener.apply(this, packet.data);\\n }\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/socket.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/url.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/url.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ url: () => (/* binding */ url)\\n/* harmony export */ });\\n/* harmony import */ var engine_io_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! engine.io-client */ \\\"./node_modules/engine.io-client/build/esm/index.js\\\");\\n\\n/**\\n * URL parser.\\n *\\n * @param uri - url\\n * @param path - the request path of the connection\\n * @param loc - An object meant to mimic window.location.\\n * Defaults to window.location.\\n * @public\\n */\\nfunction url(uri, path = \\\"\\\", loc) {\\n let obj = uri;\\n // default to window.location\\n loc = loc || (typeof location !== \\\"undefined\\\" && location);\\n if (null == uri)\\n uri = loc.protocol + \\\"//\\\" + loc.host;\\n // relative path support\\n if (typeof uri === \\\"string\\\") {\\n if (\\\"/\\\" === uri.charAt(0)) {\\n if (\\\"/\\\" === uri.charAt(1)) {\\n uri = loc.protocol + uri;\\n }\\n else {\\n uri = loc.host + uri;\\n }\\n }\\n if (!/^(https?|wss?):\\\\/\\\\//.test(uri)) {\\n if (\\\"undefined\\\" !== typeof loc) {\\n uri = loc.protocol + \\\"//\\\" + uri;\\n }\\n else {\\n uri = \\\"https://\\\" + uri;\\n }\\n }\\n // parse\\n obj = (0,engine_io_client__WEBPACK_IMPORTED_MODULE_0__.parse)(uri);\\n }\\n // make sure we treat `localhost:80` and `localhost` equally\\n if (!obj.port) {\\n if (/^(http|ws)$/.test(obj.protocol)) {\\n obj.port = \\\"80\\\";\\n }\\n else if (/^(http|ws)s$/.test(obj.protocol)) {\\n obj.port = \\\"443\\\";\\n }\\n }\\n obj.path = obj.path || \\\"/\\\";\\n const ipv6 = obj.host.indexOf(\\\":\\\") !== -1;\\n const host = ipv6 ? \\\"[\\\" + obj.host + \\\"]\\\" : obj.host;\\n // define unique id\\n obj.id = obj.protocol + \\\"://\\\" + host + \\\":\\\" + obj.port + path;\\n // define href\\n obj.href =\\n obj.protocol +\\n \\\"://\\\" +\\n host +\\n (loc && loc.port === obj.port ? \\\"\\\" : \\\":\\\" + obj.port);\\n return obj;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/url.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-parser/build/esm/binary.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/socket.io-parser/build/esm/binary.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ deconstructPacket: () => (/* binding */ deconstructPacket),\\n/* harmony export */ reconstructPacket: () => (/* binding */ reconstructPacket)\\n/* harmony export */ });\\n/* harmony import */ var _is_binary_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./is-binary.js */ \\\"./node_modules/socket.io-parser/build/esm/is-binary.js\\\");\\n\\n/**\\n * Replaces every Buffer | ArrayBuffer | Blob | File in packet with a numbered placeholder.\\n *\\n * @param {Object} packet - socket.io event packet\\n * @return {Object} with deconstructed packet and list of buffers\\n * @public\\n */\\nfunction deconstructPacket(packet) {\\n const buffers = [];\\n const packetData = packet.data;\\n const pack = packet;\\n pack.data = _deconstructPacket(packetData, buffers);\\n pack.attachments = buffers.length; // number of binary 'attachments'\\n return { packet: pack, buffers: buffers };\\n}\\nfunction _deconstructPacket(data, buffers) {\\n if (!data)\\n return data;\\n if ((0,_is_binary_js__WEBPACK_IMPORTED_MODULE_0__.isBinary)(data)) {\\n const placeholder = { _placeholder: true, num: buffers.length };\\n buffers.push(data);\\n return placeholder;\\n }\\n else if (Array.isArray(data)) {\\n const newData = new Array(data.length);\\n for (let i = 0; i < data.length; i++) {\\n newData[i] = _deconstructPacket(data[i], buffers);\\n }\\n return newData;\\n }\\n else if (typeof data === \\\"object\\\" && !(data instanceof Date)) {\\n const newData = {};\\n for (const key in data) {\\n if (Object.prototype.hasOwnProperty.call(data, key)) {\\n newData[key] = _deconstructPacket(data[key], buffers);\\n }\\n }\\n return newData;\\n }\\n return data;\\n}\\n/**\\n * Reconstructs a binary packet from its placeholder packet and buffers\\n *\\n * @param {Object} packet - event packet with placeholders\\n * @param {Array} buffers - binary buffers to put in placeholder positions\\n * @return {Object} reconstructed packet\\n * @public\\n */\\nfunction reconstructPacket(packet, buffers) {\\n packet.data = _reconstructPacket(packet.data, buffers);\\n delete packet.attachments; // no longer useful\\n return packet;\\n}\\nfunction _reconstructPacket(data, buffers) {\\n if (!data)\\n return data;\\n if (data && data._placeholder === true) {\\n const isIndexValid = typeof data.num === \\\"number\\\" &&\\n data.num >= 0 &&\\n data.num < buffers.length;\\n if (isIndexValid) {\\n return buffers[data.num]; // appropriate buffer (should be natural order anyway)\\n }\\n else {\\n throw new Error(\\\"illegal attachments\\\");\\n }\\n }\\n else if (Array.isArray(data)) {\\n for (let i = 0; i < data.length; i++) {\\n data[i] = _reconstructPacket(data[i], buffers);\\n }\\n }\\n else if (typeof data === \\\"object\\\") {\\n for (const key in data) {\\n if (Object.prototype.hasOwnProperty.call(data, key)) {\\n data[key] = _reconstructPacket(data[key], buffers);\\n }\\n }\\n }\\n return data;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-parser/build/esm/binary.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-parser/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/socket.io-parser/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Decoder: () => (/* binding */ Decoder),\\n/* harmony export */ Encoder: () => (/* binding */ Encoder),\\n/* harmony export */ PacketType: () => (/* binding */ PacketType),\\n/* harmony export */ protocol: () => (/* binding */ protocol)\\n/* harmony export */ });\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var _binary_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./binary.js */ \\\"./node_modules/socket.io-parser/build/esm/binary.js\\\");\\n/* harmony import */ var _is_binary_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./is-binary.js */ \\\"./node_modules/socket.io-parser/build/esm/is-binary.js\\\");\\n\\n\\n\\n/**\\n * These strings must not be used as event names, as they have a special meaning.\\n */\\nconst RESERVED_EVENTS = [\\n \\\"connect\\\",\\n \\\"connect_error\\\",\\n \\\"disconnect\\\",\\n \\\"disconnecting\\\",\\n \\\"newListener\\\",\\n \\\"removeListener\\\", // used by the Node.js EventEmitter\\n];\\n/**\\n * Protocol version.\\n *\\n * @public\\n */\\nconst protocol = 5;\\nvar PacketType;\\n(function (PacketType) {\\n PacketType[PacketType[\\\"CONNECT\\\"] = 0] = \\\"CONNECT\\\";\\n PacketType[PacketType[\\\"DISCONNECT\\\"] = 1] = \\\"DISCONNECT\\\";\\n PacketType[PacketType[\\\"EVENT\\\"] = 2] = \\\"EVENT\\\";\\n PacketType[PacketType[\\\"ACK\\\"] = 3] = \\\"ACK\\\";\\n PacketType[PacketType[\\\"CONNECT_ERROR\\\"] = 4] = \\\"CONNECT_ERROR\\\";\\n PacketType[PacketType[\\\"BINARY_EVENT\\\"] = 5] = \\\"BINARY_EVENT\\\";\\n PacketType[PacketType[\\\"BINARY_ACK\\\"] = 6] = \\\"BINARY_ACK\\\";\\n})(PacketType || (PacketType = {}));\\n/**\\n * A socket.io Encoder instance\\n */\\nclass Encoder {\\n /**\\n * Encoder constructor\\n *\\n * @param {function} replacer - custom replacer to pass down to JSON.parse\\n */\\n constructor(replacer) {\\n this.replacer = replacer;\\n }\\n /**\\n * Encode a packet as a single string if non-binary, or as a\\n * buffer sequence, depending on packet type.\\n *\\n * @param {Object} obj - packet object\\n */\\n encode(obj) {\\n if (obj.type === PacketType.EVENT || obj.type === PacketType.ACK) {\\n if ((0,_is_binary_js__WEBPACK_IMPORTED_MODULE_2__.hasBinary)(obj)) {\\n return this.encodeAsBinary({\\n type: obj.type === PacketType.EVENT\\n ? PacketType.BINARY_EVENT\\n : PacketType.BINARY_ACK,\\n nsp: obj.nsp,\\n data: obj.data,\\n id: obj.id,\\n });\\n }\\n }\\n return [this.encodeAsString(obj)];\\n }\\n /**\\n * Encode packet as string.\\n */\\n encodeAsString(obj) {\\n // first is type\\n let str = \\\"\\\" + obj.type;\\n // attachments if we have them\\n if (obj.type === PacketType.BINARY_EVENT ||\\n obj.type === PacketType.BINARY_ACK) {\\n str += obj.attachments + \\\"-\\\";\\n }\\n // if we have a namespace other than `/`\\n // we append it followed by a comma `,`\\n if (obj.nsp && \\\"/\\\" !== obj.nsp) {\\n str += obj.nsp + \\\",\\\";\\n }\\n // immediately followed by the id\\n if (null != obj.id) {\\n str += obj.id;\\n }\\n // json data\\n if (null != obj.data) {\\n str += JSON.stringify(obj.data, this.replacer);\\n }\\n return str;\\n }\\n /**\\n * Encode packet as 'buffer sequence' by removing blobs, and\\n * deconstructing packet into object with placeholders and\\n * a list of buffers.\\n */\\n encodeAsBinary(obj) {\\n const deconstruction = (0,_binary_js__WEBPACK_IMPORTED_MODULE_1__.deconstructPacket)(obj);\\n const pack = this.encodeAsString(deconstruction.packet);\\n const buffers = deconstruction.buffers;\\n buffers.unshift(pack); // add packet info to beginning of data list\\n return buffers; // write all the buffers\\n }\\n}\\n// see https://stackoverflow.com/questions/8511281/check-if-a-value-is-an-object-in-javascript\\nfunction isObject(value) {\\n return Object.prototype.toString.call(value) === \\\"[object Object]\\\";\\n}\\n/**\\n * A socket.io Decoder instance\\n *\\n * @return {Object} decoder\\n */\\nclass Decoder extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_0__.Emitter {\\n /**\\n * Decoder constructor\\n *\\n * @param {function} reviver - custom reviver to pass down to JSON.stringify\\n */\\n constructor(reviver) {\\n super();\\n this.reviver = reviver;\\n }\\n /**\\n * Decodes an encoded packet string into packet JSON.\\n *\\n * @param {String} obj - encoded packet\\n */\\n add(obj) {\\n let packet;\\n if (typeof obj === \\\"string\\\") {\\n if (this.reconstructor) {\\n throw new Error(\\\"got plaintext data when reconstructing a packet\\\");\\n }\\n packet = this.decodeString(obj);\\n const isBinaryEvent = packet.type === PacketType.BINARY_EVENT;\\n if (isBinaryEvent || packet.type === PacketType.BINARY_ACK) {\\n packet.type = isBinaryEvent ? PacketType.EVENT : PacketType.ACK;\\n // binary packet's json\\n this.reconstructor = new BinaryReconstructor(packet);\\n // no attachments, labeled binary but no binary data to follow\\n if (packet.attachments === 0) {\\n super.emitReserved(\\\"decoded\\\", packet);\\n }\\n }\\n else {\\n // non-binary full packet\\n super.emitReserved(\\\"decoded\\\", packet);\\n }\\n }\\n else if ((0,_is_binary_js__WEBPACK_IMPORTED_MODULE_2__.isBinary)(obj) || obj.base64) {\\n // raw binary data\\n if (!this.reconstructor) {\\n throw new Error(\\\"got binary data when not reconstructing a packet\\\");\\n }\\n else {\\n packet = this.reconstructor.takeBinaryData(obj);\\n if (packet) {\\n // received final buffer\\n this.reconstructor = null;\\n super.emitReserved(\\\"decoded\\\", packet);\\n }\\n }\\n }\\n else {\\n throw new Error(\\\"Unknown type: \\\" + obj);\\n }\\n }\\n /**\\n * Decode a packet String (JSON data)\\n *\\n * @param {String} str\\n * @return {Object} packet\\n */\\n decodeString(str) {\\n let i = 0;\\n // look up type\\n const p = {\\n type: Number(str.charAt(0)),\\n };\\n if (PacketType[p.type] === undefined) {\\n throw new Error(\\\"unknown packet type \\\" + p.type);\\n }\\n // look up attachments if type binary\\n if (p.type === PacketType.BINARY_EVENT ||\\n p.type === PacketType.BINARY_ACK) {\\n const start = i + 1;\\n while (str.charAt(++i) !== \\\"-\\\" && i != str.length) { }\\n const buf = str.substring(start, i);\\n if (buf != Number(buf) || str.charAt(i) !== \\\"-\\\") {\\n throw new Error(\\\"Illegal attachments\\\");\\n }\\n p.attachments = Number(buf);\\n }\\n // look up namespace (if any)\\n if (\\\"/\\\" === str.charAt(i + 1)) {\\n const start = i + 1;\\n while (++i) {\\n const c = str.charAt(i);\\n if (\\\",\\\" === c)\\n break;\\n if (i === str.length)\\n break;\\n }\\n p.nsp = str.substring(start, i);\\n }\\n else {\\n p.nsp = \\\"/\\\";\\n }\\n // look up id\\n const next = str.charAt(i + 1);\\n if (\\\"\\\" !== next && Number(next) == next) {\\n const start = i + 1;\\n while (++i) {\\n const c = str.charAt(i);\\n if (null == c || Number(c) != c) {\\n --i;\\n break;\\n }\\n if (i === str.length)\\n break;\\n }\\n p.id = Number(str.substring(start, i + 1));\\n }\\n // look up json data\\n if (str.charAt(++i)) {\\n const payload = this.tryParse(str.substr(i));\\n if (Decoder.isPayloadValid(p.type, payload)) {\\n p.data = payload;\\n }\\n else {\\n throw new Error(\\\"invalid payload\\\");\\n }\\n }\\n return p;\\n }\\n tryParse(str) {\\n try {\\n return JSON.parse(str, this.reviver);\\n }\\n catch (e) {\\n return false;\\n }\\n }\\n static isPayloadValid(type, payload) {\\n switch (type) {\\n case PacketType.CONNECT:\\n return isObject(payload);\\n case PacketType.DISCONNECT:\\n return payload === undefined;\\n case PacketType.CONNECT_ERROR:\\n return typeof payload === \\\"string\\\" || isObject(payload);\\n case PacketType.EVENT:\\n case PacketType.BINARY_EVENT:\\n return (Array.isArray(payload) &&\\n (typeof payload[0] === \\\"number\\\" ||\\n (typeof payload[0] === \\\"string\\\" &&\\n RESERVED_EVENTS.indexOf(payload[0]) === -1)));\\n case PacketType.ACK:\\n case PacketType.BINARY_ACK:\\n return Array.isArray(payload);\\n }\\n }\\n /**\\n * Deallocates a parser's resources\\n */\\n destroy() {\\n if (this.reconstructor) {\\n this.reconstructor.finishedReconstruction();\\n this.reconstructor = null;\\n }\\n }\\n}\\n/**\\n * A manager of a binary event's 'buffer sequence'. Should\\n * be constructed whenever a packet of type BINARY_EVENT is\\n * decoded.\\n *\\n * @param {Object} packet\\n * @return {BinaryReconstructor} initialized reconstructor\\n */\\nclass BinaryReconstructor {\\n constructor(packet) {\\n this.packet = packet;\\n this.buffers = [];\\n this.reconPack = packet;\\n }\\n /**\\n * Method to be called when binary data received from connection\\n * after a BINARY_EVENT packet.\\n *\\n * @param {Buffer | ArrayBuffer} binData - the raw binary data received\\n * @return {null | Object} returns null if more binary data is expected or\\n * a reconstructed packet object if all buffers have been received.\\n */\\n takeBinaryData(binData) {\\n this.buffers.push(binData);\\n if (this.buffers.length === this.reconPack.attachments) {\\n // done with buffer list\\n const packet = (0,_binary_js__WEBPACK_IMPORTED_MODULE_1__.reconstructPacket)(this.reconPack, this.buffers);\\n this.finishedReconstruction();\\n return packet;\\n }\\n return null;\\n }\\n /**\\n * Cleans up binary packet reconstruction variables.\\n */\\n finishedReconstruction() {\\n this.reconPack = null;\\n this.buffers = [];\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-parser/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-parser/build/esm/is-binary.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/socket.io-parser/build/esm/is-binary.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ hasBinary: () => (/* binding */ hasBinary),\\n/* harmony export */ isBinary: () => (/* binding */ isBinary)\\n/* harmony export */ });\\nconst withNativeArrayBuffer = typeof ArrayBuffer === \\\"function\\\";\\nconst isView = (obj) => {\\n return typeof ArrayBuffer.isView === \\\"function\\\"\\n ? ArrayBuffer.isView(obj)\\n : obj.buffer instanceof ArrayBuffer;\\n};\\nconst toString = Object.prototype.toString;\\nconst withNativeBlob = typeof Blob === \\\"function\\\" ||\\n (typeof Blob !== \\\"undefined\\\" &&\\n toString.call(Blob) === \\\"[object BlobConstructor]\\\");\\nconst withNativeFile = typeof File === \\\"function\\\" ||\\n (typeof File !== \\\"undefined\\\" &&\\n toString.call(File) === \\\"[object FileConstructor]\\\");\\n/**\\n * Returns true if obj is a Buffer, an ArrayBuffer, a Blob or a File.\\n *\\n * @private\\n */\\nfunction isBinary(obj) {\\n return ((withNativeArrayBuffer && (obj instanceof ArrayBuffer || isView(obj))) ||\\n (withNativeBlob && obj instanceof Blob) ||\\n (withNativeFile && obj instanceof File));\\n}\\nfunction hasBinary(obj, toJSON) {\\n if (!obj || typeof obj !== \\\"object\\\") {\\n return false;\\n }\\n if (Array.isArray(obj)) {\\n for (let i = 0, l = obj.length; i < l; i++) {\\n if (hasBinary(obj[i])) {\\n return true;\\n }\\n }\\n return false;\\n }\\n if (isBinary(obj)) {\\n return true;\\n }\\n if (obj.toJSON &&\\n typeof obj.toJSON === \\\"function\\\" &&\\n arguments.length === 1) {\\n return hasBinary(obj.toJSON(), true);\\n }\\n for (const key in obj) {\\n if (Object.prototype.hasOwnProperty.call(obj, key) && hasBinary(obj[key])) {\\n return true;\\n }\\n }\\n return false;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-parser/build/esm/is-binary.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/package.json\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/package.json ***!\n \\***********************************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"module.exports = JSON.parse('{\\\"name\\\":\\\"@aws-sdk/client-chime-sdk-messaging\\\",\\\"description\\\":\\\"AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native\\\",\\\"version\\\":\\\"3.354.0\\\",\\\"scripts\\\":{\\\"build\\\":\\\"concurrently \\\\'yarn:build:cjs\\\\' \\\\'yarn:build:es\\\\' \\\\'yarn:build:types\\\\'\\\",\\\"build:cjs\\\":\\\"tsc -p tsconfig.cjs.json\\\",\\\"build:docs\\\":\\\"typedoc\\\",\\\"build:es\\\":\\\"tsc -p tsconfig.es.json\\\",\\\"build:include:deps\\\":\\\"lerna run --scope $npm_package_name --include-dependencies build\\\",\\\"build:types\\\":\\\"tsc -p tsconfig.types.json\\\",\\\"build:types:downlevel\\\":\\\"downlevel-dts dist-types dist-types/ts3.4\\\",\\\"clean\\\":\\\"rimraf ./dist-* && rimraf *.tsbuildinfo\\\",\\\"extract:docs\\\":\\\"api-extractor run --local\\\",\\\"generate:client\\\":\\\"node ../../scripts/generate-clients/single-service --solo chime-sdk-messaging\\\"},\\\"main\\\":\\\"./dist-cjs/index.js\\\",\\\"types\\\":\\\"./dist-types/index.d.ts\\\",\\\"module\\\":\\\"./dist-es/index.js\\\",\\\"sideEffects\\\":false,\\\"dependencies\\\":{\\\"@aws-crypto/sha256-browser\\\":\\\"3.0.0\\\",\\\"@aws-crypto/sha256-js\\\":\\\"3.0.0\\\",\\\"@aws-sdk/client-sts\\\":\\\"3.354.0\\\",\\\"@aws-sdk/config-resolver\\\":\\\"3.354.0\\\",\\\"@aws-sdk/credential-provider-node\\\":\\\"3.354.0\\\",\\\"@aws-sdk/fetch-http-handler\\\":\\\"3.353.0\\\",\\\"@aws-sdk/hash-node\\\":\\\"3.347.0\\\",\\\"@aws-sdk/invalid-dependency\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-content-length\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-endpoint\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-host-header\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-logger\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-recursion-detection\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-retry\\\":\\\"3.354.0\\\",\\\"@aws-sdk/middleware-serde\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-signing\\\":\\\"3.354.0\\\",\\\"@aws-sdk/middleware-stack\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-user-agent\\\":\\\"3.352.0\\\",\\\"@aws-sdk/node-config-provider\\\":\\\"3.354.0\\\",\\\"@aws-sdk/node-http-handler\\\":\\\"3.350.0\\\",\\\"@aws-sdk/smithy-client\\\":\\\"3.347.0\\\",\\\"@aws-sdk/types\\\":\\\"3.347.0\\\",\\\"@aws-sdk/url-parser\\\":\\\"3.347.0\\\",\\\"@aws-sdk/util-base64\\\":\\\"3.310.0\\\",\\\"@aws-sdk/util-body-length-browser\\\":\\\"3.310.0\\\",\\\"@aws-sdk/util-body-length-node\\\":\\\"3.310.0\\\",\\\"@aws-sdk/util-defaults-mode-browser\\\":\\\"3.353.0\\\",\\\"@aws-sdk/util-defaults-mode-node\\\":\\\"3.354.0\\\",\\\"@aws-sdk/util-endpoints\\\":\\\"3.352.0\\\",\\\"@aws-sdk/util-retry\\\":\\\"3.347.0\\\",\\\"@aws-sdk/util-user-agent-browser\\\":\\\"3.347.0\\\",\\\"@aws-sdk/util-user-agent-node\\\":\\\"3.354.0\\\",\\\"@aws-sdk/util-utf8\\\":\\\"3.310.0\\\",\\\"@smithy/protocol-http\\\":\\\"^1.0.1\\\",\\\"@smithy/types\\\":\\\"^1.0.0\\\",\\\"tslib\\\":\\\"^2.5.0\\\",\\\"uuid\\\":\\\"^8.3.2\\\"},\\\"devDependencies\\\":{\\\"@aws-sdk/service-client-documentation-generator\\\":\\\"3.310.0\\\",\\\"@tsconfig/node14\\\":\\\"1.0.3\\\",\\\"@types/node\\\":\\\"^14.14.31\\\",\\\"@types/uuid\\\":\\\"^8.3.0\\\",\\\"concurrently\\\":\\\"7.0.0\\\",\\\"downlevel-dts\\\":\\\"0.10.1\\\",\\\"rimraf\\\":\\\"3.0.2\\\",\\\"typedoc\\\":\\\"0.23.23\\\",\\\"typescript\\\":\\\"~4.9.5\\\"},\\\"engines\\\":{\\\"node\\\":\\\">=14.0.0\\\"},\\\"typesVersions\\\":{\\\"<4.0\\\":{\\\"dist-types/*\\\":[\\\"dist-types/ts3.4/*\\\"]}},\\\"files\\\":[\\\"dist-*/**\\\"],\\\"author\\\":{\\\"name\\\":\\\"AWS SDK for JavaScript Team\\\",\\\"url\\\":\\\"https://aws.amazon.com/javascript/\\\"},\\\"license\\\":\\\"Apache-2.0\\\",\\\"browser\\\":{\\\"./dist-es/runtimeConfig\\\":\\\"./dist-es/runtimeConfig.browser\\\"},\\\"react-native\\\":{\\\"./dist-es/runtimeConfig\\\":\\\"./dist-es/runtimeConfig.native\\\"},\\\"homepage\\\":\\\"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-chime-sdk-messaging\\\",\\\"repository\\\":{\\\"type\\\":\\\"git\\\",\\\"url\\\":\\\"https://github.com/aws/aws-sdk-js-v3.git\\\",\\\"directory\\\":\\\"clients/client-chime-sdk-messaging\\\"}}');\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/package.json?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json ***!\n \\******************************************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"module.exports = JSON.parse('{\\\"partitions\\\":[{\\\"id\\\":\\\"aws\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"amazonaws.com\\\",\\\"dualStackDnsSuffix\\\":\\\"api.aws\\\",\\\"name\\\":\\\"aws\\\",\\\"supportsDualStack\\\":true,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^(us|eu|ap|sa|ca|me|af)\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"af-south-1\\\":{\\\"description\\\":\\\"Africa (Cape Town)\\\"},\\\"ap-east-1\\\":{\\\"description\\\":\\\"Asia Pacific (Hong Kong)\\\"},\\\"ap-northeast-1\\\":{\\\"description\\\":\\\"Asia Pacific (Tokyo)\\\"},\\\"ap-northeast-2\\\":{\\\"description\\\":\\\"Asia Pacific (Seoul)\\\"},\\\"ap-northeast-3\\\":{\\\"description\\\":\\\"Asia Pacific (Osaka)\\\"},\\\"ap-south-1\\\":{\\\"description\\\":\\\"Asia Pacific (Mumbai)\\\"},\\\"ap-south-2\\\":{\\\"description\\\":\\\"Asia Pacific (Hyderabad)\\\"},\\\"ap-southeast-1\\\":{\\\"description\\\":\\\"Asia Pacific (Singapore)\\\"},\\\"ap-southeast-2\\\":{\\\"description\\\":\\\"Asia Pacific (Sydney)\\\"},\\\"ap-southeast-3\\\":{\\\"description\\\":\\\"Asia Pacific (Jakarta)\\\"},\\\"ap-southeast-4\\\":{\\\"description\\\":\\\"Asia Pacific (Melbourne)\\\"},\\\"aws-global\\\":{\\\"description\\\":\\\"AWS Standard global region\\\"},\\\"ca-central-1\\\":{\\\"description\\\":\\\"Canada (Central)\\\"},\\\"eu-central-1\\\":{\\\"description\\\":\\\"Europe (Frankfurt)\\\"},\\\"eu-central-2\\\":{\\\"description\\\":\\\"Europe (Zurich)\\\"},\\\"eu-north-1\\\":{\\\"description\\\":\\\"Europe (Stockholm)\\\"},\\\"eu-south-1\\\":{\\\"description\\\":\\\"Europe (Milan)\\\"},\\\"eu-south-2\\\":{\\\"description\\\":\\\"Europe (Spain)\\\"},\\\"eu-west-1\\\":{\\\"description\\\":\\\"Europe (Ireland)\\\"},\\\"eu-west-2\\\":{\\\"description\\\":\\\"Europe (London)\\\"},\\\"eu-west-3\\\":{\\\"description\\\":\\\"Europe (Paris)\\\"},\\\"me-central-1\\\":{\\\"description\\\":\\\"Middle East (UAE)\\\"},\\\"me-south-1\\\":{\\\"description\\\":\\\"Middle East (Bahrain)\\\"},\\\"sa-east-1\\\":{\\\"description\\\":\\\"South America (Sao Paulo)\\\"},\\\"us-east-1\\\":{\\\"description\\\":\\\"US East (N. Virginia)\\\"},\\\"us-east-2\\\":{\\\"description\\\":\\\"US East (Ohio)\\\"},\\\"us-west-1\\\":{\\\"description\\\":\\\"US West (N. California)\\\"},\\\"us-west-2\\\":{\\\"description\\\":\\\"US West (Oregon)\\\"}}},{\\\"id\\\":\\\"aws-cn\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"amazonaws.com.cn\\\",\\\"dualStackDnsSuffix\\\":\\\"api.amazonwebservices.com.cn\\\",\\\"name\\\":\\\"aws-cn\\\",\\\"supportsDualStack\\\":true,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^cn\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-cn-global\\\":{\\\"description\\\":\\\"AWS China global region\\\"},\\\"cn-north-1\\\":{\\\"description\\\":\\\"China (Beijing)\\\"},\\\"cn-northwest-1\\\":{\\\"description\\\":\\\"China (Ningxia)\\\"}}},{\\\"id\\\":\\\"aws-us-gov\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"amazonaws.com\\\",\\\"dualStackDnsSuffix\\\":\\\"api.aws\\\",\\\"name\\\":\\\"aws-us-gov\\\",\\\"supportsDualStack\\\":true,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-gov\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-us-gov-global\\\":{\\\"description\\\":\\\"AWS GovCloud (US) global region\\\"},\\\"us-gov-east-1\\\":{\\\"description\\\":\\\"AWS GovCloud (US-East)\\\"},\\\"us-gov-west-1\\\":{\\\"description\\\":\\\"AWS GovCloud (US-West)\\\"}}},{\\\"id\\\":\\\"aws-iso\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"c2s.ic.gov\\\",\\\"dualStackDnsSuffix\\\":\\\"c2s.ic.gov\\\",\\\"name\\\":\\\"aws-iso\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-iso\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-iso-global\\\":{\\\"description\\\":\\\"AWS ISO (US) global region\\\"},\\\"us-iso-east-1\\\":{\\\"description\\\":\\\"US ISO East\\\"},\\\"us-iso-west-1\\\":{\\\"description\\\":\\\"US ISO WEST\\\"}}},{\\\"id\\\":\\\"aws-iso-b\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"sc2s.sgov.gov\\\",\\\"dualStackDnsSuffix\\\":\\\"sc2s.sgov.gov\\\",\\\"name\\\":\\\"aws-iso-b\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-isob\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-iso-b-global\\\":{\\\"description\\\":\\\"AWS ISOB (US) global region\\\"},\\\"us-isob-east-1\\\":{\\\"description\\\":\\\"US ISOB East (Ohio)\\\"}}},{\\\"id\\\":\\\"aws-iso-e\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"cloud.adc-e.uk\\\",\\\"dualStackDnsSuffix\\\":\\\"cloud.adc-e.uk\\\",\\\"name\\\":\\\"aws-iso-e\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^eu\\\\\\\\\\\\\\\\-isoe\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{}},{\\\"id\\\":\\\"aws-iso-f\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"csp.hci.ic.gov\\\",\\\"dualStackDnsSuffix\\\":\\\"csp.hci.ic.gov\\\",\\\"name\\\":\\\"aws-iso-f\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-isof\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{}}],\\\"version\\\":\\\"1.1\\\"}');\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json?\");\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __nested_webpack_require_4121364__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_4121364__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/amd options */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_4121364__.amdO = {};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__nested_webpack_require_4121364__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__nested_webpack_require_4121364__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__nested_webpack_require_4121364__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__nested_webpack_require_4121364__.o(definition, key) && !__nested_webpack_require_4121364__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/global */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_4121364__.g = (function() {\n/******/ \t\t\tif (typeof globalThis === 'object') return globalThis;\n/******/ \t\t\ttry {\n/******/ \t\t\t\treturn this || new Function('return this')();\n/******/ \t\t\t} catch (e) {\n/******/ \t\t\t\tif (typeof window === 'object') return window;\n/******/ \t\t\t}\n/******/ \t\t})();\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_4121364__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/make namespace object */\n/******/ \t(() => {\n/******/ \t\t// define __esModule on exports\n/******/ \t\t__nested_webpack_require_4121364__.r = (exports) => {\n/******/ \t\t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t\t}\n/******/ \t\t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/************************************************************************/\n/******/ \t\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \t// This entry module can't be inlined because the eval devtool is used.\n/******/ \tvar __nested_webpack_exports__ = __nested_webpack_require_4121364__(\"./src/index.ts\");\n/******/ \t\n/******/ \treturn __nested_webpack_exports__;\n/******/ })()\n;\n});\n\n//# sourceURL=webpack://demo/./node_modules/@dannadori/voice-changer-client-js/dist/index.js?"); +eval("/*\n * ATTENTION: The \"eval\" devtool has been used (maybe by default in mode: \"development\").\n * This devtool is neither made for production nor for readable output files.\n * It uses \"eval()\" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with \"devtool: false\".\n * If you are looking for production-ready output files, see mode: \"production\" (https://webpack.js.org/configuration/mode/).\n */\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory(__webpack_require__(/*! react */ \"./node_modules/react/index.js\"));\n\telse { var i, a; }\n})(typeof self !== 'undefined' ? self : this, (__WEBPACK_EXTERNAL_MODULE_react__) => {\nreturn /******/ (() => { // webpackBootstrap\n/******/ \tvar __webpack_modules__ = ({\n\n/***/ \"./node_modules/@aws-crypto/crc32/build/aws_crc32.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/build/aws_crc32.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.AwsCrc32 = void 0;\\nvar tslib_1 = __webpack_require__(/*! tslib */ \\\"./node_modules/tslib/tslib.es6.js\\\");\\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ \\\"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js\\\");\\nvar index_1 = __webpack_require__(/*! ./index */ \\\"./node_modules/@aws-crypto/crc32/build/index.js\\\");\\nvar AwsCrc32 = /** @class */ (function () {\\n function AwsCrc32() {\\n this.crc32 = new index_1.Crc32();\\n }\\n AwsCrc32.prototype.update = function (toHash) {\\n if ((0, util_1.isEmptyData)(toHash))\\n return;\\n this.crc32.update((0, util_1.convertToBuffer)(toHash));\\n };\\n AwsCrc32.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*/, (0, util_1.numToUint8)(this.crc32.digest())];\\n });\\n });\\n };\\n AwsCrc32.prototype.reset = function () {\\n this.crc32 = new index_1.Crc32();\\n };\\n return AwsCrc32;\\n}());\\nexports.AwsCrc32 = AwsCrc32;\\n//# sourceMappingURL=aws_crc32.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/crc32/build/aws_crc32.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/build/index.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/build/index.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0;\\nvar tslib_1 = __webpack_require__(/*! tslib */ \\\"./node_modules/tslib/tslib.es6.js\\\");\\nvar util_1 = __webpack_require__(/*! @aws-crypto/util */ \\\"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js\\\");\\nfunction crc32(data) {\\n return new Crc32().update(data).digest();\\n}\\nexports.crc32 = crc32;\\nvar Crc32 = /** @class */ (function () {\\n function Crc32() {\\n this.checksum = 0xffffffff;\\n }\\n Crc32.prototype.update = function (data) {\\n var e_1, _a;\\n try {\\n for (var data_1 = tslib_1.__values(data), data_1_1 = data_1.next(); !data_1_1.done; data_1_1 = data_1.next()) {\\n var byte = data_1_1.value;\\n this.checksum =\\n (this.checksum >>> 8) ^ lookupTable[(this.checksum ^ byte) & 0xff];\\n }\\n }\\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\\n finally {\\n try {\\n if (data_1_1 && !data_1_1.done && (_a = data_1.return)) _a.call(data_1);\\n }\\n finally { if (e_1) throw e_1.error; }\\n }\\n return this;\\n };\\n Crc32.prototype.digest = function () {\\n return (this.checksum ^ 0xffffffff) >>> 0;\\n };\\n return Crc32;\\n}());\\nexports.Crc32 = Crc32;\\n// prettier-ignore\\nvar a_lookUpTable = [\\n 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,\\n 0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,\\n 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,\\n 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,\\n 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE,\\n 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7,\\n 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC,\\n 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5,\\n 0x3B6E20C8, 0x4C69105E, 0xD56041E4, 0xA2677172,\\n 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B,\\n 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940,\\n 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59,\\n 0x26D930AC, 0x51DE003A, 0xC8D75180, 0xBFD06116,\\n 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F,\\n 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924,\\n 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D,\\n 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A,\\n 0x71B18589, 0x06B6B51F, 0x9FBFE4A5, 0xE8B8D433,\\n 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818,\\n 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01,\\n 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E,\\n 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457,\\n 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, 0xFCB9887C,\\n 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65,\\n 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2,\\n 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB,\\n 0x4369E96A, 0x346ED9FC, 0xAD678846, 0xDA60B8D0,\\n 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9,\\n 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086,\\n 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F,\\n 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4,\\n 0x59B33D17, 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD,\\n 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A,\\n 0xEAD54739, 0x9DD277AF, 0x04DB2615, 0x73DC1683,\\n 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8,\\n 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1,\\n 0xF00F9344, 0x8708A3D2, 0x1E01F268, 0x6906C2FE,\\n 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7,\\n 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, 0x67DD4ACC,\\n 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5,\\n 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252,\\n 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B,\\n 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60,\\n 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, 0x4669BE79,\\n 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236,\\n 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F,\\n 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04,\\n 0xC2D7FFA7, 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D,\\n 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A,\\n 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713,\\n 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38,\\n 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21,\\n 0x86D3D2D4, 0xF1D4E242, 0x68DDB3F8, 0x1FDA836E,\\n 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777,\\n 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C,\\n 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45,\\n 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2,\\n 0xA7672661, 0xD06016F7, 0x4969474D, 0x3E6E77DB,\\n 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0,\\n 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9,\\n 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6,\\n 0xBAD03605, 0xCDD70693, 0x54DE5729, 0x23D967BF,\\n 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94,\\n 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D,\\n];\\nvar lookupTable = (0, util_1.uint32ArrayFrom)(a_lookUpTable);\\nvar aws_crc32_1 = __webpack_require__(/*! ./aws_crc32 */ \\\"./node_modules/@aws-crypto/crc32/build/aws_crc32.js\\\");\\nObject.defineProperty(exports, \\\"AwsCrc32\\\", ({ enumerable: true, get: function () { return aws_crc32_1.AwsCrc32; } }));\\n//# sourceMappingURL=index.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-crypto/crc32/build/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/convertToBuffer.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/convertToBuffer.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/* 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/crc32/node_modules/@aws-crypto/util/build/convertToBuffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/index.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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/crc32/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/crc32/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/crc32/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/crc32/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/crc32/node_modules/@aws-crypto/util/build/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/isEmptyData.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/isEmptyData.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/crc32/node_modules/@aws-crypto/util/build/isEmptyData.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/numToUint8.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/numToUint8.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/crc32/node_modules/@aws-crypto/util/build/numToUint8.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/crc32/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/crc32/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/CryptoOperation.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/Key.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/Key.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/KeyOperation.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/MsSubtleCrypto.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/MsWindow.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/ie11-detection/build/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/ie11-detection/build/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/constants.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/constants.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/crossPlatformSha256.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/ie11Sha256.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/isEmptyData.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/build/webCryptoSha256.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/RawSha256.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/constants.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/index.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/sha256-js/build/jsSha256.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/convertToBuffer.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/* 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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/index.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/isEmptyData.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/numToUint8.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-browser/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/RawSha256.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/RawSha256.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/constants.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/constants.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/index.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/sha256-js/build/jsSha256.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-crypto/sha256-js/build/jsSha256.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/supports-web-crypto/build/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-crypto/supports-web-crypto/build/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-crypto/supports-web-crypto/build/supportsWebCrypto.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/convertToBuffer.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/convertToBuffer.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/* 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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/index.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/index.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/isEmptyData.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/isEmptyData.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/numToUint8.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/numToUint8.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-crypto/util/build/uint32ArrayFrom.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_52__ = __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_DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./commands/DeleteMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _commands_DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_17__ = __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_16__ = __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_18__ = __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_19__ = __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_20__ = __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_21__ = __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_22__ = __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_23__ = __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_24__ = __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_25__ = __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_26__ = __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_27__ = __webpack_require__(/*! ./commands/GetMessagingSessionEndpointCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js\\\");\\n/* harmony import */ var _commands_GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./commands/GetMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_29__ = __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_30__ = __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_31__ = __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_32__ = __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_33__ = __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_34__ = __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_36__ = __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_35__ = __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_37__ = __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_38__ = __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_39__ = __webpack_require__(/*! ./commands/ListTagsForResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js\\\");\\n/* harmony import */ var _commands_PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./commands/PutChannelExpirationSettingsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js\\\");\\n/* harmony import */ var _commands_PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./commands/PutChannelMembershipPreferencesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js\\\");\\n/* harmony import */ var _commands_PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./commands/PutMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _commands_RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_43__ = __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_44__ = __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_45__ = __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_46__ = __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_47__ = __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_48__ = __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_49__ = __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_50__ = __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_51__ = __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\\n\\n\\n\\n\\n\\nconst commands = {\\n AssociateChannelFlowCommand: _commands_AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_1__.AssociateChannelFlowCommand,\\n BatchCreateChannelMembershipCommand: _commands_BatchCreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_2__.BatchCreateChannelMembershipCommand,\\n ChannelFlowCallbackCommand: _commands_ChannelFlowCallbackCommand__WEBPACK_IMPORTED_MODULE_3__.ChannelFlowCallbackCommand,\\n CreateChannelCommand: _commands_CreateChannelCommand__WEBPACK_IMPORTED_MODULE_4__.CreateChannelCommand,\\n CreateChannelBanCommand: _commands_CreateChannelBanCommand__WEBPACK_IMPORTED_MODULE_5__.CreateChannelBanCommand,\\n CreateChannelFlowCommand: _commands_CreateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_6__.CreateChannelFlowCommand,\\n CreateChannelMembershipCommand: _commands_CreateChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_7__.CreateChannelMembershipCommand,\\n CreateChannelModeratorCommand: _commands_CreateChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_8__.CreateChannelModeratorCommand,\\n DeleteChannelCommand: _commands_DeleteChannelCommand__WEBPACK_IMPORTED_MODULE_9__.DeleteChannelCommand,\\n DeleteChannelBanCommand: _commands_DeleteChannelBanCommand__WEBPACK_IMPORTED_MODULE_10__.DeleteChannelBanCommand,\\n DeleteChannelFlowCommand: _commands_DeleteChannelFlowCommand__WEBPACK_IMPORTED_MODULE_11__.DeleteChannelFlowCommand,\\n DeleteChannelMembershipCommand: _commands_DeleteChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_12__.DeleteChannelMembershipCommand,\\n DeleteChannelMessageCommand: _commands_DeleteChannelMessageCommand__WEBPACK_IMPORTED_MODULE_13__.DeleteChannelMessageCommand,\\n DeleteChannelModeratorCommand: _commands_DeleteChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_14__.DeleteChannelModeratorCommand,\\n DeleteMessagingStreamingConfigurationsCommand: _commands_DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_15__.DeleteMessagingStreamingConfigurationsCommand,\\n DescribeChannelCommand: _commands_DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_16__.DescribeChannelCommand,\\n DescribeChannelBanCommand: _commands_DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_17__.DescribeChannelBanCommand,\\n DescribeChannelFlowCommand: _commands_DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_18__.DescribeChannelFlowCommand,\\n DescribeChannelMembershipCommand: _commands_DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_19__.DescribeChannelMembershipCommand,\\n DescribeChannelMembershipForAppInstanceUserCommand: _commands_DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__.DescribeChannelMembershipForAppInstanceUserCommand,\\n DescribeChannelModeratedByAppInstanceUserCommand: _commands_DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_21__.DescribeChannelModeratedByAppInstanceUserCommand,\\n DescribeChannelModeratorCommand: _commands_DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_22__.DescribeChannelModeratorCommand,\\n DisassociateChannelFlowCommand: _commands_DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_23__.DisassociateChannelFlowCommand,\\n GetChannelMembershipPreferencesCommand: _commands_GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_24__.GetChannelMembershipPreferencesCommand,\\n GetChannelMessageCommand: _commands_GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_25__.GetChannelMessageCommand,\\n GetChannelMessageStatusCommand: _commands_GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_26__.GetChannelMessageStatusCommand,\\n GetMessagingSessionEndpointCommand: _commands_GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_27__.GetMessagingSessionEndpointCommand,\\n GetMessagingStreamingConfigurationsCommand: _commands_GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_28__.GetMessagingStreamingConfigurationsCommand,\\n ListChannelBansCommand: _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_29__.ListChannelBansCommand,\\n ListChannelFlowsCommand: _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_30__.ListChannelFlowsCommand,\\n ListChannelMembershipsCommand: _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_31__.ListChannelMembershipsCommand,\\n ListChannelMembershipsForAppInstanceUserCommand: _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_32__.ListChannelMembershipsForAppInstanceUserCommand,\\n ListChannelMessagesCommand: _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_33__.ListChannelMessagesCommand,\\n ListChannelModeratorsCommand: _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_34__.ListChannelModeratorsCommand,\\n ListChannelsCommand: _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_35__.ListChannelsCommand,\\n ListChannelsAssociatedWithChannelFlowCommand: _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_36__.ListChannelsAssociatedWithChannelFlowCommand,\\n ListChannelsModeratedByAppInstanceUserCommand: _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_37__.ListChannelsModeratedByAppInstanceUserCommand,\\n ListSubChannelsCommand: _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_38__.ListSubChannelsCommand,\\n ListTagsForResourceCommand: _commands_ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_39__.ListTagsForResourceCommand,\\n PutChannelExpirationSettingsCommand: _commands_PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_40__.PutChannelExpirationSettingsCommand,\\n PutChannelMembershipPreferencesCommand: _commands_PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_41__.PutChannelMembershipPreferencesCommand,\\n PutMessagingStreamingConfigurationsCommand: _commands_PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_42__.PutMessagingStreamingConfigurationsCommand,\\n RedactChannelMessageCommand: _commands_RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_43__.RedactChannelMessageCommand,\\n SearchChannelsCommand: _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_44__.SearchChannelsCommand,\\n SendChannelMessageCommand: _commands_SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_45__.SendChannelMessageCommand,\\n TagResourceCommand: _commands_TagResourceCommand__WEBPACK_IMPORTED_MODULE_46__.TagResourceCommand,\\n UntagResourceCommand: _commands_UntagResourceCommand__WEBPACK_IMPORTED_MODULE_47__.UntagResourceCommand,\\n UpdateChannelCommand: _commands_UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_48__.UpdateChannelCommand,\\n UpdateChannelFlowCommand: _commands_UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_49__.UpdateChannelFlowCommand,\\n UpdateChannelMessageCommand: _commands_UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_50__.UpdateChannelMessageCommand,\\n UpdateChannelReadMarkerCommand: _commands_UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_51__.UpdateChannelReadMarkerCommand,\\n};\\nclass ChimeSDKMessaging extends _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_52__.ChimeSDKMessagingClient {\\n}\\n(0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.createAggregatedClient)(commands, ChimeSDKMessaging);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessagingClient.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ChimeSDKMessagingClient: () => (/* binding */ ChimeSDKMessagingClient),\\n/* harmony export */ __Client: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_9__.Client)\\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\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/AssociateChannelFlowCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_AssociateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_AssociateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js\":\n/*!******************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/BatchCreateChannelMembershipCommand.js ***!\n \\******************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass BatchCreateChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_BatchCreateChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_BatchCreateChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ChannelFlowCallbackCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ChannelFlowCallbackCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_ChannelFlowCallbackCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ChannelFlowCallbackCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelBanCommand.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelBanCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelBanCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelBanCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelFlowCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelMembershipCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js\":\n/*!************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/CreateChannelModeratorCommand.js ***!\n \\************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass CreateChannelModeratorCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_CreateChannelModeratorCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_CreateChannelModeratorCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelBanCommand.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelBanCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelBanCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelFlowCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMembershipCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelMessageCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js\":\n/*!************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteChannelModeratorCommand.js ***!\n \\************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteChannelModeratorCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteChannelModeratorCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js\":\n/*!****************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js ***!\n \\****************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ DeleteMessagingStreamingConfigurationsCommand: () => (/* binding */ DeleteMessagingStreamingConfigurationsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 DeleteMessagingStreamingConfigurationsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, DeleteMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"DeleteMessagingStreamingConfigurationsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DeleteMessagingStreamingConfigurationsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DeleteMessagingStreamingConfigurationsCommand)(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/DeleteMessagingStreamingConfigurationsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelBanCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelBanCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelBanCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelMembershipCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelMembershipCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelMembershipCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js\":\n/*!*********************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js ***!\n \\*********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelMembershipForAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelMembershipForAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelMembershipForAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js\":\n/*!*******************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js ***!\n \\*******************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelModeratedByAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelModeratedByAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelModeratedByAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass DescribeChannelModeratorCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_DescribeChannelModeratorCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_DescribeChannelModeratorCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_DisassociateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_DisassociateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass GetChannelMembershipPreferencesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_GetChannelMembershipPreferencesCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_GetChannelMembershipPreferencesCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass GetChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_GetChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_GetChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_GetChannelMessageStatusCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_GetChannelMessageStatusCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_GetMessagingSessionEndpointCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_GetMessagingSessionEndpointCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js\":\n/*!*************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js ***!\n \\*************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ GetMessagingStreamingConfigurationsCommand: () => (/* binding */ GetMessagingStreamingConfigurationsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 GetMessagingStreamingConfigurationsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, GetMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"GetMessagingStreamingConfigurationsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_GetMessagingStreamingConfigurationsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_GetMessagingStreamingConfigurationsCommand)(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/GetMessagingStreamingConfigurationsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelBansCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelBansCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelBansCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelFlowsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelFlowsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelFlowsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js\":\n/*!************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js ***!\n \\************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelMembershipsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelMembershipsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelMembershipsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js\":\n/*!******************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js ***!\n \\******************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelMembershipsForAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelMembershipsForAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelMembershipsForAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelMessagesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelMessagesCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelMessagesCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelModeratorsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelModeratorsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelModeratorsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js\":\n/*!***************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js ***!\n \\***************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelsAssociatedWithChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelsAssociatedWithChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelsAssociatedWithChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js\":\n/*!****************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js ***!\n \\****************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListChannelsModeratedByAppInstanceUserCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListChannelsModeratedByAppInstanceUserCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListChannelsModeratedByAppInstanceUserCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListSubChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_ListSubChannelsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListSubChannelsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass ListTagsForResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_ListTagsForResourceCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_ListTagsForResourceCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js\":\n/*!******************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js ***!\n \\******************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ PutChannelExpirationSettingsCommand: () => (/* binding */ PutChannelExpirationSettingsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 PutChannelExpirationSettingsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, PutChannelExpirationSettingsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"PutChannelExpirationSettingsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_PutChannelExpirationSettingsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_PutChannelExpirationSettingsCommand)(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/PutChannelExpirationSettingsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass PutChannelMembershipPreferencesCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_PutChannelMembershipPreferencesCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_PutChannelMembershipPreferencesCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js\":\n/*!*************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js ***!\n \\*************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\n/* harmony export */ PutMessagingStreamingConfigurationsCommand: () => (/* binding */ PutMessagingStreamingConfigurationsCommand)\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 PutMessagingStreamingConfigurationsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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, PutMessagingStreamingConfigurationsCommand.getEndpointParameterInstructions()));\\n const stack = clientStack.concat(this.middlewareStack);\\n const { logger } = configuration;\\n const clientName = \\\"ChimeSDKMessagingClient\\\";\\n const commandName = \\\"PutMessagingStreamingConfigurationsCommand\\\";\\n const handlerExecutionContext = {\\n logger,\\n clientName,\\n commandName,\\n inputFilterSensitiveLog: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_PutMessagingStreamingConfigurationsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_PutMessagingStreamingConfigurationsCommand)(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/PutMessagingStreamingConfigurationsCommand.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_RedactChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_RedactChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass SearchChannelsCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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__.se_SearchChannelsCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_SearchChannelsCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass SendChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_SendChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_SendChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass TagResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_TagResourceCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_TagResourceCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UntagResourceCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UntagResourceCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UntagResourceCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UpdateChannelCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UpdateChannelCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UpdateChannelCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UpdateChannelFlowCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UpdateChannelFlowCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UpdateChannelFlowCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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\\n\\nclass UpdateChannelMessageCommand extends _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command {\\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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\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__.se_UpdateChannelMessageCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_4__.de_UpdateChannelMessageCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelReadMarkerCommand.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_2__.Command),\\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 _protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__ = __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 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 constructor(input) {\\n super();\\n this.input = input;\\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: (_) => _,\\n outputFilterSensitiveLog: (_) => _,\\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_3__.se_UpdateChannelReadMarkerCommand)(input, context);\\n }\\n deserialize(output, context) {\\n return (0,_protocols_Aws_restJson1__WEBPACK_IMPORTED_MODULE_3__.de_UpdateChannelReadMarkerCommand)(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _AssociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__.$Command),\\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 */ DeleteMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_14__.DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ DescribeChannelBanCommand: () => (/* reexport safe */ _DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_15__.DescribeChannelBanCommand),\\n/* harmony export */ DescribeChannelCommand: () => (/* reexport safe */ _DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_16__.DescribeChannelCommand),\\n/* harmony export */ DescribeChannelFlowCommand: () => (/* reexport safe */ _DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_17__.DescribeChannelFlowCommand),\\n/* harmony export */ DescribeChannelMembershipCommand: () => (/* reexport safe */ _DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_18__.DescribeChannelMembershipCommand),\\n/* harmony export */ DescribeChannelMembershipForAppInstanceUserCommand: () => (/* reexport safe */ _DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__.DescribeChannelMembershipForAppInstanceUserCommand),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserCommand: () => (/* reexport safe */ _DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__.DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ DescribeChannelModeratorCommand: () => (/* reexport safe */ _DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_21__.DescribeChannelModeratorCommand),\\n/* harmony export */ DisassociateChannelFlowCommand: () => (/* reexport safe */ _DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_22__.DisassociateChannelFlowCommand),\\n/* harmony export */ GetChannelMembershipPreferencesCommand: () => (/* reexport safe */ _GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_23__.GetChannelMembershipPreferencesCommand),\\n/* harmony export */ GetChannelMessageCommand: () => (/* reexport safe */ _GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_24__.GetChannelMessageCommand),\\n/* harmony export */ GetChannelMessageStatusCommand: () => (/* reexport safe */ _GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_25__.GetChannelMessageStatusCommand),\\n/* harmony export */ GetMessagingSessionEndpointCommand: () => (/* reexport safe */ _GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_26__.GetMessagingSessionEndpointCommand),\\n/* harmony export */ GetMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_27__.GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ ListChannelBansCommand: () => (/* reexport safe */ _ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_28__.ListChannelBansCommand),\\n/* harmony export */ ListChannelFlowsCommand: () => (/* reexport safe */ _ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_29__.ListChannelFlowsCommand),\\n/* harmony export */ ListChannelMembershipsCommand: () => (/* reexport safe */ _ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_30__.ListChannelMembershipsCommand),\\n/* harmony export */ ListChannelMembershipsForAppInstanceUserCommand: () => (/* reexport safe */ _ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_31__.ListChannelMembershipsForAppInstanceUserCommand),\\n/* harmony export */ ListChannelMessagesCommand: () => (/* reexport safe */ _ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_32__.ListChannelMessagesCommand),\\n/* harmony export */ ListChannelModeratorsCommand: () => (/* reexport safe */ _ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_33__.ListChannelModeratorsCommand),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowCommand: () => (/* reexport safe */ _ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_34__.ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ ListChannelsCommand: () => (/* reexport safe */ _ListChannelsCommand__WEBPACK_IMPORTED_MODULE_35__.ListChannelsCommand),\\n/* harmony export */ ListChannelsModeratedByAppInstanceUserCommand: () => (/* reexport safe */ _ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_36__.ListChannelsModeratedByAppInstanceUserCommand),\\n/* harmony export */ ListSubChannelsCommand: () => (/* reexport safe */ _ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_37__.ListSubChannelsCommand),\\n/* harmony export */ ListTagsForResourceCommand: () => (/* reexport safe */ _ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_38__.ListTagsForResourceCommand),\\n/* harmony export */ PutChannelExpirationSettingsCommand: () => (/* reexport safe */ _PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_39__.PutChannelExpirationSettingsCommand),\\n/* harmony export */ PutChannelMembershipPreferencesCommand: () => (/* reexport safe */ _PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_40__.PutChannelMembershipPreferencesCommand),\\n/* harmony export */ PutMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_41__.PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ RedactChannelMessageCommand: () => (/* reexport safe */ _RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_42__.RedactChannelMessageCommand),\\n/* harmony export */ SearchChannelsCommand: () => (/* reexport safe */ _SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_43__.SearchChannelsCommand),\\n/* harmony export */ SendChannelMessageCommand: () => (/* reexport safe */ _SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_44__.SendChannelMessageCommand),\\n/* harmony export */ TagResourceCommand: () => (/* reexport safe */ _TagResourceCommand__WEBPACK_IMPORTED_MODULE_45__.TagResourceCommand),\\n/* harmony export */ UntagResourceCommand: () => (/* reexport safe */ _UntagResourceCommand__WEBPACK_IMPORTED_MODULE_46__.UntagResourceCommand),\\n/* harmony export */ UpdateChannelCommand: () => (/* reexport safe */ _UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_47__.UpdateChannelCommand),\\n/* harmony export */ UpdateChannelFlowCommand: () => (/* reexport safe */ _UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_48__.UpdateChannelFlowCommand),\\n/* harmony export */ UpdateChannelMessageCommand: () => (/* reexport safe */ _UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_49__.UpdateChannelMessageCommand),\\n/* harmony export */ UpdateChannelReadMarkerCommand: () => (/* reexport safe */ _UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_50__.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 _DeleteMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./DeleteMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DeleteMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _DescribeChannelBanCommand__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./DescribeChannelBanCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelBanCommand.js\\\");\\n/* harmony import */ var _DescribeChannelCommand__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./DescribeChannelCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelCommand.js\\\");\\n/* harmony import */ var _DescribeChannelFlowCommand__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./DescribeChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelFlowCommand.js\\\");\\n/* harmony import */ var _DescribeChannelMembershipCommand__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./DescribeChannelMembershipCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipCommand.js\\\");\\n/* harmony import */ var _DescribeChannelMembershipForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./DescribeChannelMembershipForAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelMembershipForAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _DescribeChannelModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./DescribeChannelModeratedByAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratedByAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _DescribeChannelModeratorCommand__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./DescribeChannelModeratorCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DescribeChannelModeratorCommand.js\\\");\\n/* harmony import */ var _DisassociateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./DisassociateChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/DisassociateChannelFlowCommand.js\\\");\\n/* harmony import */ var _GetChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./GetChannelMembershipPreferencesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMembershipPreferencesCommand.js\\\");\\n/* harmony import */ var _GetChannelMessageCommand__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./GetChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageCommand.js\\\");\\n/* harmony import */ var _GetChannelMessageStatusCommand__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./GetChannelMessageStatusCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetChannelMessageStatusCommand.js\\\");\\n/* harmony import */ var _GetMessagingSessionEndpointCommand__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./GetMessagingSessionEndpointCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingSessionEndpointCommand.js\\\");\\n/* harmony import */ var _GetMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./GetMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/GetMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./ListChannelBansCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js\\\");\\n/* harmony import */ var _ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./ListChannelFlowsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js\\\");\\n/* harmony import */ var _ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./ListChannelMembershipsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js\\\");\\n/* harmony import */ var _ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./ListChannelMembershipsForAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./ListChannelMessagesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js\\\");\\n/* harmony import */ var _ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./ListChannelModeratorsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js\\\");\\n/* harmony import */ var _ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./ListChannelsAssociatedWithChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js\\\");\\n/* harmony import */ var _ListChannelsCommand__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./ListChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js\\\");\\n/* harmony import */ var _ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./ListChannelsModeratedByAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js\\\");\\n/* harmony import */ var _ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./ListSubChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js\\\");\\n/* harmony import */ var _ListTagsForResourceCommand__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./ListTagsForResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListTagsForResourceCommand.js\\\");\\n/* harmony import */ var _PutChannelExpirationSettingsCommand__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./PutChannelExpirationSettingsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelExpirationSettingsCommand.js\\\");\\n/* harmony import */ var _PutChannelMembershipPreferencesCommand__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./PutChannelMembershipPreferencesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutChannelMembershipPreferencesCommand.js\\\");\\n/* harmony import */ var _PutMessagingStreamingConfigurationsCommand__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./PutMessagingStreamingConfigurationsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/PutMessagingStreamingConfigurationsCommand.js\\\");\\n/* harmony import */ var _RedactChannelMessageCommand__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./RedactChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/RedactChannelMessageCommand.js\\\");\\n/* harmony import */ var _SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./SearchChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js\\\");\\n/* harmony import */ var _SendChannelMessageCommand__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./SendChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SendChannelMessageCommand.js\\\");\\n/* harmony import */ var _TagResourceCommand__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./TagResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/TagResourceCommand.js\\\");\\n/* harmony import */ var _UntagResourceCommand__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./UntagResourceCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UntagResourceCommand.js\\\");\\n/* harmony import */ var _UpdateChannelCommand__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./UpdateChannelCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelCommand.js\\\");\\n/* harmony import */ var _UpdateChannelFlowCommand__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./UpdateChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelFlowCommand.js\\\");\\n/* harmony import */ var _UpdateChannelMessageCommand__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./UpdateChannelMessageCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/UpdateChannelMessageCommand.js\\\");\\n/* harmony import */ var _UpdateChannelReadMarkerCommand__WEBPACK_IMPORTED_MODULE_50__ = __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\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/EndpointParameters.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/EndpointParameters.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/endpointResolver.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/endpointResolver.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/ruleset.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/endpoint/ruleset.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ruleSet: () => (/* binding */ ruleSet)\\n/* harmony export */ });\\nconst q = \\\"required\\\", r = \\\"fn\\\", s = \\\"argv\\\", t = \\\"ref\\\";\\nconst a = \\\"isSet\\\", b = \\\"tree\\\", c = \\\"error\\\", d = \\\"endpoint\\\", e = \\\"PartitionResult\\\", f = { [q]: false, \\\"type\\\": \\\"String\\\" }, g = { [q]: true, \\\"default\\\": false, \\\"type\\\": \\\"Boolean\\\" }, h = { [t]: \\\"Endpoint\\\" }, i = { [r]: \\\"booleanEquals\\\", [s]: [{ [t]: \\\"UseFIPS\\\" }, true] }, j = { [r]: \\\"booleanEquals\\\", [s]: [{ [t]: \\\"UseDualStack\\\" }, true] }, k = {}, l = { [r]: \\\"booleanEquals\\\", [s]: [true, { [r]: \\\"getAttr\\\", [s]: [{ [t]: e }, \\\"supportsFIPS\\\"] }] }, m = { [r]: \\\"booleanEquals\\\", [s]: [true, { [r]: \\\"getAttr\\\", [s]: [{ [t]: e }, \\\"supportsDualStack\\\"] }] }, n = [i], o = [j], p = [{ [t]: \\\"Region\\\" }];\\nconst _data = { version: \\\"1.0\\\", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: \\\"Invalid Configuration: FIPS and custom endpoint are not supported\\\", type: c }, { type: b, rules: [{ conditions: o, error: \\\"Invalid Configuration: Dualstack and custom endpoint are not supported\\\", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: \\\"aws.partition\\\", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }, { error: \\\"FIPS and DualStack are enabled, but this partition does not support one or both\\\", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime-fips.{Region}.{PartitionResult#dnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }, { error: \\\"FIPS is enabled but this partition does not support FIPS\\\", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime.{Region}.{PartitionResult#dualStackDnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }, { error: \\\"DualStack is enabled but this partition does not support DualStack\\\", type: c }] }, { type: b, rules: [{ endpoint: { url: \\\"https://messaging-chime.{Region}.{PartitionResult#dnsSuffix}\\\", properties: k, headers: k }, type: d }] }] }] }, { error: \\\"Invalid Configuration: Missing Region\\\", type: c }] }] };\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/index.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ $Command: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.$Command),\\n/* harmony export */ AllowNotifications: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.AllowNotifications),\\n/* harmony export */ AssociateChannelFlowCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.AssociateChannelFlowCommand),\\n/* harmony export */ BadRequestException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.BadRequestException),\\n/* harmony export */ BatchChannelMembershipsFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.BatchChannelMembershipsFilterSensitiveLog),\\n/* harmony export */ BatchCreateChannelMembershipCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.BatchCreateChannelMembershipCommand),\\n/* harmony export */ BatchCreateChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.BatchCreateChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ ChannelAssociatedWithFlowSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelAssociatedWithFlowSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelBanFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelBanFilterSensitiveLog),\\n/* harmony export */ ChannelBanSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelBanSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFilterSensitiveLog),\\n/* harmony export */ ChannelFlowCallbackCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ChannelFlowCallbackCommand),\\n/* harmony export */ ChannelFlowCallbackRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFlowCallbackRequestFilterSensitiveLog),\\n/* harmony export */ ChannelFlowFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFlowFilterSensitiveLog),\\n/* harmony export */ ChannelFlowSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelFlowSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipPreferencesFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipPreferencesFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMembershipType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMembershipType),\\n/* harmony export */ ChannelMessageCallbackFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageCallbackFilterSensitiveLog),\\n/* harmony export */ ChannelMessageFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageFilterSensitiveLog),\\n/* harmony export */ ChannelMessagePersistenceType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessagePersistenceType),\\n/* harmony export */ ChannelMessageStatus: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageStatus),\\n/* harmony export */ ChannelMessageSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelMessageType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMessageType),\\n/* harmony export */ ChannelMode: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelMode),\\n/* harmony export */ ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelModeratorFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelModeratorFilterSensitiveLog),\\n/* harmony export */ ChannelModeratorSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelModeratorSummaryFilterSensitiveLog),\\n/* harmony export */ ChannelPrivacy: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelPrivacy),\\n/* harmony export */ ChannelSummaryFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ChannelSummaryFilterSensitiveLog),\\n/* harmony export */ ChimeSDKMessaging: () => (/* reexport safe */ _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__.ChimeSDKMessaging),\\n/* harmony export */ ChimeSDKMessagingClient: () => (/* reexport safe */ _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_0__.ChimeSDKMessagingClient),\\n/* harmony export */ ChimeSDKMessagingServiceException: () => (/* reexport safe */ _models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_5__.ChimeSDKMessagingServiceException),\\n/* harmony export */ ConflictException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ConflictException),\\n/* harmony export */ CreateChannelBanCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelBanCommand),\\n/* harmony export */ CreateChannelBanResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.CreateChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ CreateChannelMembershipCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelMembershipCommand),\\n/* harmony export */ CreateChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.CreateChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelModeratorCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.CreateChannelModeratorCommand),\\n/* harmony export */ CreateChannelModeratorResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.CreateChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.CreateChannelRequestFilterSensitiveLog),\\n/* harmony export */ DeleteChannelBanCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelBanCommand),\\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 */ DeleteChannelMembershipCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelMembershipCommand),\\n/* harmony export */ DeleteChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelMessageCommand),\\n/* harmony export */ DeleteChannelModeratorCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteChannelModeratorCommand),\\n/* harmony export */ DeleteMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ DescribeChannelBanCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelBanCommand),\\n/* harmony export */ DescribeChannelBanResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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 */ DescribeChannelFlowResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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 */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratorCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DescribeChannelModeratorCommand),\\n/* harmony export */ DescribeChannelModeratorResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.DescribeChannelResponseFilterSensitiveLog),\\n/* harmony export */ DisassociateChannelFlowCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.DisassociateChannelFlowCommand),\\n/* harmony export */ ErrorCode: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ErrorCode),\\n/* harmony export */ ExpirationCriterion: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ExpirationCriterion),\\n/* harmony export */ FallbackAction: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.FallbackAction),\\n/* harmony export */ ForbiddenException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ForbiddenException),\\n/* harmony export */ GetChannelMembershipPreferencesCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMembershipPreferencesCommand),\\n/* harmony export */ GetChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.GetChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMessageCommand),\\n/* harmony export */ GetChannelMessageResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.GetChannelMessageResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageStatusCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetChannelMessageStatusCommand),\\n/* harmony export */ GetMessagingSessionEndpointCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetMessagingSessionEndpointCommand),\\n/* harmony export */ GetMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ IdentityFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.IdentityFilterSensitiveLog),\\n/* harmony export */ InvocationType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.InvocationType),\\n/* harmony export */ ListChannelBansCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelBansCommand),\\n/* harmony export */ ListChannelBansRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelBansRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelBansResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelBansResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelFlowsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelFlowsCommand),\\n/* harmony export */ ListChannelFlowsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelFlowsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelFlowsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.ListChannelMembershipsForAppInstanceUserRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMembershipsForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelMembershipsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMembershipsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelMembershipsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMembershipsResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelMessagesCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelMessagesCommand),\\n/* harmony export */ ListChannelMessagesRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMessagesRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelMessagesResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelMessagesResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelModeratorsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelModeratorsCommand),\\n/* harmony export */ ListChannelModeratorsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelModeratorsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelModeratorsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelModeratorsResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsAssociatedWithChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelsAssociatedWithChannelFlowResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.ListChannelsModeratedByAppInstanceUserRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ ListChannelsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsRequestFilterSensitiveLog),\\n/* harmony export */ ListChannelsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListChannelsResponseFilterSensitiveLog),\\n/* harmony export */ ListSubChannelsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListSubChannelsCommand),\\n/* harmony export */ ListSubChannelsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListSubChannelsRequestFilterSensitiveLog),\\n/* harmony export */ ListSubChannelsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListSubChannelsResponseFilterSensitiveLog),\\n/* harmony export */ ListTagsForResourceCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.ListTagsForResourceCommand),\\n/* harmony export */ ListTagsForResourceResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ListTagsForResourceResponseFilterSensitiveLog),\\n/* harmony export */ MessageAttributeValueFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.MessageAttributeValueFilterSensitiveLog),\\n/* harmony export */ MessagingDataType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.MessagingDataType),\\n/* harmony export */ NotFoundException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.NotFoundException),\\n/* harmony export */ ProcessorFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ProcessorFilterSensitiveLog),\\n/* harmony export */ PushNotificationConfigurationFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PushNotificationConfigurationFilterSensitiveLog),\\n/* harmony export */ PushNotificationPreferencesFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PushNotificationPreferencesFilterSensitiveLog),\\n/* harmony export */ PushNotificationType: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PushNotificationType),\\n/* harmony export */ PutChannelExpirationSettingsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.PutChannelExpirationSettingsCommand),\\n/* harmony export */ PutChannelMembershipPreferencesCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.PutChannelMembershipPreferencesCommand),\\n/* harmony export */ PutChannelMembershipPreferencesRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PutChannelMembershipPreferencesRequestFilterSensitiveLog),\\n/* harmony export */ PutChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.PutChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ PutMessagingStreamingConfigurationsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ RedactChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.RedactChannelMessageCommand),\\n/* harmony export */ ResourceLimitExceededException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ResourceLimitExceededException),\\n/* harmony export */ SearchChannelsCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.SearchChannelsCommand),\\n/* harmony export */ SearchChannelsRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchChannelsRequestFilterSensitiveLog),\\n/* harmony export */ SearchChannelsResponseFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchChannelsResponseFilterSensitiveLog),\\n/* harmony export */ SearchFieldKey: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchFieldKey),\\n/* harmony export */ SearchFieldOperator: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SearchFieldOperator),\\n/* harmony export */ SendChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.SendChannelMessageCommand),\\n/* harmony export */ SendChannelMessageRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SendChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ ServiceFailureException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ServiceFailureException),\\n/* harmony export */ ServiceUnavailableException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ServiceUnavailableException),\\n/* harmony export */ SortOrder: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.SortOrder),\\n/* harmony export */ TagFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.TagFilterSensitiveLog),\\n/* harmony export */ TagResourceCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.TagResourceCommand),\\n/* harmony export */ TagResourceRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.TagResourceRequestFilterSensitiveLog),\\n/* harmony export */ ThrottledClientException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.ThrottledClientException),\\n/* harmony export */ UnauthorizedClientException: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.UnauthorizedClientException),\\n/* harmony export */ UntagResourceCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UntagResourceCommand),\\n/* harmony export */ UntagResourceRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.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_4__.UpdateChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelMessageCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelMessageCommand),\\n/* harmony export */ UpdateChannelMessageRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.UpdateChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelReadMarkerCommand: () => (/* reexport safe */ _commands__WEBPACK_IMPORTED_MODULE_2__.UpdateChannelReadMarkerCommand),\\n/* harmony export */ UpdateChannelRequestFilterSensitiveLog: () => (/* reexport safe */ _models__WEBPACK_IMPORTED_MODULE_4__.UpdateChannelRequestFilterSensitiveLog),\\n/* harmony export */ __Client: () => (/* reexport safe */ _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_0__.__Client),\\n/* harmony export */ paginateListChannelBans: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelBans),\\n/* harmony export */ paginateListChannelFlows: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelFlows),\\n/* harmony export */ paginateListChannelMemberships: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelMemberships),\\n/* harmony export */ paginateListChannelMembershipsForAppInstanceUser: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelMembershipsForAppInstanceUser),\\n/* harmony export */ paginateListChannelMessages: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelMessages),\\n/* harmony export */ paginateListChannelModerators: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelModerators),\\n/* harmony export */ paginateListChannels: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannels),\\n/* harmony export */ paginateListChannelsAssociatedWithChannelFlow: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelsAssociatedWithChannelFlow),\\n/* harmony export */ paginateListChannelsModeratedByAppInstanceUser: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListChannelsModeratedByAppInstanceUser),\\n/* harmony export */ paginateListSubChannels: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateListSubChannels),\\n/* harmony export */ paginateSearchChannels: () => (/* reexport safe */ _pagination__WEBPACK_IMPORTED_MODULE_3__.paginateSearchChannels)\\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 _ChimeSDKMessaging__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ChimeSDKMessaging */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/ChimeSDKMessaging.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 _pagination__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./pagination */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js\\\");\\n/* harmony import */ var _models__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./models */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/ChimeSDKMessagingServiceException.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ChimeSDKMessagingServiceException: () => (/* binding */ ChimeSDKMessagingServiceException),\\n/* harmony export */ __ServiceException: () => (/* reexport safe */ _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.ServiceException)\\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\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/index.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/index.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ 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 */ 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 */ 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 */ 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 */ 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 */ CreateChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.CreateChannelMembershipResponseFilterSensitiveLog),\\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 */ DescribeChannelBanResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelBanResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelFlowResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelFlowResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratorResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.DescribeChannelResponseFilterSensitiveLog),\\n/* harmony export */ ErrorCode: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ErrorCode),\\n/* harmony export */ ExpirationCriterion: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.ExpirationCriterion),\\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 */ GetChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageResponseFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.GetChannelMessageResponseFilterSensitiveLog),\\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 */ 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 */ 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 */ MessagingDataType: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.MessagingDataType),\\n/* harmony export */ NotFoundException: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.NotFoundException),\\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 */ 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 */ 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 */ 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 */ 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 */ UpdateChannelMessageRequestFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelRequestFilterSensitiveLog: () => (/* reexport safe */ _models_0__WEBPACK_IMPORTED_MODULE_0__.UpdateChannelRequestFilterSensitiveLog)\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/models/models_0.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ AllowNotifications: () => (/* binding */ AllowNotifications),\\n/* harmony export */ BadRequestException: () => (/* binding */ BadRequestException),\\n/* harmony export */ BatchChannelMembershipsFilterSensitiveLog: () => (/* binding */ BatchChannelMembershipsFilterSensitiveLog),\\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 */ 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 */ 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 */ CreateChannelBanResponseFilterSensitiveLog: () => (/* binding */ CreateChannelBanResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelFlowRequestFilterSensitiveLog: () => (/* binding */ CreateChannelFlowRequestFilterSensitiveLog),\\n/* harmony export */ CreateChannelMembershipResponseFilterSensitiveLog: () => (/* binding */ CreateChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelModeratorResponseFilterSensitiveLog: () => (/* binding */ CreateChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ CreateChannelRequestFilterSensitiveLog: () => (/* binding */ CreateChannelRequestFilterSensitiveLog),\\n/* harmony export */ DescribeChannelBanResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelBanResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelFlowResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelFlowResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelMembershipResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelMembershipResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelModeratorResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelModeratorResponseFilterSensitiveLog),\\n/* harmony export */ DescribeChannelResponseFilterSensitiveLog: () => (/* binding */ DescribeChannelResponseFilterSensitiveLog),\\n/* harmony export */ ErrorCode: () => (/* binding */ ErrorCode),\\n/* harmony export */ ExpirationCriterion: () => (/* binding */ ExpirationCriterion),\\n/* harmony export */ FallbackAction: () => (/* binding */ FallbackAction),\\n/* harmony export */ ForbiddenException: () => (/* binding */ ForbiddenException),\\n/* harmony export */ GetChannelMembershipPreferencesResponseFilterSensitiveLog: () => (/* binding */ GetChannelMembershipPreferencesResponseFilterSensitiveLog),\\n/* harmony export */ GetChannelMessageResponseFilterSensitiveLog: () => (/* binding */ GetChannelMessageResponseFilterSensitiveLog),\\n/* harmony export */ IdentityFilterSensitiveLog: () => (/* binding */ IdentityFilterSensitiveLog),\\n/* harmony export */ InvocationType: () => (/* binding */ InvocationType),\\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 */ ListTagsForResourceResponseFilterSensitiveLog: () => (/* binding */ ListTagsForResourceResponseFilterSensitiveLog),\\n/* harmony export */ MessageAttributeValueFilterSensitiveLog: () => (/* binding */ MessageAttributeValueFilterSensitiveLog),\\n/* harmony export */ MessagingDataType: () => (/* binding */ MessagingDataType),\\n/* harmony export */ NotFoundException: () => (/* binding */ NotFoundException),\\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 */ ResourceLimitExceededException: () => (/* binding */ ResourceLimitExceededException),\\n/* harmony export */ SearchChannelsRequestFilterSensitiveLog: () => (/* binding */ SearchChannelsRequestFilterSensitiveLog),\\n/* harmony export */ SearchChannelsResponseFilterSensitiveLog: () => (/* binding */ SearchChannelsResponseFilterSensitiveLog),\\n/* harmony export */ SearchFieldKey: () => (/* binding */ SearchFieldKey),\\n/* harmony export */ SearchFieldOperator: () => (/* binding */ SearchFieldOperator),\\n/* harmony export */ SendChannelMessageRequestFilterSensitiveLog: () => (/* binding */ SendChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ ServiceFailureException: () => (/* binding */ ServiceFailureException),\\n/* harmony export */ ServiceUnavailableException: () => (/* binding */ ServiceUnavailableException),\\n/* harmony export */ SortOrder: () => (/* binding */ SortOrder),\\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 */ UpdateChannelMessageRequestFilterSensitiveLog: () => (/* binding */ UpdateChannelMessageRequestFilterSensitiveLog),\\n/* harmony export */ UpdateChannelRequestFilterSensitiveLog: () => (/* binding */ UpdateChannelRequestFilterSensitiveLog)\\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\\nconst AllowNotifications = {\\n ALL: \\\"ALL\\\",\\n FILTERED: \\\"FILTERED\\\",\\n NONE: \\\"NONE\\\",\\n};\\nconst ChannelMembershipType = {\\n DEFAULT: \\\"DEFAULT\\\",\\n HIDDEN: \\\"HIDDEN\\\",\\n};\\nconst ErrorCode = {\\n AccessDenied: \\\"AccessDenied\\\",\\n BadRequest: \\\"BadRequest\\\",\\n Conflict: \\\"Conflict\\\",\\n Forbidden: \\\"Forbidden\\\",\\n NotFound: \\\"NotFound\\\",\\n PhoneNumberAssociationsExist: \\\"PhoneNumberAssociationsExist\\\",\\n PreconditionFailed: \\\"PreconditionFailed\\\",\\n ResourceLimitExceeded: \\\"ResourceLimitExceeded\\\",\\n ServiceFailure: \\\"ServiceFailure\\\",\\n ServiceUnavailable: \\\"ServiceUnavailable\\\",\\n Throttled: \\\"Throttled\\\",\\n Throttling: \\\"Throttling\\\",\\n Unauthorized: \\\"Unauthorized\\\",\\n Unprocessable: \\\"Unprocessable\\\",\\n VoiceConnectorGroupAssociationsExist: \\\"VoiceConnectorGroupAssociationsExist\\\",\\n};\\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}\\nconst ExpirationCriterion = {\\n CREATED_TIMESTAMP: \\\"CREATED_TIMESTAMP\\\",\\n LAST_MESSAGE_TIMESTAMP: \\\"LAST_MESSAGE_TIMESTAMP\\\",\\n};\\nconst ChannelMode = {\\n RESTRICTED: \\\"RESTRICTED\\\",\\n UNRESTRICTED: \\\"UNRESTRICTED\\\",\\n};\\nconst ChannelPrivacy = {\\n PRIVATE: \\\"PRIVATE\\\",\\n PUBLIC: \\\"PUBLIC\\\",\\n};\\nconst InvocationType = {\\n ASYNC: \\\"ASYNC\\\",\\n};\\nconst FallbackAction = {\\n ABORT: \\\"ABORT\\\",\\n CONTINUE: \\\"CONTINUE\\\",\\n};\\nconst PushNotificationType = {\\n DEFAULT: \\\"DEFAULT\\\",\\n VOIP: \\\"VOIP\\\",\\n};\\nconst ChannelMessagePersistenceType = {\\n NON_PERSISTENT: \\\"NON_PERSISTENT\\\",\\n PERSISTENT: \\\"PERSISTENT\\\",\\n};\\nconst ChannelMessageStatus = {\\n DENIED: \\\"DENIED\\\",\\n FAILED: \\\"FAILED\\\",\\n PENDING: \\\"PENDING\\\",\\n SENT: \\\"SENT\\\",\\n};\\nconst ChannelMessageType = {\\n CONTROL: \\\"CONTROL\\\",\\n STANDARD: \\\"STANDARD\\\",\\n};\\nconst MessagingDataType = {\\n Channel: \\\"Channel\\\",\\n ChannelMessage: \\\"ChannelMessage\\\",\\n};\\nconst SortOrder = {\\n ASCENDING: \\\"ASCENDING\\\",\\n DESCENDING: \\\"DESCENDING\\\",\\n};\\nconst SearchFieldKey = {\\n MEMBERS: \\\"MEMBERS\\\",\\n};\\nconst SearchFieldOperator = {\\n EQUALS: \\\"EQUALS\\\",\\n INCLUDES: \\\"INCLUDES\\\",\\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 BatchCreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.BatchChannelMemberships && {\\n BatchChannelMemberships: BatchChannelMembershipsFilterSensitiveLog(obj.BatchChannelMemberships),\\n }),\\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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\n});\\nconst ChannelFlowCallbackRequestFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMessage && { ChannelMessage: ChannelMessageCallbackFilterSensitiveLog(obj.ChannelMessage) }),\\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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 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 CreateChannelMembershipResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\\n});\\nconst CreateChannelModeratorResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelModerator && { ChannelModerator: IdentityFilterSensitiveLog(obj.ChannelModerator) }),\\n});\\nconst DescribeChannelResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Channel && { Channel: ChannelFilterSensitiveLog(obj.Channel) }),\\n});\\nconst DescribeChannelBanResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelBan && { ChannelBan: ChannelBanFilterSensitiveLog(obj.ChannelBan) }),\\n});\\nconst DescribeChannelFlowResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelFlow && { ChannelFlow: ChannelFlowFilterSensitiveLog(obj.ChannelFlow) }),\\n});\\nconst DescribeChannelMembershipResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMembership && { ChannelMembership: ChannelMembershipFilterSensitiveLog(obj.ChannelMembership) }),\\n});\\nconst DescribeChannelMembershipForAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMembership && {\\n ChannelMembership: ChannelMembershipForAppInstanceUserSummaryFilterSensitiveLog(obj.ChannelMembership),\\n }),\\n});\\nconst DescribeChannelModeratedByAppInstanceUserResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Channel && { Channel: ChannelModeratedByAppInstanceUserSummaryFilterSensitiveLog(obj.Channel) }),\\n});\\nconst DescribeChannelModeratorResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelModerator && { ChannelModerator: ChannelModeratorFilterSensitiveLog(obj.ChannelModerator) }),\\n});\\nconst GetChannelMembershipPreferencesResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.Member && { Member: IdentityFilterSensitiveLog(obj.Member) }),\\n ...(obj.Preferences && { Preferences: ChannelMembershipPreferencesFilterSensitiveLog(obj.Preferences) }),\\n});\\nconst GetChannelMessageResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.ChannelMessage && { ChannelMessage: ChannelMessageFilterSensitiveLog(obj.ChannelMessage) }),\\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 ListSubChannelsResponseFilterSensitiveLog = (obj) => ({\\n ...obj,\\n ...(obj.NextToken && { NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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 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 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 ...(obj.ContentType && { ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.SENSITIVE_STRING }),\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelBansPaginator.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelBansPaginator.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelBansCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelBansCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelBansCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelBansCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelFlowsPaginator.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelFlowsPaginator.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelFlowsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelFlowsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelFlowsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelFlowsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js\":\n/*!**********************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsForAppInstanceUserPaginator.js ***!\n \\**********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMembershipsForAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsForAppInstanceUserCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelMembershipsForAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsForAppInstanceUserCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsPaginator.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMembershipsPaginator.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMembershipsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMembershipsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelMembershipsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMembershipsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMessagesPaginator.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelMessagesPaginator.js ***!\n \\*************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelMessagesCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelMessagesCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelMessagesCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelMessagesCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelModeratorsPaginator.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelModeratorsPaginator.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelModeratorsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelModeratorsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelModeratorsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelModeratorsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js\":\n/*!*******************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsAssociatedWithChannelFlowPaginator.js ***!\n \\*******************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsAssociatedWithChannelFlowCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsAssociatedWithChannelFlowCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelsAssociatedWithChannelFlowCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsAssociatedWithChannelFlowCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js\":\n/*!********************************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsModeratedByAppInstanceUserPaginator.js ***!\n \\********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsModeratedByAppInstanceUserCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsModeratedByAppInstanceUserCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelsModeratedByAppInstanceUserCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsModeratedByAppInstanceUserCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsPaginator.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListChannelsPaginator.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListChannelsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.ListChannelsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListSubChannelsPaginator.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/ListSubChannelsPaginator.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/ListSubChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/ListSubChannelsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_ListSubChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.ListSubChannelsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/SearchChannelsPaginator.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/SearchChannelsPaginator.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _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_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../commands/SearchChannelsCommand */ \\\"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/commands/SearchChannelsCommand.js\\\");\\n\\n\\nconst makePagedClientRequest = async (client, input, ...args) => {\\n return await client.send(new _commands_SearchChannelsCommand__WEBPACK_IMPORTED_MODULE_0__.SearchChannelsCommand(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 _ChimeSDKMessagingClient__WEBPACK_IMPORTED_MODULE_1__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/pagination/index.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/protocols/Aws_restJson1.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ de_AssociateChannelFlowCommand: () => (/* binding */ de_AssociateChannelFlowCommand),\\n/* harmony export */ de_BatchCreateChannelMembershipCommand: () => (/* binding */ de_BatchCreateChannelMembershipCommand),\\n/* harmony export */ de_ChannelFlowCallbackCommand: () => (/* binding */ de_ChannelFlowCallbackCommand),\\n/* harmony export */ de_CreateChannelBanCommand: () => (/* binding */ de_CreateChannelBanCommand),\\n/* harmony export */ de_CreateChannelCommand: () => (/* binding */ de_CreateChannelCommand),\\n/* harmony export */ de_CreateChannelFlowCommand: () => (/* binding */ de_CreateChannelFlowCommand),\\n/* harmony export */ de_CreateChannelMembershipCommand: () => (/* binding */ de_CreateChannelMembershipCommand),\\n/* harmony export */ de_CreateChannelModeratorCommand: () => (/* binding */ de_CreateChannelModeratorCommand),\\n/* harmony export */ de_DeleteChannelBanCommand: () => (/* binding */ de_DeleteChannelBanCommand),\\n/* harmony export */ de_DeleteChannelCommand: () => (/* binding */ de_DeleteChannelCommand),\\n/* harmony export */ de_DeleteChannelFlowCommand: () => (/* binding */ de_DeleteChannelFlowCommand),\\n/* harmony export */ de_DeleteChannelMembershipCommand: () => (/* binding */ de_DeleteChannelMembershipCommand),\\n/* harmony export */ de_DeleteChannelMessageCommand: () => (/* binding */ de_DeleteChannelMessageCommand),\\n/* harmony export */ de_DeleteChannelModeratorCommand: () => (/* binding */ de_DeleteChannelModeratorCommand),\\n/* harmony export */ de_DeleteMessagingStreamingConfigurationsCommand: () => (/* binding */ de_DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ de_DescribeChannelBanCommand: () => (/* binding */ de_DescribeChannelBanCommand),\\n/* harmony export */ de_DescribeChannelCommand: () => (/* binding */ de_DescribeChannelCommand),\\n/* harmony export */ de_DescribeChannelFlowCommand: () => (/* binding */ de_DescribeChannelFlowCommand),\\n/* harmony export */ de_DescribeChannelMembershipCommand: () => (/* binding */ de_DescribeChannelMembershipCommand),\\n/* harmony export */ de_DescribeChannelMembershipForAppInstanceUserCommand: () => (/* binding */ de_DescribeChannelMembershipForAppInstanceUserCommand),\\n/* harmony export */ de_DescribeChannelModeratedByAppInstanceUserCommand: () => (/* binding */ de_DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ de_DescribeChannelModeratorCommand: () => (/* binding */ de_DescribeChannelModeratorCommand),\\n/* harmony export */ de_DisassociateChannelFlowCommand: () => (/* binding */ de_DisassociateChannelFlowCommand),\\n/* harmony export */ de_GetChannelMembershipPreferencesCommand: () => (/* binding */ de_GetChannelMembershipPreferencesCommand),\\n/* harmony export */ de_GetChannelMessageCommand: () => (/* binding */ de_GetChannelMessageCommand),\\n/* harmony export */ de_GetChannelMessageStatusCommand: () => (/* binding */ de_GetChannelMessageStatusCommand),\\n/* harmony export */ de_GetMessagingSessionEndpointCommand: () => (/* binding */ de_GetMessagingSessionEndpointCommand),\\n/* harmony export */ de_GetMessagingStreamingConfigurationsCommand: () => (/* binding */ de_GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ de_ListChannelBansCommand: () => (/* binding */ de_ListChannelBansCommand),\\n/* harmony export */ de_ListChannelFlowsCommand: () => (/* binding */ de_ListChannelFlowsCommand),\\n/* harmony export */ de_ListChannelMembershipsCommand: () => (/* binding */ de_ListChannelMembershipsCommand),\\n/* harmony export */ de_ListChannelMembershipsForAppInstanceUserCommand: () => (/* binding */ de_ListChannelMembershipsForAppInstanceUserCommand),\\n/* harmony export */ de_ListChannelMessagesCommand: () => (/* binding */ de_ListChannelMessagesCommand),\\n/* harmony export */ de_ListChannelModeratorsCommand: () => (/* binding */ de_ListChannelModeratorsCommand),\\n/* harmony export */ de_ListChannelsAssociatedWithChannelFlowCommand: () => (/* binding */ de_ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ de_ListChannelsCommand: () => (/* binding */ de_ListChannelsCommand),\\n/* harmony export */ de_ListChannelsModeratedByAppInstanceUserCommand: () => (/* binding */ de_ListChannelsModeratedByAppInstanceUserCommand),\\n/* harmony export */ de_ListSubChannelsCommand: () => (/* binding */ de_ListSubChannelsCommand),\\n/* harmony export */ de_ListTagsForResourceCommand: () => (/* binding */ de_ListTagsForResourceCommand),\\n/* harmony export */ de_PutChannelExpirationSettingsCommand: () => (/* binding */ de_PutChannelExpirationSettingsCommand),\\n/* harmony export */ de_PutChannelMembershipPreferencesCommand: () => (/* binding */ de_PutChannelMembershipPreferencesCommand),\\n/* harmony export */ de_PutMessagingStreamingConfigurationsCommand: () => (/* binding */ de_PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ de_RedactChannelMessageCommand: () => (/* binding */ de_RedactChannelMessageCommand),\\n/* harmony export */ de_SearchChannelsCommand: () => (/* binding */ de_SearchChannelsCommand),\\n/* harmony export */ de_SendChannelMessageCommand: () => (/* binding */ de_SendChannelMessageCommand),\\n/* harmony export */ de_TagResourceCommand: () => (/* binding */ de_TagResourceCommand),\\n/* harmony export */ de_UntagResourceCommand: () => (/* binding */ de_UntagResourceCommand),\\n/* harmony export */ de_UpdateChannelCommand: () => (/* binding */ de_UpdateChannelCommand),\\n/* harmony export */ de_UpdateChannelFlowCommand: () => (/* binding */ de_UpdateChannelFlowCommand),\\n/* harmony export */ de_UpdateChannelMessageCommand: () => (/* binding */ de_UpdateChannelMessageCommand),\\n/* harmony export */ de_UpdateChannelReadMarkerCommand: () => (/* binding */ de_UpdateChannelReadMarkerCommand),\\n/* harmony export */ se_AssociateChannelFlowCommand: () => (/* binding */ se_AssociateChannelFlowCommand),\\n/* harmony export */ se_BatchCreateChannelMembershipCommand: () => (/* binding */ se_BatchCreateChannelMembershipCommand),\\n/* harmony export */ se_ChannelFlowCallbackCommand: () => (/* binding */ se_ChannelFlowCallbackCommand),\\n/* harmony export */ se_CreateChannelBanCommand: () => (/* binding */ se_CreateChannelBanCommand),\\n/* harmony export */ se_CreateChannelCommand: () => (/* binding */ se_CreateChannelCommand),\\n/* harmony export */ se_CreateChannelFlowCommand: () => (/* binding */ se_CreateChannelFlowCommand),\\n/* harmony export */ se_CreateChannelMembershipCommand: () => (/* binding */ se_CreateChannelMembershipCommand),\\n/* harmony export */ se_CreateChannelModeratorCommand: () => (/* binding */ se_CreateChannelModeratorCommand),\\n/* harmony export */ se_DeleteChannelBanCommand: () => (/* binding */ se_DeleteChannelBanCommand),\\n/* harmony export */ se_DeleteChannelCommand: () => (/* binding */ se_DeleteChannelCommand),\\n/* harmony export */ se_DeleteChannelFlowCommand: () => (/* binding */ se_DeleteChannelFlowCommand),\\n/* harmony export */ se_DeleteChannelMembershipCommand: () => (/* binding */ se_DeleteChannelMembershipCommand),\\n/* harmony export */ se_DeleteChannelMessageCommand: () => (/* binding */ se_DeleteChannelMessageCommand),\\n/* harmony export */ se_DeleteChannelModeratorCommand: () => (/* binding */ se_DeleteChannelModeratorCommand),\\n/* harmony export */ se_DeleteMessagingStreamingConfigurationsCommand: () => (/* binding */ se_DeleteMessagingStreamingConfigurationsCommand),\\n/* harmony export */ se_DescribeChannelBanCommand: () => (/* binding */ se_DescribeChannelBanCommand),\\n/* harmony export */ se_DescribeChannelCommand: () => (/* binding */ se_DescribeChannelCommand),\\n/* harmony export */ se_DescribeChannelFlowCommand: () => (/* binding */ se_DescribeChannelFlowCommand),\\n/* harmony export */ se_DescribeChannelMembershipCommand: () => (/* binding */ se_DescribeChannelMembershipCommand),\\n/* harmony export */ se_DescribeChannelMembershipForAppInstanceUserCommand: () => (/* binding */ se_DescribeChannelMembershipForAppInstanceUserCommand),\\n/* harmony export */ se_DescribeChannelModeratedByAppInstanceUserCommand: () => (/* binding */ se_DescribeChannelModeratedByAppInstanceUserCommand),\\n/* harmony export */ se_DescribeChannelModeratorCommand: () => (/* binding */ se_DescribeChannelModeratorCommand),\\n/* harmony export */ se_DisassociateChannelFlowCommand: () => (/* binding */ se_DisassociateChannelFlowCommand),\\n/* harmony export */ se_GetChannelMembershipPreferencesCommand: () => (/* binding */ se_GetChannelMembershipPreferencesCommand),\\n/* harmony export */ se_GetChannelMessageCommand: () => (/* binding */ se_GetChannelMessageCommand),\\n/* harmony export */ se_GetChannelMessageStatusCommand: () => (/* binding */ se_GetChannelMessageStatusCommand),\\n/* harmony export */ se_GetMessagingSessionEndpointCommand: () => (/* binding */ se_GetMessagingSessionEndpointCommand),\\n/* harmony export */ se_GetMessagingStreamingConfigurationsCommand: () => (/* binding */ se_GetMessagingStreamingConfigurationsCommand),\\n/* harmony export */ se_ListChannelBansCommand: () => (/* binding */ se_ListChannelBansCommand),\\n/* harmony export */ se_ListChannelFlowsCommand: () => (/* binding */ se_ListChannelFlowsCommand),\\n/* harmony export */ se_ListChannelMembershipsCommand: () => (/* binding */ se_ListChannelMembershipsCommand),\\n/* harmony export */ se_ListChannelMembershipsForAppInstanceUserCommand: () => (/* binding */ se_ListChannelMembershipsForAppInstanceUserCommand),\\n/* harmony export */ se_ListChannelMessagesCommand: () => (/* binding */ se_ListChannelMessagesCommand),\\n/* harmony export */ se_ListChannelModeratorsCommand: () => (/* binding */ se_ListChannelModeratorsCommand),\\n/* harmony export */ se_ListChannelsAssociatedWithChannelFlowCommand: () => (/* binding */ se_ListChannelsAssociatedWithChannelFlowCommand),\\n/* harmony export */ se_ListChannelsCommand: () => (/* binding */ se_ListChannelsCommand),\\n/* harmony export */ se_ListChannelsModeratedByAppInstanceUserCommand: () => (/* binding */ se_ListChannelsModeratedByAppInstanceUserCommand),\\n/* harmony export */ se_ListSubChannelsCommand: () => (/* binding */ se_ListSubChannelsCommand),\\n/* harmony export */ se_ListTagsForResourceCommand: () => (/* binding */ se_ListTagsForResourceCommand),\\n/* harmony export */ se_PutChannelExpirationSettingsCommand: () => (/* binding */ se_PutChannelExpirationSettingsCommand),\\n/* harmony export */ se_PutChannelMembershipPreferencesCommand: () => (/* binding */ se_PutChannelMembershipPreferencesCommand),\\n/* harmony export */ se_PutMessagingStreamingConfigurationsCommand: () => (/* binding */ se_PutMessagingStreamingConfigurationsCommand),\\n/* harmony export */ se_RedactChannelMessageCommand: () => (/* binding */ se_RedactChannelMessageCommand),\\n/* harmony export */ se_SearchChannelsCommand: () => (/* binding */ se_SearchChannelsCommand),\\n/* harmony export */ se_SendChannelMessageCommand: () => (/* binding */ se_SendChannelMessageCommand),\\n/* harmony export */ se_TagResourceCommand: () => (/* binding */ se_TagResourceCommand),\\n/* harmony export */ se_UntagResourceCommand: () => (/* binding */ se_UntagResourceCommand),\\n/* harmony export */ se_UpdateChannelCommand: () => (/* binding */ se_UpdateChannelCommand),\\n/* harmony export */ se_UpdateChannelFlowCommand: () => (/* binding */ se_UpdateChannelFlowCommand),\\n/* harmony export */ se_UpdateChannelMessageCommand: () => (/* binding */ se_UpdateChannelMessageCommand),\\n/* harmony export */ se_UpdateChannelReadMarkerCommand: () => (/* binding */ se_UpdateChannelReadMarkerCommand)\\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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @smithy/protocol-http */ \\\"./node_modules/@smithy/protocol-http/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 se_AssociateChannelFlowCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ChannelFlowArn: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_BatchCreateChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"batch-create\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n MemberArns: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n SubChannelId: [],\\n Type: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ChannelFlowCallbackCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"channel-flow-callback\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n CallbackId: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n ChannelMessage: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n DeleteResource: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_CreateChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n AppInstanceArn: [],\\n ChannelId: [],\\n ClientRequestToken: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n ElasticChannelConfiguration: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n ExpirationSettings: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n MemberArns: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Metadata: [],\\n Mode: [],\\n ModeratorArns: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Name: [],\\n Privacy: [],\\n Tags: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelBanCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n MemberArn: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelFlowCommand = 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((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n AppInstanceArn: [],\\n ClientRequestToken: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n Name: [],\\n Processors: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Tags: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n MemberArn: [],\\n SubChannelId: [],\\n Type: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_CreateChannelModeratorCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ChannelModeratorArn: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelBanCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelFlowCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DeleteChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DeleteChannelModeratorCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelModeratorArn\\\", () => input.ChannelModeratorArn, \\\"{ChannelModeratorArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DeleteMessagingStreamingConfigurationsCommand = 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 || \\\"\\\"}` +\\n \\\"/app-instances/{AppInstanceArn}/streaming-configurations\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"AppInstanceArn\\\", () => input.AppInstanceArn, \\\"{AppInstanceArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelBanCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelFlowCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DescribeChannelMembershipCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DescribeChannelMembershipForAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"app-instance-user-membership\\\"],\\n \\\"app-instance-user-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DescribeChannelModeratedByAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"app-instance-user-moderated-channel\\\"],\\n \\\"app-instance-user-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)(input.AppInstanceUserArn, `AppInstanceUserArn`)],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_DescribeChannelModeratorCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelModeratorArn\\\", () => input.ChannelModeratorArn, \\\"{ChannelModeratorArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_DisassociateChannelFlowCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"DELETE\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_GetChannelMembershipPreferencesCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_GetChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_GetChannelMessageStatusCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"message-status\\\"],\\n \\\"sub-channel-id\\\": [, input.SubChannelId],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_GetMessagingSessionEndpointCommand = 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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_GetMessagingStreamingConfigurationsCommand = 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 || \\\"\\\"}` +\\n \\\"/app-instances/{AppInstanceArn}/streaming-configurations\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"AppInstanceArn\\\", () => input.AppInstanceArn, \\\"{AppInstanceArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_ListChannelBansCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"max-results\\\": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\\n \\\"next-token\\\": [, input.NextToken],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelFlowsCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"app-instance-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelMembershipsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelMembershipsForAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\n \\\"x-amz-chime-bearer\\\": input.ChimeBearer,\\n });\\n const resolvedPath = `${basePath?.endsWith(\\\"/\\\") ? basePath.slice(0, -1) : basePath || \\\"\\\"}` + \\\"/channels\\\";\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelMessagesCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelModeratorsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"max-results\\\": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\\n \\\"next-token\\\": [, input.NextToken],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\n \\\"x-amz-chime-bearer\\\": input.ChimeBearer,\\n });\\n const resolvedPath = `${basePath?.endsWith(\\\"/\\\") ? basePath.slice(0, -1) : basePath || \\\"\\\"}` + \\\"/channels\\\";\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"app-instance-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelsAssociatedWithChannelFlowCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n scope: [, \\\"channel-flow-associations\\\"],\\n \\\"channel-flow-arn\\\": [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListChannelsModeratedByAppInstanceUserCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\n \\\"x-amz-chime-bearer\\\": input.ChimeBearer,\\n });\\n const resolvedPath = `${basePath?.endsWith(\\\"/\\\") ? basePath.slice(0, -1) : basePath || \\\"\\\"}` + \\\"/channels\\\";\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListSubChannelsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n \\\"max-results\\\": [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],\\n \\\"next-token\\\": [, input.NextToken],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_ListTagsForResourceCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n arn: [, (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)(input.ResourceARN, `ResourceARN`)],\\n });\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"GET\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_PutChannelExpirationSettingsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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}/expiration-settings\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ExpirationSettings: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_PutChannelMembershipPreferencesCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MemberArn\\\", () => input.MemberArn, \\\"{MemberArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Preferences: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_PutMessagingStreamingConfigurationsCommand = 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 || \\\"\\\"}` +\\n \\\"/app-instances/{AppInstanceArn}/streaming-configurations\\\";\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"AppInstanceArn\\\", () => input.AppInstanceArn, \\\"{AppInstanceArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n StreamingConfigurations: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_RedactChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n const query = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"redact\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n SubChannelId: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_SearchChannelsCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Fields: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_SendChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ClientRequestToken: [true, (_) => _ ?? (0,uuid__WEBPACK_IMPORTED_MODULE_2__[\\\"default\\\"])()],\\n Content: [],\\n ContentType: [],\\n MessageAttributes: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n Metadata: [],\\n Persistence: [],\\n PushNotification: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n SubChannelId: [],\\n Type: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_TagResourceCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"tag-resource\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ResourceARN: [],\\n Tags: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_UntagResourceCommand = 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 = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n operation: [, \\\"untag-resource\\\"],\\n });\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n ResourceARN: [],\\n TagKeys: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"POST\\\",\\n headers,\\n path: resolvedPath,\\n query,\\n body,\\n });\\n};\\nconst se_UpdateChannelCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Metadata: [],\\n Mode: [],\\n Name: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_UpdateChannelFlowCommand = 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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelFlowArn\\\", () => input.ChannelFlowArn, \\\"{ChannelFlowArn}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Name: [],\\n Processors: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json)(_),\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_UpdateChannelMessageCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n resolvedPath = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.resolvedPath)(resolvedPath, input, \\\"MessageId\\\", () => input.MessageId, \\\"{MessageId}\\\", false);\\n let body;\\n body = JSON.stringify((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(input, {\\n Content: [],\\n ContentType: [],\\n Metadata: [],\\n SubChannelId: [],\\n }));\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst se_UpdateChannelReadMarkerCommand = async (input, context) => {\\n const { hostname, protocol = \\\"https\\\", port, path: basePath } = await context.endpoint();\\n const headers = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({}, isSerializableHeaderValue, {\\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_0__.resolvedPath)(resolvedPath, input, \\\"ChannelArn\\\", () => input.ChannelArn, \\\"{ChannelArn}\\\", false);\\n let body;\\n return new _smithy_protocol_http__WEBPACK_IMPORTED_MODULE_1__.HttpRequest({\\n protocol,\\n hostname,\\n port,\\n method: \\\"PUT\\\",\\n headers,\\n path: resolvedPath,\\n body,\\n });\\n};\\nconst de_AssociateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_AssociateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_AssociateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_BatchCreateChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_BatchCreateChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n BatchChannelMemberships: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Errors: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_BatchCreateChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ChannelFlowCallbackCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ChannelFlowCallbackCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n CallbackId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ChannelFlowCallbackCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelBanCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelBanCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelBanCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_CreateChannelModeratorCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_CreateChannelModeratorCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelModerator: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_CreateChannelModeratorCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelBanCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelBanCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelBanCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteChannelModeratorCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteChannelModeratorCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteChannelModeratorCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DeleteMessagingStreamingConfigurationsCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DeleteMessagingStreamingConfigurationsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DeleteMessagingStreamingConfigurationsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channel: (_) => de_Channel(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelBanCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelBanCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelBan: (_) => de_ChannelBan(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelBanCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlow: (_) => de_ChannelFlow(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelMembershipCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelMembershipCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMembership: (_) => de_ChannelMembership(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelMembershipCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelMembershipForAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelMembershipForAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMembership: (_) => de_ChannelMembershipForAppInstanceUserSummary(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelMembershipForAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelModeratedByAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelModeratedByAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channel: (_) => de_ChannelModeratedByAppInstanceUserSummary(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelModeratedByAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DescribeChannelModeratorCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_DescribeChannelModeratorCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelModerator: (_) => de_ChannelModerator(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_DescribeChannelModeratorCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_DisassociateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_DisassociateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_DisassociateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetChannelMembershipPreferencesCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetChannelMembershipPreferencesCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Preferences: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetChannelMembershipPreferencesCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMessage: (_) => de_ChannelMessage(_, context),\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetChannelMessageStatusCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetChannelMessageStatusCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetChannelMessageStatusCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetMessagingSessionEndpointCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetMessagingSessionEndpointCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Endpoint: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetMessagingSessionEndpointCommandError = 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 de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_GetMessagingStreamingConfigurationsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_GetMessagingStreamingConfigurationsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n StreamingConfigurations: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_GetMessagingStreamingConfigurationsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelBansCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelBansCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelBans: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelBansCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelFlowsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelFlowsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlows: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelFlowsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelMembershipsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelMembershipsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelMemberships: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelMembershipsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelMembershipsForAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelMembershipsForAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelMemberships: (_) => de_ChannelMembershipForAppInstanceUserSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelMembershipsForAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelMessagesCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelMessagesCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelMessages: (_) => de_ChannelMessageSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelMessagesCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelModeratorsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelModeratorsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelModerators: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelModeratorsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: (_) => de_ChannelSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelsAssociatedWithChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelsAssociatedWithChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelsAssociatedWithChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListChannelsModeratedByAppInstanceUserCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListChannelsModeratedByAppInstanceUserCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: (_) => de_ChannelModeratedByAppInstanceUserSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListChannelsModeratedByAppInstanceUserCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListSubChannelsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListSubChannelsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n SubChannels: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListSubChannelsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_ListTagsForResourceCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_ListTagsForResourceCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Tags: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_ListTagsForResourceCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_PutChannelExpirationSettingsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_PutChannelExpirationSettingsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ExpirationSettings: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_PutChannelExpirationSettingsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_PutChannelMembershipPreferencesCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_PutChannelMembershipPreferencesCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Preferences: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_PutChannelMembershipPreferencesCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_PutMessagingStreamingConfigurationsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_PutMessagingStreamingConfigurationsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n StreamingConfigurations: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_PutMessagingStreamingConfigurationsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"NotFoundException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#NotFoundException\\\":\\n throw await de_NotFoundExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_RedactChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_RedactChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_RedactChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_SearchChannelsCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_SearchChannelsCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Channels: (_) => de_ChannelSummaryList(_, context),\\n NextToken: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_SearchChannelsCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_SendChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 201 && output.statusCode >= 300) {\\n return de_SendChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_SendChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_TagResourceCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_TagResourceCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_TagResourceCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ResourceLimitExceededException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ResourceLimitExceededException\\\":\\n throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UntagResourceCommand = async (output, context) => {\\n if (output.statusCode !== 204 && output.statusCode >= 300) {\\n return de_UntagResourceCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n await collectBody(output.body, context);\\n return contents;\\n};\\nconst de_UntagResourceCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelFlowCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelFlowCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelFlowCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelMessageCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelMessageCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelMessageCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst de_UpdateChannelReadMarkerCommand = async (output, context) => {\\n if (output.statusCode !== 200 && output.statusCode >= 300) {\\n return de_UpdateChannelReadMarkerCommandError(output, context);\\n }\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({\\n $metadata: deserializeMetadata(output),\\n });\\n const data = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectObject)(await parseBody(output.body, context)), \\\"body\\\");\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\n return contents;\\n};\\nconst de_UpdateChannelReadMarkerCommandError = 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 de_BadRequestExceptionRes(parsedOutput, context);\\n case \\\"ConflictException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ConflictException\\\":\\n throw await de_ConflictExceptionRes(parsedOutput, context);\\n case \\\"ForbiddenException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ForbiddenException\\\":\\n throw await de_ForbiddenExceptionRes(parsedOutput, context);\\n case \\\"ServiceFailureException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceFailureException\\\":\\n throw await de_ServiceFailureExceptionRes(parsedOutput, context);\\n case \\\"ServiceUnavailableException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ServiceUnavailableException\\\":\\n throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);\\n case \\\"ThrottledClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#ThrottledClientException\\\":\\n throw await de_ThrottledClientExceptionRes(parsedOutput, context);\\n case \\\"UnauthorizedClientException\\\":\\n case \\\"com.amazonaws.chimesdkmessaging#UnauthorizedClientException\\\":\\n throw await de_UnauthorizedClientExceptionRes(parsedOutput, context);\\n default:\\n const parsedBody = parsedOutput.body;\\n return throwDefaultError({\\n output,\\n parsedBody,\\n errorCode,\\n });\\n }\\n};\\nconst throwDefaultError = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.withBaseException)(_models_ChimeSDKMessagingServiceException__WEBPACK_IMPORTED_MODULE_3__.ChimeSDKMessagingServiceException);\\nconst de_BadRequestExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ConflictExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ForbiddenExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_NotFoundExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ServiceFailureExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_ThrottledClientExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {\\n const contents = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.map)({});\\n const data = parsedOutput.body;\\n const doc = (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(data, {\\n Code: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Message: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n Object.assign(contents, doc);\\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_0__.decorateServiceException)(exception, parsedOutput.body);\\n};\\nconst de_AppInstanceUserMembershipSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ReadMarkerTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_Channel = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n ElasticChannelConfiguration: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n ExpirationSettings: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n LastMessageTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Mode: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Privacy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelBan = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n};\\nconst de_ChannelFlow = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelFlowArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Processors: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n};\\nconst de_ChannelMembership = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n InvitedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Member: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelMembershipForAppInstanceUserSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n AppInstanceUserMembershipSummary: (_) => de_AppInstanceUserMembershipSummary(_, context),\\n ChannelSummary: (_) => de_ChannelSummary(_, context),\\n });\\n};\\nconst de_ChannelMembershipForAppInstanceUserSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelMembershipForAppInstanceUserSummary(entry, context);\\n });\\n return retVal;\\n};\\nconst de_ChannelMessage = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastEditedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n MessageAttributes: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Persistence: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Redacted: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectBoolean,\\n Sender: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n SubChannelId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelMessageSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n Content: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n ContentType: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastEditedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n LastUpdatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n MessageAttributes: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n MessageId: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Redacted: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectBoolean,\\n Sender: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Status: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n Type: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelMessageSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelMessageSummary(entry, context);\\n });\\n return retVal;\\n};\\nconst de_ChannelModeratedByAppInstanceUserSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelSummary: (_) => de_ChannelSummary(_, context),\\n });\\n};\\nconst de_ChannelModeratedByAppInstanceUserSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelModeratedByAppInstanceUserSummary(entry, context);\\n });\\n return retVal;\\n};\\nconst de_ChannelModerator = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n CreatedBy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n CreatedTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Moderator: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__._json,\\n });\\n};\\nconst de_ChannelSummary = (output, context) => {\\n return (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.take)(output, {\\n ChannelArn: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n LastMessageTimestamp: (_) => (0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNonNull)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.parseEpochTimestamp)((0,_aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectNumber)(_))),\\n Metadata: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Mode: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Name: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n Privacy: _aws_sdk_smithy_client__WEBPACK_IMPORTED_MODULE_0__.expectString,\\n });\\n};\\nconst de_ChannelSummaryList = (output, context) => {\\n const retVal = (output || [])\\n .filter((e) => e != null)\\n .map((entry) => {\\n return de_ChannelSummary(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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.browser.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.browser.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.shared.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/dist-es/runtimeConfig.shared.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseDualstackEndpointConfigOptions.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/NodeUseFipsEndpointConfigOptions.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/index.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/index.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveCustomEndpointsConfig.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/resolveEndpointsConfig.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/endpointsConfig/utils/getEndpointFromRegion.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/config.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/config.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/getRealRegion.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/index.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/index.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/isFipsRegion.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionConfig/resolveRegionConfig.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/PartitionHash.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/PartitionHash.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/RegionHash.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/RegionHash.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getHostnameFromVariants.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getRegionInfo.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getRegionInfo.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedHostname.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedHostname.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedPartition.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedPartition.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/getResolvedSigningRegion.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/index.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/config-resolver/dist-es/regionInfo/index.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ EventStreamCodec: () => (/* binding */ EventStreamCodec)\\n/* harmony export */ });\\n/* harmony import */ var _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-crypto/crc32 */ \\\"./node_modules/@aws-crypto/crc32/build/index.js\\\");\\n/* harmony import */ var _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./HeaderMarshaller */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js\\\");\\n/* harmony import */ var _splitMessage__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./splitMessage */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js\\\");\\n\\n\\n\\nclass EventStreamCodec {\\n constructor(toUtf8, fromUtf8) {\\n this.headerMarshaller = new _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__.HeaderMarshaller(toUtf8, fromUtf8);\\n this.messageBuffer = [];\\n this.isEndOfStream = false;\\n }\\n feed(message) {\\n this.messageBuffer.push(this.decode(message));\\n }\\n endOfStream() {\\n this.isEndOfStream = true;\\n }\\n getMessage() {\\n const message = this.messageBuffer.pop();\\n const isEndOfStream = this.isEndOfStream;\\n return {\\n getMessage() {\\n return message;\\n },\\n isEndOfStream() {\\n return isEndOfStream;\\n },\\n };\\n }\\n getAvailableMessages() {\\n const messages = this.messageBuffer;\\n this.messageBuffer = [];\\n const isEndOfStream = this.isEndOfStream;\\n return {\\n getMessages() {\\n return messages;\\n },\\n isEndOfStream() {\\n return isEndOfStream;\\n },\\n };\\n }\\n encode({ headers: rawHeaders, body }) {\\n const headers = this.headerMarshaller.format(rawHeaders);\\n const length = headers.byteLength + body.byteLength + 16;\\n const out = new Uint8Array(length);\\n const view = new DataView(out.buffer, out.byteOffset, out.byteLength);\\n const checksum = new _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__.Crc32();\\n view.setUint32(0, length, false);\\n view.setUint32(4, headers.byteLength, false);\\n view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);\\n out.set(headers, 12);\\n out.set(body, headers.byteLength + 12);\\n view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);\\n return out;\\n }\\n decode(message) {\\n const { headers, body } = (0,_splitMessage__WEBPACK_IMPORTED_MODULE_2__.splitMessage)(message);\\n return { headers: this.headerMarshaller.parse(headers), body };\\n }\\n formatHeaders(rawHeaders) {\\n return this.headerMarshaller.format(rawHeaders);\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ HeaderMarshaller: () => (/* binding */ HeaderMarshaller)\\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 _Int64__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Int64 */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js\\\");\\n\\n\\nclass HeaderMarshaller {\\n constructor(toUtf8, fromUtf8) {\\n this.toUtf8 = toUtf8;\\n this.fromUtf8 = fromUtf8;\\n }\\n format(headers) {\\n const chunks = [];\\n for (const headerName of Object.keys(headers)) {\\n const bytes = this.fromUtf8(headerName);\\n chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName]));\\n }\\n const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0));\\n let position = 0;\\n for (const chunk of chunks) {\\n out.set(chunk, position);\\n position += chunk.byteLength;\\n }\\n return out;\\n }\\n formatHeaderValue(header) {\\n switch (header.type) {\\n case \\\"boolean\\\":\\n return Uint8Array.from([header.value ? 0 : 1]);\\n case \\\"byte\\\":\\n return Uint8Array.from([2, header.value]);\\n case \\\"short\\\":\\n const shortView = new DataView(new ArrayBuffer(3));\\n shortView.setUint8(0, 3);\\n shortView.setInt16(1, header.value, false);\\n return new Uint8Array(shortView.buffer);\\n case \\\"integer\\\":\\n const intView = new DataView(new ArrayBuffer(5));\\n intView.setUint8(0, 4);\\n intView.setInt32(1, header.value, false);\\n return new Uint8Array(intView.buffer);\\n case \\\"long\\\":\\n const longBytes = new Uint8Array(9);\\n longBytes[0] = 5;\\n longBytes.set(header.value.bytes, 1);\\n return longBytes;\\n case \\\"binary\\\":\\n const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength));\\n binView.setUint8(0, 6);\\n binView.setUint16(1, header.value.byteLength, false);\\n const binBytes = new Uint8Array(binView.buffer);\\n binBytes.set(header.value, 3);\\n return binBytes;\\n case \\\"string\\\":\\n const utf8Bytes = this.fromUtf8(header.value);\\n const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength));\\n strView.setUint8(0, 7);\\n strView.setUint16(1, utf8Bytes.byteLength, false);\\n const strBytes = new Uint8Array(strView.buffer);\\n strBytes.set(utf8Bytes, 3);\\n return strBytes;\\n case \\\"timestamp\\\":\\n const tsBytes = new Uint8Array(9);\\n tsBytes[0] = 8;\\n tsBytes.set(_Int64__WEBPACK_IMPORTED_MODULE_1__.Int64.fromNumber(header.value.valueOf()).bytes, 1);\\n return tsBytes;\\n case \\\"uuid\\\":\\n if (!UUID_PATTERN.test(header.value)) {\\n throw new Error(`Invalid UUID received: ${header.value}`);\\n }\\n const uuidBytes = new Uint8Array(17);\\n uuidBytes[0] = 9;\\n uuidBytes.set((0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.fromHex)(header.value.replace(/\\\\-/g, \\\"\\\")), 1);\\n return uuidBytes;\\n }\\n }\\n parse(headers) {\\n const out = {};\\n let position = 0;\\n while (position < headers.byteLength) {\\n const nameLength = headers.getUint8(position++);\\n const name = this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, nameLength));\\n position += nameLength;\\n switch (headers.getUint8(position++)) {\\n case 0:\\n out[name] = {\\n type: BOOLEAN_TAG,\\n value: true,\\n };\\n break;\\n case 1:\\n out[name] = {\\n type: BOOLEAN_TAG,\\n value: false,\\n };\\n break;\\n case 2:\\n out[name] = {\\n type: BYTE_TAG,\\n value: headers.getInt8(position++),\\n };\\n break;\\n case 3:\\n out[name] = {\\n type: SHORT_TAG,\\n value: headers.getInt16(position, false),\\n };\\n position += 2;\\n break;\\n case 4:\\n out[name] = {\\n type: INT_TAG,\\n value: headers.getInt32(position, false),\\n };\\n position += 4;\\n break;\\n case 5:\\n out[name] = {\\n type: LONG_TAG,\\n value: new _Int64__WEBPACK_IMPORTED_MODULE_1__.Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)),\\n };\\n position += 8;\\n break;\\n case 6:\\n const binaryLength = headers.getUint16(position, false);\\n position += 2;\\n out[name] = {\\n type: BINARY_TAG,\\n value: new Uint8Array(headers.buffer, headers.byteOffset + position, binaryLength),\\n };\\n position += binaryLength;\\n break;\\n case 7:\\n const stringLength = headers.getUint16(position, false);\\n position += 2;\\n out[name] = {\\n type: STRING_TAG,\\n value: this.toUtf8(new Uint8Array(headers.buffer, headers.byteOffset + position, stringLength)),\\n };\\n position += stringLength;\\n break;\\n case 8:\\n out[name] = {\\n type: TIMESTAMP_TAG,\\n value: new Date(new _Int64__WEBPACK_IMPORTED_MODULE_1__.Int64(new Uint8Array(headers.buffer, headers.byteOffset + position, 8)).valueOf()),\\n };\\n position += 8;\\n break;\\n case 9:\\n const uuidBytes = new Uint8Array(headers.buffer, headers.byteOffset + position, 16);\\n position += 16;\\n out[name] = {\\n type: UUID_TAG,\\n value: `${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(0, 4))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(4, 6))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(6, 8))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(8, 10))}-${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(uuidBytes.subarray(10))}`,\\n };\\n break;\\n default:\\n throw new Error(`Unrecognized header type tag`);\\n }\\n }\\n return out;\\n }\\n}\\nvar HEADER_VALUE_TYPE;\\n(function (HEADER_VALUE_TYPE) {\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"boolTrue\\\"] = 0] = \\\"boolTrue\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"boolFalse\\\"] = 1] = \\\"boolFalse\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"byte\\\"] = 2] = \\\"byte\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"short\\\"] = 3] = \\\"short\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"integer\\\"] = 4] = \\\"integer\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"long\\\"] = 5] = \\\"long\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"byteArray\\\"] = 6] = \\\"byteArray\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"string\\\"] = 7] = \\\"string\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"timestamp\\\"] = 8] = \\\"timestamp\\\";\\n HEADER_VALUE_TYPE[HEADER_VALUE_TYPE[\\\"uuid\\\"] = 9] = \\\"uuid\\\";\\n})(HEADER_VALUE_TYPE || (HEADER_VALUE_TYPE = {}));\\nconst BOOLEAN_TAG = \\\"boolean\\\";\\nconst BYTE_TAG = \\\"byte\\\";\\nconst SHORT_TAG = \\\"short\\\";\\nconst INT_TAG = \\\"integer\\\";\\nconst LONG_TAG = \\\"long\\\";\\nconst BINARY_TAG = \\\"binary\\\";\\nconst STRING_TAG = \\\"string\\\";\\nconst TIMESTAMP_TAG = \\\"timestamp\\\";\\nconst UUID_TAG = \\\"uuid\\\";\\nconst UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Int64: () => (/* binding */ Int64)\\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\\nclass Int64 {\\n constructor(bytes) {\\n this.bytes = bytes;\\n if (bytes.byteLength !== 8) {\\n throw new Error(\\\"Int64 buffers must be exactly 8 bytes\\\");\\n }\\n }\\n static fromNumber(number) {\\n if (number > 9223372036854776000 || number < -9223372036854776000) {\\n throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`);\\n }\\n const bytes = new Uint8Array(8);\\n for (let i = 7, remaining = Math.abs(Math.round(number)); i > -1 && remaining > 0; i--, remaining /= 256) {\\n bytes[i] = remaining;\\n }\\n if (number < 0) {\\n negate(bytes);\\n }\\n return new Int64(bytes);\\n }\\n valueOf() {\\n const bytes = this.bytes.slice(0);\\n const negative = bytes[0] & 0b10000000;\\n if (negative) {\\n negate(bytes);\\n }\\n return parseInt((0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_0__.toHex)(bytes), 16) * (negative ? -1 : 1);\\n }\\n toString() {\\n return String(this.valueOf());\\n }\\n}\\nfunction negate(bytes) {\\n for (let i = 0; i < 8; i++) {\\n bytes[i] ^= 0xff;\\n }\\n for (let i = 7; i > -1; i--) {\\n bytes[i]++;\\n if (bytes[i] !== 0)\\n break;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ MessageDecoderStream: () => (/* binding */ MessageDecoderStream)\\n/* harmony export */ });\\nclass MessageDecoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const bytes of this.options.inputStream) {\\n const decoded = this.options.decoder.decode(bytes);\\n yield decoded;\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ MessageEncoderStream: () => (/* binding */ MessageEncoderStream)\\n/* harmony export */ });\\nclass MessageEncoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const msg of this.options.messageStream) {\\n const encoded = this.options.encoder.encode(msg);\\n yield encoded;\\n }\\n if (this.options.includeEndFrame) {\\n yield new Uint8Array(0);\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ SmithyMessageDecoderStream: () => (/* binding */ SmithyMessageDecoderStream)\\n/* harmony export */ });\\nclass SmithyMessageDecoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const message of this.options.messageStream) {\\n const deserialized = await this.options.deserializer(message);\\n if (deserialized === undefined)\\n continue;\\n yield deserialized;\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ SmithyMessageEncoderStream: () => (/* binding */ SmithyMessageEncoderStream)\\n/* harmony export */ });\\nclass SmithyMessageEncoderStream {\\n constructor(options) {\\n this.options = options;\\n }\\n [Symbol.asyncIterator]() {\\n return this.asyncIterator();\\n }\\n async *asyncIterator() {\\n for await (const chunk of this.options.inputStream) {\\n const payloadBuf = this.options.serializer(chunk);\\n yield payloadBuf;\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ EventStreamCodec: () => (/* reexport safe */ _EventStreamCodec__WEBPACK_IMPORTED_MODULE_0__.EventStreamCodec),\\n/* harmony export */ HeaderMarshaller: () => (/* reexport safe */ _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__.HeaderMarshaller),\\n/* harmony export */ Int64: () => (/* reexport safe */ _Int64__WEBPACK_IMPORTED_MODULE_2__.Int64),\\n/* harmony export */ MessageDecoderStream: () => (/* reexport safe */ _MessageDecoderStream__WEBPACK_IMPORTED_MODULE_4__.MessageDecoderStream),\\n/* harmony export */ MessageEncoderStream: () => (/* reexport safe */ _MessageEncoderStream__WEBPACK_IMPORTED_MODULE_5__.MessageEncoderStream),\\n/* harmony export */ SmithyMessageDecoderStream: () => (/* reexport safe */ _SmithyMessageDecoderStream__WEBPACK_IMPORTED_MODULE_6__.SmithyMessageDecoderStream),\\n/* harmony export */ SmithyMessageEncoderStream: () => (/* reexport safe */ _SmithyMessageEncoderStream__WEBPACK_IMPORTED_MODULE_7__.SmithyMessageEncoderStream)\\n/* harmony export */ });\\n/* harmony import */ var _EventStreamCodec__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./EventStreamCodec */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/EventStreamCodec.js\\\");\\n/* harmony import */ var _HeaderMarshaller__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./HeaderMarshaller */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/HeaderMarshaller.js\\\");\\n/* harmony import */ var _Int64__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Int64 */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/Int64.js\\\");\\n/* harmony import */ var _Message__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./Message */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/Message.js\\\");\\n/* harmony import */ var _MessageDecoderStream__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./MessageDecoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageDecoderStream.js\\\");\\n/* harmony import */ var _MessageEncoderStream__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./MessageEncoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/MessageEncoderStream.js\\\");\\n/* harmony import */ var _SmithyMessageDecoderStream__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SmithyMessageDecoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageDecoderStream.js\\\");\\n/* harmony import */ var _SmithyMessageEncoderStream__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./SmithyMessageEncoderStream */ \\\"./node_modules/@aws-sdk/eventstream-codec/dist-es/SmithyMessageEncoderStream.js\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ splitMessage: () => (/* binding */ splitMessage)\\n/* harmony export */ });\\n/* harmony import */ var _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-crypto/crc32 */ \\\"./node_modules/@aws-crypto/crc32/build/index.js\\\");\\n\\nconst PRELUDE_MEMBER_LENGTH = 4;\\nconst PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;\\nconst CHECKSUM_LENGTH = 4;\\nconst MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;\\nfunction splitMessage({ byteLength, byteOffset, buffer }) {\\n if (byteLength < MINIMUM_MESSAGE_LENGTH) {\\n throw new Error(\\\"Provided message too short to accommodate event stream message overhead\\\");\\n }\\n const view = new DataView(buffer, byteOffset, byteLength);\\n const messageLength = view.getUint32(0, false);\\n if (byteLength !== messageLength) {\\n throw new Error(\\\"Reported message length does not match received message length\\\");\\n }\\n const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);\\n const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);\\n const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);\\n const checksummer = new _aws_crypto_crc32__WEBPACK_IMPORTED_MODULE_0__.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));\\n if (expectedPreludeChecksum !== checksummer.digest()) {\\n throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);\\n }\\n checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));\\n if (expectedMessageChecksum !== checksummer.digest()) {\\n throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);\\n }\\n return {\\n headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),\\n body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH)),\\n };\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/eventstream-codec/dist-es/splitMessage.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/fetch-http-handler.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 const queryString = (0,_aws_sdk_querystring_builder__WEBPACK_IMPORTED_MODULE_1__.buildQueryString)(request.query || {});\\n if (queryString) {\\n path += `?${queryString}`;\\n }\\n if (request.fragment) {\\n path += `#${request.fragment}`;\\n }\\n let auth = \\\"\\\";\\n if (request.username != null || request.password != null) {\\n const username = request.username ?? \\\"\\\";\\n const password = request.password ?? \\\"\\\";\\n auth = `${username}:${password}@`;\\n }\\n const { port, method } = request;\\n const url = `${request.protocol}//${auth}${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 reason: response.statusText,\\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 reason: response.statusText,\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/request-timeout.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/fetch-http-handler/dist-es/stream-collector.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/invalid-dependency/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/invalid-dependency/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidFunction.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidFunction.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/invalid-dependency/dist-es/invalidProvider.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/is-array-buffer/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-content-length/dist-es/index.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/createConfigValueProvider.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/getEndpointFromInstructions.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/index.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/index.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/adaptors/toEndpointV1.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/endpointMiddleware.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/getEndpointPlugin.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/index.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/resolveEndpointConfig.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/index.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/index.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/service-customizations/s3.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-endpoint/dist-es/types.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-endpoint/dist-es/types.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-host-header/dist-es/index.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 let host = request.hostname;\\n if (request.port != null)\\n host += `:${request.port}`;\\n request.headers[\\\"host\\\"] = host;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-logger/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-logger/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-logger/dist-es/loggerMiddleware.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 try {\\n const response = await next(args);\\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\\n const { $metadata, ...outputWithoutMetadata } = response.output;\\n logger?.info?.({\\n clientName,\\n commandName,\\n input: inputFilterSensitiveLog(args.input),\\n output: outputFilterSensitiveLog(outputWithoutMetadata),\\n metadata: $metadata,\\n });\\n return response;\\n }\\n catch (error) {\\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\\n logger?.error?.({\\n clientName,\\n commandName,\\n input: inputFilterSensitiveLog(args.input),\\n error,\\n metadata: error.$metadata,\\n });\\n throw error;\\n }\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-recursion-detection/dist-es/index.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/AdaptiveRetryStrategy.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/StandardRetryStrategy.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/configurations.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/defaultRetryQuota.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/delayDecider.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/omitRetryHeadersMiddleware.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/retryDecider.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/retryMiddleware.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 = getRetryErrorInfo(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 getRetryErrorInfo = (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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-retry/dist-es/util.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-retry/dist-es/util.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/deserializerMiddleware.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 if (!('$metadata' in error)) {\\n const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;\\n error.message += \\\"\\\\n \\\" + hint;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/serdePlugin.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-serde/dist-es/serializerMiddleware.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/awsAuthConfiguration.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/awsAuthMiddleware.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ awsAuthMiddleware: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.awsAuthMiddleware),\\n/* harmony export */ awsAuthMiddlewareOptions: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.awsAuthMiddlewareOptions),\\n/* harmony export */ getAwsAuthPlugin: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.getAwsAuthPlugin),\\n/* harmony export */ getSigV4AuthPlugin: () => (/* reexport safe */ _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__.getSigV4AuthPlugin),\\n/* harmony export */ resolveAwsAuthConfig: () => (/* reexport safe */ _awsAuthConfiguration__WEBPACK_IMPORTED_MODULE_0__.resolveAwsAuthConfig),\\n/* harmony export */ resolveSigV4AuthConfig: () => (/* reexport safe */ _awsAuthConfiguration__WEBPACK_IMPORTED_MODULE_0__.resolveSigV4AuthConfig)\\n/* harmony export */ });\\n/* harmony import */ var _awsAuthConfiguration__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./awsAuthConfiguration */ \\\"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthConfiguration.js\\\");\\n/* harmony import */ var _awsAuthMiddleware__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./awsAuthMiddleware */ \\\"./node_modules/@aws-sdk/middleware-signing/dist-es/awsAuthMiddleware.js\\\");\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-signing/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getSkewCorrectedDate.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/utils/getUpdatedSystemClockOffset.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-signing/dist-es/utils/isClockSkewed.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-stack/dist-es/MiddlewareStack.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-stack/dist-es/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-stack/dist-es/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/configurations.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ SPACE: () => (/* binding */ SPACE),\\n/* harmony export */ UA_ESCAPE_CHAR: () => (/* binding */ UA_ESCAPE_CHAR),\\n/* harmony export */ UA_NAME_ESCAPE_REGEX: () => (/* binding */ UA_NAME_ESCAPE_REGEX),\\n/* harmony export */ UA_NAME_SEPARATOR: () => (/* binding */ UA_NAME_SEPARATOR),\\n/* harmony export */ UA_VALUE_ESCAPE_REGEX: () => (/* binding */ UA_VALUE_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_NAME_SEPARATOR = \\\"/\\\";\\nconst UA_NAME_ESCAPE_REGEX = /[^\\\\!\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\.\\\\^\\\\_\\\\`\\\\|\\\\~\\\\d\\\\w]/g;\\nconst UA_VALUE_ESCAPE_REGEX = /[^\\\\!\\\\$\\\\%\\\\&\\\\'\\\\*\\\\+\\\\-\\\\.\\\\^\\\\_\\\\`\\\\|\\\\~\\\\d\\\\w\\\\#]/g;\\nconst UA_ESCAPE_CHAR = \\\"-\\\";\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/index.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _aws_sdk_util_endpoints__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @aws-sdk/util-endpoints */ \\\"./node_modules/@aws-sdk/util-endpoints/dist-es/index.js\\\");\\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \\\"./node_modules/@aws-sdk/middleware-user-agent/dist-es/constants.js\\\");\\n\\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 prefix = (0,_aws_sdk_util_endpoints__WEBPACK_IMPORTED_MODULE_1__.getUserAgentPrefix)();\\n const sdkUserAgentValue = (prefix ? [prefix] : [])\\n .concat([...defaultUserAgent, ...userAgent, ...customUserAgent])\\n .join(_constants__WEBPACK_IMPORTED_MODULE_2__.SPACE);\\n const normalUAValue = [\\n ...defaultUserAgent.filter((section) => section.startsWith(\\\"aws-sdk-\\\")),\\n ...customUserAgent,\\n ].join(_constants__WEBPACK_IMPORTED_MODULE_2__.SPACE);\\n if (options.runtime !== \\\"browser\\\") {\\n if (normalUAValue) {\\n headers[_constants__WEBPACK_IMPORTED_MODULE_2__.X_AMZ_USER_AGENT] = headers[_constants__WEBPACK_IMPORTED_MODULE_2__.X_AMZ_USER_AGENT]\\n ? `${headers[_constants__WEBPACK_IMPORTED_MODULE_2__.USER_AGENT]} ${normalUAValue}`\\n : normalUAValue;\\n }\\n headers[_constants__WEBPACK_IMPORTED_MODULE_2__.USER_AGENT] = sdkUserAgentValue;\\n }\\n else {\\n headers[_constants__WEBPACK_IMPORTED_MODULE_2__.X_AMZ_USER_AGENT] = sdkUserAgentValue;\\n }\\n return next({\\n ...args,\\n request,\\n });\\n};\\nconst escapeUserAgent = (userAgentPair) => {\\n const name = userAgentPair[0]\\n .split(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_SEPARATOR)\\n .map((part) => part.replace(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_ESCAPE_REGEX, _constants__WEBPACK_IMPORTED_MODULE_2__.UA_ESCAPE_CHAR))\\n .join(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_SEPARATOR);\\n const version = userAgentPair[1]?.replace(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_VALUE_ESCAPE_REGEX, _constants__WEBPACK_IMPORTED_MODULE_2__.UA_ESCAPE_CHAR);\\n const prefixSeparatorIndex = name.indexOf(_constants__WEBPACK_IMPORTED_MODULE_2__.UA_NAME_SEPARATOR);\\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 .reduce((acc, item, index) => {\\n switch (index) {\\n case 0:\\n return item;\\n case 1:\\n return `${acc}/${item}`;\\n default:\\n return `${acc}#${item}`;\\n }\\n }, \\\"\\\");\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/CredentialsProviderError.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/ProviderError.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/TokenProviderError.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/chain.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/chain.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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\\nconst chain = (...providers) => async () => {\\n if (providers.length === 0) {\\n throw new _ProviderError__WEBPACK_IMPORTED_MODULE_0__.ProviderError(\\\"No providers in chain\\\");\\n }\\n let lastProviderError;\\n for (const provider of providers) {\\n try {\\n const credentials = await provider();\\n return credentials;\\n }\\n catch (err) {\\n lastProviderError = err;\\n if (err?.tryNextLink) {\\n continue;\\n }\\n throw err;\\n }\\n }\\n throw lastProviderError;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/property-provider/dist-es/chain.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/fromStatic.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/fromStatic.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/property-provider/dist-es/memoize.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/property-provider/dist-es/memoize.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/Field.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/Field.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.map((v) => (v.includes(\\\",\\\") || v.includes(\\\" \\\") ? `\\\"${v}\\\"` : v)).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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/FieldPosition.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/Fields.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/Fields.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.toLowerCase()] = field;\\n }\\n getField(name) {\\n return this.entries[name.toLowerCase()];\\n }\\n removeField(name) {\\n delete this.entries[name.toLowerCase()];\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/httpHandler.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/httpHandler.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 this.username = options.username;\\n this.password = options.password;\\n this.fragment = options.fragment;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/httpResponse.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.reason = options.reason;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/index.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/index.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/protocol-http/dist-es/isValidHostname.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/protocol-http/dist-es/isValidHostname.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/querystring-builder/dist-es/index.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/querystring-builder/dist-es/index.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/querystring-parser/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/querystring-parser/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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\\\", \\\"ECONNREFUSED\\\", \\\"EPIPE\\\", \\\"ETIMEDOUT\\\"];\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/service-error-classification/dist-es/constants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/service-error-classification/dist-es/index.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/service-error-classification/dist-es/index.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/SignatureV4.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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_eventstream_codec__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @aws-sdk/eventstream-codec */ \\\"./node_modules/@aws-sdk/eventstream-codec/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_middleware__WEBPACK_IMPORTED_MODULE_2__ = __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_3__ = __webpack_require__(/*! @aws-sdk/util-utf8 */ \\\"./node_modules/@aws-sdk/util-utf8/dist-es/index.js\\\");\\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./constants */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/constants.js\\\");\\n/* harmony import */ var _credentialDerivation__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./credentialDerivation */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js\\\");\\n/* harmony import */ var _getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getCanonicalHeaders */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js\\\");\\n/* harmony import */ var _getCanonicalQuery__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getCanonicalQuery */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js\\\");\\n/* harmony import */ var _getPayloadHash__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getPayloadHash */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js\\\");\\n/* harmony import */ var _headerUtil__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./headerUtil */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js\\\");\\n/* harmony import */ var _moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./moveHeadersToQuery */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js\\\");\\n/* harmony import */ var _prepareRequest__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./prepareRequest */ \\\"./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js\\\");\\n/* harmony import */ var _utilDate__WEBPACK_IMPORTED_MODULE_12__ = __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\\n\\nclass SignatureV4 {\\n constructor({ applyChecksum, credentials, region, service, sha256, uriEscapePath = true, }) {\\n this.headerMarshaller = new _aws_sdk_eventstream_codec__WEBPACK_IMPORTED_MODULE_0__.HeaderMarshaller(_aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_3__.toUtf8, _aws_sdk_util_utf8__WEBPACK_IMPORTED_MODULE_3__.fromUtf8);\\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_2__.normalizeProvider)(region);\\n this.credentialProvider = (0,_aws_sdk_util_middleware__WEBPACK_IMPORTED_MODULE_2__.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_4__.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_5__.createScope)(shortDate, region, signingService ?? this.service);\\n const request = (0,_moveHeadersToQuery__WEBPACK_IMPORTED_MODULE_10__.moveHeadersToQuery)((0,_prepareRequest__WEBPACK_IMPORTED_MODULE_11__.prepareRequest)(originalRequest), { unhoistableHeaders });\\n if (credentials.sessionToken) {\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.TOKEN_QUERY_PARAM] = credentials.sessionToken;\\n }\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.ALGORITHM_QUERY_PARAM] = _constants__WEBPACK_IMPORTED_MODULE_4__.ALGORITHM_IDENTIFIER;\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`;\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.AMZ_DATE_QUERY_PARAM] = longDate;\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.EXPIRES_QUERY_PARAM] = expiresIn.toString(10);\\n const canonicalHeaders = (0,_getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_6__.getCanonicalHeaders)(request, unsignableHeaders, signableHeaders);\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.SIGNED_HEADERS_QUERY_PARAM] = getCanonicalHeaderList(canonicalHeaders);\\n request.query[_constants__WEBPACK_IMPORTED_MODULE_4__.SIGNATURE_QUERY_PARAM] = await this.getSignature(longDate, scope, this.getSigningKey(credentials, region, shortDate, signingService), this.createCanonicalRequest(request, canonicalHeaders, await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_8__.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 if (toSign.message) {\\n return this.signMessage(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_5__.createScope)(shortDate, region, signingService ?? this.service);\\n const hashedPayload = await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_8__.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_1__.toHex)(await hash.digest());\\n const stringToSign = [\\n _constants__WEBPACK_IMPORTED_MODULE_4__.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 signMessage(signableMessage, { signingDate = new Date(), signingRegion, signingService }) {\\n const promise = this.signEvent({\\n headers: this.headerMarshaller.format(signableMessage.message.headers),\\n payload: signableMessage.message.body,\\n }, {\\n signingDate,\\n signingRegion,\\n signingService,\\n priorSignature: signableMessage.priorSignature,\\n });\\n return promise.then((signature) => {\\n return { message: signableMessage.message, signature };\\n });\\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_3__.toUint8Array)(stringToSign));\\n return (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__.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_11__.prepareRequest)(requestToSign);\\n const { longDate, shortDate } = formatDate(signingDate);\\n const scope = (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_5__.createScope)(shortDate, region, signingService ?? this.service);\\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_4__.AMZ_DATE_HEADER] = longDate;\\n if (credentials.sessionToken) {\\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_4__.TOKEN_HEADER] = credentials.sessionToken;\\n }\\n const payloadHash = await (0,_getPayloadHash__WEBPACK_IMPORTED_MODULE_8__.getPayloadHash)(request, this.sha256);\\n if (!(0,_headerUtil__WEBPACK_IMPORTED_MODULE_9__.hasHeader)(_constants__WEBPACK_IMPORTED_MODULE_4__.SHA256_HEADER, request.headers) && this.applyChecksum) {\\n request.headers[_constants__WEBPACK_IMPORTED_MODULE_4__.SHA256_HEADER] = payloadHash;\\n }\\n const canonicalHeaders = (0,_getCanonicalHeaders__WEBPACK_IMPORTED_MODULE_6__.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_4__.AUTH_HEADER] =\\n `${_constants__WEBPACK_IMPORTED_MODULE_4__.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_7__.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_3__.toUint8Array)(canonicalRequest));\\n const hashedRequest = await hash.digest();\\n return `${_constants__WEBPACK_IMPORTED_MODULE_4__.ALGORITHM_IDENTIFIER}\\n${longDate}\\n${credentialScope}\\n${(0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__.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_3__.toUint8Array)(stringToSign));\\n return (0,_aws_sdk_util_hex_encoding__WEBPACK_IMPORTED_MODULE_1__.toHex)(await hash.digest());\\n }\\n getSigningKey(credentials, region, shortDate, service) {\\n return (0,_credentialDerivation__WEBPACK_IMPORTED_MODULE_5__.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_12__.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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/cloneRequest.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/constants.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/constants.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/credentialDerivation.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalHeaders.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/getCanonicalQuery.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/getPayloadHash.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/headerUtil.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/index.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/index.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/moveHeadersToQuery.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/signature-v4/dist-es/utilDate.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/NoOpLogger.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/client.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/client.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/command.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/command.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/constants.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/constants.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ createAggregatedClient: () => (/* binding */ createAggregatedClient)\\n/* harmony export */ });\\nconst createAggregatedClient = (commands, Client) => {\\n for (const command of Object.keys(commands)) {\\n const CommandCtor = commands[command];\\n const methodImpl = async function (args, optionsOrCb, cb) {\\n const command = new CommandCtor(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(`Expected http options but got ${typeof optionsOrCb}`);\\n this.send(command, optionsOrCb || {}, cb);\\n }\\n else {\\n return this.send(command, optionsOrCb);\\n }\\n };\\n const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, \\\"\\\");\\n Client.prototype[methodName] = methodImpl;\\n }\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/date-utils.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/default-error-handler.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ throwDefaultError: () => (/* binding */ throwDefaultError),\\n/* harmony export */ withBaseException: () => (/* binding */ withBaseException)\\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 withBaseException = (ExceptionCtor) => {\\n return ({ output, parsedBody, errorCode }) => {\\n throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });\\n };\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/extended-encode-uri-component.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/get-array-if-single-item.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/get-array-if-single-item.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/get-value-from-text-node.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/index.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/index.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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_13__.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_9__.ServiceException),\\n/* harmony export */ StringWrapper: () => (/* reexport safe */ _lazy_json__WEBPACK_IMPORTED_MODULE_13__.StringWrapper),\\n/* harmony export */ _json: () => (/* reexport safe */ _serde_json__WEBPACK_IMPORTED_MODULE_18__._json),\\n/* harmony export */ convertMap: () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_14__.convertMap),\\n/* harmony export */ createAggregatedClient: () => (/* reexport safe */ _create_aggregated_client__WEBPACK_IMPORTED_MODULE_4__.createAggregatedClient),\\n/* harmony export */ dateToUtcString: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.dateToUtcString),\\n/* harmony export */ decorateServiceException: () => (/* reexport safe */ _exceptions__WEBPACK_IMPORTED_MODULE_9__.decorateServiceException),\\n/* harmony export */ emitWarningIfUnsupportedVersion: () => (/* reexport safe */ _emitWarningIfUnsupportedVersion__WEBPACK_IMPORTED_MODULE_8__.emitWarningIfUnsupportedVersion),\\n/* harmony export */ expectBoolean: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectBoolean),\\n/* harmony export */ expectByte: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectByte),\\n/* harmony export */ expectFloat32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectFloat32),\\n/* harmony export */ expectInt: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectInt),\\n/* harmony export */ expectInt32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectInt32),\\n/* harmony export */ expectLong: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectLong),\\n/* harmony export */ expectNonNull: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectNonNull),\\n/* harmony export */ expectNumber: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectNumber),\\n/* harmony export */ expectObject: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectObject),\\n/* harmony export */ expectShort: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectShort),\\n/* harmony export */ expectString: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectString),\\n/* harmony export */ expectUnion: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.expectUnion),\\n/* harmony export */ extendedEncodeURIComponent: () => (/* reexport safe */ _extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_10__.extendedEncodeURIComponent),\\n/* harmony export */ getArrayIfSingleItem: () => (/* reexport safe */ _get_array_if_single_item__WEBPACK_IMPORTED_MODULE_11__.getArrayIfSingleItem),\\n/* harmony export */ getValueFromTextNode: () => (/* reexport safe */ _get_value_from_text_node__WEBPACK_IMPORTED_MODULE_12__.getValueFromTextNode),\\n/* harmony export */ handleFloat: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.handleFloat),\\n/* harmony export */ limitedParseDouble: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.limitedParseDouble),\\n/* harmony export */ limitedParseFloat: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.limitedParseFloat),\\n/* harmony export */ limitedParseFloat32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.limitedParseFloat32),\\n/* harmony export */ loadConfigsForDefaultMode: () => (/* reexport safe */ _defaults_mode__WEBPACK_IMPORTED_MODULE_7__.loadConfigsForDefaultMode),\\n/* harmony export */ logger: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.logger),\\n/* harmony export */ map: () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_14__.map),\\n/* harmony export */ parseBoolean: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.parseBoolean),\\n/* harmony export */ parseEpochTimestamp: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseEpochTimestamp),\\n/* harmony export */ parseRfc3339DateTime: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseRfc3339DateTime),\\n/* harmony export */ parseRfc3339DateTimeWithOffset: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseRfc3339DateTimeWithOffset),\\n/* harmony export */ parseRfc7231DateTime: () => (/* reexport safe */ _date_utils__WEBPACK_IMPORTED_MODULE_5__.parseRfc7231DateTime),\\n/* harmony export */ resolvedPath: () => (/* reexport safe */ _resolve_path__WEBPACK_IMPORTED_MODULE_16__.resolvedPath),\\n/* harmony export */ serializeFloat: () => (/* reexport safe */ _ser_utils__WEBPACK_IMPORTED_MODULE_17__.serializeFloat),\\n/* harmony export */ splitEvery: () => (/* reexport safe */ _split_every__WEBPACK_IMPORTED_MODULE_19__.splitEvery),\\n/* harmony export */ strictParseByte: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseByte),\\n/* harmony export */ strictParseDouble: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseDouble),\\n/* harmony export */ strictParseFloat: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseFloat),\\n/* harmony export */ strictParseFloat32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseFloat32),\\n/* harmony export */ strictParseInt: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseInt),\\n/* harmony export */ strictParseInt32: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseInt32),\\n/* harmony export */ strictParseLong: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseLong),\\n/* harmony export */ strictParseShort: () => (/* reexport safe */ _parse_utils__WEBPACK_IMPORTED_MODULE_15__.strictParseShort),\\n/* harmony export */ take: () => (/* reexport safe */ _object_mapping__WEBPACK_IMPORTED_MODULE_14__.take),\\n/* harmony export */ throwDefaultError: () => (/* reexport safe */ _default_error_handler__WEBPACK_IMPORTED_MODULE_6__.throwDefaultError),\\n/* harmony export */ withBaseException: () => (/* reexport safe */ _default_error_handler__WEBPACK_IMPORTED_MODULE_6__.withBaseException)\\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 _create_aggregated_client__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./create-aggregated-client */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/create-aggregated-client.js\\\");\\n/* harmony import */ var _date_utils__WEBPACK_IMPORTED_MODULE_5__ = __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_6__ = __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_7__ = __webpack_require__(/*! ./defaults-mode */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/defaults-mode.js\\\");\\n/* harmony import */ var _emitWarningIfUnsupportedVersion__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./emitWarningIfUnsupportedVersion */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/emitWarningIfUnsupportedVersion.js\\\");\\n/* harmony import */ var _exceptions__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./exceptions */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/exceptions.js\\\");\\n/* harmony import */ var _extended_encode_uri_component__WEBPACK_IMPORTED_MODULE_10__ = __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_11__ = __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_12__ = __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_13__ = __webpack_require__(/*! ./lazy-json */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js\\\");\\n/* harmony import */ var _object_mapping__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./object-mapping */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js\\\");\\n/* harmony import */ var _parse_utils__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./parse-utils */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js\\\");\\n/* harmony import */ var _resolve_path__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./resolve-path */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js\\\");\\n/* harmony import */ var _ser_utils__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./ser-utils */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js\\\");\\n/* harmony import */ var _serde_json__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./serde-json */ \\\"./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js\\\");\\n/* harmony import */ var _split_every__WEBPACK_IMPORTED_MODULE_19__ = __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\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/lazy-json.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ take: () => (/* binding */ take)\\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 applyInstruction(target, null, instructions, key);\\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 take = (source, instructions) => {\\n const out = {};\\n for (const key in instructions) {\\n applyInstruction(out, source, instructions, key);\\n }\\n return out;\\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};\\nconst applyInstruction = (target, source, instructions, targetKey) => {\\n if (source !== null) {\\n let instruction = instructions[targetKey];\\n if (typeof instruction === \\\"function\\\") {\\n instruction = [, instruction];\\n }\\n const [filter = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;\\n if ((typeof filter === \\\"function\\\" && filter(source[sourceKey])) || (typeof filter !== \\\"function\\\" && !!filter)) {\\n target[targetKey] = valueFn(source[sourceKey]);\\n }\\n return;\\n }\\n let [filter, value] = instructions[targetKey];\\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[targetKey] = _value;\\n }\\n else if (customFilterPassed) {\\n target[targetKey] = 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[targetKey] = value;\\n }\\n }\\n};\\nconst nonNullish = (_) => _ != null;\\nconst pass = (_) => _;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/object-mapping.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/parse-utils.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/resolve-path.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/ser-utils.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ _json: () => (/* binding */ _json)\\n/* harmony export */ });\\nconst _json = (obj) => {\\n if (obj == null) {\\n return {};\\n }\\n if (Array.isArray(obj)) {\\n return obj.filter((_) => _ != null);\\n }\\n if (typeof obj === \\\"object\\\") {\\n const target = {};\\n for (const key of Object.keys(obj)) {\\n if (obj[key] == null) {\\n continue;\\n }\\n target[key] = _json(obj[key]);\\n }\\n return target;\\n }\\n return obj;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/smithy-client/dist-es/serde-json.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/smithy-client/dist-es/split-every.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/smithy-client/dist-es/split-every.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/abort.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/abort.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/auth.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/auth.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/checksum.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/checksum.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/client.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/client.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/command.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/command.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/config.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/config.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/config.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/index.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/index.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./config */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/config.js\\\");\\n/* harmony import */ var _manager__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./manager */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/manager.js\\\");\\n/* harmony import */ var _pool__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./pool */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/pool.js\\\");\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/manager.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/manager.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/manager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/connection/pool.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/connection/pool.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/connection/pool.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/credentials.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/credentials.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/crypto.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/crypto.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/dns.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/dns.js ***!\n \\****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/encode.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/encode.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/encode.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/endpoint.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/endpoint.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/eventStream.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/eventStream.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/http.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/http.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/AnonymousIdentity.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/AwsCredentialIdentity.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/Identity.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/Identity.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/identity/Identity.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/LoginIdentity.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/TokenIdentity.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/identity/index.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/identity/index.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/index.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/index.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ EndpointURLScheme: () => (/* reexport safe */ _endpoint__WEBPACK_IMPORTED_MODULE_10__.EndpointURLScheme),\\n/* harmony export */ HostAddressType: () => (/* reexport safe */ _dns__WEBPACK_IMPORTED_MODULE_8__.HostAddressType),\\n/* harmony export */ HttpAuthLocation: () => (/* reexport safe */ _auth__WEBPACK_IMPORTED_MODULE_1__.HttpAuthLocation),\\n/* harmony export */ RequestHandlerProtocol: () => (/* reexport safe */ _transfer__WEBPACK_IMPORTED_MODULE_26__.RequestHandlerProtocol)\\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 _connection__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./connection */ \\\"./node_modules/@aws-sdk/types/dist-es/connection/index.js\\\");\\n/* harmony import */ var _credentials__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./credentials */ \\\"./node_modules/@aws-sdk/types/dist-es/credentials.js\\\");\\n/* harmony import */ var _crypto__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./crypto */ \\\"./node_modules/@aws-sdk/types/dist-es/crypto.js\\\");\\n/* harmony import */ var _dns__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./dns */ \\\"./node_modules/@aws-sdk/types/dist-es/dns.js\\\");\\n/* harmony import */ var _encode__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./encode */ \\\"./node_modules/@aws-sdk/types/dist-es/encode.js\\\");\\n/* harmony import */ var _endpoint__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./endpoint */ \\\"./node_modules/@aws-sdk/types/dist-es/endpoint.js\\\");\\n/* harmony import */ var _eventStream__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./eventStream */ \\\"./node_modules/@aws-sdk/types/dist-es/eventStream.js\\\");\\n/* harmony import */ var _http__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./http */ \\\"./node_modules/@aws-sdk/types/dist-es/http.js\\\");\\n/* harmony import */ var _identity__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./identity */ \\\"./node_modules/@aws-sdk/types/dist-es/identity/index.js\\\");\\n/* harmony import */ var _logger__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./logger */ \\\"./node_modules/@aws-sdk/types/dist-es/logger.js\\\");\\n/* harmony import */ var _middleware__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./middleware */ \\\"./node_modules/@aws-sdk/types/dist-es/middleware.js\\\");\\n/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./pagination */ \\\"./node_modules/@aws-sdk/types/dist-es/pagination.js\\\");\\n/* harmony import */ var _profile__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./profile */ \\\"./node_modules/@aws-sdk/types/dist-es/profile.js\\\");\\n/* harmony import */ var _request__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./request */ \\\"./node_modules/@aws-sdk/types/dist-es/request.js\\\");\\n/* harmony import */ var _response__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./response */ \\\"./node_modules/@aws-sdk/types/dist-es/response.js\\\");\\n/* harmony import */ var _retry__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./retry */ \\\"./node_modules/@aws-sdk/types/dist-es/retry.js\\\");\\n/* harmony import */ var _serde__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./serde */ \\\"./node_modules/@aws-sdk/types/dist-es/serde.js\\\");\\n/* harmony import */ var _shapes__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./shapes */ \\\"./node_modules/@aws-sdk/types/dist-es/shapes.js\\\");\\n/* harmony import */ var _signature__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./signature */ \\\"./node_modules/@aws-sdk/types/dist-es/signature.js\\\");\\n/* harmony import */ var _stream__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./stream */ \\\"./node_modules/@aws-sdk/types/dist-es/stream.js\\\");\\n/* harmony import */ var _token__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./token */ \\\"./node_modules/@aws-sdk/types/dist-es/token.js\\\");\\n/* harmony import */ var _transfer__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./transfer */ \\\"./node_modules/@aws-sdk/types/dist-es/transfer.js\\\");\\n/* harmony import */ var _uri__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./uri */ \\\"./node_modules/@aws-sdk/types/dist-es/uri.js\\\");\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./util */ \\\"./node_modules/@aws-sdk/types/dist-es/util.js\\\");\\n/* harmony import */ var _waiter__WEBPACK_IMPORTED_MODULE_29__ = __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\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/logger.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/logger.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/middleware.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/middleware.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/pagination.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/pagination.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/profile.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/profile.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/request.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/request.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/response.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/response.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/retry.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/retry.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/serde.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/serde.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/shapes.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/shapes.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/signature.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/signature.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/stream.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/stream.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/token.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/token.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/transfer.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/transfer.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ RequestHandlerProtocol: () => (/* binding */ RequestHandlerProtocol)\\n/* harmony export */ });\\nvar RequestHandlerProtocol;\\n(function (RequestHandlerProtocol) {\\n RequestHandlerProtocol[\\\"HTTP_0_9\\\"] = \\\"http/0.9\\\";\\n RequestHandlerProtocol[\\\"HTTP_1_0\\\"] = \\\"http/1.0\\\";\\n RequestHandlerProtocol[\\\"TDS_8_0\\\"] = \\\"tds/8.0\\\";\\n})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/transfer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/uri.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/uri.js ***!\n \\****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/types/dist-es/uri.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/util.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/util.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/types/dist-es/waiter.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/@aws-sdk/types/dist-es/waiter.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/url-parser/dist-es/index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/url-parser/dist-es/index.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/constants.browser.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/fromBase64.browser.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/index.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/index.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-base64/dist-es/toBase64.browser.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-body-length-browser/dist-es/calculateBodyLength.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-body-length-browser/dist-es/index.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-body-length-browser/dist-es/index.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-config-provider/dist-es/booleanSelector.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-config-provider/dist-es/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-config-provider/dist-es/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/constants.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/index.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/index.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-defaults-mode-browser/dist-es/resolveDefaultsModeConfig.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/debug/debugId.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/debug/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/debug/toDebugString.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/index.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/index.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ getUserAgentPrefix: () => (/* reexport safe */ _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__.getUserAgentPrefix),\\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 */ setPartitionInfo: () => (/* reexport safe */ _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__.setPartitionInfo),\\n/* harmony export */ useDefaultPartitionInfo: () => (/* reexport safe */ _lib_aws_partition__WEBPACK_IMPORTED_MODULE_0__.useDefaultPartitionInfo)\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/index.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ getUserAgentPrefix: () => (/* reexport safe */ _partition__WEBPACK_IMPORTED_MODULE_2__.getUserAgentPrefix),\\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 */ setPartitionInfo: () => (/* reexport safe */ _partition__WEBPACK_IMPORTED_MODULE_2__.setPartitionInfo),\\n/* harmony export */ useDefaultPartitionInfo: () => (/* reexport safe */ _partition__WEBPACK_IMPORTED_MODULE_2__.useDefaultPartitionInfo)\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/isVirtualHostableS3Bucket.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/parseArn.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ getUserAgentPrefix: () => (/* binding */ getUserAgentPrefix),\\n/* harmony export */ partition: () => (/* binding */ partition),\\n/* harmony export */ setPartitionInfo: () => (/* binding */ setPartitionInfo),\\n/* harmony export */ useDefaultPartitionInfo: () => (/* binding */ useDefaultPartitionInfo)\\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\\nlet selectedPartitionsInfo = _partitions_json__WEBPACK_IMPORTED_MODULE_0__;\\nlet selectedUserAgentPrefix = \\\"\\\";\\nconst partition = (value) => {\\n const { partitions } = selectedPartitionsInfo;\\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 const DEFAULT_PARTITION = partitions.find((partition) => partition.id === \\\"aws\\\");\\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};\\nconst setPartitionInfo = (partitionsInfo, userAgentPrefix = \\\"\\\") => {\\n selectedPartitionsInfo = partitionsInfo;\\n selectedUserAgentPrefix = userAgentPrefix;\\n};\\nconst useDefaultPartitionInfo = () => {\\n setPartitionInfo(_partitions_json__WEBPACK_IMPORTED_MODULE_0__, \\\"\\\");\\n};\\nconst getUserAgentPrefix = () => selectedUserAgentPrefix;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/booleanEquals.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttr.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/getAttrPathList.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isIpAddress.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isSet.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/isValidHostLabel.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/not.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/parseURL.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/stringEquals.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/substring.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/uriEncode.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/resolveEndpoint.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointError.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/EndpointRuleObject.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/ErrorRuleObject.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/RuleSetObject.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/TreeRuleObject.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/types/shared.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/callFunction.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateCondition.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateConditions.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateEndpointRule.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateErrorRule.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateExpression.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateRules.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTemplate.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/evaluateTreeRule.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointHeaders.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperties.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointProperty.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getEndpointUrl.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/getReferenceValue.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/utils/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-locate-window/dist-es/index.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-locate-window/dist-es/index.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-middleware/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-middleware/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-middleware/dist-es/normalizeProvider.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/AdaptiveRetryStrategy.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ConfiguredRetryStrategy: () => (/* binding */ ConfiguredRetryStrategy)\\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 _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./StandardRetryStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js\\\");\\n\\n\\nclass ConfiguredRetryStrategy extends _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_1__.StandardRetryStrategy {\\n constructor(maxAttempts, computeNextBackoffDelay = _constants__WEBPACK_IMPORTED_MODULE_0__.DEFAULT_RETRY_DELAY_BASE) {\\n super(typeof maxAttempts === \\\"function\\\" ? maxAttempts : async () => maxAttempts);\\n if (typeof computeNextBackoffDelay === \\\"number\\\") {\\n this.computeNextBackoffDelay = () => computeNextBackoffDelay;\\n }\\n else {\\n this.computeNextBackoffDelay = computeNextBackoffDelay;\\n }\\n }\\n async refreshRetryTokenForRetry(tokenToRenew, errorInfo) {\\n const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo);\\n token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount());\\n return token;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _defaultRetryBackoffStrategy__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./defaultRetryBackoffStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js\\\");\\n/* harmony import */ var _defaultRetryToken__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./defaultRetryToken */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js\\\");\\n\\n\\n\\n\\nclass StandardRetryStrategy {\\n constructor(maxAttempts) {\\n this.maxAttempts = maxAttempts;\\n this.mode = _config__WEBPACK_IMPORTED_MODULE_0__.RETRY_MODES.STANDARD;\\n this.capacity = _constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_RETRY_TOKENS;\\n this.retryBackoffStrategy = (0,_defaultRetryBackoffStrategy__WEBPACK_IMPORTED_MODULE_2__.getDefaultRetryBackoffStrategy)();\\n this.maxAttemptsProvider = typeof maxAttempts === \\\"function\\\" ? maxAttempts : async () => maxAttempts;\\n }\\n async acquireInitialRetryToken(retryTokenScope) {\\n return (0,_defaultRetryToken__WEBPACK_IMPORTED_MODULE_3__.createDefaultRetryToken)({\\n retryDelay: _constants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_RETRY_DELAY_BASE,\\n retryCount: 0,\\n });\\n }\\n async refreshRetryTokenForRetry(token, errorInfo) {\\n const maxAttempts = await this.getMaxAttempts();\\n if (this.shouldRetry(token, errorInfo, maxAttempts)) {\\n const errorType = errorInfo.errorType;\\n this.retryBackoffStrategy.setDelayBase(errorType === \\\"THROTTLING\\\" ? _constants__WEBPACK_IMPORTED_MODULE_1__.THROTTLING_RETRY_DELAY_BASE : _constants__WEBPACK_IMPORTED_MODULE_1__.DEFAULT_RETRY_DELAY_BASE);\\n const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount());\\n const retryDelay = errorInfo.retryAfterHint\\n ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType)\\n : delayFromErrorType;\\n const capacityCost = this.getCapacityCost(errorType);\\n this.capacity -= capacityCost;\\n return (0,_defaultRetryToken__WEBPACK_IMPORTED_MODULE_3__.createDefaultRetryToken)({\\n retryDelay,\\n retryCount: token.getRetryCount() + 1,\\n retryCost: capacityCost,\\n });\\n }\\n throw new Error(\\\"No retry token available\\\");\\n }\\n recordSuccess(token) {\\n this.capacity = Math.max(_constants__WEBPACK_IMPORTED_MODULE_1__.INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? _constants__WEBPACK_IMPORTED_MODULE_1__.NO_RETRY_INCREMENT));\\n }\\n getCapacity() {\\n return this.capacity;\\n }\\n async getMaxAttempts() {\\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 this.capacity >= this.getCapacityCost(errorInfo.errorType) &&\\n this.isRetryableError(errorInfo.errorType));\\n }\\n getCapacityCost(errorType) {\\n return errorType === \\\"TRANSIENT\\\" ? _constants__WEBPACK_IMPORTED_MODULE_1__.TIMEOUT_RETRY_COST : _constants__WEBPACK_IMPORTED_MODULE_1__.RETRY_COST;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/config.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/config.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 = RETRY_MODES.STANDARD;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/config.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/constants.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/constants.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryBackoffStrategy.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ createDefaultRetryToken: () => (/* binding */ createDefaultRetryToken)\\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 createDefaultRetryToken = ({ retryDelay, retryCount, retryCost, }) => {\\n const getRetryCount = () => retryCount;\\n const getRetryDelay = () => Math.min(_constants__WEBPACK_IMPORTED_MODULE_0__.MAXIMUM_RETRY_DELAY, retryDelay);\\n const getRetryCost = () => retryCost;\\n return {\\n getRetryCount,\\n getRetryDelay,\\n getRetryCost,\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-retry/dist-es/defaultRetryToken.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/index.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ ConfiguredRetryStrategy: () => (/* reexport safe */ _ConfiguredRetryStrategy__WEBPACK_IMPORTED_MODULE_1__.ConfiguredRetryStrategy),\\n/* harmony export */ DEFAULT_MAX_ATTEMPTS: () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_MAX_ATTEMPTS),\\n/* harmony export */ DEFAULT_RETRY_DELAY_BASE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.DEFAULT_RETRY_DELAY_BASE),\\n/* harmony export */ DEFAULT_RETRY_MODE: () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_4__.DEFAULT_RETRY_MODE),\\n/* harmony export */ DefaultRateLimiter: () => (/* reexport safe */ _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_2__.DefaultRateLimiter),\\n/* harmony export */ INITIAL_RETRY_TOKENS: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.INITIAL_RETRY_TOKENS),\\n/* harmony export */ INVOCATION_ID_HEADER: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.INVOCATION_ID_HEADER),\\n/* harmony export */ MAXIMUM_RETRY_DELAY: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.MAXIMUM_RETRY_DELAY),\\n/* harmony export */ NO_RETRY_INCREMENT: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.NO_RETRY_INCREMENT),\\n/* harmony export */ REQUEST_HEADER: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.REQUEST_HEADER),\\n/* harmony export */ RETRY_COST: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.RETRY_COST),\\n/* harmony export */ RETRY_MODES: () => (/* reexport safe */ _config__WEBPACK_IMPORTED_MODULE_4__.RETRY_MODES),\\n/* harmony export */ StandardRetryStrategy: () => (/* reexport safe */ _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_3__.StandardRetryStrategy),\\n/* harmony export */ THROTTLING_RETRY_DELAY_BASE: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.THROTTLING_RETRY_DELAY_BASE),\\n/* harmony export */ TIMEOUT_RETRY_COST: () => (/* reexport safe */ _constants__WEBPACK_IMPORTED_MODULE_5__.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 _ConfiguredRetryStrategy__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ConfiguredRetryStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/ConfiguredRetryStrategy.js\\\");\\n/* harmony import */ var _DefaultRateLimiter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DefaultRateLimiter */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/DefaultRateLimiter.js\\\");\\n/* harmony import */ var _StandardRetryStrategy__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./StandardRetryStrategy */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/StandardRetryStrategy.js\\\");\\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./config */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/config.js\\\");\\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./constants */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/constants.js\\\");\\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./types */ \\\"./node_modules/@aws-sdk/util-retry/dist-es/types.js\\\");\\n\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-retry/dist-es/types.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-retry/dist-es/types.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri-path.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri-path.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-uri-escape/dist-es/escape-uri.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-uri-escape/dist-es/index.js ***!\n \\****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-user-agent-browser/dist-es/index.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 [\\\"ua\\\", \\\"2.0\\\"],\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8-browser/dist-es/index.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8-browser/dist-es/pureJs.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8-browser/dist-es/whatwgEncodingApi.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/fromUtf8.browser.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/toUint8Array.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-utf8/dist-es/toUtf8.browser.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/aspromise/index.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/@protobufjs/aspromise/index.js ***!\n \\*****************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/base64/index.js\":\n/*!**************************************************!*\\\n !*** ./node_modules/@protobufjs/base64/index.js ***!\n \\**************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/eventemitter/index.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/@protobufjs/eventemitter/index.js ***!\n \\********************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/float/index.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/@protobufjs/float/index.js ***!\n \\*************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/inquire/index.js\":\n/*!***************************************************!*\\\n !*** ./node_modules/@protobufjs/inquire/index.js ***!\n \\***************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/pool/index.js\":\n/*!************************************************!*\\\n !*** ./node_modules/@protobufjs/pool/index.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@protobufjs/utf8/index.js\":\n/*!************************************************!*\\\n !*** ./node_modules/@protobufjs/utf8/index.js ***!\n \\************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/Field.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/Field.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types */ \\\"./node_modules/@smithy/protocol-http/dist-es/types.js\\\");\\n\\nclass Field {\\n constructor({ name, kind = _types__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.map((v) => (v.includes(\\\",\\\") || v.includes(\\\" \\\") ? `\\\"${v}\\\"` : v)).join(\\\", \\\");\\n }\\n get() {\\n return this.values;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@smithy/protocol-http/dist-es/Field.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/Fields.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/Fields.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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.toLowerCase()] = field;\\n }\\n getField(name) {\\n return this.entries[name.toLowerCase()];\\n }\\n removeField(name) {\\n delete this.entries[name.toLowerCase()];\\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/@smithy/protocol-http/dist-es/Fields.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/httpHandler.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/httpHandler.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@smithy/protocol-http/dist-es/httpHandler.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/httpRequest.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/httpRequest.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/httpRequest.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/httpResponse.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/httpResponse.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/httpResponse.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/index.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/index.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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 */ _types__WEBPACK_IMPORTED_MODULE_6__.FieldPosition),\\n/* harmony export */ Fields: () => (/* reexport safe */ _Fields__WEBPACK_IMPORTED_MODULE_1__.Fields),\\n/* harmony export */ HttpRequest: () => (/* reexport safe */ _httpRequest__WEBPACK_IMPORTED_MODULE_3__.HttpRequest),\\n/* harmony export */ HttpResponse: () => (/* reexport safe */ _httpResponse__WEBPACK_IMPORTED_MODULE_4__.HttpResponse),\\n/* harmony export */ isValidHostname: () => (/* reexport safe */ _isValidHostname__WEBPACK_IMPORTED_MODULE_5__.isValidHostname)\\n/* harmony export */ });\\n/* harmony import */ var _Field__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Field */ \\\"./node_modules/@smithy/protocol-http/dist-es/Field.js\\\");\\n/* harmony import */ var _Fields__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./Fields */ \\\"./node_modules/@smithy/protocol-http/dist-es/Fields.js\\\");\\n/* harmony import */ var _httpHandler__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./httpHandler */ \\\"./node_modules/@smithy/protocol-http/dist-es/httpHandler.js\\\");\\n/* harmony import */ var _httpRequest__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./httpRequest */ \\\"./node_modules/@smithy/protocol-http/dist-es/httpRequest.js\\\");\\n/* harmony import */ var _httpResponse__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./httpResponse */ \\\"./node_modules/@smithy/protocol-http/dist-es/httpResponse.js\\\");\\n/* harmony import */ var _isValidHostname__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./isValidHostname */ \\\"./node_modules/@smithy/protocol-http/dist-es/isValidHostname.js\\\");\\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./types */ \\\"./node_modules/@smithy/protocol-http/dist-es/types.js\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@smithy/protocol-http/dist-es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/isValidHostname.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/isValidHostname.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/isValidHostname.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@smithy/protocol-http/dist-es/types.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@smithy/protocol-http/dist-es/types.js ***!\n \\*************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__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/@smithy/protocol-http/dist-es/types.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/activespeakerdetector/DefaultActiveSpeakerDetector.js ***!\n \\******************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/activespeakerpolicy/DefaultActiveSpeakerPolicy.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/applicationmetadata/ApplicationMetadata.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/attendee/Attendee.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiomixcontroller/DefaultAudioMixController.js ***!\n \\************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audioprofile/AudioProfile.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/AudioVideoControllerState.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/DefaultAudioVideoController.js ***!\n \\****************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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`, 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 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 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 const connect = this.connectWithPromises(needsToWaitForAttendeePresence);\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideocontroller/NoOpAudioVideoController.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/audiovideofacade/DefaultAudioVideoFacade.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorBuiltIn.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurProcessorProvided.js ***!\n \\***********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 /** @internal */\\n setEventController(eventController) {\\n /*\\n if this is a first time we set the eventController, need to publish the current BackgroundFilterConfig.\\n Otherwise, just set the eventController.\\n */\\n if (this.eventController) {\\n this.eventController = eventController;\\n }\\n else {\\n this.eventController = eventController;\\n this.publishBackgroundFilterEvent();\\n }\\n }\\n publishBackgroundFilterEvent() {\\n const backgroundFilterEventAttributes = {\\n backgroundBlurEnabled: 'true',\\n backgroundBlurStrength: this._blurStrength,\\n backgroundReplacementEnabled: 'false',\\n backgroundFilterVersion: 1,\\n };\\n this.eventController.publishEvent('backgroundFilterConfigSelected', backgroundFilterEventAttributes);\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurStrength.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js\":\n/*!*************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessor.js ***!\n \\*************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/BackgroundBlurVideoFrameProcessorDelegate.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundblurprocessor/ModelSpecBuilder.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterFrameCounter.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterProcessor.js ***!\n \\**********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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, eventController) {\\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 this.eventController = eventController;\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessor.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundfilter/BackgroundFilterVideoFrameProcessorDelegate.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementFilter.js ***!\n \\**************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 /** @internal */\\n setEventController(eventController) {\\n /*\\n if this is a first time we set the eventController, need to publish the current BackgroundFilterConfig.\\n Otherwise, just set the eventController.\\n */\\n if (this.eventController) {\\n this.eventController = eventController;\\n }\\n else {\\n this.eventController = eventController;\\n this.publishBackgroundFilterEvent();\\n }\\n }\\n publishBackgroundFilterEvent() {\\n const backgroundFilterEventAttributes = {\\n backgroundBlurEnabled: 'false',\\n backgroundBlurStrength: 'low',\\n backgroundReplacementEnabled: 'true',\\n backgroundFilterVersion: 1,\\n };\\n this.eventController.publishEvent('backgroundFilterConfigSelected', backgroundFilterEventAttributes);\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js\":\n/*!***************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessor.js ***!\n \\***************************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js\":\n/*!***********************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backgroundreplacementprocessor/BackgroundReplacementVideoFrameProcessorDelegate.js ***!\n \\***********************************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoff.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterBackoffFactory.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/backoff/FullJitterLimitedBackoff.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js ***!\n \\******************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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.FALLBACK_BROWSER = {\\n type: 'browser',\\n name: 'unknown',\\n version: 'unknown',\\n os: 'unknown',\\n };\\n this.browser = detect_browser_1.detect() || this.FALLBACK_BROWSER;\\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 /**\\n * Check if the current browser supports the [[VideoFxProcessor]].\\n * @returns boolean representing if browser supports [[VideoFxProcessor]].\\n */\\n isVideoFxSupportedBrowser() {\\n // Not supported on safari 15 and on environments without canvas capture playback\\n return this.supportsBackgroundFilter();\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/GlobalMetricReport.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/BaseConnectionHealthPolicy.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthData.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ConnectionHealthPolicyConfiguration.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js\":\n/*!********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js ***!\n \\********************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js\":\n/*!*********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.js ***!\n \\*********************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/connectionmonitor/SignalingAndMetricsConnectionMonitor.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareMediaStreamBroker.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/DefaultContentShareController.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/cspmonitor/CSPMonitor.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/destroyable/Destroyable.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/AudioTransformDevice.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/DefaultDeviceController.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultVideoTransformDevice_1 = __webpack_require__(/*! ../videoframeprocessor/DefaultVideoTransformDevice */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.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 (this.eventController && device instanceof DefaultVideoTransformDevice_1.default) {\\n device.passEventControllerToProcessors(this.eventController);\\n }\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/DeviceSelection.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/GetUserMediaError.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/NoOpDeviceController.js ***!\n \\*****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotFoundError.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/NotReadableError.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/OverconstrainedError.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/PermissionDeniedError.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/SingleNodeAudioTransformDevice.js ***!\n \\***************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/TypeError.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoQualitySettings.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicecontroller/VideoTransformDevice.js ***!\n \\*****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventbuffer/InMemoryJSONEventBuffer.js ***!\n \\***************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js\":\n/*!*****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventbufferconfiguration/EventBufferConfiguration.js ***!\n \\*****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventcontroller/DefaultEventController.js ***!\n \\******************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventcontroller/flattenEventAttributes.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventingestionconfiguration/EventIngestionConfiguration.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventreporter/DefaultMeetingEventReporter.js ***!\n \\*********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventreporter/NoOpEventReporter.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/eventsclientconfiguration/MeetingEventsClientConfiguration.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/index.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/index.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.VideoPriorityBasedPolicyConfig = exports.VideoPriorityBasedPolicy = exports.VideoPreferences = exports.VideoPreference = exports.VideoOnlyTransceiverController = exports.VideoLogEvent = exports.VideoFxProcessor = 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 = exports.VideoQualitySettings = 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 VideoFxProcessor_1 = __webpack_require__(/*! ./videofx/VideoFxProcessor */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js\\\");\\nexports.VideoFxProcessor = VideoFxProcessor_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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/ConsoleLogger.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/Log.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/Log.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/MultiLogger.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/NoOpDebugLogger.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/logger/POSTLogger.js ***!\n \\*********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/DefaultMediaDeviceFactory.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/mediadevicefactory/MediaDeviceProxyHandler.js ***!\n \\**********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/mediastreambroker/NoOpMediaStreamBroker.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioConnectivityFeedback.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioInputFeedback.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckAudioOutputFeedback.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckCameraResolutionFeedback.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckContentShareConnectivityFeedback.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkTCPConnectivityFeedback.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckNetworkUDPConnectivityFeedback.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoConnectivityFeedback.js ***!\n \\**********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/CheckVideoInputFeedback.js ***!\n \\***************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/DefaultMeetingReadinessChecker.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js\":\n/*!****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingreadinesschecker/MeetingReadinessCheckerConfiguration.js ***!\n \\****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/DefaultMeetingSession.js ***!\n \\****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionConfiguration.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionCredentials.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatus.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionURLs.js ***!\n \\*************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionVideoAvailability.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/message/Message.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/message/Message.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/DefaultMessagingSession.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/MessagingSessionConfiguration.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchOn.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/messagingsession/PrefetchSortBy.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/pingpong/DefaultPingPong.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/DefaultRealtimeController.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeAttendeePositionInFrame.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeState.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/realtimecontroller/RealtimeVolumeIndicator.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/reconnectcontroller/DefaultReconnectController.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/SDPCandidateType.js ***!\n \\************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/SDPMediaSection.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js ***!\n \\**************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/DefaultSessionStateController.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js\":\n/*!*******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerAction.js ***!\n \\*******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js\":\n/*!**************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerDeferPriority.js ***!\n \\**************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerState.js ***!\n \\******************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sessionstatecontroller/SessionStateControllerTransitionResult.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/DefaultSignalingClient.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 Utils_1 = __webpack_require__(/*! ../utils/Utils */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Utils.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 clientUtcOffset: Utils_1.getFormattedOffset(new Date().getTimezoneOffset()),\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js\":\n/*!****************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js ***!\n \\****************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEvent.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js ***!\n \\***************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js\":\n/*!*****************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientVideoSubscriptionConfiguration.js ***!\n \\*****************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js ***!\n \\***************************************************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/*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 * @property {string|null} [clientUtcOffset] SdkClientDetails clientUtcOffset\\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 * SdkClientDetails clientUtcOffset.\\n * @member {string} clientUtcOffset\\n * @memberof SdkClientDetails\\n * @instance\\n */\\n SdkClientDetails.prototype.clientUtcOffset = \\\"\\\";\\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 if (message.clientUtcOffset != null && Object.hasOwnProperty.call(message, \\\"clientUtcOffset\\\"))\\n writer.uint32(/* id 9, wireType 2 =*/74).string(message.clientUtcOffset);\\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 case 9:\\n message.clientUtcOffset = 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 if (message.clientUtcOffset != null && message.hasOwnProperty(\\\"clientUtcOffset\\\"))\\n if (!$util.isString(message.clientUtcOffset))\\n return \\\"clientUtcOffset: 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 if (object.clientUtcOffset != null)\\n message.clientUtcOffset = String(object.clientUtcOffset);\\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 object.clientUtcOffset = \\\"\\\";\\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 if (message.clientUtcOffset != null && message.hasOwnProperty(\\\"clientUtcOffset\\\"))\\n object.clientUtcOffset = message.clientUtcOffset;\\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.} Plain object\\n */\\n SdkPrimaryMeetingJoinAckFrame.toObject = function toObject() {\\n return {};\\n };\\n\\n /**\\n * Converts this SdkPrimaryMeetingJoinAckFrame to JSON.\\n * @function toJSON\\n * @memberof SdkPrimaryMeetingJoinAckFrame\\n * @instance\\n * @returns {Object.} JSON object\\n */\\n SdkPrimaryMeetingJoinAckFrame.prototype.toJSON = function toJSON() {\\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\\n };\\n\\n return SdkPrimaryMeetingJoinAckFrame;\\n})();\\n\\n$root.SdkPrimaryMeetingLeaveFrame = (function() {\\n\\n /**\\n * Properties of a SdkPrimaryMeetingLeaveFrame.\\n * @exports ISdkPrimaryMeetingLeaveFrame\\n * @interface ISdkPrimaryMeetingLeaveFrame\\n */\\n\\n /**\\n * Constructs a new SdkPrimaryMeetingLeaveFrame.\\n * @exports SdkPrimaryMeetingLeaveFrame\\n * @classdesc Represents a SdkPrimaryMeetingLeaveFrame.\\n * @implements ISdkPrimaryMeetingLeaveFrame\\n * @constructor\\n * @param {ISdkPrimaryMeetingLeaveFrame=} [properties] Properties to set\\n */\\n function SdkPrimaryMeetingLeaveFrame(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 SdkPrimaryMeetingLeaveFrame instance using the specified properties.\\n * @function create\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {ISdkPrimaryMeetingLeaveFrame=} [properties] Properties to set\\n * @returns {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame instance\\n */\\n SdkPrimaryMeetingLeaveFrame.create = function create(properties) {\\n return new SdkPrimaryMeetingLeaveFrame(properties);\\n };\\n\\n /**\\n * Encodes the specified SdkPrimaryMeetingLeaveFrame message. Does not implicitly {@link SdkPrimaryMeetingLeaveFrame.verify|verify} messages.\\n * @function encode\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {ISdkPrimaryMeetingLeaveFrame} message SdkPrimaryMeetingLeaveFrame message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkPrimaryMeetingLeaveFrame.encode = function encode(message, writer) {\\n if (!writer)\\n writer = $Writer.create();\\n return writer;\\n };\\n\\n /**\\n * Encodes the specified SdkPrimaryMeetingLeaveFrame message, length delimited. Does not implicitly {@link SdkPrimaryMeetingLeaveFrame.verify|verify} messages.\\n * @function encodeDelimited\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {ISdkPrimaryMeetingLeaveFrame} message SdkPrimaryMeetingLeaveFrame message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkPrimaryMeetingLeaveFrame.encodeDelimited = function encodeDelimited(message, writer) {\\n return this.encode(message, writer).ldelim();\\n };\\n\\n /**\\n * Decodes a SdkPrimaryMeetingLeaveFrame message from the specified reader or buffer.\\n * @function decode\\n * @memberof SdkPrimaryMeetingLeaveFrame\\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 {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame\\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 SdkPrimaryMeetingLeaveFrame.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.SdkPrimaryMeetingLeaveFrame();\\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 SdkPrimaryMeetingLeaveFrame message from the specified reader or buffer, length delimited.\\n * @function decodeDelimited\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\\n * @returns {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame\\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 SdkPrimaryMeetingLeaveFrame.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 SdkPrimaryMeetingLeaveFrame message.\\n * @function verify\\n * @memberof SdkPrimaryMeetingLeaveFrame\\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 SdkPrimaryMeetingLeaveFrame.verify = function verify(message) {\\n if (typeof message !== \\\"object\\\" || message === null)\\n return \\\"object expected\\\";\\n return null;\\n };\\n\\n /**\\n * Creates a SdkPrimaryMeetingLeaveFrame message from a plain object. Also converts values to their respective internal types.\\n * @function fromObject\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {Object.} object Plain object\\n * @returns {SdkPrimaryMeetingLeaveFrame} SdkPrimaryMeetingLeaveFrame\\n */\\n SdkPrimaryMeetingLeaveFrame.fromObject = function fromObject(object) {\\n if (object instanceof $root.SdkPrimaryMeetingLeaveFrame)\\n return object;\\n return new $root.SdkPrimaryMeetingLeaveFrame();\\n };\\n\\n /**\\n * Creates a plain object from a SdkPrimaryMeetingLeaveFrame message. Also converts values to other types if specified.\\n * @function toObject\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @static\\n * @param {SdkPrimaryMeetingLeaveFrame} message SdkPrimaryMeetingLeaveFrame\\n * @param {$protobuf.IConversionOptions} [options] Conversion options\\n * @returns {Object.} Plain object\\n */\\n SdkPrimaryMeetingLeaveFrame.toObject = function toObject() {\\n return {};\\n };\\n\\n /**\\n * Converts this SdkPrimaryMeetingLeaveFrame to JSON.\\n * @function toJSON\\n * @memberof SdkPrimaryMeetingLeaveFrame\\n * @instance\\n * @returns {Object.} JSON object\\n */\\n SdkPrimaryMeetingLeaveFrame.prototype.toJSON = function toJSON() {\\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\\n };\\n\\n return SdkPrimaryMeetingLeaveFrame;\\n})();\\n\\n$root.SdkMeetingSessionCredentials = (function() {\\n\\n /**\\n * Properties of a SdkMeetingSessionCredentials.\\n * @exports ISdkMeetingSessionCredentials\\n * @interface ISdkMeetingSessionCredentials\\n * @property {string|null} [attendeeId] SdkMeetingSessionCredentials attendeeId\\n * @property {string|null} [externalUserId] SdkMeetingSessionCredentials externalUserId\\n * @property {string|null} [joinToken] SdkMeetingSessionCredentials joinToken\\n */\\n\\n /**\\n * Constructs a new SdkMeetingSessionCredentials.\\n * @exports SdkMeetingSessionCredentials\\n * @classdesc Represents a SdkMeetingSessionCredentials.\\n * @implements ISdkMeetingSessionCredentials\\n * @constructor\\n * @param {ISdkMeetingSessionCredentials=} [properties] Properties to set\\n */\\n function SdkMeetingSessionCredentials(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 * SdkMeetingSessionCredentials attendeeId.\\n * @member {string} attendeeId\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n */\\n SdkMeetingSessionCredentials.prototype.attendeeId = \\\"\\\";\\n\\n /**\\n * SdkMeetingSessionCredentials externalUserId.\\n * @member {string} externalUserId\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n */\\n SdkMeetingSessionCredentials.prototype.externalUserId = \\\"\\\";\\n\\n /**\\n * SdkMeetingSessionCredentials joinToken.\\n * @member {string} joinToken\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n */\\n SdkMeetingSessionCredentials.prototype.joinToken = \\\"\\\";\\n\\n /**\\n * Creates a new SdkMeetingSessionCredentials instance using the specified properties.\\n * @function create\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {ISdkMeetingSessionCredentials=} [properties] Properties to set\\n * @returns {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials instance\\n */\\n SdkMeetingSessionCredentials.create = function create(properties) {\\n return new SdkMeetingSessionCredentials(properties);\\n };\\n\\n /**\\n * Encodes the specified SdkMeetingSessionCredentials message. Does not implicitly {@link SdkMeetingSessionCredentials.verify|verify} messages.\\n * @function encode\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {ISdkMeetingSessionCredentials} message SdkMeetingSessionCredentials message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkMeetingSessionCredentials.encode = function encode(message, writer) {\\n if (!writer)\\n writer = $Writer.create();\\n if (message.attendeeId != null && Object.hasOwnProperty.call(message, \\\"attendeeId\\\"))\\n writer.uint32(/* id 1, wireType 2 =*/10).string(message.attendeeId);\\n if (message.externalUserId != null && Object.hasOwnProperty.call(message, \\\"externalUserId\\\"))\\n writer.uint32(/* id 2, wireType 2 =*/18).string(message.externalUserId);\\n if (message.joinToken != null && Object.hasOwnProperty.call(message, \\\"joinToken\\\"))\\n writer.uint32(/* id 3, wireType 2 =*/26).string(message.joinToken);\\n return writer;\\n };\\n\\n /**\\n * Encodes the specified SdkMeetingSessionCredentials message, length delimited. Does not implicitly {@link SdkMeetingSessionCredentials.verify|verify} messages.\\n * @function encodeDelimited\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {ISdkMeetingSessionCredentials} message SdkMeetingSessionCredentials message or plain object to encode\\n * @param {$protobuf.Writer} [writer] Writer to encode to\\n * @returns {$protobuf.Writer} Writer\\n */\\n SdkMeetingSessionCredentials.encodeDelimited = function encodeDelimited(message, writer) {\\n return this.encode(message, writer).ldelim();\\n };\\n\\n /**\\n * Decodes a SdkMeetingSessionCredentials message from the specified reader or buffer.\\n * @function decode\\n * @memberof SdkMeetingSessionCredentials\\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 {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials\\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 SdkMeetingSessionCredentials.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.SdkMeetingSessionCredentials();\\n while (reader.pos < end) {\\n var tag = reader.uint32();\\n switch (tag >>> 3) {\\n case 1:\\n message.attendeeId = reader.string();\\n break;\\n case 2:\\n message.externalUserId = reader.string();\\n break;\\n case 3:\\n message.joinToken = reader.string();\\n break;\\n default:\\n reader.skipType(tag & 7);\\n break;\\n }\\n }\\n return message;\\n };\\n\\n /**\\n * Decodes a SdkMeetingSessionCredentials message from the specified reader or buffer, length delimited.\\n * @function decodeDelimited\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from\\n * @returns {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials\\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 SdkMeetingSessionCredentials.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 SdkMeetingSessionCredentials message.\\n * @function verify\\n * @memberof SdkMeetingSessionCredentials\\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 SdkMeetingSessionCredentials.verify = function verify(message) {\\n if (typeof message !== \\\"object\\\" || message === null)\\n return \\\"object expected\\\";\\n if (message.attendeeId != null && message.hasOwnProperty(\\\"attendeeId\\\"))\\n if (!$util.isString(message.attendeeId))\\n return \\\"attendeeId: string expected\\\";\\n if (message.externalUserId != null && message.hasOwnProperty(\\\"externalUserId\\\"))\\n if (!$util.isString(message.externalUserId))\\n return \\\"externalUserId: string expected\\\";\\n if (message.joinToken != null && message.hasOwnProperty(\\\"joinToken\\\"))\\n if (!$util.isString(message.joinToken))\\n return \\\"joinToken: string expected\\\";\\n return null;\\n };\\n\\n /**\\n * Creates a SdkMeetingSessionCredentials message from a plain object. Also converts values to their respective internal types.\\n * @function fromObject\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {Object.} object Plain object\\n * @returns {SdkMeetingSessionCredentials} SdkMeetingSessionCredentials\\n */\\n SdkMeetingSessionCredentials.fromObject = function fromObject(object) {\\n if (object instanceof $root.SdkMeetingSessionCredentials)\\n return object;\\n var message = new $root.SdkMeetingSessionCredentials();\\n if (object.attendeeId != null)\\n message.attendeeId = String(object.attendeeId);\\n if (object.externalUserId != null)\\n message.externalUserId = String(object.externalUserId);\\n if (object.joinToken != null)\\n message.joinToken = String(object.joinToken);\\n return message;\\n };\\n\\n /**\\n * Creates a plain object from a SdkMeetingSessionCredentials message. Also converts values to other types if specified.\\n * @function toObject\\n * @memberof SdkMeetingSessionCredentials\\n * @static\\n * @param {SdkMeetingSessionCredentials} message SdkMeetingSessionCredentials\\n * @param {$protobuf.IConversionOptions} [options] Conversion options\\n * @returns {Object.} Plain object\\n */\\n SdkMeetingSessionCredentials.toObject = function toObject(message, options) {\\n if (!options)\\n options = {};\\n var object = {};\\n if (options.defaults) {\\n object.attendeeId = \\\"\\\";\\n object.externalUserId = \\\"\\\";\\n object.joinToken = \\\"\\\";\\n }\\n if (message.attendeeId != null && message.hasOwnProperty(\\\"attendeeId\\\"))\\n object.attendeeId = message.attendeeId;\\n if (message.externalUserId != null && message.hasOwnProperty(\\\"externalUserId\\\"))\\n object.externalUserId = message.externalUserId;\\n if (message.joinToken != null && message.hasOwnProperty(\\\"joinToken\\\"))\\n object.joinToken = message.joinToken;\\n return object;\\n };\\n\\n /**\\n * Converts this SdkMeetingSessionCredentials to JSON.\\n * @function toJSON\\n * @memberof SdkMeetingSessionCredentials\\n * @instance\\n * @returns {Object.} JSON object\\n */\\n SdkMeetingSessionCredentials.prototype.toJSON = function toJSON() {\\n return this.constructor.toObject(this, $protobuf.util.toJSONOptions);\\n };\\n\\n return SdkMeetingSessionCredentials;\\n})();\\n\\n/**\\n * SdkVideoCodecCapability enum.\\n * @exports SdkVideoCodecCapability\\n * @enum {number}\\n * @property {number} VP8=1 VP8 value\\n * @property {number} H264_CONSTRAINED_BASELINE_PROFILE=3 H264_CONSTRAINED_BASELINE_PROFILE value\\n */\\n$root.SdkVideoCodecCapability = (function() {\\n var valuesById = {}, values = Object.create(valuesById);\\n values[valuesById[1] = \\\"VP8\\\"] = 1;\\n values[valuesById[3] = \\\"H264_CONSTRAINED_BASELINE_PROFILE\\\"] = 3;\\n return values;\\n})();\\n\\nmodule.exports = $root;\\n$util.Long = undefined;\\n$protobuf.configure();\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js ***!\n \\**********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 sha256_js_1 = __webpack_require__(/*! @aws-crypto/sha256-js */ \\\"./node_modules/@aws-crypto/sha256-js/build/index.js\\\");\\nconst util_hex_encoding_1 = __webpack_require__(/*! @aws-sdk/util-hex-encoding */ \\\"./node_modules/@aws-sdk/util-hex-encoding/dist-es/index.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nclass DefaultSigV4 {\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/explicit-module-boundary-types\\n constructor(chimeClient) {\\n this.chimeClient = chimeClient;\\n }\\n makeTwoDigits(n) {\\n /* istanbul ignore if */\\n /* istanbul ignore else */\\n if (n > 9) {\\n return n.toString();\\n }\\n else {\\n return '0' + n.toString();\\n }\\n }\\n hmac(data, secret) {\\n const hash = new sha256_js_1.Sha256(secret);\\n hash.update(data);\\n return hash.digest();\\n }\\n getDateTimeString() {\\n const d = new Date();\\n return (d.getUTCFullYear() +\\n this.makeTwoDigits(d.getUTCMonth() + 1) +\\n this.makeTwoDigits(d.getUTCDate()) +\\n 'T' +\\n this.makeTwoDigits(d.getUTCHours()) +\\n this.makeTwoDigits(d.getUTCMinutes()) +\\n this.makeTwoDigits(d.getUTCSeconds()) +\\n 'Z');\\n }\\n getDateString(dateTimeString) {\\n return dateTimeString.substring(0, dateTimeString.indexOf('T'));\\n }\\n getSignatureKey(key, date, regionName, serviceName) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const kDate = yield this.hmac(date, 'AWS4' + key);\\n const kRegion = yield this.hmac(regionName, kDate);\\n const kService = yield this.hmac(serviceName, kRegion);\\n const kSigning = yield this.hmac('aws4_request', kService);\\n return kSigning;\\n });\\n }\\n signURL(method, scheme, serviceName, hostname, path, payload, queryParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const now = this.getDateTimeString();\\n const today = this.getDateString(now);\\n const algorithm = 'AWS4-HMAC-SHA256';\\n let region = '';\\n // in AWS SDK v3 region is a function\\n if (this.chimeClient.config.region instanceof Function) {\\n region = yield this.chimeClient.config.region();\\n }\\n else {\\n region = this.chimeClient.config.region;\\n }\\n const signedHeaders = 'host';\\n const canonicalHeaders = 'host:' + hostname.toLowerCase() + '\\\\n';\\n const credentialScope = today + '/' + region + '/' + serviceName + '/' + 'aws4_request';\\n let credentials = undefined;\\n // in AWS SDK v3 credentials is a function\\n if (this.chimeClient.config.credentials instanceof Function) {\\n credentials = yield this.chimeClient.config.credentials();\\n }\\n else {\\n credentials = this.chimeClient.config.credentials;\\n }\\n let params = new Map();\\n params.set('X-Amz-Algorithm', [algorithm]);\\n params.set('X-Amz-Credential', [\\n encodeURIComponent(credentials.accessKeyId + '/' + credentialScope),\\n ]);\\n params.set('X-Amz-Date', [now]);\\n params.set('X-Amz-Expires', ['10']);\\n params.set('X-Amz-SignedHeaders', ['host']);\\n if (credentials.sessionToken) {\\n params.set('X-Amz-Security-Token', [encodeURIComponent(credentials.sessionToken)]);\\n }\\n params.set(Versioning_1.default.X_AMZN_VERSION, [encodeURIComponent(Versioning_1.default.sdkVersion)]);\\n params.set(Versioning_1.default.X_AMZN_USER_AGENT, [\\n encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution),\\n ]);\\n queryParams === null || queryParams === void 0 ? void 0 : queryParams.forEach((values, key) => {\\n const encodedKey = encodeURIComponent(key);\\n values.sort().forEach((value) => {\\n if (!params.has(encodedKey)) {\\n params.set(encodedKey, []);\\n }\\n params.get(encodedKey).push(encodeURIComponent(value));\\n });\\n });\\n let canonicalQuerystring = '';\\n params = new Map([...params.entries()].sort());\\n params.forEach((values, key) => {\\n values.forEach(value => {\\n if (canonicalQuerystring.length) {\\n canonicalQuerystring += '&';\\n }\\n canonicalQuerystring += key + '=' + value;\\n });\\n });\\n const canonicalRequest = method +\\n '\\\\n' +\\n path +\\n '\\\\n' +\\n canonicalQuerystring +\\n '\\\\n' +\\n canonicalHeaders +\\n '\\\\n' +\\n signedHeaders +\\n '\\\\n' +\\n util_hex_encoding_1.toHex(yield this.hmac(payload));\\n const hashedCanonicalRequest = util_hex_encoding_1.toHex(yield this.hmac(canonicalRequest));\\n const stringToSign = 'AWS4-HMAC-SHA256\\\\n' +\\n now +\\n '\\\\n' +\\n today +\\n '/' +\\n region +\\n '/' +\\n serviceName +\\n '/aws4_request\\\\n' +\\n hashedCanonicalRequest;\\n const signingKey = yield this.getSignatureKey(credentials.secretAccessKey, today, region, serviceName);\\n const signature = util_hex_encoding_1.toHex(yield this.hmac(stringToSign, signingKey));\\n const finalParams = canonicalQuerystring + '&X-Amz-Signature=' + signature;\\n return scheme + '://' + hostname + path + '?' + finalParams;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = DefaultSigV4;\\n//# sourceMappingURL=DefaultSigV4.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/sigv4/DefaultSigV4.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js ***!\n \\***********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.SimulcastLayers = void 0;\\n/**\\n * [[SimulcastLayers]] represents simulcast layers for selected simulcast video streams.\\n */\\nvar SimulcastLayers;\\n(function (SimulcastLayers) {\\n /**\\n * Low resolution video stream.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"Low\\\"] = 0] = \\\"Low\\\";\\n /**\\n * Low and medium resolution video streams.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"LowAndMedium\\\"] = 1] = \\\"LowAndMedium\\\";\\n /**\\n * Low and high resolution video streams.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"LowAndHigh\\\"] = 2] = \\\"LowAndHigh\\\";\\n /**\\n * Medium resolution video stream.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"Medium\\\"] = 3] = \\\"Medium\\\";\\n /**\\n * Medium and high resolution video streams.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"MediumAndHigh\\\"] = 4] = \\\"MediumAndHigh\\\";\\n /**\\n * High resolution video stream.\\n */\\n SimulcastLayers[SimulcastLayers[\\\"High\\\"] = 5] = \\\"High\\\";\\n})(SimulcastLayers = exports.SimulcastLayers || (exports.SimulcastLayers = {}));\\nexports[\\\"default\\\"] = SimulcastLayers;\\n//# sourceMappingURL=SimulcastLayers.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.AudioLogEvent = void 0;\\nvar AudioLogEvent;\\n(function (AudioLogEvent) {\\n AudioLogEvent[AudioLogEvent[\\\"DeviceChanged\\\"] = 0] = \\\"DeviceChanged\\\";\\n AudioLogEvent[AudioLogEvent[\\\"MutedLocal\\\"] = 1] = \\\"MutedLocal\\\";\\n AudioLogEvent[AudioLogEvent[\\\"UnmutedLocal\\\"] = 2] = \\\"UnmutedLocal\\\";\\n AudioLogEvent[AudioLogEvent[\\\"Connected\\\"] = 3] = \\\"Connected\\\";\\n AudioLogEvent[AudioLogEvent[\\\"ConnectFailed\\\"] = 4] = \\\"ConnectFailed\\\";\\n AudioLogEvent[AudioLogEvent[\\\"RedmicStartLoss\\\"] = 5] = \\\"RedmicStartLoss\\\";\\n AudioLogEvent[AudioLogEvent[\\\"RedmicEndLoss\\\"] = 6] = \\\"RedmicEndLoss\\\";\\n})(AudioLogEvent = exports.AudioLogEvent || (exports.AudioLogEvent = {}));\\nexports[\\\"default\\\"] = AudioLogEvent;\\n//# sourceMappingURL=AudioLogEvent.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 ClientMetricReport_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReport */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReport.js\\\");\\nconst ClientMetricReportDirection_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportDirection */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\\\");\\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportMediaType */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\\\");\\nconst StreamMetricReport_1 = __webpack_require__(/*! ../clientmetricreport/StreamMetricReport */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/StreamMetricReport.js\\\");\\nconst MeetingSessionLifecycleEvent_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionLifecycleEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEvent.js\\\");\\nconst MeetingSessionLifecycleEventCondition_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionLifecycleEventCondition */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionLifecycleEventCondition.js\\\");\\nconst IntervalScheduler_1 = __webpack_require__(/*! ../scheduler/IntervalScheduler */ \\\"./node_modules/amazon-chime-sdk-js/build/scheduler/IntervalScheduler.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\\\");\\nconst AudioLogEvent_1 = __webpack_require__(/*! ./AudioLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js\\\");\\nconst VideoLogEvent_1 = __webpack_require__(/*! ./VideoLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js\\\");\\n/**\\n * [[StatsCollector]] gathers statistics and sends metrics.\\n */\\nclass StatsCollector {\\n constructor(audioVideoController, logger, interval = StatsCollector.INTERVAL_MS) {\\n this.audioVideoController = audioVideoController;\\n this.logger = logger;\\n this.interval = interval;\\n this.intervalScheduler = null;\\n // TODO: Implement metricsAddTime() and metricsLogEvent().\\n this.metricsAddTime = (_name, _duration, _attributes) => { };\\n this.metricsLogEvent = (_name, _attributes) => { };\\n }\\n // TODO: Update toAttribute() and toSuffix() methods to convert raw data to a required type.\\n /**\\n * Converts string to attribute format.\\n */\\n toAttribute(str) {\\n return this.toSuffix(str).substring(1);\\n }\\n /**\\n * Converts string to suffix format.\\n */\\n toSuffix(str) {\\n if (str.toLowerCase() === str) {\\n // e.g. lower_case -> _lower_case\\n return `_${str}`;\\n }\\n else if (str.toUpperCase() === str) {\\n // e.g. UPPER_CASE -> _upper_case\\n return `_${str.toLowerCase()}`;\\n }\\n else {\\n // e.g. CamelCaseWithCAPS -> _camel_case_with_caps\\n return str\\n .replace(/([A-Z][a-z]+)/g, function ($1) {\\n return `_${$1}`;\\n })\\n .replace(/([A-Z][A-Z]+)/g, function ($1) {\\n return `_${$1}`;\\n })\\n .toLowerCase();\\n }\\n }\\n /**\\n * Logs the latency.\\n */\\n logLatency(eventName, timeMs, attributes) {\\n const event = this.toSuffix(eventName);\\n this.logEventTime('meeting' + event, timeMs, attributes);\\n }\\n /**\\n * Logs the state timeout.\\n */\\n logStateTimeout(stateName, attributes) {\\n const state = this.toSuffix(stateName);\\n this.logEvent('meeting_session_state_timeout', Object.assign(Object.assign({}, attributes), { state: `state${state}` }));\\n }\\n /**\\n * Logs the audio event.\\n */\\n logAudioEvent(eventName, attributes) {\\n const event = 'audio' + this.toSuffix(AudioLogEvent_1.default[eventName]);\\n this.logEvent(event, attributes);\\n }\\n /**\\n * Logs the video event.\\n */\\n logVideoEvent(eventName, attributes) {\\n const event = 'video' + this.toSuffix(VideoLogEvent_1.default[eventName]);\\n this.logEvent(event, attributes);\\n }\\n logEventTime(eventName, timeMs, attributes = {}) {\\n const finalAttributes = Object.assign(Object.assign({}, attributes), { call_id: this.audioVideoController.configuration.meetingId, client_type: StatsCollector.CLIENT_TYPE, metric_type: 'latency' });\\n this.logger.debug(() => {\\n return `[StatsCollector] ${eventName}: ${JSON.stringify(finalAttributes)}`;\\n });\\n this.metricsAddTime(eventName, timeMs, finalAttributes);\\n }\\n /**\\n * Logs the session status.\\n */\\n logMeetingSessionStatus(status) {\\n // TODO: Generate the status event name given the status code.\\n const statusEventName = `${status.statusCode()}`;\\n this.logEvent(statusEventName);\\n const statusAttribute = {\\n status: statusEventName,\\n status_code: `${status.statusCode()}`,\\n };\\n this.logEvent('meeting_session_status', statusAttribute);\\n if (status.isTerminal()) {\\n this.logEvent('meeting_session_stopped', statusAttribute);\\n }\\n if (status.isAudioConnectionFailure()) {\\n this.logEvent('meeting_session_audio_failed', statusAttribute);\\n }\\n if (status.isFailure()) {\\n this.logEvent('meeting_session_failed', statusAttribute);\\n }\\n }\\n /**\\n * Logs the lifecycle event.\\n */\\n logLifecycleEvent(lifecycleEvent, condition) {\\n const attributes = {\\n lifecycle_event: `lifecycle${this.toSuffix(MeetingSessionLifecycleEvent_1.default[lifecycleEvent])}`,\\n lifecycle_event_code: `${lifecycleEvent}`,\\n lifecycle_event_condition: `condition${this.toSuffix(MeetingSessionLifecycleEventCondition_1.default[condition])}`,\\n lifecycle_event_condition_code: `${condition}`,\\n };\\n this.logEvent('meeting_session_lifecycle', attributes);\\n }\\n /**\\n * Logs the events.\\n */\\n logEvent(eventName, attributes = {}) {\\n const finalAttributes = Object.assign(Object.assign({}, attributes), { call_id: this.audioVideoController.configuration.meetingId, client_type: StatsCollector.CLIENT_TYPE });\\n this.logger.debug(() => {\\n return `[StatsCollector] ${eventName}: ${JSON.stringify(finalAttributes)}`;\\n });\\n this.metricsLogEvent(eventName, finalAttributes);\\n }\\n /**\\n * Starts collecting statistics.\\n */\\n start(signalingClient, videoStreamIndex) {\\n if (this.intervalScheduler) {\\n return false;\\n }\\n this.logger.info('Starting StatsCollector');\\n this.signalingClient = signalingClient;\\n this.videoStreamIndex = videoStreamIndex;\\n this.clientMetricReport = new ClientMetricReport_1.default(this.logger, this.videoStreamIndex, this.audioVideoController.configuration.credentials.attendeeId);\\n this.intervalScheduler = new IntervalScheduler_1.default(this.interval);\\n this.intervalScheduler.start(() => __awaiter(this, void 0, void 0, function* () {\\n yield this.getStatsWrapper();\\n }));\\n return true;\\n }\\n /*\\n * Stops the stats collector.\\n */\\n stop() {\\n this.logger.info('Stopping StatsCollector');\\n if (this.intervalScheduler) {\\n this.intervalScheduler.stop();\\n }\\n this.intervalScheduler = null;\\n }\\n /**\\n * Convert raw metrics to client metric report.\\n */\\n updateMetricValues(rawMetricReport, isStream) {\\n const metricReport = isStream\\n ? this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)]\\n : this.clientMetricReport.globalMetricReport;\\n let metricMap;\\n if (isStream) {\\n metricMap = this.clientMetricReport.getMetricMap(metricReport.mediaType, metricReport.direction);\\n }\\n else {\\n metricMap = this.clientMetricReport.getMetricMap();\\n }\\n for (const rawMetric in rawMetricReport) {\\n if (rawMetric in metricMap) {\\n if (typeof rawMetricReport[rawMetric] === 'number') {\\n metricReport.previousMetrics[rawMetric] = metricReport.currentMetrics[rawMetric];\\n metricReport.currentMetrics[rawMetric] = rawMetricReport[rawMetric];\\n }\\n else if (typeof rawMetricReport[rawMetric] === 'string') {\\n metricReport.currentStringMetrics[rawMetric] = rawMetricReport[rawMetric];\\n }\\n else {\\n this.logger.error(`Unknown metric value type ${typeof rawMetricReport[rawMetric]} for metric ${rawMetric}`);\\n }\\n }\\n }\\n }\\n /**\\n * Converts RawMetricReport to StreamMetricReport and GlobalMetricReport and stores them as clientMetricReport.\\n */\\n processRawMetricReports(rawMetricReports) {\\n this.clientMetricReport.currentSsrcs = {};\\n const timeStamp = Date.now();\\n for (const rawMetricReport of rawMetricReports) {\\n const isStream = this.isStreamRawMetricReport(rawMetricReport.type);\\n if (isStream) {\\n const existingStreamMetricReport = this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)];\\n if (!existingStreamMetricReport) {\\n const streamMetricReport = new StreamMetricReport_1.default();\\n streamMetricReport.mediaType = this.getMediaType(rawMetricReport);\\n streamMetricReport.direction = this.getDirectionType(rawMetricReport);\\n if (!this.videoStreamIndex.allStreams().empty()) {\\n streamMetricReport.streamId = this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc));\\n }\\n this.clientMetricReport.streamMetricReports[Number(rawMetricReport.ssrc)] = streamMetricReport;\\n }\\n else {\\n // Update stream ID in case we have overridden it locally in the case of remote video\\n // updates completed without a negotiation\\n existingStreamMetricReport.streamId = this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc));\\n }\\n this.clientMetricReport.currentSsrcs[Number(rawMetricReport.ssrc)] = 1;\\n }\\n this.updateMetricValues(rawMetricReport, isStream);\\n }\\n this.clientMetricReport.removeDestroyedSsrcs();\\n this.clientMetricReport.previousTimestampMs = this.clientMetricReport.currentTimestampMs;\\n this.clientMetricReport.currentTimestampMs = timeStamp;\\n this.clientMetricReport.print();\\n }\\n /**\\n * Add stream metric dimension frames derived from metrics\\n */\\n addStreamMetricDimensionFrames(streamMetricFrame, streamMetricReport) {\\n const streamDimensionMap = this.clientMetricReport.getStreamDimensionMap();\\n for (const metricName in streamMetricReport.currentStringMetrics) {\\n if (metricName in streamDimensionMap) {\\n const dimensionFrame = SignalingProtocol_js_1.SdkStreamDimension.create();\\n dimensionFrame.type = streamDimensionMap[metricName];\\n const dimensionValue = SignalingProtocol_js_1.SdkDimensionValue.create();\\n dimensionValue.stringValue = streamMetricReport.currentStringMetrics[metricName];\\n dimensionFrame.value = dimensionValue;\\n streamMetricFrame.dimensions.push(dimensionFrame);\\n }\\n }\\n }\\n /**\\n * Packages a metric into the MetricFrame.\\n */\\n addMetricFrame(metricName, clientMetricFrame, metricSpec, ssrc) {\\n const type = metricSpec.type;\\n const transform = metricSpec.transform;\\n const sourceMetric = metricSpec.source;\\n const streamMetricFramesLength = clientMetricFrame.streamMetricFrames.length;\\n const latestStreamMetricFrame = clientMetricFrame.streamMetricFrames[streamMetricFramesLength - 1];\\n if (type) {\\n const metricFrame = SignalingProtocol_js_1.SdkMetric.create();\\n metricFrame.type = type;\\n metricFrame.value = sourceMetric\\n ? transform(sourceMetric, ssrc)\\n : transform(metricName, ssrc);\\n ssrc\\n ? latestStreamMetricFrame.metrics.push(metricFrame)\\n : clientMetricFrame.globalMetrics.push(metricFrame);\\n }\\n }\\n /**\\n * Packages metrics in GlobalMetricReport into the MetricFrame.\\n */\\n addGlobalMetricsToProtobuf(clientMetricFrame) {\\n const metricMap = this.clientMetricReport.getMetricMap();\\n for (const metricName in this.clientMetricReport.globalMetricReport.currentMetrics) {\\n this.addMetricFrame(metricName, clientMetricFrame, metricMap[metricName]);\\n }\\n }\\n /**\\n * Packages metrics in StreamMetricReport into the MetricFrame.\\n */\\n addStreamMetricsToProtobuf(clientMetricFrame) {\\n for (const ssrc in this.clientMetricReport.streamMetricReports) {\\n const streamMetricReport = this.clientMetricReport.streamMetricReports[ssrc];\\n const streamMetricFrame = SignalingProtocol_js_1.SdkStreamMetricFrame.create();\\n streamMetricFrame.streamId = streamMetricReport.streamId;\\n streamMetricFrame.metrics = [];\\n this.addStreamMetricDimensionFrames(streamMetricFrame, streamMetricReport);\\n clientMetricFrame.streamMetricFrames.push(streamMetricFrame);\\n const metricMap = this.clientMetricReport.getMetricMap(streamMetricReport.mediaType, streamMetricReport.direction);\\n for (const metricName in streamMetricReport.currentMetrics) {\\n this.addMetricFrame(metricName, clientMetricFrame, metricMap[metricName], Number(ssrc));\\n }\\n for (const metricName in streamMetricReport.currentStringMetrics) {\\n this.addMetricFrame(metricName, clientMetricFrame, metricMap[metricName], Number(ssrc));\\n }\\n }\\n }\\n /**\\n * Packages all metrics into the MetricFrame.\\n */\\n makeClientMetricProtobuf() {\\n const clientMetricFrame = SignalingProtocol_js_1.SdkClientMetricFrame.create();\\n clientMetricFrame.globalMetrics = [];\\n clientMetricFrame.streamMetricFrames = [];\\n this.addGlobalMetricsToProtobuf(clientMetricFrame);\\n this.addStreamMetricsToProtobuf(clientMetricFrame);\\n return clientMetricFrame;\\n }\\n /**\\n * Sends the MetricFrame to Tincan via ProtoBuf.\\n */\\n sendClientMetricProtobuf(clientMetricFrame) {\\n this.signalingClient.sendClientMetrics(clientMetricFrame);\\n }\\n /**\\n * Checks if the type of RawMetricReport is stream related.\\n */\\n isStreamRawMetricReport(type) {\\n return ['inbound-rtp', 'outbound-rtp', 'remote-inbound-rtp', 'remote-outbound-rtp'].includes(type);\\n }\\n /**\\n * Returns the MediaType for a RawMetricReport.\\n */\\n getMediaType(rawMetricReport) {\\n return rawMetricReport.kind === 'audio' ? ClientMetricReportMediaType_1.default.AUDIO : ClientMetricReportMediaType_1.default.VIDEO;\\n }\\n /**\\n * Returns the Direction for a RawMetricReport.\\n */\\n getDirectionType(rawMetricReport) {\\n const { type } = rawMetricReport;\\n return type === 'inbound-rtp' || type === 'remote-outbound-rtp'\\n ? ClientMetricReportDirection_1.default.DOWNSTREAM\\n : ClientMetricReportDirection_1.default.UPSTREAM;\\n }\\n /**\\n * Checks if a RawMetricReport belongs to certain types.\\n */\\n isValidStandardRawMetric(rawMetricReport) {\\n return (rawMetricReport.type === 'inbound-rtp' ||\\n rawMetricReport.type === 'outbound-rtp' ||\\n rawMetricReport.type === 'remote-inbound-rtp' ||\\n rawMetricReport.type === 'remote-outbound-rtp' ||\\n (rawMetricReport.type === 'candidate-pair' && rawMetricReport.state === 'succeeded'));\\n }\\n /**\\n * Checks if a RawMetricReport is stream related.\\n */\\n isValidSsrc(rawMetricReport) {\\n let validSsrc = true;\\n if (this.isStreamRawMetricReport(rawMetricReport.type) &&\\n this.getDirectionType(rawMetricReport) === ClientMetricReportDirection_1.default.DOWNSTREAM &&\\n this.getMediaType(rawMetricReport) === ClientMetricReportMediaType_1.default.VIDEO) {\\n validSsrc = this.videoStreamIndex.streamIdForSSRC(Number(rawMetricReport.ssrc)) > 0;\\n }\\n return validSsrc;\\n }\\n /**\\n * Checks if a RawMetricReport is valid.\\n */\\n isValidRawMetricReport(rawMetricReport) {\\n return this.isValidStandardRawMetric(rawMetricReport) && this.isValidSsrc(rawMetricReport);\\n }\\n /**\\n * Filters RawMetricReports and keeps the required parts.\\n */\\n filterRawMetricReports(rawMetricReports) {\\n const filteredRawMetricReports = [];\\n for (const rawMetricReport of rawMetricReports) {\\n if (this.isValidRawMetricReport(rawMetricReport)) {\\n filteredRawMetricReports.push(rawMetricReport);\\n }\\n }\\n return filteredRawMetricReports;\\n }\\n /**\\n * Performs a series operation on RawMetricReport.\\n */\\n handleRawMetricReports(rawMetricReports) {\\n const filteredRawMetricReports = this.filterRawMetricReports(rawMetricReports);\\n this.logger.debug(() => {\\n return `Filtered raw metrics : ${JSON.stringify(filteredRawMetricReports)}`;\\n });\\n this.processRawMetricReports(filteredRawMetricReports);\\n const clientMetricFrame = this.makeClientMetricProtobuf();\\n this.sendClientMetricProtobuf(clientMetricFrame);\\n this.audioVideoController.forEachObserver(observer => {\\n Types_1.Maybe.of(observer.metricsDidReceive).map(f => f.bind(observer)(this.clientMetricReport.clone()));\\n });\\n }\\n /**\\n * Gets raw WebRTC metrics.\\n */\\n getStatsWrapper() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.audioVideoController.rtcPeerConnection) {\\n return;\\n }\\n const rawMetricReports = [];\\n // @ts-ignore\\n try {\\n const report = yield this.audioVideoController.rtcPeerConnection.getStats();\\n this.clientMetricReport.rtcStatsReport = report;\\n report.forEach((item) => {\\n rawMetricReports.push(item);\\n });\\n this.handleRawMetricReports(rawMetricReports);\\n }\\n catch (error) {\\n this.logger.error(error.message);\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = StatsCollector;\\nStatsCollector.INTERVAL_MS = 1000;\\nStatsCollector.CLIENT_TYPE = 'amazon-chime-sdk-js';\\n//# sourceMappingURL=StatsCollector.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/statscollector/StatsCollector.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js ***!\n \\********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.VideoLogEvent = void 0;\\nvar VideoLogEvent;\\n(function (VideoLogEvent) {\\n VideoLogEvent[VideoLogEvent[\\\"InputAttached\\\"] = 0] = \\\"InputAttached\\\";\\n VideoLogEvent[VideoLogEvent[\\\"SendingFailed\\\"] = 1] = \\\"SendingFailed\\\";\\n VideoLogEvent[VideoLogEvent[\\\"SendingSuccess\\\"] = 2] = \\\"SendingSuccess\\\";\\n})(VideoLogEvent = exports.VideoLogEvent || (exports.VideoLogEvent = {}));\\nexports[\\\"default\\\"] = VideoLogEvent;\\n//# sourceMappingURL=VideoLogEvent.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js ***!\n \\*****************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 VideoLogEvent_1 = __webpack_require__(/*! ../statscollector/VideoLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/VideoLogEvent.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[AttachMediaInputTask]] adds audio and video input to peer connection.\\n */\\nclass AttachMediaInputTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'AttachMediaInputTask';\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const transceiverController = this.context.transceiverController;\\n transceiverController.setPeer(this.context.peer);\\n transceiverController.setupLocalTransceivers();\\n const audioInput = this.context.activeAudioInput;\\n if (audioInput) {\\n const audioTracks = audioInput.getAudioTracks();\\n this.context.logger.info('attaching audio track to peer connection');\\n yield transceiverController.setAudioInput(audioTracks.length ? audioTracks[0] : null);\\n }\\n else {\\n yield transceiverController.setAudioInput(null);\\n this.context.logger.info('no audio track');\\n }\\n const videoInput = this.context.activeVideoInput;\\n if (videoInput) {\\n const videoTracks = videoInput.getVideoTracks();\\n const videoTrack = videoTracks.length ? videoTracks[0] : null;\\n this.context.logger.info('attaching video track to peer connection');\\n yield transceiverController.setVideoInput(videoTrack);\\n if (this.context.enableSimulcast && this.context.videoUplinkBandwidthPolicy) {\\n const encodingParam = this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();\\n transceiverController.setEncodingParameters(encodingParam);\\n }\\n if (videoTrack) {\\n this.context.statsCollector.logVideoEvent(VideoLogEvent_1.default.InputAttached, this.context.videoDeviceInformation);\\n }\\n }\\n else {\\n yield transceiverController.setVideoInput(null);\\n this.context.logger.info('no video track');\\n }\\n this.context.videoSubscriptions = transceiverController.updateVideoTransceivers(this.context.videoStreamIndex, this.context.videosToReceive);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = AttachMediaInputTask;\\n//# sourceMappingURL=AttachMediaInputTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/AttachMediaInputTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js ***!\n \\*****************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 OnceTask_1 = __webpack_require__(/*! ./OnceTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js\\\");\\nconst TaskStatus_1 = __webpack_require__(/*! ./TaskStatus */ \\\"./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js\\\");\\n/*\\n * [[BaseTask]] provides common utilities for task implementations.\\n */\\nclass BaseTask {\\n constructor(logger) {\\n this.logger = logger;\\n this.taskName = 'BaseTask';\\n this.parentTask = null;\\n this.status = TaskStatus_1.default.IDLE;\\n this.run = this.baseRun.bind(this, this.run);\\n this.cancel = this.baseCancel.bind(this, this.cancel);\\n }\\n once(...dependencies) {\\n return new OnceTask_1.default(this.logger, this, dependencies);\\n }\\n cancel() { }\\n name() {\\n return this.parentTask ? `${this.parentTask.name()}/${this.taskName}` : this.taskName;\\n }\\n setParent(parentTask) {\\n this.parentTask = parentTask;\\n }\\n getStatus() {\\n return this.status;\\n }\\n logAndThrow(message) {\\n this.logger.info(message);\\n throw new Error(message);\\n }\\n baseRun(originalRun) {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n const startTime = Date.now();\\n this.logger.info(`running task ${this.name()}`);\\n switch (this.status) {\\n case TaskStatus_1.default.RUNNING:\\n this.logAndThrow(`${this.name()} is already running`);\\n case TaskStatus_1.default.CANCELED:\\n this.logAndThrow(`${this.name()} was canceled before running`);\\n case TaskStatus_1.default.FINISHED:\\n this.logAndThrow(`${this.name()} was already finished`);\\n }\\n this.status = TaskStatus_1.default.RUNNING;\\n yield originalRun.call(this);\\n this.logger.info(`${this.name()} took ${Math.round(Date.now() - startTime)} ms`);\\n }\\n catch (err) {\\n throw err;\\n }\\n finally {\\n if (this.status !== TaskStatus_1.default.CANCELED) {\\n this.status = TaskStatus_1.default.FINISHED;\\n }\\n }\\n });\\n }\\n baseCancel(originalCancel) {\\n if (this.status === TaskStatus_1.default.CANCELED || this.status === TaskStatus_1.default.FINISHED) {\\n this.logger.info(`Not canceling ${this.name()}: state is ${this.status}`);\\n return;\\n }\\n this.logger.info(`canceling task ${this.name()}`);\\n this.status = TaskStatus_1.default.CANCELED;\\n originalCancel.call(this);\\n }\\n}\\nexports[\\\"default\\\"] = BaseTask;\\n//# sourceMappingURL=BaseTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js ***!\n \\**********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass CleanRestartedSessionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CleanRestartedSessionTask';\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.resetConnectionSpecificState();\\n });\\n }\\n}\\nexports[\\\"default\\\"] = CleanRestartedSessionTask;\\n//# sourceMappingURL=CleanRestartedSessionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CleanRestartedSessionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js ***!\n \\********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * `CleanStoppedSessionTask` permenently cleans up all components of `AudioVideoControllerState` after a stop call.\\n */\\nclass CleanStoppedSessionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CleanStoppedSessionTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n if (this.context.signalingClient.ready()) {\\n this.context.signalingClient.closeConnection();\\n yield this.receiveWebSocketClosedEvent();\\n }\\n }\\n catch (error) {\\n throw error;\\n }\\n finally {\\n for (const observer of this.context.removableObservers) {\\n observer.removeObserver();\\n }\\n this.context.resetConnectionSpecificState();\\n this.context.statsCollector.stop();\\n this.context.statsCollector = null;\\n this.context.connectionMonitor.stop();\\n this.context.connectionMonitor = null;\\n if (this.context.videoUplinkBandwidthPolicy.setTransceiverController) {\\n this.context.videoUplinkBandwidthPolicy.setTransceiverController(undefined);\\n }\\n if (this.context.videoDownlinkBandwidthPolicy.bindToTileController) {\\n this.context.videoDownlinkBandwidthPolicy.bindToTileController(undefined);\\n }\\n // This state may be reused to join another conference, so clear out all the existing video tiles\\n const tile = this.context.videoTileController.getLocalVideoTile();\\n if (tile) {\\n tile.bindVideoStream('', true, null, null, null, null);\\n }\\n this.context.videoTileController.removeAllVideoTiles();\\n }\\n });\\n }\\n receiveWebSocketClosedEvent() {\\n return new Promise((resolve, reject) => {\\n class Interceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`CleanStoppedSessionTask got canceled while waiting for the WebSocket closed event`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type === SignalingClientEventType_1.default.WebSocketClosed) {\\n this.signalingClient.removeObserver(this);\\n resolve();\\n }\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient);\\n this.taskCanceler = interceptor;\\n this.context.signalingClient.registerObserver(interceptor);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = CleanStoppedSessionTask;\\n//# sourceMappingURL=CleanStoppedSessionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CleanStoppedSessionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[CreatePeerConnectionTask]] sets up the peer connection object.\\n */\\nclass CreatePeerConnectionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CreatePeerConnectionTask';\\n this.removeTrackAddedEventListener = null;\\n this.removeTrackRemovedEventListeners = {};\\n this.trackEvents = [\\n 'ended',\\n 'mute',\\n 'unmute',\\n 'isolationchange',\\n 'overconstrained',\\n ];\\n this.removeVideoTrackEventListeners = {};\\n this.trackAddedHandler = (event) => {\\n const track = event.track;\\n this.context.logger.info(`received track event: kind=${track.kind} id=${track.id} label=${track.label}`);\\n if (event.transceiver && event.transceiver.currentDirection === 'inactive') {\\n return;\\n }\\n if (event.streams.length === 0) {\\n this.context.logger.warn(`Track event but no stream`);\\n return;\\n }\\n const stream = event.streams[0];\\n if (track.kind === 'audio') {\\n this.context.audioMixController.bindAudioStream(stream);\\n }\\n else if (track.kind === 'video' && !this.trackIsVideoInput(track)) {\\n this.addRemoteVideoTrack(track, stream);\\n }\\n };\\n }\\n removeObserver() {\\n this.removeTrackAddedEventListener && this.removeTrackAddedEventListener();\\n for (const trackId in this.removeTrackRemovedEventListeners) {\\n this.removeTrackRemovedEventListeners[trackId]();\\n }\\n }\\n addPeerConnectionEventLogger() {\\n const peer = this.context.peer;\\n peer.addEventListener('connectionstatechange', () => {\\n this.context.logger.info(`peer connection state changed: ${peer.connectionState}`);\\n });\\n peer.addEventListener('negotiationneeded', () => {\\n this.context.logger.info('peer connection negotiation is needed');\\n });\\n peer.addEventListener('icegatheringstatechange', () => {\\n this.context.logger.info(`peer connection ice gathering state changed: ${peer.iceGatheringState}`);\\n });\\n peer.addEventListener('icecandidate', (event) => {\\n this.context.logger.info(`peer connection ice candidate: ${event.candidate ? event.candidate.candidate : '(null)'}`);\\n });\\n peer.addEventListener('iceconnectionstatechange', () => {\\n this.context.logger.info(`peer connection ice connection state changed: ${peer.iceConnectionState}`);\\n });\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n const hasTurnCredentials = this.context.turnCredentials && this.context.turnCredentials.uris.length > 0;\\n const configuration = hasTurnCredentials\\n ? {\\n iceServers: [\\n {\\n urls: this.context.turnCredentials.uris,\\n username: this.context.turnCredentials.username,\\n credential: this.context.turnCredentials.password,\\n credentialType: 'password',\\n },\\n ],\\n iceTransportPolicy: 'relay',\\n }\\n : {};\\n configuration.bundlePolicy = this.context.browserBehavior.requiresBundlePolicy();\\n // @ts-ignore\\n configuration.sdpSemantics = 'unified-plan';\\n if (this.context.peer) {\\n this.context.logger.info('reusing peer connection');\\n }\\n else {\\n this.context.logger.info('creating new peer connection');\\n // @ts-ignore\\n this.context.peer = new RTCPeerConnection(configuration);\\n this.addPeerConnectionEventLogger();\\n }\\n this.removeTrackAddedEventListener = () => {\\n if (this.context.peer) {\\n this.context.peer.removeEventListener('track', this.trackAddedHandler);\\n }\\n this.removeTrackAddedEventListener = null;\\n };\\n this.context.peer.addEventListener('track', this.trackAddedHandler);\\n });\\n }\\n trackIsVideoInput(track) {\\n if (this.context.transceiverController.useTransceivers()) {\\n this.logger.debug(() => {\\n return `getting video track type`;\\n });\\n return this.context.transceiverController.trackIsVideoInput(track);\\n }\\n return false;\\n }\\n addRemoteVideoTrack(track, stream) {\\n var _a;\\n const trackId = stream.id;\\n const attendeeId = this.context.videoStreamIndex.attendeeIdForTrack(trackId);\\n let skipAdding;\\n let tile;\\n if (this.context.videoTileController.getVideoTileForAttendeeId) {\\n tile = this.context.videoTileController.getVideoTileForAttendeeId(attendeeId);\\n skipAdding = !!((_a = tile === null || tile === void 0 ? void 0 : tile.state()) === null || _a === void 0 ? void 0 : _a.boundVideoStream);\\n }\\n else {\\n skipAdding = this.context.videoTileController.haveVideoTileForAttendeeId(attendeeId);\\n }\\n if (skipAdding) {\\n this.context.logger.info(`Not adding remote track. Already have tile for attendeeId: ${attendeeId}`);\\n return;\\n }\\n if (!tile) {\\n tile = this.context.videoTileController.addVideoTile();\\n this.logger.info(`Created video tile ${tile.id()}`);\\n }\\n let streamId = this.context.videoStreamIndex.streamIdForTrack(trackId);\\n if (typeof streamId === 'undefined') {\\n this.logger.warn(`stream not found for tile=${tile.id()} track=${trackId}`);\\n streamId = null;\\n }\\n for (let i = 0; i < this.trackEvents.length; i++) {\\n const trackEvent = this.trackEvents[i];\\n const videoTracks = stream.getVideoTracks();\\n if (videoTracks && videoTracks.length) {\\n const videoTrack = videoTracks[0];\\n const callback = () => {\\n this.context.logger.info(`received the ${trackEvent} event for tile=${tile.id()} id=${track.id} streamId=${streamId}`);\\n if (trackEvent === 'ended') {\\n this.removeRemoteVideoTrack(track, tile.state());\\n }\\n };\\n videoTrack.addEventListener(trackEvent, callback);\\n if (!this.removeVideoTrackEventListeners[track.id]) {\\n this.removeVideoTrackEventListeners[track.id] = [];\\n }\\n this.removeVideoTrackEventListeners[track.id].push(() => {\\n videoTrack.removeEventListener(trackEvent, callback);\\n });\\n }\\n }\\n let width;\\n let 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 const externalUserId = this.context.videoStreamIndex.externalUserIdForTrack(trackId);\\n tile.bindVideoStream(attendeeId, false, stream, width, height, streamId, externalUserId);\\n this.logger.info(`video track added, use tile=${tile.id()} track=${trackId} streamId=${streamId}`);\\n const endEvent = 'removetrack';\\n const target = stream;\\n const trackRemovedHandler = () => this.removeRemoteVideoTrack(track, tile.state());\\n this.removeTrackRemovedEventListeners[track.id] = () => {\\n target.removeEventListener(endEvent, trackRemovedHandler);\\n delete this.removeTrackRemovedEventListeners[track.id];\\n };\\n target.addEventListener(endEvent, trackRemovedHandler);\\n }\\n removeRemoteVideoTrack(track, tileState) {\\n if (this.removeTrackRemovedEventListeners.hasOwnProperty(track.id)) {\\n this.removeTrackRemovedEventListeners[track.id]();\\n for (const removeVideoTrackEventListener of this.removeVideoTrackEventListeners[track.id]) {\\n removeVideoTrackEventListener();\\n }\\n delete this.removeVideoTrackEventListeners[track.id];\\n }\\n this.logger.info(`video track ended, removing tile=${tileState.tileId} id=${track.id} stream=${tileState.streamId}`);\\n if (tileState.streamId) {\\n this.context.videosPaused.remove(tileState.streamId);\\n }\\n else {\\n this.logger.warn(`no stream found for tile=${tileState.tileId}`);\\n }\\n this.context.videoTileController.removeVideoTile(tileState.tileId);\\n }\\n}\\nexports[\\\"default\\\"] = CreatePeerConnectionTask;\\nCreatePeerConnectionTask.REMOVE_HANDLER_INTERVAL_MS = 10000;\\n//# sourceMappingURL=CreatePeerConnectionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CreatePeerConnectionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js ***!\n \\**********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[CreateSDPTask]] asynchronously calls [[createOffer]] on peer connection.\\n */\\nclass CreateSDPTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'CreateSDPTask';\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n sessionUsesAudio() {\\n var _a, _b;\\n return !!((_b = (_a = this.context.meetingSessionConfiguration) === null || _a === void 0 ? void 0 : _a.urls) === null || _b === void 0 ? void 0 : _b.audioHostURL);\\n }\\n sessionUsesVideo() {\\n const enabled = true;\\n let sending;\\n if (this.context.transceiverController.useTransceivers()) {\\n sending = this.context.transceiverController.hasVideoInput();\\n }\\n else {\\n sending = this.context.videoTileController.hasStartedLocalVideoTile();\\n }\\n const receiving = !!this.context.videosToReceive && !this.context.videosToReceive.empty();\\n const usesVideo = enabled && (sending || receiving);\\n this.context.logger.info(`uses video: ${usesVideo} (enabled: ${enabled}, sending: ${sending}, receiving: ${receiving})`);\\n return usesVideo;\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const offerOptions = {\\n offerToReceiveAudio: this.sessionUsesAudio(),\\n offerToReceiveVideo: this.sessionUsesVideo(),\\n };\\n this.logger.info(`peer connection offerOptions: ${JSON.stringify(offerOptions)}`);\\n yield new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n this.cancelPromise = (error) => {\\n reject(error);\\n };\\n try {\\n this.context.sdpOfferInit = yield this.context.peer.createOffer(offerOptions);\\n this.context.logger.info('peer connection created offer');\\n if (this.context.previousSdpOffer) {\\n if (new SDP_1.default(this.context.sdpOfferInit.sdp).videoSendSectionHasDifferentSSRC(this.context.previousSdpOffer)) {\\n const error = new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.IncompatibleSDP}`);\\n this.context.previousSdpOffer = null;\\n reject(error);\\n return;\\n }\\n }\\n resolve();\\n }\\n catch (error) {\\n reject(error);\\n }\\n finally {\\n delete this.cancelPromise;\\n }\\n }));\\n });\\n }\\n}\\nexports[\\\"default\\\"] = CreateSDPTask;\\n//# sourceMappingURL=CreateSDPTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/CreateSDPTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js\":\n/*!*****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js ***!\n \\*****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[FinishGatheringICECandidatesTask]] add ice-candidate event handler on peer connection to\\n * collect ice candidates and wait for peer connection ice gathering state to complete\\n */\\nclass FinishGatheringICECandidatesTask extends BaseTask_1.default {\\n constructor(context, chromeVpnTimeoutMs = FinishGatheringICECandidatesTask.CHROME_VPN_TIMEOUT_MS) {\\n super(context.logger);\\n this.context = context;\\n this.chromeVpnTimeoutMs = chromeVpnTimeoutMs;\\n this.taskName = 'FinishGatheringICECandidatesTask';\\n }\\n removeEventListener() {\\n if (this.context.peer) {\\n this.context.peer.removeEventListener('icecandidate', this.context.iceCandidateHandler);\\n if (!this.context.turnCredentials) {\\n this.context.peer.removeEventListener('icegatheringstatechange', this.context.iceGatheringStateEventHandler);\\n }\\n }\\n }\\n cancel() {\\n let error;\\n // TODO: Remove when the Chrome VPN reconnect bug is fixed.\\n // In Chrome, SDK may fail to establish TURN session after VPN reconnect.\\n // https://bugs.chromium.org/p/webrtc/issues/detail?id=9097\\n if (this.context.browserBehavior.requiresIceCandidateGatheringTimeoutWorkaround()) {\\n if (this.chromeVpnTimeoutMs < this.context.meetingSessionConfiguration.connectionTimeoutMs) {\\n const duration = Date.now() - this.startTimestampMs;\\n if (duration > this.chromeVpnTimeoutMs) {\\n error = new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.ICEGatheringTimeoutWorkaround}`);\\n }\\n }\\n }\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n error = error || new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.context.peer) {\\n this.logAndThrow(`session does not have peer connection; bypass ice gathering`);\\n }\\n if (this.context.browserBehavior.requiresCheckForSdpConnectionAttributes()) {\\n if (new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidatesForAllMLines()) {\\n this.context.logger.info(`ice gathering already complete; bypass gathering, current local description ${this.context.peer.localDescription.sdp}`);\\n return;\\n }\\n }\\n else {\\n this.context.logger.info(`iOS device does not require checking for connection attributes in SDP, current local description ${this.context.peer.localDescription.sdp}`);\\n }\\n /*\\n * To bypass waiting for events, it is required that \\\"icegatheringstate\\\" to be complete and sdp to have candidate\\n * For Firefox, it takes long for iceGatheringState === 'complete'\\n * Ref: https://github.com/aws/amazon-chime-sdk-js/issues/609\\n */\\n if ((this.context.browserBehavior.hasFirefoxWebRTC() ||\\n this.context.peer.iceGatheringState === 'complete') &&\\n new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidates()) {\\n this.context.logger.info('ice gathering state is complete and candidates are in SDP; bypass gathering');\\n return;\\n }\\n try {\\n yield new Promise((resolve, reject) => {\\n this.cancelPromise = (error) => {\\n this.removeEventListener();\\n reject(error);\\n };\\n if (!this.context.turnCredentials) {\\n // if one day, we found a case where a FinishGatheringICECandidate did not resolve but ice gathering state is complete and SDP answer has ice candidates\\n // we may need to enable this\\n this.context.iceGatheringStateEventHandler = () => {\\n if (this.context.peer.iceGatheringState === 'complete') {\\n this.removeEventListener();\\n resolve();\\n delete this.cancelPromise;\\n return;\\n }\\n };\\n this.context.peer.addEventListener('icegatheringstatechange', this.context.iceGatheringStateEventHandler);\\n }\\n this.context.iceCandidateHandler = (event) => {\\n this.context.logger.info(`ice candidate: ${event.candidate ? event.candidate.candidate : '(null)'} state: ${this.context.peer.iceGatheringState}`);\\n // Ice candidate arrives, do not need to wait anymore.\\n // https://webrtcglossary.com/trickle-ice/\\n if (event.candidate) {\\n if (SDP_1.default.isRTPCandidate(event.candidate.candidate)) {\\n this.context.iceCandidates.push(event.candidate);\\n }\\n // Could there be a case the candidate is not written to SDP ?\\n if (this.context.turnCredentials && this.context.iceCandidates.length >= 1) {\\n this.context.logger.info('gathered at least one relay candidate');\\n this.removeEventListener();\\n resolve();\\n delete this.cancelPromise;\\n return;\\n }\\n }\\n // Ice candidate gathering is complete, additional barrier to make sure sdp contain an ice candidate.\\n // TODO: Could there be a race where iceGatheringState is flipped after this task is run ? This could only be handled if ice state is monitored persistently.\\n if (this.context.peer.iceGatheringState === 'complete') {\\n this.context.logger.info('done gathering ice candidates');\\n this.removeEventListener();\\n if (!new SDP_1.default(this.context.peer.localDescription.sdp).hasCandidates() ||\\n this.context.iceCandidates.length === 0) {\\n reject(new Error('no ice candidates were gathered'));\\n delete this.cancelPromise;\\n }\\n else {\\n resolve();\\n delete this.cancelPromise;\\n }\\n }\\n };\\n // SDK does not catch candidate itself and send to sever. Rather, WebRTC handles candidate events and writes candidate to SDP.\\n this.context.peer.addEventListener('icecandidate', this.context.iceCandidateHandler);\\n this.startTimestampMs = Date.now();\\n });\\n }\\n catch (error) {\\n throw error;\\n }\\n finally {\\n /* istanbul ignore else */\\n if (this.startTimestampMs) {\\n this.context.iceGatheringDurationMs = Math.round(Date.now() - this.startTimestampMs);\\n }\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = FinishGatheringICECandidatesTask;\\nFinishGatheringICECandidatesTask.CHROME_VPN_TIMEOUT_MS = 5000;\\n//# sourceMappingURL=FinishGatheringICECandidatesTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/FinishGatheringICECandidatesTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js ***!\n \\********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 MeetingSessionTURNCredentials_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionTURNCredentials */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js\\\");\\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst SignalingClientJoin_1 = __webpack_require__(/*! ../signalingclient/SignalingClientJoin */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientJoin.js\\\");\\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[JoinAndReceiveIndexTask]] sends the JoinFrame and asynchronously waits for the server to send the [[SdkIndexFrame]].\\n * It should run with the [[TimeoutTask]] as the subtask so it can get canceled after timeout.\\n */\\nclass JoinAndReceiveIndexTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'JoinAndReceiveIndexTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const indexFrame = yield new Promise((resolve, reject) => {\\n const context = this.context;\\n context.turnCredentials = null;\\n class IndexFrameInterceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`JoinAndReceiveIndexTask got canceled while waiting for SdkIndexFrame`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type === SignalingClientEventType_1.default.WebSocketClosed) {\\n let message = `The signaling connection was closed with code ${event.closeCode} and reason: ${event.closeReason}`;\\n context.logger.warn(message);\\n let statusCode = MeetingSessionStatusCode_1.default.SignalingBadRequest;\\n if (event.closeCode === 4410) {\\n message = 'The meeting already ended.';\\n context.logger.warn(message);\\n statusCode = MeetingSessionStatusCode_1.default.MeetingEnded;\\n }\\n else if (event.closeCode >= 4500 && event.closeCode < 4600) {\\n statusCode = MeetingSessionStatusCode_1.default.SignalingInternalServerError;\\n }\\n context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(statusCode), new Error(message));\\n return;\\n }\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame) {\\n return;\\n }\\n if (event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.JOIN_ACK) {\\n // @ts-ignore: force cast to SdkJoinAckFrame\\n const joinAckFrame = event.message.joinack;\\n if (joinAckFrame && joinAckFrame.videoSubscriptionLimit) {\\n context.videoSubscriptionLimit = joinAckFrame.videoSubscriptionLimit;\\n }\\n context.serverSupportsCompression = joinAckFrame === null || joinAckFrame === void 0 ? void 0 : joinAckFrame.wantsCompressedSdp;\\n if ((joinAckFrame === null || joinAckFrame === void 0 ? void 0 : joinAckFrame.defaultServerSideNetworkAdaption) !== undefined &&\\n joinAckFrame.defaultServerSideNetworkAdaption !== ServerSideNetworkAdaption_1.default.Default &&\\n context.videoDownlinkBandwidthPolicy.setServerSideNetworkAdaption !== undefined) {\\n const defaultServerSideNetworkAdaption = joinAckFrame.defaultServerSideNetworkAdaption;\\n context.logger.info(`Overriding server side network adaption value to ${defaultServerSideNetworkAdaption}`);\\n context.videoDownlinkBandwidthPolicy.setServerSideNetworkAdaption(ServerSideNetworkAdaption_1.convertServerSideNetworkAdaptionEnumFromSignaled(defaultServerSideNetworkAdaption));\\n }\\n if (joinAckFrame && joinAckFrame.turnCredentials) {\\n context.turnCredentials = new MeetingSessionTURNCredentials_1.default();\\n context.turnCredentials.username = joinAckFrame.turnCredentials.username;\\n context.turnCredentials.password = joinAckFrame.turnCredentials.password;\\n context.turnCredentials.ttl = joinAckFrame.turnCredentials.ttl;\\n context.turnCredentials.uris = joinAckFrame.turnCredentials.uris\\n .map((uri) => {\\n return context.meetingSessionConfiguration.urls.urlRewriter(uri);\\n })\\n .filter((uri) => {\\n return !!uri;\\n });\\n }\\n else {\\n context.logger.error('missing TURN credentials in JoinAckFrame');\\n }\\n return;\\n }\\n if (event.message.type !== SignalingProtocol_js_1.SdkSignalFrame.Type.INDEX) {\\n return;\\n }\\n this.signalingClient.removeObserver(this);\\n // @ts-ignore: force cast to SdkIndexFrame\\n const indexFrame = event.message.index;\\n resolve(indexFrame);\\n }\\n }\\n const interceptor = new IndexFrameInterceptor(this.context.signalingClient);\\n this.context.signalingClient.registerObserver(interceptor);\\n this.taskCanceler = interceptor;\\n // reset SDP compression state\\n this.context.previousSdpAnswerAsString = '';\\n this.context.previousSdpOffer = null;\\n this.context.serverSupportsCompression = false;\\n const join = new SignalingClientJoin_1.default(this.context.meetingSessionConfiguration.applicationMetadata);\\n if (this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption !== undefined &&\\n this.context.videoDownlinkBandwidthPolicy.supportedServerSideNetworkAdaptions !== undefined) {\\n join.serverSideNetworkAdaption = this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption();\\n join.supportedServerSideNetworkAdaptions = this.context.videoDownlinkBandwidthPolicy.supportedServerSideNetworkAdaptions();\\n }\\n join.disablePeriodicKeyframeRequestOnContentSender = this.context.meetingSessionConfiguration.disablePeriodicKeyframeRequestOnContentSender;\\n this.context.signalingClient.join(join);\\n });\\n this.context.logger.info(`received first index ${JSON.stringify(indexFrame)}`);\\n // We currently don't bother ingesting this into the same places as `ReceiveVideoStreamIndexTask` as we synchronously attempt a first subscribe\\n // after this task completes and the state isn't quite in the right place to make it work without some refactoring. However that\\n // means that we will always have an initial subscribe without any received videos.\\n this.context.indexFrame = indexFrame;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = JoinAndReceiveIndexTask;\\n//# sourceMappingURL=JoinAndReceiveIndexTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/JoinAndReceiveIndexTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[LeaveAndReceiveLeaveAckTask]] sends a Leave frame and waits for a LeaveAck.\\n */\\nclass LeaveAndReceiveLeaveAckTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'LeaveAndReceiveLeaveAckTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.context.signalingClient.ready()) {\\n this.context.signalingClient.leave();\\n this.context.logger.info('sent leave');\\n yield this.receiveLeaveAck();\\n }\\n });\\n }\\n receiveLeaveAck() {\\n return new Promise((resolve, reject) => {\\n class Interceptor {\\n constructor(signalingClient, logger) {\\n this.signalingClient = signalingClient;\\n this.logger = logger;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`LeaveAndReceiveLeaveAckTask got canceled while waiting for IndexFrame`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.isConnectionTerminated()) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('LeaveAndReceiveLeaveAckTask connection terminated');\\n // don't treat this as an error\\n resolve();\\n return;\\n }\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame &&\\n event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.LEAVE_ACK) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('got leave ack');\\n resolve();\\n }\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient, this.context.logger);\\n this.taskCanceler = interceptor;\\n this.context.signalingClient.registerObserver(interceptor);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = LeaveAndReceiveLeaveAckTask;\\n//# sourceMappingURL=LeaveAndReceiveLeaveAckTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/LeaveAndReceiveLeaveAckTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js ***!\n \\**************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass ListenForVolumeIndicatorsTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ListenForVolumeIndicatorsTask';\\n this.realtimeMuteAndUnmuteHandler = (muted) => {\\n this.context.signalingClient.mute(muted);\\n };\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n this.context.signalingClient.registerObserver(this);\\n this.context.realtimeController.realtimeSubscribeToMuteAndUnmuteLocalAudio(this.realtimeMuteAndUnmuteHandler);\\n });\\n }\\n removeObserver() {\\n this.context.realtimeController.realtimeUnsubscribeToMuteAndUnmuteLocalAudio(this.realtimeMuteAndUnmuteHandler);\\n this.context.signalingClient.removeObserver(this);\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame) {\\n return;\\n }\\n if (event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_STREAM_ID_INFO) {\\n // @ts-ignore\\n const audioStreamIdInfo = event.message.audioStreamIdInfo;\\n this.context.volumeIndicatorAdapter.sendRealtimeUpdatesForAudioStreamIdInfo(audioStreamIdInfo);\\n }\\n else if (event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.AUDIO_METADATA) {\\n // @ts-ignore\\n const audioMetadata = event.message.audioMetadata;\\n this.context.volumeIndicatorAdapter.sendRealtimeUpdatesForAudioMetadata(audioMetadata);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = ListenForVolumeIndicatorsTask;\\n//# sourceMappingURL=ListenForVolumeIndicatorsTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ListenForVolumeIndicatorsTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js ***!\n \\********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 ClientMetricReportDirection_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportDirection */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\\\");\\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportMediaType */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\\\");\\nconst ClientVideoStreamReceivingReport_1 = __webpack_require__(/*! ../clientmetricreport/ClientVideoStreamReceivingReport */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientVideoStreamReceivingReport.js\\\");\\nconst ReconnectionHealthPolicy_1 = __webpack_require__(/*! ../connectionhealthpolicy/ReconnectionHealthPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/ReconnectionHealthPolicy.js\\\");\\nconst SendingAudioFailureConnectionHealthPolicy_1 = __webpack_require__(/*! ../connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/SendingAudioFailureConnectionHealthPolicy.js\\\");\\nconst UnusableAudioWarningConnectionHealthPolicy_1 = __webpack_require__(/*! ../connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/connectionhealthpolicy/UnusableAudioWarningConnectionHealthPolicy.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 SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst SignalingProtocol_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst AudioLogEvent_1 = __webpack_require__(/*! ../statscollector/AudioLogEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/statscollector/AudioLogEvent.js\\\");\\nconst Types_1 = __webpack_require__(/*! ../utils/Types */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Types.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[MonitorTask]] monitors connections using SignalingAndMetricsConnectionMonitor.\\n */\\nclass MonitorTask extends BaseTask_1.default {\\n constructor(context, connectionHealthPolicyConfiguration, initialConnectionHealthData) {\\n super(context.logger);\\n this.context = context;\\n this.initialConnectionHealthData = initialConnectionHealthData;\\n this.taskName = 'MonitorTask';\\n this.prevSignalStrength = 1;\\n this.currentVideoDownlinkBandwidthEstimationKbps = 10000;\\n this.currentAvailableStreamAvgBitrates = null;\\n this.hasSignalingError = false;\\n this.presenceHandlerCalled = false;\\n // See comment above invocation of `pauseResubscribeCheck` in `DefaultAudioVideoController`\\n // for explanation.\\n this.isResubscribeCheckPaused = false;\\n this.pendingMetricsReport = undefined;\\n this.isMeetingConnected = false;\\n this.checkAndSendWeakSignalEvent = (signalStrength) => {\\n const isCurrentSignalBad = signalStrength < 1;\\n const isPrevSignalBad = this.prevSignalStrength < 1;\\n const signalStrengthEventType = isCurrentSignalBad\\n ? !isPrevSignalBad\\n ? AudioLogEvent_1.default.RedmicStartLoss\\n : null\\n : isPrevSignalBad\\n ? AudioLogEvent_1.default.RedmicEndLoss\\n : null;\\n if (signalStrengthEventType) {\\n this.context.statsCollector.logAudioEvent(signalStrengthEventType);\\n }\\n this.prevSignalStrength = signalStrength;\\n };\\n this.realtimeFatalErrorCallback = (error) => {\\n this.logger.error(`realtime error: ${error}: ${error.stack}`);\\n this.context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.RealtimeApiFailed), error);\\n };\\n this.realtimeAttendeeIdPresenceHandler = (presentAttendeeId, present) => {\\n var _a;\\n const attendeeId = this.context.meetingSessionConfiguration.credentials.attendeeId;\\n this.logger.info(`attendeePresenceReceived: ${attendeeId}`);\\n if (attendeeId === presentAttendeeId && present && !this.presenceHandlerCalled) {\\n this.presenceHandlerCalled = true;\\n this.context.attendeePresenceDurationMs = Date.now() - this.context.startAudioVideoTimestamp;\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('attendeePresenceReceived', {\\n attendeePresenceDurationMs: this.context.attendeePresenceDurationMs,\\n });\\n }\\n };\\n this.generateBaseAudioVideoEventAttributes = () => {\\n const { signalingOpenDurationMs, startTimeMs, iceGatheringDurationMs, attendeePresenceDurationMs, meetingStartDurationMs, } = this.context;\\n return {\\n meetingDurationMs: startTimeMs === null ? 0 : Math.round(Date.now() - startTimeMs),\\n signalingOpenDurationMs,\\n iceGatheringDurationMs,\\n attendeePresenceDurationMs,\\n meetingStartDurationMs,\\n };\\n };\\n this.generateAudioVideoEventAttributesForReceivingAudioDropped = () => {\\n const baseAttributes = this.generateBaseAudioVideoEventAttributes();\\n return Object.assign(Object.assign({}, baseAttributes), { maxVideoTileCount: this.context.maxVideoTileCount, poorConnectionCount: this.context.poorConnectionCount });\\n };\\n this.reconnectionHealthPolicy = new ReconnectionHealthPolicy_1.default(context.logger, Object.assign({}, connectionHealthPolicyConfiguration), this.initialConnectionHealthData.clone());\\n this.unusableAudioWarningHealthPolicy = new UnusableAudioWarningConnectionHealthPolicy_1.default(Object.assign({}, connectionHealthPolicyConfiguration), this.initialConnectionHealthData.clone());\\n this.sendingAudioFailureHealthPolicy = new SendingAudioFailureConnectionHealthPolicy_1.default(context.logger, Object.assign({}, connectionHealthPolicyConfiguration), this.initialConnectionHealthData.clone());\\n }\\n removeObserver() {\\n this.context.audioVideoController.removeObserver(this);\\n this.context.realtimeController.realtimeUnsubscribeToFatalError(this.realtimeFatalErrorCallback);\\n this.context.realtimeController.realtimeUnsubscribeToLocalSignalStrengthChange(this.checkAndSendWeakSignalEvent);\\n this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(this.realtimeAttendeeIdPresenceHandler);\\n this.context.signalingClient.removeObserver(this);\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n this.context.audioVideoController.addObserver(this);\\n this.context.realtimeController.realtimeSubscribeToFatalError(this.realtimeFatalErrorCallback);\\n this.context.realtimeController.realtimeSubscribeToLocalSignalStrengthChange(this.checkAndSendWeakSignalEvent);\\n this.context.realtimeController.realtimeSubscribeToAttendeeIdPresence(this.realtimeAttendeeIdPresenceHandler);\\n this.context.connectionMonitor.start();\\n this.context.statsCollector.start(this.context.signalingClient, this.context.videoStreamIndex);\\n this.context.signalingClient.registerObserver(this);\\n });\\n }\\n pauseResubscribeCheck() {\\n this.isResubscribeCheckPaused = true;\\n }\\n resumeResubscribeCheck() {\\n if (!this.isResubscribeCheckPaused) {\\n // Do not recheck subcribe if it wasn't paused to begin with.\\n return;\\n }\\n this.isResubscribeCheckPaused = false;\\n if (this.pendingMetricsReport) {\\n this.context.logger.info('Resuming resubscribe check with pending metrics report');\\n if (this.checkResubscribe(this.pendingMetricsReport)) {\\n this.context.audioVideoController.update({ needsRenegotiation: false });\\n }\\n }\\n }\\n videoTileDidUpdate(_tileState) {\\n this.context.maxVideoTileCount = Math.max(this.context.maxVideoTileCount, this.context.videoTileController.getAllVideoTiles().length);\\n }\\n checkResubscribe(clientMetricReport) {\\n if (this.isResubscribeCheckPaused) {\\n this.context.logger.info('Resubscribe check is paused, setting incoming client metric report as pending');\\n this.pendingMetricsReport = clientMetricReport;\\n return;\\n }\\n else {\\n this.pendingMetricsReport = undefined;\\n }\\n const metricReport = clientMetricReport.getObservableMetrics();\\n if (!metricReport) {\\n return false;\\n }\\n const availableSendBandwidth = metricReport.availableOutgoingBitrate;\\n const nackCountPerSecond = metricReport.nackCountReceivedPerSecond;\\n let needResubscribe = false;\\n this.context.videoDownlinkBandwidthPolicy.updateMetrics(clientMetricReport);\\n const resubscribeForDownlink = this.context.videoDownlinkBandwidthPolicy.wantsResubscribe();\\n needResubscribe = needResubscribe || resubscribeForDownlink;\\n if (resubscribeForDownlink) {\\n const videoSubscriptionIdSet = this.context.videoDownlinkBandwidthPolicy.chooseSubscriptions();\\n // Same logic as in `ReceiveVideoStreamIndexTask`, immediately truncating rather then truncating on subscribe\\n // avoids any issues with components (e.g. transceiver controller) along the way.\\n this.context.videosToReceive = videoSubscriptionIdSet.truncate(this.context.videoSubscriptionLimit);\\n if (videoSubscriptionIdSet.size() > this.context.videosToReceive.size()) {\\n this.logger.warn(`Video receive limit exceeded. Limiting the videos to ${this.context.videosToReceive.size()}. Please consider using AllHighestVideoBandwidthPolicy or VideoPriorityBasedPolicy along with chooseRemoteVideoSources api to select the video sources to be displayed.`);\\n }\\n this.logger.info(`trigger resubscribe for down=${resubscribeForDownlink}; videosToReceive=[${this.context.videosToReceive.array()}]`);\\n }\\n if (this.context.videoTileController.hasStartedLocalVideoTile()) {\\n this.context.videoUplinkBandwidthPolicy.updateConnectionMetric({\\n uplinkKbps: availableSendBandwidth / 1000,\\n nackCountPerSecond: nackCountPerSecond,\\n });\\n const resubscribeForUplink = this.context.videoUplinkBandwidthPolicy.wantsResubscribe();\\n needResubscribe = needResubscribe || resubscribeForUplink;\\n if (resubscribeForUplink) {\\n this.logger.info(`trigger resubscribe for up=${resubscribeForUplink}; videosToReceive=[${this.context.videosToReceive.array()}]`);\\n this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();\\n this.context.videoUplinkBandwidthPolicy.chooseMediaTrackConstraints();\\n }\\n }\\n return needResubscribe;\\n }\\n metricsDidReceive(clientMetricReport) {\\n const defaultClientMetricReport = clientMetricReport;\\n if (!defaultClientMetricReport) {\\n return;\\n }\\n if (this.checkResubscribe(clientMetricReport)) {\\n this.context.audioVideoController.update({ needsRenegotiation: false });\\n }\\n if (!this.currentAvailableStreamAvgBitrates) {\\n return;\\n }\\n const streamMetricReport = defaultClientMetricReport.streamMetricReports;\\n if (!streamMetricReport) {\\n return;\\n }\\n const metricReport = clientMetricReport.getObservableMetrics();\\n this.currentVideoDownlinkBandwidthEstimationKbps = metricReport.availableIncomingBitrate;\\n const downlinkVideoStream = new Map();\\n const videoReceivingBitrateMap = new Map();\\n // TODO: move those logic to stats collector.\\n for (const ssrc in streamMetricReport) {\\n if (streamMetricReport[ssrc].mediaType === ClientMetricReportMediaType_1.default.VIDEO &&\\n streamMetricReport[ssrc].direction === ClientMetricReportDirection_1.default.DOWNSTREAM) {\\n downlinkVideoStream.set(streamMetricReport[ssrc].streamId, streamMetricReport[ssrc]);\\n }\\n }\\n let fireCallback = false;\\n for (const bitrate of this.currentAvailableStreamAvgBitrates.bitrates) {\\n if (downlinkVideoStream.has(bitrate.sourceStreamId)) {\\n const report = downlinkVideoStream.get(bitrate.sourceStreamId);\\n const attendeeId = this.context.videoStreamIndex.attendeeIdForStreamId(bitrate.sourceStreamId);\\n if (!attendeeId) {\\n continue;\\n }\\n const newReport = new ClientVideoStreamReceivingReport_1.default();\\n const prevBytesReceived = report.previousMetrics['bytesReceived'];\\n const currBytesReceived = report.currentMetrics['bytesReceived'];\\n if (!prevBytesReceived || !currBytesReceived) {\\n continue;\\n }\\n const receivedBitrate = ((currBytesReceived - prevBytesReceived) * 8) / 1000;\\n newReport.expectedAverageBitrateKbps = bitrate.avgBitrateBps / 1000;\\n newReport.receivedAverageBitrateKbps = receivedBitrate;\\n newReport.attendeeId = attendeeId;\\n if (receivedBitrate <\\n (bitrate.avgBitrateBps / 1000) * MonitorTask.DEFAULT_DOWNLINK_CALLRATE_UNDERSHOOT_FACTOR) {\\n fireCallback = true;\\n }\\n videoReceivingBitrateMap.set(attendeeId, newReport);\\n }\\n }\\n if (fireCallback) {\\n this.logger.info(`One or more video streams are not receiving expected amounts of data ${JSON.stringify(Array.from(videoReceivingBitrateMap.values()))}`);\\n }\\n }\\n connectionHealthDidChange(connectionHealthData) {\\n if (connectionHealthData.consecutiveMissedPongs === 0) {\\n if (this.context.reconnectController) {\\n this.context.reconnectController.setLastActiveTimestampMs(Date.now());\\n }\\n }\\n this.applyHealthPolicy(this.reconnectionHealthPolicy, connectionHealthData, () => {\\n this.context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(MeetingSessionStatusCode_1.default.ConnectionHealthReconnect), null);\\n });\\n this.applyHealthPolicy(this.unusableAudioWarningHealthPolicy, connectionHealthData, () => {\\n var _a;\\n this.context.poorConnectionCount += 1;\\n const attributes = this.generateAudioVideoEventAttributesForReceivingAudioDropped();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('receivingAudioDropped', attributes);\\n if (this.context.videoTileController.haveVideoTilesWithStreams()) {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.connectionDidSuggestStopVideo).map(f => f.bind(observer)());\\n });\\n }\\n else {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.connectionDidBecomePoor).map(f => f.bind(observer)());\\n });\\n }\\n }, () => {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.connectionDidBecomeGood).map(f => f.bind(observer)());\\n });\\n });\\n if (this.isMeetingConnected) {\\n this.applyHealthPolicy(this.sendingAudioFailureHealthPolicy, connectionHealthData, () => {\\n var _a;\\n const attributes = this.generateBaseAudioVideoEventAttributes();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('sendingAudioFailed', attributes);\\n }, () => {\\n var _a;\\n const attributes = this.generateBaseAudioVideoEventAttributes();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('sendingAudioRecovered', attributes);\\n });\\n }\\n }\\n audioVideoDidStart() {\\n this.isMeetingConnected = true;\\n }\\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\\n audioVideoDidStartConnecting(reconnecting) {\\n // The expectation here is that the flag will be set to true again when audioVideoDidStart() is eventually called.\\n this.isMeetingConnected = false;\\n }\\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\\n audioVideoDidStop(sessionStatus) {\\n this.isMeetingConnected = false;\\n }\\n applyHealthPolicy(healthPolicy, connectionHealthData, unhealthyCallback, healthyCallback) {\\n healthPolicy.update(connectionHealthData);\\n const healthValue = healthPolicy.healthIfChanged();\\n if (healthValue !== null) {\\n this.logger.info(`${healthPolicy.name} value is now ${healthValue}`);\\n if (healthValue <= healthPolicy.minimumHealth()) {\\n Types_1.Maybe.of(unhealthyCallback).map(f => f.bind(this)());\\n }\\n else {\\n Types_1.Maybe.of(healthyCallback).map(f => f.bind(this)());\\n }\\n }\\n }\\n handleBitrateFrame(bitrates) {\\n let requiredBandwidthKbps = 0;\\n this.currentAvailableStreamAvgBitrates = bitrates;\\n this.logger.debug(() => {\\n return `simulcast: bitrates from server ${JSON.stringify(bitrates)}`;\\n });\\n for (const bitrate of bitrates.bitrates) {\\n if (this.context.videosToReceive.contain(bitrate.sourceStreamId)) {\\n requiredBandwidthKbps += bitrate.avgBitrateBps;\\n }\\n }\\n requiredBandwidthKbps /= 1000;\\n if (this.currentVideoDownlinkBandwidthEstimationKbps *\\n MonitorTask.DEFAULT_DOWNLINK_CALLRATE_OVERSHOOT_FACTOR <\\n requiredBandwidthKbps) {\\n this.logger.info(`Downlink bandwidth pressure is high: estimated bandwidth ${this.currentVideoDownlinkBandwidthEstimationKbps}Kbps, required bandwidth ${requiredBandwidthKbps}Kbps`);\\n }\\n }\\n handleSignalingClientEvent(event) {\\n var _a;\\n // Don't add two or more consecutive \\\"signalingDropped\\\" states.\\n if ((event.type === SignalingClientEventType_1.default.WebSocketClosed &&\\n (event.closeCode === 4410 || (event.closeCode >= 4500 && event.closeCode < 4600))) ||\\n event.type === SignalingClientEventType_1.default.WebSocketError ||\\n event.type === SignalingClientEventType_1.default.WebSocketFailed) {\\n if (!this.hasSignalingError) {\\n const attributes = this.generateAudioVideoEventAttributesForReceivingAudioDropped();\\n (_a = this.context.eventController) === null || _a === void 0 ? void 0 : _a.publishEvent('signalingDropped', attributes);\\n this.hasSignalingError = true;\\n }\\n }\\n else if (event.type === SignalingClientEventType_1.default.WebSocketOpen) {\\n this.hasSignalingError = false;\\n }\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame) {\\n if (!!event.message.bitrates) {\\n const bitrateFrame = event.message.bitrates;\\n this.context.videoStreamIndex.integrateBitratesFrame(bitrateFrame);\\n this.context.videoDownlinkBandwidthPolicy.updateIndex(this.context.videoStreamIndex);\\n this.handleBitrateFrame(event.message.bitrates);\\n }\\n const status = MeetingSessionStatus_1.default.fromSignalFrame(event.message);\\n // Primary meeting join ack status will be handled by `PromoteToPrimaryMeetingTask`\\n if (event.message.type !== SignalingProtocol_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN_ACK &&\\n status.statusCode() !== MeetingSessionStatusCode_1.default.OK) {\\n this.context.audioVideoController.handleMeetingSessionStatus(status, null);\\n }\\n }\\n }\\n}\\nexports[\\\"default\\\"] = MonitorTask;\\nMonitorTask.DEFAULT_DOWNLINK_CALLRATE_OVERSHOOT_FACTOR = 2.0;\\nMonitorTask.DEFAULT_DOWNLINK_CALLRATE_UNDERSHOOT_FACTOR = 0.2;\\n//# sourceMappingURL=MonitorTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/MonitorTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 NoOpTask {\\n cancel() { }\\n name() {\\n return 'NoOpTask';\\n }\\n run() {\\n return Promise.resolve();\\n }\\n setParent(_parentTask) { }\\n}\\nexports[\\\"default\\\"] = NoOpTask;\\n//# sourceMappingURL=NoOpTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/NoOpTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js ***!\n \\*****************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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__(/*! ../logger/LogLevel */ \\\"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\\\");\\nconst AsyncScheduler_1 = __webpack_require__(/*! ../scheduler/AsyncScheduler */ \\\"./node_modules/amazon-chime-sdk-js/build/scheduler/AsyncScheduler.js\\\");\\n/**\\n * A task that wraps another task and ensures it is run only once,\\n * regardless of how many times `run` is called.\\n *\\n * This allows you to implement a kind of barrier synchronization.\\n */\\nclass OnceTask {\\n constructor(logger, task, dependencies) {\\n this.logger = logger;\\n this.task = task;\\n this.dependencies = dependencies;\\n // Whether we have canceled.\\n this.canceled = false;\\n }\\n name() {\\n return `${this.task.name()} (once)`;\\n }\\n cancel() {\\n // We want to preserve one interesting property: the deepest dependency that hasn't\\n // already finished or been canceled is the first to be canceled, and its failure\\n // will propagate back up the promise chain.\\n //\\n // We can't just cancel ourselves with cancelPromise -- we will cut off the rest of\\n // the tree. Nor can we necessarily do it on the same event loop tick, because the\\n // cancelation might be subtly async.\\n //\\n // Instead, we immediately cancel each dependency, and then we cancel the current\\n // task (if it's running), and then we cancel via our promise escape hatch if needed.\\n /* istanbul ignore if */\\n if (this.canceled) {\\n return;\\n }\\n if (this.dependencies) {\\n for (const dep of this.dependencies) {\\n dep.cancel();\\n }\\n }\\n // Do this on the next tick so that our canceled dependencies cascade.\\n this.logger.info(`Canceling ${this.name()}`);\\n AsyncScheduler_1.default.nextTick(() => this.task.cancel());\\n this.canceled = true;\\n if (this.cancelPromise) {\\n AsyncScheduler_1.default.nextTick(() => this.cancelPromise(new Error(`canceling ${this.name()}`)));\\n }\\n }\\n logDependencies() {\\n if (this.logger.getLogLevel() > LogLevel_1.default.INFO) {\\n return;\\n }\\n if (!this.dependencies) {\\n return;\\n }\\n const names = this.dependencies\\n .filter(d => d)\\n .map(d => d.name())\\n .join(', ');\\n this.logger.info(`${this.task.name()} waiting for dependencies: ${names}`);\\n }\\n run() {\\n if (this.promise) {\\n return this.promise;\\n }\\n const dependencies = this.dependencies\\n ? Promise.all(this.dependencies.map(d => d === null || d === void 0 ? void 0 : d.run()))\\n : Promise.resolve();\\n this.logDependencies();\\n this.ongoing = dependencies.then(() => this.task.run());\\n return (this.promise = new Promise((resolve, reject) => {\\n this.cancelPromise = reject;\\n this.ongoing.then(resolve).catch(reject);\\n }));\\n }\\n setParent(parentTask) {\\n this.task.setParent(parentTask);\\n }\\n}\\nexports[\\\"default\\\"] = OnceTask;\\n//# sourceMappingURL=OnceTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/OnceTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SignalingClientConnectionRequest_1 = __webpack_require__(/*! ../signalingclient/SignalingClientConnectionRequest */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientConnectionRequest.js\\\");\\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass OpenSignalingConnectionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'OpenSignalingConnectionTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const configuration = this.context.meetingSessionConfiguration;\\n this.context.signalingClient.openConnection(new SignalingClientConnectionRequest_1.default(configuration.urls.signalingURL, configuration.credentials.joinToken));\\n const startTimeMs = Date.now();\\n try {\\n yield new Promise((resolve, reject) => {\\n class WebSocketOpenInterceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`OpenSignalingConnectionTask got canceled while waiting to open signaling connection`));\\n }\\n handleSignalingClientEvent(event) {\\n switch (event.type) {\\n case SignalingClientEventType_1.default.WebSocketOpen:\\n this.signalingClient.removeObserver(this);\\n resolve();\\n break;\\n case SignalingClientEventType_1.default.WebSocketFailed:\\n this.signalingClient.removeObserver(this);\\n reject(new Error('WebSocket connection failed'));\\n break;\\n }\\n }\\n }\\n const interceptor = new WebSocketOpenInterceptor(this.context.signalingClient);\\n this.context.signalingClient.registerObserver(interceptor);\\n this.taskCanceler = interceptor;\\n });\\n }\\n catch (error) {\\n throw error;\\n }\\n finally {\\n this.context.signalingOpenDurationMs = Math.round(Date.now() - startTimeMs);\\n this.logger.info(`Opening signaling connection took ${this.context.signalingOpenDurationMs} ms`);\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = OpenSignalingConnectionTask;\\n//# sourceMappingURL=OpenSignalingConnectionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/OpenSignalingConnectionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js ***!\n \\**************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[ParallelGroupTask]] runs a set of tasks in parallel. When canceled, it\\n * stops any currently running tasks.\\n */\\nclass ParallelGroupTask extends BaseTask_1.default {\\n constructor(logger, taskName, tasksToRunParallel) {\\n super(logger);\\n this.taskName = taskName;\\n this.tasksToRunParallel = tasksToRunParallel;\\n for (const task of tasksToRunParallel) {\\n task.setParent(this);\\n }\\n }\\n cancel() {\\n for (const task of this.tasksToRunParallel) {\\n this.logger.info(`canceling parallel group task ${this.name()} subtask ${task.name()}`);\\n task.cancel();\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const taskResults = [];\\n for (const task of this.tasksToRunParallel) {\\n this.logger.info(`parallel group task ${this.name()} running subtask ${task.name()}`);\\n taskResults.push(task.run());\\n }\\n const failures = [];\\n for (let i = 0; i < taskResults.length; i++) {\\n try {\\n yield taskResults[i];\\n }\\n catch (err) {\\n failures.push(`task ${this.tasksToRunParallel[i].name()} failed: ${err.message}`);\\n }\\n this.logger.info(`parallel group task ${this.name()} completed subtask ${this.tasksToRunParallel[i].name()}`);\\n }\\n if (failures.length > 0) {\\n const failureMessage = failures.join(', ');\\n this.logAndThrow(`parallel group task ${this.name()} failed for tasks: ${failureMessage}`);\\n }\\n this.logger.info(`parallel group task ${this.name()} completed`);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ParallelGroupTask;\\n//# sourceMappingURL=ParallelGroupTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ParallelGroupTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 __1 = __webpack_require__(/*! .. */ \\\"./node_modules/amazon-chime-sdk-js/build/index.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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[PromoteToPrimaryMeetingTask]] sends a `SdkSignalFrame.PrimaryMeetingJoin` and waits for\\n * a `SdkSignalFrame.PrimaryMeetingJoinAck` frame.\\n */\\nclass PromoteToPrimaryMeetingTask extends BaseTask_1.default {\\n constructor(context, credentials, completionCallback) {\\n super(context.logger);\\n this.context = context;\\n this.credentials = credentials;\\n this.completionCallback = completionCallback;\\n this.taskName = 'PromoteToPrimaryMeetingTask';\\n this.taskCanceler = null;\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.context.signalingClient.ready()) {\\n this.context.signalingClient.promoteToPrimaryMeeting(this.credentials);\\n this.context.logger.info('Sent request to join primary meeting');\\n yield this.receivePrimaryMeetingJoinAck();\\n }\\n else {\\n this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed));\\n }\\n });\\n }\\n receivePrimaryMeetingJoinAck() {\\n return new Promise((resolve, _) => {\\n class Interceptor {\\n constructor(signalingClient, completionCallback, logger) {\\n this.signalingClient = signalingClient;\\n this.completionCallback = completionCallback;\\n this.logger = logger;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n // Currently only cancel would come from timeout. Should\\n // be rare enough (ignoring bugs) that we don't need to bother\\n // retrying.\\n this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed));\\n resolve();\\n }\\n handleSignalingClientEvent(event) {\\n if (event.isConnectionTerminated()) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('PromoteToPrimaryMeetingTask connection terminated');\\n // This would happen either in happy or unhappy disconnections. The\\n // timing here is rare enough (ignoring bugs) that we don't need to bother\\n // retrying the unhappy case.\\n this.completionCallback(new __1.MeetingSessionStatus(__1.MeetingSessionStatusCode.SignalingRequestFailed));\\n resolve();\\n }\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame &&\\n event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.PRIMARY_MEETING_JOIN_ACK) {\\n this.signalingClient.removeObserver(this);\\n this.logger.info('Got a primary meeting join ACK');\\n this.completionCallback(__1.MeetingSessionStatus.fromSignalFrame(event.message));\\n resolve();\\n }\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient, this.completionCallback, this.context.logger);\\n this.taskCanceler = interceptor;\\n this.context.signalingClient.registerObserver(interceptor);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = PromoteToPrimaryMeetingTask;\\n//# sourceMappingURL=PromoteToPrimaryMeetingTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/PromoteToPrimaryMeetingTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js ***!\n \\******************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[ReceiveAudioInputTask]] acquires an audio input.\\n */\\nclass ReceiveAudioInputTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveAudioInputTask';\\n }\\n run() {\\n var _a, _b;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!((_b = (_a = this.context.meetingSessionConfiguration) === null || _a === void 0 ? void 0 : _a.urls) === null || _b === void 0 ? void 0 : _b.audioHostURL)) {\\n this.context.logger.info('No audio connection: not acquiring audio input');\\n return;\\n }\\n if (this.context.activeAudioInput) {\\n this.context.logger.info('an active audio input exists');\\n return;\\n }\\n let audioInput;\\n try {\\n audioInput = yield this.context.mediaStreamBroker.acquireAudioInputStream();\\n }\\n catch (error) {\\n this.context.logger.warn('could not acquire audio input from current device');\\n }\\n if (audioInput) {\\n this.context.activeAudioInput = audioInput;\\n }\\n else {\\n this.context.logger.warn('an audio input is not available');\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveAudioInputTask;\\n//# sourceMappingURL=ReceiveAudioInputTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveAudioInputTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js ***!\n \\***********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst MeetingSessionTURNCredentials_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionTURNCredentials */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionTURNCredentials.js\\\");\\nconst DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ \\\"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[ReceiveTURNCredentialsTask]] asynchronously retrieves TURN credentials.\\n */\\nclass ReceiveTURNCredentialsTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveTURNCredentialsTask';\\n this.url = context.meetingSessionConfiguration.urls.turnControlURL;\\n this.meetingId = context.meetingSessionConfiguration.meetingId;\\n this.joinToken = context.meetingSessionConfiguration.credentials.joinToken;\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.context.turnCredentials) {\\n this.context.logger.info('TURN credentials available, skipping credentials fetch');\\n return;\\n }\\n this.context.logger.error('missing TURN credentials - falling back to fetch');\\n if (!this.url) {\\n this.context.logger.info('TURN control url not supplied, skipping credentials fetch');\\n return;\\n }\\n const options = {\\n method: 'POST',\\n mode: 'cors',\\n cache: 'no-cache',\\n credentials: 'omit',\\n headers: {\\n 'Content-Type': 'application/json',\\n 'X-Chime-Auth-Token': '_aws_wt_session=' + new DefaultModality_1.default(this.joinToken).base(),\\n },\\n redirect: 'follow',\\n referrer: 'no-referrer',\\n body: JSON.stringify({ meetingId: this.meetingId }),\\n };\\n this.context.logger.info(`requesting TURN credentials from ${this.url}`);\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n const responseBodyJson = yield new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n this.cancelPromise = (error) => {\\n reject(error);\\n };\\n try {\\n const responseBody = yield fetch(Versioning_1.default.urlWithVersion(this.url), options);\\n this.context.logger.info(`received TURN credentials`);\\n if (responseBody.status && responseBody.status === 403) {\\n reject(new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.TURNCredentialsForbidden}`));\\n return;\\n }\\n if (responseBody.status && responseBody.status === 404) {\\n reject(new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.MeetingEnded}`));\\n return;\\n }\\n resolve(yield responseBody.json());\\n }\\n catch (error) {\\n reject(error);\\n }\\n finally {\\n delete this.cancelPromise;\\n }\\n }));\\n this.context.turnCredentials = new MeetingSessionTURNCredentials_1.default();\\n this.context.turnCredentials.password = responseBodyJson.password;\\n this.context.turnCredentials.ttl = responseBodyJson.ttl;\\n this.context.turnCredentials.uris = responseBodyJson.uris\\n .map((uri) => {\\n return this.context.meetingSessionConfiguration.urls.urlRewriter(uri);\\n })\\n .filter((uri) => {\\n return !!uri;\\n });\\n this.context.turnCredentials.username = responseBodyJson.username;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveTURNCredentialsTask;\\n//# sourceMappingURL=ReceiveTURNCredentialsTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveTURNCredentialsTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js ***!\n \\******************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ \\\"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\\\");\\nconst SignalingProtocol_js_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol.js */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[ReceiveVideoInputTask]] acquires a video input from [[DeviceController]].\\n */\\nclass ReceiveVideoInputTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveVideoInputTask';\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n // TODO: move videoDuplexMode and videoCaptureAndEncodeParameters to video tile controller\\n const receiveEnabled = this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.RX ||\\n this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;\\n if (this.context.videoTileController.hasStartedLocalVideoTile()) {\\n this.context.videoDuplexMode = receiveEnabled\\n ? SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX\\n : SignalingProtocol_js_1.SdkStreamServiceType.TX;\\n }\\n else {\\n this.context.videoDuplexMode = receiveEnabled ? SignalingProtocol_js_1.SdkStreamServiceType.RX : 0;\\n }\\n this.context.videoCaptureAndEncodeParameter = this.context.videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters();\\n if (!this.context.videoTileController.hasStartedLocalVideoTile()) {\\n this.context.logger.info('has not started local video tile');\\n if (this.context.activeVideoInput) {\\n this.context.activeVideoInput = undefined;\\n // Indicate to the stream index that we are no longer sending video. We will\\n // no longer be tracking irrelevant local sending bitrates sent via received Bitrate message, nor will\\n // we track any spurious allocated stream IDs from the backend.\\n this.context.videoStreamIndex.integrateUplinkPolicyDecision([]);\\n }\\n return;\\n }\\n // TODO: bind after ICE connection started in case of a failure to resubscribe\\n // or perform error handling to unbind video stream.\\n const localTile = this.context.videoTileController.getLocalVideoTile();\\n let videoInput = undefined;\\n try {\\n videoInput = yield this.context.mediaStreamBroker.acquireVideoInputStream();\\n }\\n catch (error) {\\n this.context.logger.warn('could not acquire video input from current device');\\n this.context.videoTileController.stopLocalVideoTile();\\n }\\n if (this.context.enableSimulcast) {\\n const encodingParams = this.context.videoUplinkBandwidthPolicy.chooseEncodingParameters();\\n this.context.videoStreamIndex.integrateUplinkPolicyDecision(Array.from(encodingParams.values()));\\n }\\n this.context.activeVideoInput = videoInput;\\n if (videoInput) {\\n const videoTracks = videoInput.getVideoTracks();\\n // There can be a race condition when there are several audioVideo.update calls (e.g., calling\\n // startLocalVideoTile and stopLocalVideoTile at the same time)\\n // that causes the video stream to not contain any video track.\\n // This should recovers in the next update call.\\n if (!videoTracks || videoTracks.length === 0) {\\n return;\\n }\\n const attendeeId = this.context.meetingSessionConfiguration.credentials.attendeeId;\\n const isContentAttendee = new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT);\\n const trackSettings = videoTracks[0].getSettings();\\n // For video, we currently enforce 720p for simulcast. This logic should be removed in the future.\\n if (this.context.enableSimulcast && !isContentAttendee) {\\n const constraint = this.context.videoUplinkBandwidthPolicy.chooseMediaTrackConstraints();\\n this.context.logger.info(`simulcast: choose constraint ${JSON.stringify(constraint)}`);\\n try {\\n yield videoTracks[0].applyConstraints(constraint);\\n }\\n catch (error) {\\n this.context.logger.info('simulcast: pass video without more constraint');\\n }\\n }\\n const externalUserId = this.context.audioVideoController.configuration.credentials\\n .externalUserId;\\n localTile.bindVideoStream(attendeeId, true, videoInput, trackSettings.width, trackSettings.height, null, externalUserId);\\n for (let i = 0; i < videoTracks.length; i++) {\\n const track = videoTracks[i];\\n this.logger.info(`using video device label=${track.label} id=${track.id}`);\\n this.context.videoDeviceInformation['current_camera_name'] = track.label;\\n this.context.videoDeviceInformation['current_camera_id'] = track.id;\\n }\\n }\\n });\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveVideoInputTask;\\n//# sourceMappingURL=ReceiveVideoInputTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoInputTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 VideoCodecCapability_1 = __webpack_require__(/*! ../sdp/VideoCodecCapability */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/VideoCodecCapability.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\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[ReceiveVideoStreamIndexTask]] receives [[SdkIndexFrame]] and updates [[VideoUplinkBandwidthPolicy]] and [[VideoDownlinkBandwidthPolicy]].\\n */\\nclass ReceiveVideoStreamIndexTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'ReceiveVideoStreamIndexTask';\\n // See comment above invocation of `pauseIngestion` in `DefaultAudioVideoController`\\n // for explanation.\\n this.isIngestionPaused = false;\\n this.pendingIndex = null;\\n }\\n removeObserver() {\\n this.context.signalingClient.removeObserver(this);\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.handleIndexFrame(this.context.indexFrame);\\n this.context.signalingClient.registerObserver(this);\\n this.context.removableObservers.push(this);\\n });\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame ||\\n event.message.type !== SignalingProtocol_js_1.SdkSignalFrame.Type.INDEX) {\\n return;\\n }\\n // @ts-ignore: force cast to SdkIndexFrame\\n const indexFrame = event.message.index;\\n this.context.logger.info(`received new index ${JSON.stringify(indexFrame)}`);\\n this.handleIndexFrame(indexFrame);\\n }\\n pauseIngestion() {\\n this.isIngestionPaused = true;\\n }\\n resumeIngestion() {\\n if (!this.isIngestionPaused) {\\n // Do not recheck subcribe if it wasn't paused to begin with.\\n return;\\n }\\n this.isIngestionPaused = false;\\n if (this.pendingIndex) {\\n this.context.logger.info('Resuming index ingestion with pending index');\\n this.handleIndexFrame(this.pendingIndex);\\n }\\n }\\n handleIndexFrame(indexFrame) {\\n if (!indexFrame) {\\n return;\\n }\\n if (this.isIngestionPaused) {\\n this.context.logger.info(`Index ingestion is paused, setting most recent index as pending`);\\n this.pendingIndex = indexFrame;\\n return;\\n }\\n else {\\n this.pendingIndex = null;\\n }\\n // Filter out self content share video\\n const selfAttendeeId = this.context.audioVideoController.configuration.credentials.attendeeId;\\n indexFrame.sources = indexFrame.sources.filter(source => {\\n const modality = new DefaultModality_1.default(source.attendeeId);\\n return !(modality.base() === selfAttendeeId && modality.hasModality(DefaultModality_1.default.MODALITY_CONTENT));\\n });\\n const { videoStreamIndex, videoDownlinkBandwidthPolicy, videoUplinkBandwidthPolicy, } = this.context;\\n const oldVideoSources = videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId);\\n videoStreamIndex.integrateIndexFrame(indexFrame);\\n videoDownlinkBandwidthPolicy.updateIndex(videoStreamIndex);\\n videoUplinkBandwidthPolicy.updateIndex(videoStreamIndex);\\n this.resubscribe(videoDownlinkBandwidthPolicy, videoUplinkBandwidthPolicy);\\n this.updateVideoAvailability(indexFrame);\\n this.handleIndexVideosPausedAtSource();\\n if (indexFrame.supportedReceiveCodecIntersection.length > 0) {\\n this.handleSupportedVideoReceiveCodecIntersection(indexFrame);\\n }\\n // `forEachObserver`is asynchronous anyways so it doesn't matter (for better or worse) whether we\\n // trigger it before or after the policy update + possible resubscribe kickoff\\n const newVideoSources = videoStreamIndex.allVideoSendingSourcesExcludingSelf(selfAttendeeId);\\n if (!this.areVideoSourcesEqual(oldVideoSources, newVideoSources)) {\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.remoteVideoSourcesDidChange).map(f => f.bind(observer)(newVideoSources));\\n });\\n }\\n }\\n areVideoSourcesEqual(oldVideoSources, newVideoSources) {\\n if (oldVideoSources.length !== newVideoSources.length) {\\n return false;\\n }\\n const compare = (videoSourceA, videoSourceB) => videoSourceA.attendee.attendeeId.localeCompare(videoSourceB.attendee.attendeeId);\\n const sortedOldVideoSources = [...oldVideoSources].sort(compare);\\n const sortedNewVideoSources = [...newVideoSources].sort(compare);\\n for (let i = 0; i < sortedOldVideoSources.length; i++) {\\n if (sortedOldVideoSources[i].attendee.attendeeId !==\\n sortedNewVideoSources[i].attendee.attendeeId) {\\n return false;\\n }\\n }\\n return true;\\n }\\n resubscribe(videoDownlinkBandwidthPolicy, videoUplinkBandwidthPolicy) {\\n const resubscribeForDownlink = videoDownlinkBandwidthPolicy.wantsResubscribe();\\n const resubscribeForUplink = (this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.TX ||\\n this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX) &&\\n videoUplinkBandwidthPolicy.wantsResubscribe();\\n const shouldResubscribe = resubscribeForDownlink || resubscribeForUplink;\\n this.logger.info(`should resubscribe: ${shouldResubscribe} (downlink: ${resubscribeForDownlink} uplink: ${resubscribeForUplink})`);\\n if (!shouldResubscribe) {\\n return;\\n }\\n const videoSubscriptionIdSet = videoDownlinkBandwidthPolicy.chooseSubscriptions();\\n this.context.videosToReceive = videoSubscriptionIdSet.truncate(this.context.videoSubscriptionLimit);\\n if (videoSubscriptionIdSet.size() > this.context.videosToReceive.size()) {\\n this.logger.warn(`Video receive limit exceeded. Limiting the videos to ${this.context.videosToReceive.size()}. Please consider using AllHighestVideoBandwidthPolicy or VideoPriorityBasedPolicy along with chooseRemoteVideoSources api to select the video sources to be displayed.`);\\n }\\n this.context.videoCaptureAndEncodeParameter = videoUplinkBandwidthPolicy.chooseCaptureAndEncodeParameters();\\n this.logger.info(`trigger resubscribe for up=${resubscribeForUplink} down=${resubscribeForDownlink}; videosToReceive=[${this.context.videosToReceive.array()}] captureParams=${JSON.stringify(this.context.videoCaptureAndEncodeParameter)}`);\\n this.context.audioVideoController.update({ needsRenegotiation: false });\\n }\\n updateVideoAvailability(indexFrame) {\\n if (!this.context.videosToReceive) {\\n this.logger.error('videosToReceive must be set in the meeting context.');\\n return;\\n }\\n const videoAvailability = new MeetingSessionVideoAvailability_1.default();\\n videoAvailability.remoteVideoAvailable = !this.context.videosToReceive.empty();\\n videoAvailability.canStartLocalVideo = !indexFrame.atCapacity;\\n if (!this.context.lastKnownVideoAvailability ||\\n !this.context.lastKnownVideoAvailability.equal(videoAvailability)) {\\n this.context.lastKnownVideoAvailability = videoAvailability.clone();\\n this.context.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.videoAvailabilityDidChange).map(f => f.bind(observer)(videoAvailability.clone()));\\n });\\n }\\n }\\n handleSupportedVideoReceiveCodecIntersection(index) {\\n if (this.context.videoSendCodecPreferences === undefined) {\\n return;\\n }\\n const newMeetingSupportedVideoSendCodecPreferences = [];\\n let willNeedUpdate = false;\\n // Intersect `this.context.videoSendCodecPreferences` with `index.supportedReceiveCodecIntersection`\\n for (const capability of this.context.videoSendCodecPreferences) {\\n let codecSupported = false;\\n for (const signaledCapability of index.supportedReceiveCodecIntersection) {\\n if (capability.equals(VideoCodecCapability_1.default.fromSignaled(signaledCapability))) {\\n codecSupported = true;\\n newMeetingSupportedVideoSendCodecPreferences.push(capability);\\n break;\\n }\\n }\\n // We need to renegotiate if we are currently sending a codec that is no longer supported in the call.\\n if (this.context.currentVideoSendCodec !== undefined &&\\n !codecSupported &&\\n capability.equals(this.context.currentVideoSendCodec)) {\\n willNeedUpdate = true;\\n }\\n }\\n if (newMeetingSupportedVideoSendCodecPreferences.length > 0) {\\n this.context.meetingSupportedVideoSendCodecPreferences = newMeetingSupportedVideoSendCodecPreferences;\\n }\\n else {\\n this.logger.warn('Interesection of meeting receive codec support and send codec preferences has no overlap, falling back to just values provided in `setVideoCodecSendPreferences`');\\n this.context.meetingSupportedVideoSendCodecPreferences = undefined;\\n }\\n if (willNeedUpdate) {\\n this.context.audioVideoController.update({ needsRenegotiation: true });\\n }\\n }\\n handleIndexVideosPausedAtSource() {\\n const streamsPausedAtSource = this.context.videoStreamIndex.streamsPausedAtSource();\\n for (const tile of this.context.videoTileController.getAllVideoTiles()) {\\n const tileState = tile.state();\\n if (streamsPausedAtSource.contain(tileState.streamId)) {\\n if (tile.markPoorConnection()) {\\n this.logger.info(`marks the tile ${tileState.tileId} as having a poor connection`);\\n }\\n }\\n else {\\n if (tile.unmarkPoorConnection()) {\\n this.logger.info(`unmarks the tile ${tileState.tileId} as having a poor connection`);\\n }\\n }\\n }\\n }\\n}\\nexports[\\\"default\\\"] = ReceiveVideoStreamIndexTask;\\n//# sourceMappingURL=ReceiveVideoStreamIndexTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/ReceiveVideoStreamIndexTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[RunnableTask]] Task wrapper for any Promised-operation\\n */\\nclass RunnableTask extends BaseTask_1.default {\\n constructor(logger, fn, taskName = 'RunnableTask') {\\n super(logger);\\n this.fn = fn;\\n this.taskName = taskName;\\n }\\n run() {\\n return this.fn().then(() => { });\\n }\\n}\\nexports[\\\"default\\\"] = RunnableTask;\\n//# sourceMappingURL=RunnableTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/RunnableTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js\":\n/*!***************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js ***!\n \\***************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DataMessage_1 = __webpack_require__(/*! ../datamessage/DataMessage */ \\\"./node_modules/amazon-chime-sdk-js/build/datamessage/DataMessage.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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nclass SendAndReceiveDataMessagesTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SendAndReceiveDataMessagesTask';\\n this.sendDataMessageHandler = (topic, data, // eslint-disable-line @typescript-eslint/no-explicit-any\\n lifetimeMs) => {\\n if (this.context.signalingClient.ready()) {\\n let uint8Data;\\n if (data instanceof Uint8Array) {\\n uint8Data = data;\\n }\\n else if (typeof data === 'string') {\\n uint8Data = new TextEncoder().encode(data);\\n }\\n else {\\n uint8Data = new TextEncoder().encode(JSON.stringify(data));\\n }\\n this.validateDataMessage(topic, uint8Data, lifetimeMs);\\n const message = SignalingProtocol_js_1.SdkDataMessagePayload.create();\\n message.topic = topic;\\n message.lifetimeMs = lifetimeMs;\\n message.data = uint8Data;\\n const messageFrame = SignalingProtocol_js_1.SdkDataMessageFrame.create();\\n messageFrame.messages = [message];\\n this.context.signalingClient.sendDataMessage(messageFrame);\\n }\\n else {\\n this.context.logger.error('Signaling client is not ready');\\n }\\n };\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.context.removableObservers.push(this);\\n this.context.signalingClient.registerObserver(this);\\n this.context.realtimeController.realtimeSubscribeToSendDataMessage(this.sendDataMessageHandler);\\n });\\n }\\n removeObserver() {\\n this.context.realtimeController.realtimeUnsubscribeFromSendDataMessage(this.sendDataMessageHandler);\\n this.context.signalingClient.removeObserver(this);\\n }\\n handleSignalingClientEvent(event) {\\n if (event.type === SignalingClientEventType_1.default.ReceivedSignalFrame &&\\n event.message.type === SignalingProtocol_js_1.SdkSignalFrame.Type.DATA_MESSAGE) {\\n for (const message of event.message.dataMessage.messages) {\\n const dataMessage = new DataMessage_1.default(message.ingestTimeNs / 1000000, message.topic, message.data, message.senderAttendeeId, message.senderExternalUserId, message.ingestTimeNs === 0);\\n this.context.realtimeController.realtimeReceiveDataMessage(dataMessage);\\n }\\n }\\n }\\n validateDataMessage(topic, data, lifetimeMs) {\\n if (!SendAndReceiveDataMessagesTask.TOPIC_REGEX.test(topic)) {\\n throw new Error('Invalid topic');\\n }\\n if (data.length > SendAndReceiveDataMessagesTask.DATA_SIZE) {\\n throw new Error('Data size has to be less than 2048 bytes');\\n }\\n if (lifetimeMs && lifetimeMs < 0) {\\n throw new Error('The life time of the message has to be non negative');\\n }\\n }\\n}\\nexports[\\\"default\\\"] = SendAndReceiveDataMessagesTask;\\nSendAndReceiveDataMessagesTask.TOPIC_REGEX = new RegExp(/^[a-zA-Z0-9_-]{1,36}$/);\\nSendAndReceiveDataMessagesTask.DATA_SIZE = 2048;\\n//# sourceMappingURL=SendAndReceiveDataMessagesTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SendAndReceiveDataMessagesTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js ***!\n \\************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\nconst TaskStatus_1 = __webpack_require__(/*! ./TaskStatus */ \\\"./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js\\\");\\n/**\\n * [[SerialGroupTask]] runs a set of tasks in series. When canceled, it stops\\n * any currently running task and runs no further tasks in the group.\\n */\\nclass SerialGroupTask extends BaseTask_1.default {\\n constructor(logger, taskName, tasksToRunSerially) {\\n super(logger);\\n this.taskName = taskName;\\n this.tasksToRunSerially = tasksToRunSerially;\\n this.currentTask = null;\\n for (const task of tasksToRunSerially) {\\n task.setParent(this);\\n }\\n }\\n cancel() {\\n if (this.currentTask) {\\n this.logger.info(`canceling serial group task ${this.name()} subtask ${this.currentTask.name()}`);\\n this.currentTask.cancel();\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n for (const task of this.tasksToRunSerially) {\\n if (this.getStatus() === TaskStatus_1.default.CANCELED) {\\n this.logAndThrow(`serial group task ${this.name()} was canceled`);\\n }\\n try {\\n this.logger.info(`serial group task ${this.name()} running subtask ${task.name()}`);\\n this.currentTask = task;\\n yield task.run();\\n this.logger.info(`serial group task ${this.name()} completed subtask ${task.name()}`);\\n }\\n catch (err) {\\n this.logAndThrow(`serial group task ${this.name()} was canceled due to subtask ` +\\n `${this.currentTask.name()} error: ${err.message}`);\\n }\\n finally {\\n this.currentTask = null;\\n }\\n }\\n this.logger.info(`serial group task ${this.name()} completed`);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SerialGroupTask;\\n//# sourceMappingURL=SerialGroupTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SerialGroupTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js\":\n/*!********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js ***!\n \\********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[SetLocalDescriptionTask]] asynchronously calls [[setLocalDescription]] on peer connection.\\n */\\nclass SetLocalDescriptionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SetLocalDescriptionTask';\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const peer = this.context.peer;\\n const sdpOfferInit = this.context.sdpOfferInit;\\n let sdp = sdpOfferInit.sdp;\\n if (this.context.browserBehavior.supportsVideoLayersAllocationRtpHeaderExtension()) {\\n // This will be negotiatiated with backend, and we will only use it to skip resubscribes\\n // if we confirm support/negotiation via `RTCRtpTranceiver.sender.getParams`\\n sdp = new SDP_1.default(sdp).withVideoLayersAllocationRtpHeaderExtension(this.context.previousSdpOffer)\\n .sdp;\\n }\\n if (new DefaultBrowserBehavior_1.default().requiresDisablingH264Encoding()) {\\n sdp = new SDP_1.default(sdp).removeH264SupportFromSendSection().sdp;\\n }\\n if (this.context.videoSendCodecPreferences !== undefined &&\\n this.context.videoSendCodecPreferences.length > 0) {\\n sdp = new SDP_1.default(sdp).withVideoSendCodecPreferences(this.context.meetingSupportedVideoSendCodecPreferences !== undefined\\n ? this.context.meetingSupportedVideoSendCodecPreferences\\n : this.context.videoSendCodecPreferences).sdp;\\n }\\n if (this.context.audioProfile) {\\n sdp = new SDP_1.default(sdp).withAudioMaxAverageBitrate(this.context.audioProfile.audioBitrateBps).sdp;\\n if (this.context.audioProfile.isStereo()) {\\n sdp = new SDP_1.default(sdp).withStereoAudio().sdp;\\n }\\n }\\n this.logger.debug(() => {\\n return `local description is >>>${sdp}<<<`;\\n });\\n const sdpOffer = {\\n type: 'offer',\\n sdp: sdp,\\n toJSON: null,\\n };\\n yield new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n this.cancelPromise = (error) => {\\n reject(error);\\n };\\n try {\\n yield peer.setLocalDescription(sdpOffer);\\n resolve();\\n }\\n catch (error) {\\n reject(error);\\n }\\n finally {\\n delete this.cancelPromise;\\n }\\n }));\\n this.context.logger.info('set local description');\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SetLocalDescriptionTask;\\n//# sourceMappingURL=SetLocalDescriptionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SetLocalDescriptionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[SetRemoteDescriptionTask]] asynchronously calls [[setRemoteDescription]] on the\\n * peer connection and then waits for the tracks to be added and for the ICE connection\\n * to complete.\\n */\\nclass SetRemoteDescriptionTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SetRemoteDescriptionTask';\\n }\\n cancel() {\\n if (this.cancelICEPromise) {\\n this.cancelICEPromise();\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const peer = this.context.peer;\\n if (!peer) {\\n this.logAndThrow('session does not have peer connection; bypass set remote description');\\n }\\n let sdp = this.context.sdpAnswer;\\n sdp = new SDP_1.default(sdp).withoutServerReflexiveCandidates().sdp;\\n if (this.context.audioProfile) {\\n sdp = new SDP_1.default(sdp).withAudioMaxAverageBitrate(this.context.audioProfile.audioBitrateBps).sdp;\\n if (this.context.audioProfile.isStereo()) {\\n sdp = new SDP_1.default(sdp).withStereoAudio().sdp;\\n }\\n }\\n if (this.context.videoSendCodecPreferences !== undefined &&\\n this.context.videoSendCodecPreferences.length > 0) {\\n sdp = new SDP_1.default(sdp).withVideoSendCodecPreferences(this.context.meetingSupportedVideoSendCodecPreferences !== undefined\\n ? this.context.meetingSupportedVideoSendCodecPreferences\\n : this.context.videoSendCodecPreferences).sdp;\\n this.context.currentVideoSendCodec = new SDP_1.default(sdp).highestPriorityVideoSendCodec();\\n }\\n this.logger.info(`processed remote description is >>>${sdp}<<<`);\\n const remoteDescription = {\\n type: 'answer',\\n sdp: sdp,\\n toJSON: null,\\n };\\n try {\\n yield this.createICEConnectionCompletedPromise(remoteDescription);\\n }\\n catch (err) {\\n throw err;\\n }\\n });\\n }\\n createICEConnectionCompletedPromise(remoteDescription) {\\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\\n const checkConnectionCompleted = () => {\\n if (this.context.peer.iceConnectionState === 'connected' ||\\n this.context.peer.iceConnectionState === 'completed') {\\n this.context.peer.removeEventListener('iceconnectionstatechange', checkConnectionCompleted);\\n resolve();\\n }\\n };\\n this.cancelICEPromise = () => {\\n if (this.context.peer) {\\n this.context.peer.removeEventListener('iceconnectionstatechange', checkConnectionCompleted);\\n }\\n reject(new Error(`${this.name()} got canceled while waiting for the ICE connection state`));\\n };\\n this.context.peer.addEventListener('iceconnectionstatechange', checkConnectionCompleted);\\n try {\\n yield this.context.peer.setRemoteDescription(remoteDescription);\\n this.logger.info('set remote description, waiting for ICE connection');\\n checkConnectionCompleted();\\n }\\n catch (err) {\\n reject(err);\\n }\\n }));\\n }\\n}\\nexports[\\\"default\\\"] = SetRemoteDescriptionTask;\\n//# sourceMappingURL=SetRemoteDescriptionTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SetRemoteDescriptionTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js ***!\n \\********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 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 SDP_1 = __webpack_require__(/*! ../sdp/SDP */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/SDP.js\\\");\\nconst ZLIBTextCompressor_1 = __webpack_require__(/*! ../sdp/ZLIBTextCompressor */ \\\"./node_modules/amazon-chime-sdk-js/build/sdp/ZLIBTextCompressor.js\\\");\\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\nconst SignalingClientEventType_1 = __webpack_require__(/*! ../signalingclient/SignalingClientEventType */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientEventType.js\\\");\\nconst SignalingClientSubscribe_1 = __webpack_require__(/*! ../signalingclient/SignalingClientSubscribe */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/SignalingClientSubscribe.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 BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[SubscribeAndReceiveSubscribeAckTask]] sends a subscribe frame with the given settings\\n * and receives SdkSubscribeAckFrame.\\n */\\nclass SubscribeAndReceiveSubscribeAckTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'SubscribeAndReceiveSubscribeAckTask';\\n this.taskCanceler = null;\\n this.textCompressor = new ZLIBTextCompressor_1.default(context.logger);\\n }\\n cancel() {\\n if (this.taskCanceler) {\\n this.taskCanceler.cancel();\\n this.taskCanceler = null;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n let localSdp = '';\\n if (this.context.peer && this.context.peer.localDescription) {\\n localSdp = new SDP_1.default(this.context.peer.localDescription.sdp).withUnifiedPlanFormat().sdp;\\n }\\n if (!this.context.enableSimulcast) {\\n // backward compatibility\\n let frameRate = 0;\\n let maxEncodeBitrateKbps = 0;\\n if (this.context.videoCaptureAndEncodeParameter) {\\n frameRate = this.context.videoCaptureAndEncodeParameter.captureFrameRate();\\n maxEncodeBitrateKbps = this.context.videoCaptureAndEncodeParameter.encodeBitrates()[0];\\n }\\n const param = {\\n rid: 'hi',\\n maxBitrate: maxEncodeBitrateKbps * 1000,\\n maxFramerate: frameRate,\\n active: true,\\n };\\n this.context.videoStreamIndex.integrateUplinkPolicyDecision([param]);\\n }\\n // This will cache the current index so that we maintain the values over the course of the subscribe.\\n this.context.videoStreamIndex.subscribeFrameSent();\\n // See comment above `fixUpSubscriptionOrder`\\n const videoSubscriptions = this.fixUpSubscriptionOrder(localSdp, this.context.videoSubscriptions);\\n const isSendingStreams = this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.TX ||\\n this.context.videoDuplexMode === SignalingProtocol_js_1.SdkStreamServiceType.DUPLEX;\\n let compressedSDPOffer;\\n const localSdpOffer = localSdp;\\n if (this.context.serverSupportsCompression) {\\n // If the server supports compression, then send the compressed version of the sdp\\n // and exclude the original sdp offer.\\n const prevOffer = this.context.previousSdpOffer ? this.context.previousSdpOffer.sdp : '';\\n compressedSDPOffer = this.textCompressor.compress(localSdpOffer, prevOffer);\\n this.context.logger.info(`Compressed the SDP message from ${localSdpOffer.length} to ${compressedSDPOffer.length} bytes.`);\\n localSdp = '';\\n }\\n this.context.previousSdpOffer = new SDP_1.default(localSdpOffer);\\n const subscribe = new SignalingClientSubscribe_1.default(this.context.meetingSessionConfiguration.credentials.attendeeId, localSdp, this.context.meetingSessionConfiguration.urls.audioHostURL, this.context.realtimeController.realtimeIsLocalAudioMuted(), false, videoSubscriptions, isSendingStreams, this.context.videoStreamIndex.localStreamDescriptions(), \\n // TODO: handle check-in mode, or remove this param\\n true, compressedSDPOffer);\\n if (this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption !== undefined &&\\n this.context.videoDownlinkBandwidthPolicy.getServerSideNetworkAdaption() !==\\n ServerSideNetworkAdaption_1.default.None &&\\n this.context.videoDownlinkBandwidthPolicy.getVideoPreferences !== undefined) {\\n // Set initial configuration for the receive streams indicated by the rest of the subscribe\\n subscribe.videoSubscriptionConfiguration = this.convertVideoPreferencesToVideoSubscriptionConfiguration(videoSubscriptions, this.context.videoDownlinkBandwidthPolicy.getVideoPreferences());\\n }\\n this.context.logger.info(`sending subscribe: ${JSON.stringify(subscribe)}`);\\n this.context.signalingClient.subscribe(subscribe);\\n const subscribeAckFrame = yield this.receiveSubscribeAck();\\n this.context.logger.info(`got subscribe ack: ${JSON.stringify(subscribeAckFrame)}`);\\n let decompressedText = '';\\n if (subscribeAckFrame.compressedSdpAnswer && subscribeAckFrame.compressedSdpAnswer.length) {\\n decompressedText = this.textCompressor.decompress(subscribeAckFrame.compressedSdpAnswer, this.context.previousSdpAnswerAsString);\\n if (decompressedText.length === 0) {\\n this.context.sdpAnswer = '';\\n this.context.previousSdpAnswerAsString = '';\\n this.logAndThrow(`Error occurred while trying to decompress the SDP answer.`);\\n }\\n this.context.logger.info(`Decompressed the SDP message from ${subscribeAckFrame.compressedSdpAnswer.length} to ${decompressedText.length} bytes.`);\\n this.context.sdpAnswer = decompressedText;\\n }\\n else {\\n this.context.sdpAnswer = subscribeAckFrame.sdpAnswer;\\n }\\n this.context.previousSdpAnswerAsString = this.context.sdpAnswer;\\n this.context.videoStreamIndex.integrateSubscribeAckFrame(subscribeAckFrame);\\n });\\n }\\n // Our backends currently expect the video subscriptions passed in subscribe to precisely\\n // line up with the media sections, with a zero for any video send or inactive section.\\n //\\n // Firefox occasionally tosses stopped transceivers at the end of the SDP without reason\\n // and in general we don't want to be at the mercy of SDP sections not being in the same\\n // order as `getTransceivers`, so we simply recalculate the array here to enforce that\\n // expected invarient until we refactor our signaling to simply take a mapping of MID to\\n // subscription.\\n //\\n // This only works on Unified Plan SDPs\\n fixUpSubscriptionOrder(sdp, videoSubscriptions) {\\n if (this.context.transceiverController.getMidForStreamId === undefined) {\\n return videoSubscriptions;\\n }\\n const midsToStreamIds = new Map();\\n for (const streamId of videoSubscriptions) {\\n // The local description will have been set by the time this task is running, so all\\n // of the transceivers should have `mid` set by now (see comment above `getMidForStreamId`)\\n const mid = this.context.transceiverController.getMidForStreamId(streamId);\\n if (mid === undefined) {\\n if (streamId !== 0) {\\n // Send section or inactive section\\n this.logger.warn(`Could not find MID for stream ID: ${streamId}`);\\n }\\n continue;\\n }\\n midsToStreamIds.set(mid, streamId);\\n }\\n const sections = new SDP_1.default(sdp).mediaSections();\\n const newSubscriptions = [];\\n for (const section of sections) {\\n if (section.mediaType !== 'video') {\\n continue;\\n }\\n if (section.direction === 'recvonly') {\\n const streamId = midsToStreamIds.get(section.mid);\\n if (streamId === undefined) {\\n this.logger.warn(`Could not find stream ID for MID: ${section.mid}`);\\n continue;\\n }\\n newSubscriptions.push(streamId);\\n }\\n else {\\n newSubscriptions.push(0);\\n }\\n }\\n this.logger.info(`Fixed up ${JSON.stringify(videoSubscriptions)} to ${JSON.stringify(newSubscriptions)} (may be same))}`);\\n return newSubscriptions;\\n }\\n convertVideoPreferencesToVideoSubscriptionConfiguration(receiveStreamIds, preferences) {\\n if (this.context.transceiverController.getMidForStreamId === undefined ||\\n preferences === undefined) {\\n return [];\\n }\\n const configurations = new Array();\\n const attendeeIdToMid = new Map();\\n const attendeeIdToGroupId = new Map();\\n for (const streamId of receiveStreamIds) {\\n // The local description will have been set by the time this task is running, so all\\n // of the transceivers should have `mid` set by now (see comment above `getMidForStreamId`)\\n const mid = this.context.transceiverController.getMidForStreamId(streamId);\\n if (mid === undefined) {\\n // Likely imposible to hit the next `if` given use of `fixUpSubscriptionOrder`\\n /* istanbul ignore if */\\n if (streamId !== 0) {\\n // Send section or inactive section\\n this.context.logger.warn(`Could not find MID for stream ID: ${streamId}`);\\n }\\n continue;\\n }\\n const attendeeId = this.context.videoStreamIndex.attendeeIdForStreamId(streamId);\\n attendeeIdToMid.set(attendeeId, mid);\\n attendeeIdToGroupId.set(attendeeId, this.context.videoStreamIndex.groupIdForStreamId(streamId));\\n }\\n for (const preference of preferences) {\\n const configuration = new SignalingClientVideoSubscriptionConfiguration_1.default();\\n const mid = attendeeIdToMid.get(preference.attendeeId);\\n if (mid === undefined) {\\n this.context.logger.warn(`Could not find MID for attendee ID: ${preference.attendeeId}`);\\n continue;\\n }\\n configuration.mid = mid;\\n configuration.attendeeId = preference.attendeeId;\\n configuration.groupId = attendeeIdToGroupId.get(preference.attendeeId);\\n // The signaling protocol expects 'higher' values for 'higher' priorities\\n configuration.priority = Number.MAX_SAFE_INTEGER - preference.priority;\\n configuration.targetBitrateKbps = preference.targetSizeToBitrateKbps(preference.targetSize);\\n configurations.push(configuration);\\n }\\n return configurations;\\n }\\n receiveSubscribeAck() {\\n return new Promise((resolve, reject) => {\\n const context = this.context;\\n class Interceptor {\\n constructor(signalingClient) {\\n this.signalingClient = signalingClient;\\n }\\n cancel() {\\n this.signalingClient.removeObserver(this);\\n reject(new Error(`SubscribeAndReceiveSubscribeAckTask got canceled while waiting for SdkSubscribeAckFrame`));\\n }\\n handleSignalingClientEvent(event) {\\n if (event.isConnectionTerminated()) {\\n const message = `SubscribeAndReceiveSubscribeAckTask connection was terminated with code ${event.closeCode} and reason: ${event.closeReason}`;\\n context.logger.warn(message);\\n let statusCode = MeetingSessionStatusCode_1.default.TaskFailed;\\n if (event.closeCode >= 4500 && event.closeCode < 4600) {\\n statusCode = MeetingSessionStatusCode_1.default.SignalingInternalServerError;\\n }\\n context.audioVideoController.handleMeetingSessionStatus(new MeetingSessionStatus_1.default(statusCode), new Error(message));\\n return;\\n }\\n if (event.type !== SignalingClientEventType_1.default.ReceivedSignalFrame ||\\n event.message.type !== SignalingProtocol_js_1.SdkSignalFrame.Type.SUBSCRIBE_ACK) {\\n return;\\n }\\n this.signalingClient.removeObserver(this);\\n // @ts-ignore: force cast to SdkSubscribeAckFrame\\n const subackFrame = event.message.suback;\\n resolve(subackFrame);\\n }\\n }\\n const interceptor = new Interceptor(this.context.signalingClient);\\n this.context.signalingClient.registerObserver(interceptor);\\n this.taskCanceler = interceptor;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SubscribeAndReceiveSubscribeAckTask;\\n//# sourceMappingURL=SubscribeAndReceiveSubscribeAckTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/SubscribeAndReceiveSubscribeAckTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TaskStatus;\\n(function (TaskStatus) {\\n TaskStatus[\\\"IDLE\\\"] = \\\"IDLE\\\";\\n TaskStatus[\\\"RUNNING\\\"] = \\\"RUNNING\\\";\\n TaskStatus[\\\"CANCELED\\\"] = \\\"CANCELED\\\";\\n TaskStatus[\\\"FINISHED\\\"] = \\\"FINISHED\\\";\\n})(TaskStatus || (TaskStatus = {}));\\nexports[\\\"default\\\"] = TaskStatus;\\n//# sourceMappingURL=TaskStatus.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/TaskStatus.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js ***!\n \\********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 TimeoutScheduler_1 = __webpack_require__(/*! ../scheduler/TimeoutScheduler */ \\\"./node_modules/amazon-chime-sdk-js/build/scheduler/TimeoutScheduler.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/**\\n * [[TimeoutTask]] runs a subtask until it either succeeds or reaches a\\n * timeout, at which point the subtask is canceled.\\n */\\nclass TimeoutTask extends BaseTask_1.default {\\n constructor(logger, taskToRunBeforeTimeout, timeoutMs) {\\n super(logger);\\n this.taskToRunBeforeTimeout = taskToRunBeforeTimeout;\\n this.timeoutMs = timeoutMs;\\n this.taskName = `Timeout${this.timeoutMs}ms`;\\n taskToRunBeforeTimeout.setParent(this);\\n }\\n cancel() {\\n this.logger.info(`canceling timeout task ${this.name()} subtask ${this.taskToRunBeforeTimeout}`);\\n this.taskToRunBeforeTimeout.cancel();\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const timer = new TimeoutScheduler_1.default(this.timeoutMs);\\n timer.start(() => {\\n this.logger.info(`timeout reached for task ${this.name()}`);\\n this.taskToRunBeforeTimeout.cancel();\\n });\\n try {\\n yield this.taskToRunBeforeTimeout.run();\\n }\\n finally {\\n timer.stop();\\n }\\n this.logger.info(`timeout task ${this.name()} completed`);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = TimeoutTask;\\n//# sourceMappingURL=TimeoutTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/TimeoutTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js ***!\n \\************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 MeetingSessionStatusCode_1 = __webpack_require__(/*! ../meetingsession/MeetingSessionStatusCode */ \\\"./node_modules/amazon-chime-sdk-js/build/meetingsession/MeetingSessionStatusCode.js\\\");\\nconst BaseTask_1 = __webpack_require__(/*! ./BaseTask */ \\\"./node_modules/amazon-chime-sdk-js/build/task/BaseTask.js\\\");\\n/*\\n * [[WaitForAttendeePresenceTask]] waits until an attendee presence event happens.\\n */\\nclass WaitForAttendeePresenceTask extends BaseTask_1.default {\\n constructor(context) {\\n super(context.logger);\\n this.context = context;\\n this.taskName = 'WaitForAttendeePresenceTask';\\n }\\n cancel() {\\n // Just in case. The baseCancel behavior should prevent this.\\n /* istanbul ignore else */\\n if (this.cancelPromise) {\\n const error = new Error(`canceling ${this.name()} due to the meeting status code: ${MeetingSessionStatusCode_1.default.NoAttendeePresent}`);\\n this.cancelPromise(error);\\n delete this.cancelPromise;\\n }\\n }\\n run() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const attendeeId = this.context.meetingSessionConfiguration.credentials.attendeeId;\\n return new Promise((resolve, reject) => {\\n const handler = (presentAttendeeId, present, _externalUserId, _dropped, _pos) => {\\n if (attendeeId === presentAttendeeId && present) {\\n this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);\\n resolve();\\n delete this.cancelPromise;\\n }\\n };\\n this.cancelPromise = (error) => {\\n this.context.realtimeController.realtimeUnsubscribeToAttendeeIdPresence(handler);\\n reject(error);\\n };\\n this.context.realtimeController.realtimeSubscribeToAttendeeIdPresence(handler);\\n });\\n });\\n }\\n}\\nexports[\\\"default\\\"] = WaitForAttendeePresenceTask;\\n//# sourceMappingURL=WaitForAttendeePresenceTask.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/task/WaitForAttendeePresenceTask.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js\":\n/*!******************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js ***!\n \\******************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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 DefaultTransceiverController {\\n constructor(logger, browserBehavior) {\\n this.logger = logger;\\n this.browserBehavior = browserBehavior;\\n this._localCameraTransceiver = null;\\n this._localAudioTransceiver = null;\\n this.videoSubscriptions = [];\\n this.defaultMediaStream = null;\\n this.peer = null;\\n this.streamIdToTransceiver = new Map();\\n }\\n setEncodingParameters(encodingParamMap) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n if (!encodingParamMap || encodingParamMap.size === 0) {\\n return;\\n }\\n const newEncodingParams = Array.from(encodingParamMap.values());\\n const oldParam = sender.getParameters();\\n if (!oldParam.encodings || oldParam.encodings.length === 0) {\\n oldParam.encodings = newEncodingParams;\\n }\\n else {\\n for (const existing of oldParam.encodings) {\\n for (const changed of newEncodingParams) {\\n if ((existing.rid || changed.rid) && existing.rid !== changed.rid) {\\n continue;\\n }\\n let key;\\n for (key in changed) {\\n // These properties can't be changed.\\n if (key === 'rid' || key === 'codecPayloadType') {\\n continue;\\n }\\n /* istanbul ignore else */\\n if (changed.hasOwnProperty(key)) {\\n existing[key] = changed[key];\\n }\\n }\\n }\\n }\\n }\\n yield sender.setParameters(oldParam);\\n });\\n }\\n localAudioTransceiver() {\\n return this._localAudioTransceiver;\\n }\\n localVideoTransceiver() {\\n return this._localCameraTransceiver;\\n }\\n setVideoSendingBitrateKbps(bitrateKbps) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n if (!sender || bitrateKbps <= 0) {\\n return;\\n }\\n const param = sender.getParameters();\\n if (!param.encodings) {\\n param.encodings = [{}];\\n }\\n for (const encodeParam of param.encodings) {\\n encodeParam.maxBitrate = bitrateKbps * 1000;\\n }\\n yield sender.setParameters(param);\\n });\\n }\\n setPeer(peer) {\\n this.peer = peer;\\n }\\n reset() {\\n this._localCameraTransceiver = null;\\n this._localAudioTransceiver = null;\\n this.videoSubscriptions = [];\\n this.defaultMediaStream = null;\\n this.peer = null;\\n }\\n useTransceivers() {\\n return !!this.peer && typeof this.peer.getTransceivers !== 'undefined';\\n }\\n hasVideoInput() {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv')\\n return false;\\n return true;\\n }\\n trackIsVideoInput(track) {\\n if (!this._localCameraTransceiver) {\\n return false;\\n }\\n return (track === this._localCameraTransceiver.sender.track ||\\n track === this._localCameraTransceiver.receiver.track);\\n }\\n setupLocalTransceivers() {\\n if (!this.useTransceivers()) {\\n return;\\n }\\n if (!this.defaultMediaStream && typeof MediaStream !== 'undefined') {\\n this.defaultMediaStream = new MediaStream();\\n }\\n if (!this._localAudioTransceiver) {\\n this._localAudioTransceiver = this.peer.addTransceiver('audio', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n if (!this._localCameraTransceiver) {\\n this._localCameraTransceiver = this.peer.addTransceiver('video', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n }\\n replaceAudioTrack(track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localAudioTransceiver || this._localAudioTransceiver.direction !== 'sendrecv') {\\n this.logger.info(`audio transceiver direction is not set up or not activated`);\\n return false;\\n }\\n yield this._localAudioTransceiver.sender.replaceTrack(track);\\n return true;\\n });\\n }\\n setAudioInput(track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n yield this.setTransceiverInput(this._localAudioTransceiver, track);\\n return;\\n });\\n }\\n setVideoInput(track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n yield this.setTransceiverInput(this._localCameraTransceiver, track);\\n return;\\n });\\n }\\n updateVideoTransceivers(videoStreamIndex, videosToReceive) {\\n if (!this.useTransceivers()) {\\n return videosToReceive.array();\\n }\\n // See https://blog.mozilla.org/webrtc/rtcrtptransceiver-explored/ for details on transceivers\\n const transceivers = this.peer.getTransceivers();\\n // Subscription index 0 is reserved for transmitting camera.\\n // We mark inactive slots with 0 in the subscription array.\\n this.videoSubscriptions = [0];\\n videosToReceive = videosToReceive.clone();\\n this.updateTransceivers(transceivers, videoStreamIndex, videosToReceive);\\n this.logger.debug(() => {\\n return this.debugDumpTransceivers();\\n });\\n return this.videoSubscriptions;\\n }\\n updateTransceivers(transceivers, videoStreamIndex, videosToReceive) {\\n const videosRemaining = videosToReceive.array();\\n if (transceivers.length !== 0 && !transceivers[0].stop) {\\n // This function and its usage can be removed once we raise Chrome browser requirements\\n // to M88 (when `RTCRtpTransceiver.stop` was added)\\n this.logger.info('Updating transceivers without `stop` function');\\n this.updateTransceiverWithoutStop(transceivers, videoStreamIndex, videosRemaining);\\n }\\n else if (transceivers.length !== 0) {\\n this.updateTransceiverWithStop(transceivers, videoStreamIndex, videosRemaining);\\n }\\n // Add transceivers for the remaining subscriptions\\n for (const index of videosRemaining) {\\n // @ts-ignore\\n const transceiver = this.peer.addTransceiver('video', {\\n direction: 'recvonly',\\n streams: [new MediaStream()],\\n });\\n this.streamIdToTransceiver.set(index, transceiver);\\n this.videoSubscriptions.push(index);\\n this.logger.info(`adding transceiver mid: ${transceiver.mid} subscription: ${index} direction: recvonly`);\\n }\\n }\\n updateTransceiverWithStop(transceivers, videoStreamIndex, videosRemaining) {\\n // Begin counting out index in the the subscription array at 1 since the camera.\\n // Always occupies position 0 (whether active or not).\\n let n = 1;\\n // Reset since otherwise there will be stale indexes corresponding to\\n // stopped transceivers.\\n this.videoSubscriptions = [0];\\n for (const transceiver of transceivers) {\\n if (transceiver === this._localCameraTransceiver ||\\n !this.transceiverIsVideo(transceiver) ||\\n !transceiver.mid) {\\n continue;\\n }\\n let reusingTranceiver = false;\\n // See if we want this existing transceiver for a simulcast stream switch\\n //\\n // By convention with the service backend, msid is equal to the media section mid, prefixed with the string \\\"v_\\\";\\n // we use this to get the stream ID for the track\\n const streamId = videoStreamIndex.streamIdForTrack('v_' + transceiver.mid);\\n if (transceiver.direction !== 'inactive' && streamId !== undefined) {\\n for (const [index, recvStreamId] of videosRemaining.entries()) {\\n // `streamId` may still be the same as `recvStreamId`\\n if (videoStreamIndex.StreamIdsInSameGroup(streamId, recvStreamId)) {\\n transceiver.direction = 'recvonly';\\n this.videoSubscriptions[n] = recvStreamId;\\n reusingTranceiver = true;\\n this.streamIdToTransceiver.delete(streamId);\\n this.streamIdToTransceiver.set(recvStreamId, transceiver);\\n videosRemaining.splice(index, 1);\\n break;\\n }\\n }\\n }\\n if (!reusingTranceiver) {\\n this.videoSubscriptions[n] = 0;\\n this.logger.info(`Stopping MID: ${transceiver.mid}, direction: ${transceiver.direction}, current direction: ${transceiver.currentDirection}`);\\n // Clean up transceiver and mappings for streams that have been unsubscribed from. Note we do not try to reuse\\n // old inactive transceivers for new streams as Firefox will reuse the last frame from\\n // that transceiver, and additionally we simply don't want to risk wiring up a transceiver\\n // to the incorrect video stream for no real benefit besides possible a smaller SDP size.\\n transceiver.stop(); // Note (as of Firefox 94): Firefox will keep these around forever\\n for (const [streamId, previousTransceiver] of this.streamIdToTransceiver.entries()) {\\n if (transceiver.mid === previousTransceiver.mid) {\\n this.streamIdToTransceiver.delete(streamId);\\n }\\n }\\n }\\n n += 1;\\n }\\n }\\n // This function operates similarily to `updateTransceiverWithStop` with the following changes to account\\n // for the fact RTCRtpTransceiver.stop is not available on all supported browsers:\\n // * We attempt to reuse inactive transceivers because libwebrtc will not remove them otherwise and\\n // the SDP will grow endlessly.\\n // * We mark unsubscribed transceivers as 'inactive' so that they can be reused. This requires using a\\n // second for loop.\\n updateTransceiverWithoutStop(transceivers, videoStreamIndex, videosRemaining) {\\n let n = 1;\\n for (const transceiver of transceivers) {\\n if (transceiver === this._localCameraTransceiver || !this.transceiverIsVideo(transceiver)) {\\n continue;\\n }\\n this.videoSubscriptions[n] = 0;\\n if (transceiver.direction !== 'inactive') {\\n const streamId = videoStreamIndex.streamIdForTrack('v_' + transceiver.mid);\\n if (streamId !== undefined) {\\n for (const [index, recvStreamId] of videosRemaining.entries()) {\\n if (videoStreamIndex.StreamIdsInSameGroup(streamId, recvStreamId)) {\\n transceiver.direction = 'recvonly';\\n this.videoSubscriptions[n] = recvStreamId;\\n this.streamIdToTransceiver.delete(streamId);\\n this.streamIdToTransceiver.set(recvStreamId, transceiver);\\n videosRemaining.splice(index, 1);\\n break;\\n }\\n }\\n }\\n }\\n n += 1;\\n }\\n // Next fill in open slots and remove unused\\n n = 1;\\n for (const transceiver of transceivers) {\\n if (transceiver === this._localCameraTransceiver || !this.transceiverIsVideo(transceiver)) {\\n continue;\\n }\\n if (transceiver.direction === 'inactive' && videosRemaining.length > 0) {\\n // Fill available slot\\n transceiver.direction = 'recvonly';\\n const streamId = videosRemaining.shift();\\n this.videoSubscriptions[n] = streamId;\\n this.streamIdToTransceiver.set(streamId, transceiver);\\n }\\n else {\\n // Remove if no longer subscribed\\n if (this.videoSubscriptions[n] === 0) {\\n transceiver.direction = 'inactive';\\n for (const [streamId, previousTransceiver] of this.streamIdToTransceiver.entries()) {\\n if (transceiver === previousTransceiver) {\\n this.streamIdToTransceiver.delete(streamId);\\n }\\n }\\n }\\n }\\n n += 1;\\n }\\n }\\n getMidForStreamId(streamId) {\\n var _a;\\n return (_a = this.streamIdToTransceiver.get(streamId)) === null || _a === void 0 ? void 0 : _a.mid;\\n }\\n setStreamIdForMid(mid, newStreamId) {\\n for (const [streamId, transceiver] of this.streamIdToTransceiver.entries()) {\\n if (transceiver.mid === mid) {\\n this.streamIdToTransceiver.delete(streamId);\\n this.streamIdToTransceiver.set(newStreamId, transceiver);\\n return;\\n }\\n }\\n }\\n transceiverIsVideo(transceiver) {\\n return ((transceiver.receiver &&\\n transceiver.receiver.track &&\\n transceiver.receiver.track.kind === 'video') ||\\n (transceiver.sender && transceiver.sender.track && transceiver.sender.track.kind === 'video'));\\n }\\n debugDumpTransceivers() {\\n let msg = '';\\n let n = 0;\\n for (const transceiver of this.peer.getTransceivers()) {\\n if (!this.transceiverIsVideo(transceiver)) {\\n continue;\\n }\\n msg += `transceiver index=${n} mid=${transceiver.mid} subscription=${this.videoSubscriptions[n]} direction=${transceiver.direction}\\\\n`;\\n n += 1;\\n }\\n return msg;\\n }\\n setTransceiverInput(transceiver, track) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!transceiver) {\\n return;\\n }\\n if (track) {\\n transceiver.direction = 'sendrecv';\\n }\\n else {\\n transceiver.direction = 'inactive';\\n }\\n yield transceiver.sender.replaceTrack(track);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = DefaultTransceiverController;\\n//# sourceMappingURL=DefaultTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js\":\n/*!********************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js ***!\n \\********************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 SimulcastTransceiverController_1 = __webpack_require__(/*! ./SimulcastTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js\\\");\\nclass SimulcastContentShareTransceiverController extends SimulcastTransceiverController_1.default {\\n constructor(logger, browserBehavior) {\\n super(logger, browserBehavior);\\n let scale = 2;\\n this.videoQualityControlParameterMap = new Map();\\n for (let i = 0; i < SimulcastContentShareTransceiverController.NAME_ARR_ASCENDING.length; i++) {\\n const ridName = SimulcastContentShareTransceiverController.NAME_ARR_ASCENDING[i];\\n this.videoQualityControlParameterMap.set(ridName, {\\n rid: ridName,\\n scaleResolutionDownBy: scale,\\n maxBitrate: SimulcastContentShareTransceiverController.BITRATE_ARR_ASCENDING[i] * 1000,\\n });\\n scale = scale / 2;\\n }\\n }\\n // Note: `scaleResolutionDownBy` has only been tested with values 1, 2, and 4.\\n setEncodingParameters(encodingParamMap) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n const newEncodingParams = Array.from(encodingParamMap.values());\\n if (newEncodingParams.length <= 0) {\\n return;\\n }\\n const oldParam = sender.getParameters();\\n if (!oldParam.encodings) {\\n oldParam.encodings = newEncodingParams;\\n }\\n else {\\n for (let i = 0; i < oldParam.encodings.length; i++) {\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController_1.default.LOW_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController_1.default.LOW_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController_1.default.HIGH_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController_1.default.HIGH_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n }\\n }\\n yield sender.setParameters(oldParam);\\n this.logVideoTransceiverParameters();\\n });\\n }\\n}\\nexports[\\\"default\\\"] = SimulcastContentShareTransceiverController;\\nSimulcastContentShareTransceiverController.NAME_ARR_ASCENDING = ['low', 'hi'];\\nSimulcastContentShareTransceiverController.BITRATE_ARR_ASCENDING = [300, 1200];\\n//# sourceMappingURL=SimulcastContentShareTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js ***!\n \\********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultTransceiverController_1 = __webpack_require__(/*! ./DefaultTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js\\\");\\nclass SimulcastTransceiverController extends DefaultTransceiverController_1.default {\\n constructor(logger, browserBehavior) {\\n super(logger, browserBehavior);\\n this.videoQualityControlParameterMap = new Map();\\n let scale = 4;\\n for (let i = 0; i < SimulcastTransceiverController.NAME_ARR_ASCENDING.length; i++) {\\n const ridName = SimulcastTransceiverController.NAME_ARR_ASCENDING[i];\\n this.videoQualityControlParameterMap.set(ridName, {\\n rid: ridName,\\n scaleResolutionDownBy: scale,\\n maxBitrate: SimulcastTransceiverController.BITRATE_ARR_ASCENDING[i] * 1000,\\n });\\n scale = scale / 2;\\n }\\n }\\n // Note: `scaleResolutionDownBy` has only been tested with values 1, 2, and 4.\\n setEncodingParameters(encodingParamMap) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this._localCameraTransceiver || this._localCameraTransceiver.direction !== 'sendrecv') {\\n return;\\n }\\n const sender = this._localCameraTransceiver.sender;\\n const newEncodingParams = Array.from(encodingParamMap.values());\\n if (newEncodingParams.length <= 0) {\\n return;\\n }\\n const oldParam = sender.getParameters();\\n if (!oldParam.encodings) {\\n oldParam.encodings = newEncodingParams;\\n }\\n else {\\n for (let i = 0; i < oldParam.encodings.length; i++) {\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController.LOW_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController.LOW_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController.MID_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController.MID_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n if (oldParam.encodings[i].rid === SimulcastTransceiverController.HIGH_LEVEL_NAME) {\\n this.copyEncodingParams(encodingParamMap.get(SimulcastTransceiverController.HIGH_LEVEL_NAME), oldParam.encodings[i]);\\n }\\n }\\n }\\n yield sender.setParameters(oldParam);\\n this.logVideoTransceiverParameters();\\n });\\n }\\n setVideoSendingBitrateKbps(_bitrateKbps) {\\n return __awaiter(this, void 0, void 0, function* () {\\n return;\\n });\\n }\\n setupLocalTransceivers() {\\n if (!this.useTransceivers()) {\\n return;\\n }\\n if (!this.defaultMediaStream && typeof MediaStream !== 'undefined') {\\n this.defaultMediaStream = new MediaStream();\\n }\\n if (!this._localAudioTransceiver) {\\n this._localAudioTransceiver = this.peer.addTransceiver('audio', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n if (!this._localCameraTransceiver) {\\n const encodingParams = Array.from(this.videoQualityControlParameterMap.values());\\n this._localCameraTransceiver = this.peer.addTransceiver('video', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n sendEncodings: encodingParams,\\n });\\n }\\n }\\n logVideoTransceiverParameters() {\\n const params = this._localCameraTransceiver.sender.getParameters();\\n const encodings = params.encodings;\\n let msg = 'simulcast: current encoding parameters \\\\n';\\n for (const encodingParam of encodings) {\\n msg += `rid=${encodingParam.rid} maxBitrate=${encodingParam.maxBitrate} active=${encodingParam.active} scaleDownBy=${encodingParam.scaleResolutionDownBy} maxFrameRate = ${encodingParam.maxFramerate} \\\\n`;\\n }\\n this.logger.info(msg);\\n }\\n copyEncodingParams(fromEncodingParams, toEncodingParams) {\\n toEncodingParams.active = fromEncodingParams.active;\\n toEncodingParams.maxBitrate = fromEncodingParams.maxBitrate;\\n toEncodingParams.scaleResolutionDownBy = fromEncodingParams.scaleResolutionDownBy;\\n toEncodingParams.maxFramerate = fromEncodingParams.maxFramerate;\\n }\\n}\\nexports[\\\"default\\\"] = SimulcastTransceiverController;\\nSimulcastTransceiverController.LOW_LEVEL_NAME = 'low';\\nSimulcastTransceiverController.MID_LEVEL_NAME = 'mid';\\nSimulcastTransceiverController.HIGH_LEVEL_NAME = 'hi';\\nSimulcastTransceiverController.NAME_ARR_ASCENDING = ['low', 'mid', 'hi'];\\nSimulcastTransceiverController.BITRATE_ARR_ASCENDING = [200, 400, 1100];\\n//# sourceMappingURL=SimulcastTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultTransceiverController_1 = __webpack_require__(/*! ./DefaultTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/DefaultTransceiverController.js\\\");\\nclass VideoOnlyTransceiverController extends DefaultTransceiverController_1.default {\\n constructor(logger, browserBehavior) {\\n super(logger, browserBehavior);\\n }\\n setupLocalTransceivers() {\\n if (!this.useTransceivers()) {\\n return;\\n }\\n if (!this.defaultMediaStream && typeof MediaStream !== 'undefined') {\\n this.defaultMediaStream = new MediaStream();\\n }\\n if (!this._localCameraTransceiver) {\\n this._localCameraTransceiver = this.peer.addTransceiver('video', {\\n direction: 'inactive',\\n streams: [this.defaultMediaStream],\\n });\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VideoOnlyTransceiverController;\\n//# sourceMappingURL=VideoOnlyTransceiverController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transceivercontroller/VideoOnlyTransceiverController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.TRANSCRIPTION_DATA_MESSAGE_TOPIC = void 0;\\nconst TranscriptEvent_1 = __webpack_require__(/*! ./TranscriptEvent */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js\\\");\\nexports.TRANSCRIPTION_DATA_MESSAGE_TOPIC = 'aws:chime:transcription';\\nclass DefaultTranscriptionController {\\n constructor(realtimeController) {\\n this.realtimeController = realtimeController;\\n this.transcriptEventCallbacks = new Set();\\n }\\n subscribeToTranscriptEvent(callback) {\\n if (this.transcriptEventCallbacks.size === 0) {\\n this.realtimeController.realtimeSubscribeToReceiveDataMessage(exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC, (dataMessage) => {\\n for (const transcriptEvent of TranscriptEvent_1.TranscriptEventConverter.from(dataMessage)) {\\n for (const transcriptEventCallback of this.transcriptEventCallbacks) {\\n transcriptEventCallback(transcriptEvent);\\n }\\n }\\n });\\n }\\n this.transcriptEventCallbacks.add(callback);\\n }\\n unsubscribeFromTranscriptEvent(callback) {\\n this.transcriptEventCallbacks.delete(callback);\\n if (this.transcriptEventCallbacks.size === 0) {\\n this.realtimeController.realtimeUnsubscribeFromReceiveDataMessage(exports.TRANSCRIPTION_DATA_MESSAGE_TOPIC);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultTranscriptionController;\\n//# sourceMappingURL=DefaultTranscriptionController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/DefaultTranscriptionController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 Transcript {\\n}\\nexports[\\\"default\\\"] = Transcript;\\n//# sourceMappingURL=Transcript.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js\":\n/*!************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js ***!\n \\************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptAlternative {\\n}\\nexports[\\\"default\\\"] = TranscriptAlternative;\\n//# sourceMappingURL=TranscriptAlternative.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptAlternative.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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* When redacting personally identifiable information (PII) from a streaming transcription, Amazon Transcribe replaces each identified instance of PII with [PII] in your transcript.\\n* An additional option available for streaming audio is PII identification.\\n* When you activate PII Identification, Amazon Transcribe labels the PII in your transcription results under an Entities object.\\n* PII identification and redaction for streaming jobs is performed only upon complete transcription of the audio segments.\\n* category refers to whether the entity is a PII or PHI data.\\n* confidence refers to the confidence that the speech it flagged for redaction/identification is truly PII. Confidence value ranges from 0 to 1 inclusive.\\n* type refers to the type of PII/PHI data that is identified. The current supported type values are: BANK_ACCOUNT_NUMBER, BANK_ROUTING, CREDIT_DEBIT_NUMBER, CREDIT_DEBIT_CVV, CREDIT_DEBIT_EXPIRY, PIN, EMAIL, ADDRESS, NAME, PHONE, SSN.\\n* type is only available in case of engine transcribe and not in medical transcribe\\n* type can be expected to change and grow as Transcribe evolves\\n* endTimeMs and startTimeMs are epoch timestamps in milliseconds\\n* Sample Redacted PII Data would look similar to this :\\n* \\\"Entities\\\": [\\n {\\n \\\"Content\\\": \\\"[NAME]\\\",\\n \\\"Category\\\": \\\"PII\\\",\\n \\\"Type\\\": \\\"NAME\\\",\\n \\\"StartTime\\\" : 1636493289421,\\n \\\"EndTime\\\" : 1636493290016,\\n \\\"Confidence\\\": 0.9989\\n }\\n ]\\n* Sample PII Identified data would look similar to this :\\n* \\\"Entities\\\": [\\n {\\n \\\"Content\\\": \\\"janet smithy\\\",\\n \\\"Category\\\": \\\"PII\\\",\\n \\\"Type\\\": \\\"NAME\\\",\\n \\\"StartTime\\\" : 1636493289421,\\n \\\"EndTime\\\" : 1636493290016,\\n \\\"Confidence\\\": 0.9989\\n }\\n ]\\n*/\\nclass TranscriptEntity {\\n}\\nexports[\\\"default\\\"] = TranscriptEntity;\\n//# sourceMappingURL=TranscriptEntity.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEntity.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.TranscriptEventConverter = void 0;\\nconst SignalingProtocol_1 = __webpack_require__(/*! ../signalingprotocol/SignalingProtocol */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingprotocol/SignalingProtocol.js\\\");\\nconst Transcript_1 = __webpack_require__(/*! ./Transcript */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/Transcript.js\\\");\\nconst TranscriptionStatus_1 = __webpack_require__(/*! ./TranscriptionStatus */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js\\\");\\nconst TranscriptionStatusType_1 = __webpack_require__(/*! ./TranscriptionStatusType */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js\\\");\\nconst TranscriptItemType_1 = __webpack_require__(/*! ./TranscriptItemType */ \\\"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js\\\");\\nconst TranscriptionStatusTypes = {\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.STARTED]: TranscriptionStatusType_1.default.STARTED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.INTERRUPTED]: TranscriptionStatusType_1.default.INTERRUPTED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.RESUMED]: TranscriptionStatusType_1.default.RESUMED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.STOPPED]: TranscriptionStatusType_1.default.STOPPED,\\n [SignalingProtocol_1.SdkTranscriptionStatus.Type.FAILED]: TranscriptionStatusType_1.default.FAILED,\\n};\\nclass TranscriptEventConverter {\\n /**\\n * Decodes a list of TranscriptEvent from a data message.\\n * @param dataMessage Data message to decode from\\n * @returns List of TranscriptEvent\\n * @throws {Error} If the data message payload cannot be decoded\\n */\\n static from(dataMessage) {\\n let frame;\\n try {\\n frame = SignalingProtocol_1.SdkTranscriptFrame.decode(dataMessage.data);\\n }\\n catch (e) {\\n throw new Error('Cannot decode transcript data message: ' + e);\\n }\\n const transcriptEvents = [];\\n for (const sdkTranscriptEvent of frame.events) {\\n if (sdkTranscriptEvent.status) {\\n const transcriptionStatusType = TranscriptionStatusTypes[sdkTranscriptEvent.status.type];\\n if (!transcriptionStatusType) {\\n continue;\\n }\\n const transcriptionStatus = new TranscriptionStatus_1.default();\\n transcriptionStatus.type = transcriptionStatusType;\\n transcriptionStatus.eventTimeMs = sdkTranscriptEvent.status.eventTime;\\n transcriptionStatus.transcriptionRegion = sdkTranscriptEvent.status.transcriptionRegion;\\n transcriptionStatus.transcriptionConfiguration =\\n sdkTranscriptEvent.status.transcriptionConfiguration;\\n if (sdkTranscriptEvent.status.message) {\\n transcriptionStatus.message = sdkTranscriptEvent.status.message;\\n }\\n transcriptEvents.push(transcriptionStatus);\\n }\\n else if (sdkTranscriptEvent.transcript) {\\n const transcript = new Transcript_1.default();\\n transcript.results = [];\\n for (const result of sdkTranscriptEvent.transcript.results) {\\n const transcriptResult = {\\n channelId: result.channelId,\\n isPartial: result.isPartial,\\n resultId: result.resultId,\\n startTimeMs: result.startTime,\\n endTimeMs: result.endTime,\\n alternatives: [],\\n };\\n if (result.languageCode) {\\n transcriptResult.languageCode = result.languageCode;\\n }\\n if (result.languageIdentification && result.languageIdentification.length > 0) {\\n transcriptResult.languageIdentification = [];\\n for (const languageIdentification of result.languageIdentification) {\\n const transcriptLanguageWithScore = {\\n languageCode: languageIdentification.languageCode,\\n score: languageIdentification.score,\\n };\\n transcriptResult.languageIdentification.push(transcriptLanguageWithScore);\\n }\\n }\\n for (const alternative of result.alternatives) {\\n const transcriptAlternative = {\\n items: [],\\n transcript: alternative.transcript,\\n };\\n for (const item of alternative.items) {\\n const transcriptItem = {\\n content: item.content,\\n attendee: {\\n attendeeId: item.speakerAttendeeId,\\n externalUserId: item.speakerExternalUserId,\\n },\\n startTimeMs: item.startTime,\\n endTimeMs: item.endTime,\\n type: null,\\n };\\n if (item.vocabularyFilterMatch) {\\n transcriptItem.vocabularyFilterMatch = item.vocabularyFilterMatch;\\n }\\n if (item.hasOwnProperty('stable')) {\\n transcriptItem.stable = item.stable;\\n }\\n if (item.hasOwnProperty('confidence')) {\\n transcriptItem.confidence = item.confidence;\\n }\\n switch (item.type) {\\n case SignalingProtocol_1.SdkTranscriptItem.Type.PRONUNCIATION:\\n transcriptItem.type = TranscriptItemType_1.default.PRONUNCIATION;\\n break;\\n case SignalingProtocol_1.SdkTranscriptItem.Type.PUNCTUATION:\\n transcriptItem.type = TranscriptItemType_1.default.PUNCTUATION;\\n break;\\n }\\n transcriptAlternative.items.push(transcriptItem);\\n }\\n for (const entity of alternative.entities) {\\n if (!transcriptAlternative.entities) {\\n transcriptAlternative.entities = [];\\n }\\n const transcriptEntity = {\\n category: entity.category,\\n confidence: entity.confidence,\\n content: entity.content,\\n startTimeMs: entity.startTime,\\n endTimeMs: entity.endTime,\\n };\\n if (entity.type) {\\n transcriptEntity.type = entity.type;\\n }\\n transcriptAlternative.entities.push(transcriptEntity);\\n }\\n transcriptResult.alternatives.push(transcriptAlternative);\\n }\\n transcript.results.push(transcriptResult);\\n }\\n transcriptEvents.push(transcript);\\n }\\n }\\n return transcriptEvents;\\n }\\n}\\nexports.TranscriptEventConverter = TranscriptEventConverter;\\n//# sourceMappingURL=TranscriptEvent.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptEvent.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js ***!\n \\*****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptItem {\\n}\\nexports[\\\"default\\\"] = TranscriptItem;\\n//# sourceMappingURL=TranscriptItem.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItem.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js ***!\n \\*********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptItemType;\\n(function (TranscriptItemType) {\\n TranscriptItemType[\\\"PRONUNCIATION\\\"] = \\\"pronunciation\\\";\\n TranscriptItemType[\\\"PUNCTUATION\\\"] = \\\"punctuation\\\";\\n})(TranscriptItemType || (TranscriptItemType = {}));\\nexports[\\\"default\\\"] = TranscriptItemType;\\n//# sourceMappingURL=TranscriptItemType.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptItemType.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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* When using automatic language identification for streaming transcription,\\n* Amazon Transcribe provides the language codes of the identified languages and their associated confidence scores.\\n* languageCode refers to one of language code from the set of languageOptions provided during start transcription call\\n* score refers to the confidence score is a value between zero and one; a larger value indicates a higher confidence in the identified language.\\n* Sample LanguageWithScore would look similar to this :\\n* \\\"LanguageIdentification\\\": [\\n {\\n \\\"LanguageCode\\\": \\\"en-US\\\",\\n \\\"Score\\\": 0.805\\n },\\n {\\n \\\"LanguageCode\\\": \\\"ja-JP\\\",\\n \\\"Score\\\": 0.195\\n }\\n ]\\n*/\\nclass TranscriptLanguageWithScore {\\n}\\nexports[\\\"default\\\"] = TranscriptLanguageWithScore;\\n//# sourceMappingURL=TranscriptLanguageWithScore.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptLanguageWithScore.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptResult {\\n}\\nexports[\\\"default\\\"] = TranscriptResult;\\n//# sourceMappingURL=TranscriptResult.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptResult.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js ***!\n \\**********************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptionStatus {\\n}\\nexports[\\\"default\\\"] = TranscriptionStatus;\\n//# sourceMappingURL=TranscriptionStatus.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatus.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 TranscriptionStatusType;\\n(function (TranscriptionStatusType) {\\n TranscriptionStatusType[\\\"STARTED\\\"] = \\\"started\\\";\\n TranscriptionStatusType[\\\"INTERRUPTED\\\"] = \\\"interrupted\\\";\\n TranscriptionStatusType[\\\"RESUMED\\\"] = \\\"resumed\\\";\\n TranscriptionStatusType[\\\"STOPPED\\\"] = \\\"stopped\\\";\\n TranscriptionStatusType[\\\"FAILED\\\"] = \\\"failed\\\";\\n})(TranscriptionStatusType || (TranscriptionStatusType = {}));\\nexports[\\\"default\\\"] = TranscriptionStatusType;\\n//# sourceMappingURL=TranscriptionStatusType.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/transcript/TranscriptionStatusType.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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// Use \\\"ua-parser-js\\\" over \\\"detect-browser\\\" to get more detailed information.\\nconst ua_parser_js_1 = __webpack_require__(/*! ua-parser-js */ \\\"./node_modules/ua-parser-js/src/ua-parser.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\n/**\\n * [[DefaultUserAgentParser]] uses UAParser to parse the browser's user agent.\\n * It is responsible to hold and provide browser, OS and device specific information.\\n */\\nclass DefaultUserAgentParser {\\n constructor(logger) {\\n var _a, _b, _c, _d, _e, _f, _g;\\n try {\\n this.parserResult =\\n navigator && navigator.userAgent\\n ? new ua_parser_js_1.UAParser(navigator.userAgent).getResult()\\n : undefined;\\n }\\n catch (error) {\\n /* istanbul ignore next */\\n 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]) || DefaultUserAgentParser.UNAVAILABLE;\\n this.browserName = ((_d = this.parserResult) === null || _d === void 0 ? void 0 : _d.browser.name) || DefaultUserAgentParser.UNAVAILABLE;\\n this.browserVersion = ((_e = this.parserResult) === null || _e === void 0 ? void 0 : _e.browser.version) || DefaultUserAgentParser.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() || DefaultUserAgentParser.UNAVAILABLE;\\n }\\n getParserResult() {\\n var _a, _b;\\n return {\\n browserMajorVersion: this.browserMajorVersion,\\n browserName: this.browserName,\\n browserVersion: this.browserVersion,\\n deviceName: this.deviceName,\\n osName: ((_a = this.parserResult) === null || _a === void 0 ? void 0 : _a.os.name) || DefaultUserAgentParser.UNAVAILABLE,\\n osVersion: ((_b = this.parserResult) === null || _b === void 0 ? void 0 : _b.os.version) || DefaultUserAgentParser.UNAVAILABLE,\\n sdkVersion: Versioning_1.default.sdkVersion,\\n sdkName: Versioning_1.default.sdkName,\\n };\\n }\\n}\\nexports[\\\"default\\\"] = DefaultUserAgentParser;\\nDefaultUserAgentParser.UNAVAILABLE = 'Unavailable';\\n//# sourceMappingURL=DefaultUserAgentParser.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/useragentparser/DefaultUserAgentParser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 simple promise queue to enforce the order of async APIs for example, start/stop video/audio input.\\n */\\nclass PromiseQueue {\\n constructor() {\\n this.queue = Promise.resolve();\\n }\\n // eslint-disable-next-line\\n add(func) {\\n return new Promise((resolve, reject) => {\\n this.queue = this.queue.then(func).then(resolve).catch(reject);\\n });\\n }\\n}\\nexports[\\\"default\\\"] = PromiseQueue;\\n//# sourceMappingURL=PromiseQueue.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/utils/PromiseQueue.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/utils/Types.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/utils/Types.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.None = exports.Some = exports.Maybe = void 0;\\nclass Maybe {\\n static of(value) {\\n return value === undefined || value === null ? None.of() : Some.of(value);\\n }\\n}\\nexports.Maybe = Maybe;\\nclass Some {\\n constructor(value) {\\n this.value = value;\\n this.isSome = true;\\n this.isNone = false;\\n }\\n map(f) {\\n return Maybe.of(f(this.value));\\n }\\n flatMap(f) {\\n return f(this.value);\\n }\\n get() {\\n return this.value;\\n }\\n getOrElse(_value) {\\n return this.value;\\n }\\n defaulting(value) {\\n return Maybe.of(this.getOrElse(value));\\n }\\n static of(value) {\\n if (value === null || value === undefined) {\\n throw new Error('value is ${value}');\\n }\\n return new Some(value);\\n }\\n}\\nexports.Some = Some;\\nclass None {\\n constructor() {\\n this.isSome = false;\\n this.isNone = true;\\n }\\n get() {\\n throw new Error('value is null');\\n }\\n getOrElse(value) {\\n return value;\\n }\\n map(_f) {\\n return new None();\\n }\\n flatMap(_f) {\\n return new None();\\n }\\n defaulting(value) {\\n return Maybe.of(this.getOrElse(value));\\n }\\n static of() {\\n return new None();\\n }\\n}\\nexports.None = None;\\n//# sourceMappingURL=Types.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/utils/Types.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/utils/Utils.js ***!\n \\***************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.getFormattedOffset = exports.getDefaultAssetSpec = exports.toLowerCasePropertyNames = exports.isIFramed = exports.wait = void 0;\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nfunction wait(waitTimeMs) {\\n return new Promise(resolve => setTimeout(resolve, waitTimeMs));\\n}\\nexports.wait = wait;\\n// This is impossible to adequately test in Node, so Istanbul ignore.\\n/* istanbul ignore next */\\nfunction isIFramed() {\\n var _a;\\n // Same-origin iframes can check `nodeName`.\\n // We can also check whether the parent window and the top window are the same.\\n // Cross-origin iframes will throw on the `parent` check, so catch here.\\n try {\\n return ((_a = window.frameElement) === null || _a === void 0 ? void 0 : _a.nodeName) === 'IFRAME' || parent !== top;\\n }\\n catch (e) {\\n // Very likely to be a cross-origin iframe.\\n return true;\\n }\\n}\\nexports.isIFramed = isIFramed;\\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\\nfunction toLowerCasePropertyNames(input) {\\n if (input === null) {\\n return null;\\n }\\n else if (typeof input !== 'object') {\\n return input;\\n }\\n else if (Array.isArray(input)) {\\n return input.map(toLowerCasePropertyNames);\\n }\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n return Object.keys(input).reduce((result, key) => {\\n const value = input[key];\\n const newValue = typeof value === 'object' ? toLowerCasePropertyNames(value) : value;\\n result[key.toLowerCase()] = newValue;\\n return result;\\n }, {});\\n}\\nexports.toLowerCasePropertyNames = toLowerCasePropertyNames;\\n/**\\n * Based on the SDK version, return an asset group.\\n *\\n * @returns the default asset spec, based on the SDK version.\\n */\\nfunction getDefaultAssetSpec() {\\n const version = Versioning_1.default.sdkVersionSemVer;\\n return {\\n assetGroup: `sdk-${version.major}.${version.minor}`,\\n };\\n}\\nexports.getDefaultAssetSpec = getDefaultAssetSpec;\\n/**\\n * Get UTC offset in (+|-)HH:mm format\\n * E.g. For Asia/Calcutta timezone, +05:30 UTC offset value is returned\\n */\\nfunction getFormattedOffset(utcOffset) {\\n const offset = Math.abs(utcOffset);\\n const offsetOperator = utcOffset <= 0 ? '+' : '-';\\n const offsetHours = Math.floor(offset / 60)\\n .toString()\\n .padStart(2, '0');\\n const offsetMinutes = Math.floor(offset % 60)\\n .toString()\\n .padStart(2, '0');\\n return `${offsetOperator}${offsetHours}:${offsetMinutes}`;\\n}\\nexports.getFormattedOffset = getFormattedOffset;\\n//# sourceMappingURL=Utils.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/utils/Utils.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 version_1 = __webpack_require__(/*! ./version */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/version.js\\\");\\nclass Versioning {\\n /**\\n * Return string representation of SDK name\\n */\\n static get sdkName() {\\n return 'amazon-chime-sdk-js';\\n }\\n /**\\n * Return string representation of SDK version\\n */\\n static get sdkVersion() {\\n return version_1.default.semverString;\\n }\\n /**\\n * Returns the parts of the semver, so major/minor/patch can be extracted individually.\\n */\\n static get sdkVersionSemVer() {\\n var _a, _b, _c, _d;\\n const v = version_1.default.semverString.match(/^(?[0-9]+)\\\\.(?[0-9]+)((?:\\\\.(?[0-9]+))(?:-(?[a-zA-Z]+(\\\\.[0-9])*))?)?/);\\n return {\\n major: (_a = v === null || v === void 0 ? void 0 : v.groups) === null || _a === void 0 ? void 0 : _a.major,\\n minor: (_b = v === null || v === void 0 ? void 0 : v.groups) === null || _b === void 0 ? void 0 : _b.minor,\\n patch: (_c = v === null || v === void 0 ? void 0 : v.groups) === null || _c === void 0 ? void 0 : _c.patch,\\n preRelease: (_d = v === null || v === void 0 ? void 0 : v.groups) === null || _d === void 0 ? void 0 : _d.preRelease,\\n };\\n }\\n /**\\n * Return the SHA-1 of the Git commit from which this build was created.\\n */\\n static get buildSHA() {\\n // Skip the leading 'g'.\\n return version_1.default.hash.substr(1);\\n }\\n /**\\n * Return low-resolution string representation of SDK user agent (e.g. `chrome-78`)\\n */\\n static get sdkUserAgentLowResolution() {\\n const browserBehavior = new DefaultBrowserBehavior_1.default();\\n return `${browserBehavior.name()}-${browserBehavior.majorVersion()}`;\\n }\\n /**\\n * Return URL with versioning information appended\\n */\\n static urlWithVersion(url) {\\n const urlWithVersion = new URL(url);\\n urlWithVersion.searchParams.append(Versioning.X_AMZN_VERSION, Versioning.sdkVersion);\\n urlWithVersion.searchParams.append(Versioning.X_AMZN_USER_AGENT, Versioning.sdkUserAgentLowResolution);\\n return urlWithVersion.toString();\\n }\\n}\\nexports[\\\"default\\\"] = Versioning;\\nVersioning.X_AMZN_VERSION = 'X-Amzn-Version';\\nVersioning.X_AMZN_USER_AGENT = 'X-Amzn-User-Agent';\\n//# sourceMappingURL=Versioning.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/versioning/version.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/versioning/version.js ***!\n \\**********************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports[\\\"default\\\"] = {\\n \\\"hash\\\": \\\"bd71fb9\\\",\\n \\\"raw\\\": \\\"v3.14.1\\\",\\n \\\"semverString\\\": \\\"3.14.1\\\"\\n};\\n//# sourceMappingURL=version.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/versioning/version.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js\":\n/*!************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js ***!\n \\************************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoCaptureAndEncodeParameter {\\n constructor(cameraWidth, cameraHeight, cameraFrameRate, maxEncodeBitrateKbps, isSimulcast, scaleResolutionDownBy = 1) {\\n this.cameraWidth = cameraWidth;\\n this.cameraHeight = cameraHeight;\\n this.cameraFrameRate = cameraFrameRate;\\n this.maxEncodeBitrateKbps = maxEncodeBitrateKbps;\\n this.isSimulcast = isSimulcast;\\n this.scaleResolutionDownBy = scaleResolutionDownBy;\\n }\\n equal(other) {\\n let checkForEqual = other.captureWidth() === this.cameraWidth &&\\n other.captureHeight() === this.cameraHeight &&\\n other.captureFrameRate() === this.cameraFrameRate &&\\n other.encodeBitrates().length === this.encodeBitrates().length &&\\n other.encodeScaleResolutionDownBy().length === this.encodeScaleResolutionDownBy().length &&\\n other.encodeWidths().length === this.encodeWidths().length &&\\n other.encodeHeights().length === this.encodeHeights().length;\\n if (checkForEqual) {\\n for (let i = 0; i < other.encodeWidths().length; i++) {\\n if (other.encodeWidths()[i] !== this.encodeWidths()[i] ||\\n other.encodeHeights()[i] !== this.encodeHeights()[i] ||\\n other.encodeBitrates()[i] !== this.encodeBitrates()[i] ||\\n other.encodeScaleResolutionDownBy()[i] !== this.encodeScaleResolutionDownBy()[i]) {\\n checkForEqual = false;\\n return checkForEqual;\\n }\\n }\\n }\\n return checkForEqual;\\n }\\n clone() {\\n return new DefaultVideoCaptureAndEncodeParameter(this.cameraWidth, this.cameraHeight, this.cameraFrameRate, this.maxEncodeBitrateKbps, this.isSimulcast, this.scaleResolutionDownBy);\\n }\\n captureWidth() {\\n return this.cameraWidth;\\n }\\n captureHeight() {\\n return this.cameraHeight;\\n }\\n captureFrameRate() {\\n return this.cameraFrameRate;\\n }\\n encodeBitrates() {\\n // TODO: add simulcast layer\\n return [this.maxEncodeBitrateKbps];\\n }\\n encodeScaleResolutionDownBy() {\\n return [this.scaleResolutionDownBy];\\n }\\n encodeWidths() {\\n return [this.cameraWidth];\\n }\\n encodeHeights() {\\n return [this.cameraHeight];\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoCaptureAndEncodeParameter;\\n//# sourceMappingURL=DefaultVideoCaptureAndEncodeParameter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\n/**\\n * [[AllHighestVideoBandwidthPolicy]] implements is a rudimentary policy that simply\\n * always subscribes to the highest quality video stream available\\n * for all non-self participants.\\n */\\nclass AllHighestVideoBandwidthPolicy {\\n constructor(selfAttendeeId) {\\n this.selfAttendeeId = selfAttendeeId;\\n this.reset();\\n }\\n reset() {\\n this.optimalReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.subscribedReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.videoSources = undefined;\\n }\\n updateIndex(videoIndex) {\\n this.videoIndex = videoIndex;\\n this.optimalReceiveSet = this.calculateOptimalReceiveSet(videoIndex);\\n }\\n updateMetrics(_clientMetricReport) { }\\n wantsResubscribe() {\\n return !this.subscribedReceiveSet.equal(this.optimalReceiveSet);\\n }\\n chooseSubscriptions() {\\n this.subscribedReceiveSet = this.optimalReceiveSet.clone();\\n return this.subscribedReceiveSet.clone();\\n }\\n chooseRemoteVideoSources(videoSources) {\\n this.videoSources = videoSources;\\n this.optimalReceiveSet = this.calculateOptimalReceiveSet(this.videoIndex).clone();\\n }\\n calculateOptimalReceiveSet(videoIndex) {\\n const streamSelectionSet = new DefaultVideoStreamIdSet_1.default();\\n if (!this.videoIndex || this.videoIndex.allStreams().empty()) {\\n return streamSelectionSet;\\n }\\n const receiveSet = videoIndex.highestQualityStreamFromEachGroupExcludingSelf(this.selfAttendeeId);\\n // If video sources are not chosen, then return the default receive set.\\n if (this.videoSources === undefined) {\\n return receiveSet;\\n }\\n // Get the list of all the remote stream information\\n const remoteInfos = this.videoIndex.remoteStreamDescriptions();\\n const mapOfAttendeeIdToOptimalStreamId = new Map();\\n for (const info of remoteInfos) {\\n if (receiveSet.contain(info.streamId)) {\\n mapOfAttendeeIdToOptimalStreamId.set(info.attendeeId, info.streamId);\\n }\\n }\\n for (const videoSource of this.videoSources) {\\n const attendeeId = videoSource.attendee.attendeeId;\\n if (mapOfAttendeeIdToOptimalStreamId.has(attendeeId)) {\\n streamSelectionSet.add(mapOfAttendeeIdToOptimalStreamId.get(attendeeId));\\n }\\n }\\n return streamSelectionSet;\\n }\\n}\\nexports[\\\"default\\\"] = AllHighestVideoBandwidthPolicy;\\n//# sourceMappingURL=AllHighestVideoBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/AllHighestVideoBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\nclass NoVideoDownlinkBandwidthPolicy {\\n reset() { }\\n updateIndex(_videoIndex) { }\\n updateMetrics(_clientMetricReport) { }\\n wantsResubscribe() {\\n return false;\\n }\\n chooseSubscriptions() {\\n return new DefaultVideoStreamIdSet_1.default();\\n }\\n}\\nexports[\\\"default\\\"] = NoVideoDownlinkBandwidthPolicy;\\n//# sourceMappingURL=NoVideoDownlinkBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/NoVideoDownlinkBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js ***!\n \\**************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.TargetDisplaySize = void 0;\\n/**\\n * [[TargetDisplaySize]] represents the max resolution that a video stream can have when simulcast is enabled in priority based downlink policy.\\n * If there is only one stream being sent, then this field will get ignored. Its values currently parallel [[SimulcastLayers]].\\n */\\nvar TargetDisplaySize;\\n(function (TargetDisplaySize) {\\n /**\\n * Low resolution video stream.\\n */\\n TargetDisplaySize[TargetDisplaySize[\\\"Low\\\"] = 0] = \\\"Low\\\";\\n /**\\n * Medium resolution video stream.\\n */\\n TargetDisplaySize[TargetDisplaySize[\\\"Medium\\\"] = 1] = \\\"Medium\\\";\\n /**\\n * High resolution video stream.\\n */\\n TargetDisplaySize[TargetDisplaySize[\\\"High\\\"] = 2] = \\\"High\\\";\\n})(TargetDisplaySize = exports.TargetDisplaySize || (exports.TargetDisplaySize = {}));\\nexports[\\\"default\\\"] = TargetDisplaySize;\\n//# sourceMappingURL=TargetDisplaySize.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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\\\");\\nconst VideoPreference_1 = __webpack_require__(/*! ./VideoPreference */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js\\\");\\nconst VideoPreferences_1 = __webpack_require__(/*! ./VideoPreferences */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js\\\");\\nconst VideoPriorityBasedPolicy_1 = __webpack_require__(/*! ./VideoPriorityBasedPolicy */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js\\\");\\nclass VideoAdaptiveProbePolicy extends VideoPriorityBasedPolicy_1.default {\\n constructor(logger) {\\n super(logger);\\n this.logger = logger;\\n super.shouldPauseTiles = false;\\n this.videoPreferences = undefined;\\n }\\n reset() {\\n super.reset();\\n super.shouldPauseTiles = false;\\n this.videoPreferences = undefined;\\n }\\n updateIndex(videoIndex) {\\n super.updateIndex(videoIndex);\\n const newPreferences = VideoPreferences_1.VideoPreferences.prepare();\\n let containsContent = false;\\n const remoteInfos = videoIndex.remoteStreamDescriptions();\\n // If there is active content then set that as high priority, and the rest at lower\\n for (const info of remoteInfos) {\\n // I don't know why we need to do this duplicate check.\\n if (!newPreferences.some(preference => preference.attendeeId === info.attendeeId)) {\\n // For now always subscribe to content even if higher bandwidth then target\\n if (info.attendeeId.endsWith(ContentShareConstants_1.default.Modality)) {\\n newPreferences.add(new VideoPreference_1.default(info.attendeeId, 1));\\n containsContent = true;\\n }\\n else {\\n newPreferences.add(new VideoPreference_1.default(info.attendeeId, 2));\\n }\\n }\\n }\\n if (containsContent) {\\n this.videoPreferences = newPreferences.build();\\n this.videoPreferencesUpdated = true;\\n }\\n else {\\n this.videoPreferences = undefined;\\n }\\n }\\n /**\\n * [[VideoAdaptiveProbePolicy]] does not allow setting video preferences and this function\\n * will be a no-op. Please use [[VideoPriorityBasedPolicy]] directly if you would like to set\\n * preferences.\\n */\\n chooseRemoteVideoSources(_preferences) {\\n this.logger.error('chooseRemoteVideoSources should not be called by VideoAdaptiveProbePolicy');\\n return;\\n }\\n}\\nexports[\\\"default\\\"] = VideoAdaptiveProbePolicy;\\n//# sourceMappingURL=VideoAdaptiveProbePolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoAdaptiveProbePolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 TargetDisplaySize_1 = __webpack_require__(/*! ./TargetDisplaySize */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js\\\");\\nclass VideoPreference {\\n /** Initializes a [[VideoPreference]] with the given properties.\\n *\\n * @param attendeeId Attendee ID of the client\\n * @param priority The relative priority of this attendee against others.\\n * @param targetSize The desired maximum simulcast layers to receive.\\n */\\n constructor(attendeeId, priority, targetSize) {\\n this.attendeeId = attendeeId;\\n this.priority = priority;\\n this.targetSize = targetSize !== undefined ? targetSize : TargetDisplaySize_1.default.High;\\n }\\n partialCompare(other) {\\n return this.priority - other.priority;\\n }\\n equals(other) {\\n return (this.attendeeId === other.attendeeId &&\\n this.targetSize === other.targetSize &&\\n this.priority === other.priority);\\n }\\n clone() {\\n return new VideoPreference(this.attendeeId, this.priority, this.targetSize);\\n }\\n targetSizeToBitrateKbps(targetSize) {\\n switch (targetSize) {\\n case TargetDisplaySize_1.default.High:\\n return VideoPreference.HIGH_BITRATE_KBPS;\\n case TargetDisplaySize_1.default.Medium:\\n return VideoPreference.MID_BITRATE_KBPS;\\n case TargetDisplaySize_1.default.Low:\\n return VideoPreference.LOW_BITRATE_KBPS;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VideoPreference;\\nVideoPreference.LOW_BITRATE_KBPS = 300;\\nVideoPreference.MID_BITRATE_KBPS = 600;\\nVideoPreference.HIGH_BITRATE_KBPS = 1200;\\n//# sourceMappingURL=VideoPreference.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js\":\n/*!*************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js ***!\n \\*************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.VideoPreferences = exports.MutableVideoPreferences = void 0;\\nclass ObjectSet {\\n constructor(items = []) {\\n this.items = items;\\n }\\n static default() {\\n return new ObjectSet([]);\\n }\\n // Returns the items in sorted order.\\n [Symbol.iterator]() {\\n let i = 0;\\n const items = this.items;\\n return {\\n next() {\\n if (i < items.length) {\\n return {\\n done: false,\\n value: items[i++],\\n };\\n }\\n return {\\n done: true,\\n value: null,\\n };\\n },\\n };\\n }\\n first() {\\n return this.items[0];\\n }\\n add(item) {\\n // If this is used elsewhere, there needs to be a duplicate check here\\n this.items.push(item);\\n }\\n replaceFirst(newItem, f) {\\n const pos = this.items.findIndex(f);\\n if (pos === -1) {\\n // If this is used elsewhere, there needs to be a duplicate check here\\n this.items.push(newItem);\\n }\\n else if (!this.has(newItem)) {\\n this.items[pos] = newItem;\\n }\\n else {\\n this.items.splice(pos, 1);\\n }\\n }\\n remove(item) {\\n this.items = this.items.filter(a => !a.equals(item));\\n }\\n clear() {\\n this.items = [];\\n }\\n isEmpty() {\\n return this.items.length === 0;\\n }\\n equals(other) {\\n if (other === this) {\\n return true;\\n }\\n if (other.items.length !== this.items.length) {\\n return false;\\n }\\n // TODO: if we keep the arrays sorted correctly, not just by priority, then\\n // we don't need to do this painstaking O(n^2) work.\\n for (const item of this.items) {\\n if (!other.items.some(a => a.equals(item))) {\\n return false;\\n }\\n }\\n return true;\\n }\\n has(item) {\\n return this.items.some(a => a.equals(item));\\n }\\n some(f) {\\n return this.items.some(f);\\n }\\n clone() {\\n return new ObjectSet([...this.items]);\\n }\\n sort() {\\n this.items.sort((a, b) => a.partialCompare(b));\\n }\\n modify() {\\n // COW.\\n return new SetBuilder(this);\\n }\\n}\\nclass SetBuilder {\\n constructor(items = new ObjectSet()) {\\n this.items = items;\\n this.copied = false;\\n }\\n cow() {\\n if (this.copied) {\\n return;\\n }\\n this.items = this.items.clone();\\n this.copied = true;\\n }\\n add(item) {\\n // Don't actually need to COW unless the item is there to add.\\n if (this.items.has(item)) {\\n return;\\n }\\n this.cow();\\n this.items.add(item);\\n }\\n replaceFirst(newItem, f) {\\n // Don't actually need to COW unless the item is already there\\n // and there are no items to replace\\n if (this.items.has(newItem) && !this.items.some(f)) {\\n return;\\n }\\n this.cow();\\n this.items.replaceFirst(newItem, f);\\n }\\n remove(item) {\\n // Don't actually need to COW unless the item is there to remove.\\n if (!this.items.has(item)) {\\n return;\\n }\\n this.cow();\\n this.items.remove(item);\\n }\\n some(f) {\\n return this.items.some(f);\\n }\\n clear() {\\n if (this.items.isEmpty()) {\\n return;\\n }\\n this.cow();\\n this.items.clear();\\n }\\n build() {\\n // Immutable sets are always kept sorted!\\n if (this.copied) {\\n this.items.sort();\\n }\\n this.copied = false;\\n return this.items;\\n }\\n}\\nclass MutableVideoPreferences {\\n constructor(builder) {\\n this.builder = builder;\\n }\\n add(pref) {\\n this.builder.add(pref);\\n }\\n replaceFirst(newPref, f) {\\n this.builder.replaceFirst(newPref, f);\\n }\\n remove(pref) {\\n this.builder.remove(pref);\\n }\\n some(f) {\\n return this.builder.some(f);\\n }\\n clear() {\\n this.builder.clear();\\n }\\n build() {\\n return new VideoPreferences(this.builder.build());\\n }\\n}\\nexports.MutableVideoPreferences = MutableVideoPreferences;\\nclass VideoPreferences {\\n /** @internal */\\n constructor(items) {\\n this.items = items;\\n }\\n static prepare() {\\n return new MutableVideoPreferences(new SetBuilder());\\n }\\n static default() {\\n return new VideoPreferences(ObjectSet.default());\\n }\\n [Symbol.iterator]() {\\n return this.items[Symbol.iterator]();\\n }\\n highestPriority() {\\n var _a;\\n return (_a = this.items.first()) === null || _a === void 0 ? void 0 : _a.priority;\\n }\\n // Our items happen to always be sorted!\\n sorted() {\\n return this.items[Symbol.iterator]();\\n }\\n equals(other) {\\n return other === this || this.items.equals(other.items);\\n }\\n modify() {\\n return new MutableVideoPreferences(this.items.modify());\\n }\\n some(f) {\\n return this.items.some(f);\\n }\\n isEmpty() {\\n return this.items.isEmpty();\\n }\\n clone() {\\n const videoPreferences = VideoPreferences.prepare();\\n for (const preference of this.items) {\\n videoPreferences.add(preference.clone());\\n }\\n return videoPreferences.build();\\n }\\n}\\nexports.VideoPreferences = VideoPreferences;\\nexports[\\\"default\\\"] = VideoPreferences;\\n//# sourceMappingURL=VideoPreferences.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js\":\n/*!*********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js ***!\n \\*********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 ClientMetricReportDirection_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportDirection */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportDirection.js\\\");\\nconst ClientMetricReportMediaType_1 = __webpack_require__(/*! ../clientmetricreport/ClientMetricReportMediaType */ \\\"./node_modules/amazon-chime-sdk-js/build/clientmetricreport/ClientMetricReportMediaType.js\\\");\\nconst ContentShareConstants_1 = __webpack_require__(/*! ../contentsharecontroller/ContentShareConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/contentsharecontroller/ContentShareConstants.js\\\");\\nconst LogLevel_1 = __webpack_require__(/*! ../logger/LogLevel */ \\\"./node_modules/amazon-chime-sdk-js/build/logger/LogLevel.js\\\");\\nconst ServerSideNetworkAdaption_1 = __webpack_require__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\nconst DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\nconst TargetDisplaySize_1 = __webpack_require__(/*! ./TargetDisplaySize */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/TargetDisplaySize.js\\\");\\nconst VideoPreference_1 = __webpack_require__(/*! ./VideoPreference */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreference.js\\\");\\nconst VideoPreferences_1 = __webpack_require__(/*! ./VideoPreferences */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPreferences.js\\\");\\nconst VideoPriorityBasedPolicyConfig_1 = __webpack_require__(/*! ./VideoPriorityBasedPolicyConfig */ \\\"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js\\\");\\n/** @internal */\\nclass LinkMediaStats {\\n constructor() {\\n this.bandwidthEstimateKbps = 0;\\n this.usedBandwidthKbps = 0;\\n this.packetsLost = 0;\\n this.nackCount = 0;\\n this.rttMs = 0;\\n }\\n}\\nclass VideoPriorityBasedPolicy {\\n constructor(logger, videoPriorityBasedPolicyConfig = VideoPriorityBasedPolicyConfig_1.default.Default) {\\n this.logger = logger;\\n this.videoPriorityBasedPolicyConfig = videoPriorityBasedPolicyConfig;\\n this.shouldPauseTiles = true;\\n this.observerQueue = new Set();\\n this.pausedBwAttendeeIds = new Set();\\n this.reset();\\n }\\n reset() {\\n this.optimalReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.optimalReceiveStreams = [];\\n this.optimalNonPausedReceiveStreams = [];\\n this.subscribedReceiveSet = new DefaultVideoStreamIdSet_1.default();\\n this.subscribedReceiveStreams = [];\\n this.videoPreferences = undefined;\\n this.defaultVideoPreferences = undefined;\\n this.shouldPauseTiles = true;\\n this.pausedStreamIds = new DefaultVideoStreamIdSet_1.default();\\n this.pausedBwAttendeeIds = new Set();\\n this.videoPreferencesUpdated = false;\\n this.logCount = 0;\\n this.startupPeriod = true;\\n this.usingPrevTargetRate = false;\\n this.rateProbeState = \\\"Not Probing\\\" /* NotProbing */;\\n this.firstEstimateTimestamp = 0;\\n this.lastUpgradeRateKbps = 0;\\n this.timeBeforeAllowSubscribeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS;\\n this.lastProbeTimestamp = Date.now();\\n this.timeBeforeAllowProbeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS;\\n this.downlinkStats = new LinkMediaStats();\\n this.prevDownlinkStats = new LinkMediaStats();\\n this.probeFailed = false;\\n this.serverSideNetworkAdaption = this.videoPriorityBasedPolicyConfig.serverSideNetworkAdaption;\\n }\\n bindToTileController(tileController) {\\n this.tileController = tileController;\\n this.logger.info('tileController bound');\\n }\\n // This function allows setting preferences without the need to inherit from this class\\n // which would require not using the internal keyword\\n chooseRemoteVideoSources(preferences) {\\n var _a;\\n if ((_a = this.videoPreferences) === null || _a === void 0 ? void 0 : _a.equals(preferences)) {\\n return;\\n }\\n this.videoPreferences = preferences === null || preferences === void 0 ? void 0 : preferences.clone();\\n this.videoPreferencesUpdated = true;\\n this.logger.info(`bwe: setVideoPreferences bwe: new preferences: ${JSON.stringify(preferences)}`);\\n return;\\n }\\n updateIndex(videoIndex) {\\n this.videoIndex = videoIndex;\\n if (!this.videoPreferences) {\\n this.updateDefaultVideoPreferences();\\n }\\n }\\n updateDefaultVideoPreferences() {\\n const attendeeIds = new Set();\\n for (const stream of this.videoIndex.remoteStreamDescriptions()) {\\n attendeeIds.add(stream.attendeeId);\\n }\\n const prefs = VideoPreferences_1.VideoPreferences.prepare();\\n const numAttendees = attendeeIds.size;\\n let targetDisplaySize = TargetDisplaySize_1.default.High;\\n if (numAttendees > 8) {\\n targetDisplaySize = TargetDisplaySize_1.default.Low;\\n }\\n else if (numAttendees > 4) {\\n targetDisplaySize = TargetDisplaySize_1.default.Medium;\\n }\\n for (const attendeeId of attendeeIds) {\\n prefs.add(new VideoPreference_1.default(attendeeId, 1, targetDisplaySize));\\n }\\n this.defaultVideoPreferences = prefs.build();\\n }\\n updateMetrics(clientMetricReport) {\\n if (!this.videoIndex || this.videoIndex.allStreams().empty()) {\\n return;\\n }\\n this.prevDownlinkStats = this.downlinkStats;\\n this.downlinkStats = new LinkMediaStats();\\n const metricReport = clientMetricReport.getObservableMetrics();\\n // availableIncomingBitrate is the standard stat but is not available in Firefox yet so only Safari for now.\\n this.downlinkStats.bandwidthEstimateKbps = metricReport.availableIncomingBitrate / 1000;\\n for (const ssrcStr in clientMetricReport.streamMetricReports) {\\n const ssrc = Number.parseInt(ssrcStr, 10);\\n const metrics = clientMetricReport.streamMetricReports[ssrc];\\n if (metrics.direction === ClientMetricReportDirection_1.default.DOWNSTREAM && metrics.mediaType === ClientMetricReportMediaType_1.default.VIDEO) {\\n // Only use video stream metrics\\n if (metrics.currentMetrics.hasOwnProperty('nackCount')) {\\n this.downlinkStats.nackCount += clientMetricReport.countPerSecond('nackCount', ssrc);\\n }\\n if (metrics.currentMetrics.hasOwnProperty('packetsLost')) {\\n this.downlinkStats.packetsLost += clientMetricReport.countPerSecond('packetsLost', ssrc);\\n }\\n if (metrics.currentMetrics.hasOwnProperty('bytesReceived')) {\\n this.downlinkStats.usedBandwidthKbps +=\\n clientMetricReport.bitsPerSecond('bytesReceived', ssrc) / 1000;\\n }\\n }\\n }\\n }\\n wantsResubscribe() {\\n this.calculateOptimalReceiveSet();\\n return !this.subscribedReceiveSet.equal(this.optimalReceiveSet);\\n }\\n chooseSubscriptions() {\\n if (!this.subscribedReceiveSet.equal(this.optimalReceiveSet)) {\\n this.lastSubscribeTimestamp = Date.now();\\n }\\n this.subscribedReceiveSet = this.optimalReceiveSet.clone();\\n this.subscribedReceiveStreams = this.optimalReceiveStreams.slice();\\n return this.subscribedReceiveSet.clone();\\n }\\n addObserver(observer) {\\n this.observerQueue.add(observer);\\n }\\n removeObserver(observer) {\\n this.observerQueue.delete(observer);\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observerQueue) {\\n observerFunc(observer);\\n }\\n }\\n setVideoPriorityBasedPolicyConfigs(config) {\\n this.videoPriorityBasedPolicyConfig = config;\\n }\\n calculateOptimalReceiveStreams() {\\n var _a;\\n const chosenStreams = [];\\n const remoteInfos = this.videoIndex.remoteStreamDescriptions();\\n if (remoteInfos.length === 0 || ((_a = this.videoPreferences) === null || _a === void 0 ? void 0 : _a.isEmpty())) {\\n this.optimalReceiveStreams = [];\\n return;\\n }\\n const lastProbeState = this.rateProbeState;\\n this.cleanBwPausedTiles(remoteInfos);\\n this.handleAppPausedStreams(chosenStreams, remoteInfos);\\n const sameStreamChoices = this.availStreamsSameAsLast(remoteInfos);\\n const noMajorChange = !this.startupPeriod && sameStreamChoices;\\n // If no major changes then don't allow subscribes for the allowed amount of time\\n if (noMajorChange &&\\n Date.now() - this.lastSubscribeTimestamp < this.timeBeforeAllowSubscribeMs) {\\n return;\\n }\\n // Sort streams by bitrate ascending.\\n remoteInfos.sort((a, b) => {\\n if (a.maxBitrateKbps === b.maxBitrateKbps) {\\n return a.streamId - b.streamId;\\n }\\n return a.maxBitrateKbps - b.maxBitrateKbps;\\n });\\n // Convert 0 avg bitrates to max and handle special cases\\n for (const info of remoteInfos) {\\n if (info.avgBitrateKbps === 0 || info.avgBitrateKbps > info.maxBitrateKbps) {\\n // Content can be a special case\\n if (info.attendeeId.endsWith(ContentShareConstants_1.default.Modality) && info.maxBitrateKbps < 100) {\\n info.maxBitrateKbps = info.avgBitrateKbps;\\n }\\n else {\\n info.avgBitrateKbps = info.maxBitrateKbps;\\n }\\n }\\n }\\n const rates = {\\n targetDownlinkBitrate: 0,\\n chosenTotalBitrate: 0,\\n deltaToNextUpgrade: 0,\\n };\\n rates.targetDownlinkBitrate = this.determineTargetRate();\\n const numberOfParticipants = this.subscribedReceiveSet.size();\\n const currentEstimated = this.downlinkStats.bandwidthEstimateKbps;\\n // Use videoPriorityBasedPolicyConfig to add additional delays based on network conditions\\n const dontAllowSubscribe = !this.videoPriorityBasedPolicyConfig.allowSubscribe(numberOfParticipants, currentEstimated);\\n if (this.probeFailed) {\\n // When probe failed, we set timeBeforeAllowSubscribeMs to 3x longer\\n // Since we have passed the subscribe interval now, we will try to probe again\\n this.probeFailed = false;\\n // For the same reason above, reset time before allow subscribe to default\\n this.timeBeforeAllowSubscribeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS;\\n if (noMajorChange && dontAllowSubscribe)\\n return;\\n }\\n const upgradeStream = this.priorityPolicy(rates, remoteInfos, chosenStreams);\\n const skipProbe = this.serverSideNetworkAdaption !== ServerSideNetworkAdaption_1.default.None &&\\n this.serverSideNetworkAdaption !== ServerSideNetworkAdaption_1.default.Default;\\n let subscriptionChoice = 0 /* NewOptimal */;\\n // Look for probing or override opportunities\\n if (!skipProbe && !this.startupPeriod && sameStreamChoices) {\\n if (this.rateProbeState === \\\"Probing\\\" /* Probing */) {\\n subscriptionChoice = this.handleProbe(chosenStreams, rates.targetDownlinkBitrate);\\n }\\n else if (rates.deltaToNextUpgrade !== 0) {\\n subscriptionChoice = this.maybeOverrideOrProbe(chosenStreams, rates, upgradeStream);\\n }\\n }\\n else {\\n // If there was a change in streams to choose from, then cancel any probing or upgrades\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n this.lastUpgradeRateKbps = 0;\\n }\\n this.prevRemoteInfos = remoteInfos;\\n this.videoPreferencesUpdated = false;\\n if (subscriptionChoice === 1 /* PreviousOptimal */) {\\n this.logger.info(`bwe: keepSameSubscriptions stats:${JSON.stringify(this.downlinkStats)}`);\\n this.prevTargetRateKbps = rates.targetDownlinkBitrate;\\n return;\\n }\\n if (subscriptionChoice === 2 /* PreProbe */) {\\n const subscribedRate = this.calculateSubscribeRate(this.preProbeNonPausedReceiveStreams);\\n this.optimalReceiveStreams = this.preProbeReceiveStreams.slice();\\n this.processBwPausedStreams(remoteInfos, this.preProbeNonPausedReceiveStreams);\\n this.logger.info('bwe: Use Pre-Probe subscription subscribedRate:' + subscribedRate);\\n return;\\n }\\n this.optimalNonPausedReceiveStreams = chosenStreams.slice();\\n const lastNumberPaused = this.pausedBwAttendeeIds.size;\\n this.processBwPausedStreams(remoteInfos, chosenStreams);\\n if (this.logger.getLogLevel() <= LogLevel_1.LogLevel.INFO &&\\n (this.logCount % 15 === 0 ||\\n this.rateProbeState !== lastProbeState ||\\n this.optimalReceiveStreams.length !== chosenStreams.length ||\\n lastNumberPaused !== this.pausedBwAttendeeIds.size)) {\\n this.logger.info(this.policyStateLogStr(remoteInfos, rates.targetDownlinkBitrate));\\n this.logCount = 0;\\n }\\n this.logCount++;\\n this.prevTargetRateKbps = rates.targetDownlinkBitrate;\\n this.optimalReceiveStreams = chosenStreams.slice();\\n }\\n calculateOptimalReceiveSet() {\\n const streamSelectionSet = new DefaultVideoStreamIdSet_1.default();\\n this.calculateOptimalReceiveStreams();\\n for (const stream of this.optimalReceiveStreams) {\\n streamSelectionSet.add(stream.streamId);\\n }\\n if (!this.optimalReceiveSet.equal(streamSelectionSet)) {\\n const subscribedRate = this.calculateSubscribeRate(this.optimalReceiveStreams);\\n this.logger.info(`bwe: new streamSelection: ${JSON.stringify(streamSelectionSet)} subscribedRate:${subscribedRate}`);\\n }\\n this.optimalReceiveSet = streamSelectionSet;\\n }\\n determineTargetRate() {\\n let targetBitrate = 0;\\n const now = Date.now();\\n // Startup phase handling. During this period the estimate can be 0 or\\n // could still be slowly hunting for a steady state. This startup ramp up\\n // can cause a series of subscribes which can be distracting. During this\\n // time just use our configured default value\\n if (this.downlinkStats.bandwidthEstimateKbps !== 0) {\\n if (this.firstEstimateTimestamp === 0) {\\n this.firstEstimateTimestamp = now;\\n }\\n // handle startup state where estimator is still converging.\\n if (this.startupPeriod) {\\n // Drop out of startup period if\\n // - estimate is above default\\n // - get packet loss and have a valid estimate\\n // - startup period has expired and rate is not still increasing\\n if (this.downlinkStats.bandwidthEstimateKbps >\\n VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS ||\\n this.downlinkStats.packetsLost > 0 ||\\n (now - this.firstEstimateTimestamp > VideoPriorityBasedPolicy.STARTUP_PERIOD_MS &&\\n this.downlinkStats.bandwidthEstimateKbps <=\\n this.prevDownlinkStats.bandwidthEstimateKbps)) {\\n this.startupPeriod = false;\\n this.prevTargetRateKbps = this.downlinkStats.bandwidthEstimateKbps;\\n }\\n }\\n // If we are in the startup period and we haven't detected any packet loss, then\\n // keep it at the default to let the estimation get to a steady state\\n if (this.startupPeriod) {\\n targetBitrate = VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS;\\n }\\n else {\\n // We rely on our target bitrate being above what we are receiving to mark a probe as complete,\\n // however in browsers, the estimate can heavily lag behind the actual receive rate, especially when low.\\n //\\n // To mitigate this we override with the actual estimate plus some buffer if we aren't seeing packet loss.\\n if (this.rateProbeState === \\\"Probing\\\" /* Probing */ &&\\n this.downlinkStats.usedBandwidthKbps > this.downlinkStats.bandwidthEstimateKbps &&\\n this.downlinkStats.packetsLost < VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD) {\\n this.logger.info(`bwe: In probe state, overriding estimate ${this.downlinkStats.bandwidthEstimateKbps} with actual receive bitrate ${this.downlinkStats.usedBandwidthKbps}`);\\n targetBitrate =\\n this.downlinkStats.usedBandwidthKbps +\\n VideoPriorityBasedPolicy.USED_BANDWIDTH_OVERRIDE_BUFFER_KBPS;\\n }\\n else {\\n targetBitrate = this.downlinkStats.bandwidthEstimateKbps;\\n }\\n }\\n }\\n else {\\n if (this.firstEstimateTimestamp === 0) {\\n targetBitrate = VideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS;\\n }\\n else {\\n targetBitrate = this.prevTargetRateKbps;\\n }\\n }\\n // Estimated downlink rate can follow actual bandwidth or fall for a short period of time\\n // due to the absolute send time estimator incorrectly thinking that a delay in packets is\\n // a precursor to packet loss. We have seen too many false positives on this, so we\\n // will ignore largish drops in the estimate if there is no packet loss\\n if (!this.startupPeriod &&\\n ((this.usingPrevTargetRate &&\\n this.downlinkStats.bandwidthEstimateKbps < this.prevTargetRateKbps) ||\\n this.downlinkStats.bandwidthEstimateKbps <\\n (this.prevTargetRateKbps *\\n (100 - VideoPriorityBasedPolicy.LARGE_RATE_CHANGE_TRIGGER_PERCENT)) /\\n 100 ||\\n this.downlinkStats.bandwidthEstimateKbps <\\n (this.downlinkStats.usedBandwidthKbps *\\n VideoPriorityBasedPolicy.LARGE_RATE_CHANGE_TRIGGER_PERCENT) /\\n 100) &&\\n this.downlinkStats.packetsLost === 0) {\\n // Set target to be the same as last\\n this.logger.debug(() => {\\n return 'bwe: ValidateRate: Using Previous rate ' + this.prevTargetRateKbps;\\n });\\n this.usingPrevTargetRate = true;\\n targetBitrate = this.prevTargetRateKbps;\\n }\\n else {\\n this.usingPrevTargetRate = false;\\n }\\n return targetBitrate;\\n }\\n setProbeState(newState) {\\n if (this.rateProbeState === newState) {\\n return false;\\n }\\n const now = Date.now();\\n switch (newState) {\\n case \\\"Not Probing\\\" /* NotProbing */:\\n this.probePendingStartTimestamp = 0;\\n break;\\n case \\\"Probe Pending\\\" /* ProbePending */:\\n if (this.lastProbeTimestamp === 0 ||\\n now - this.lastProbeTimestamp > VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS) {\\n this.probePendingStartTimestamp = now;\\n }\\n else {\\n // Too soon to do a probe again\\n return false;\\n }\\n break;\\n case \\\"Probing\\\" /* Probing */:\\n if (now - this.probePendingStartTimestamp > this.timeBeforeAllowProbeMs) {\\n this.lastProbeTimestamp = now;\\n this.preProbeReceiveStreams = this.subscribedReceiveStreams.slice();\\n this.preProbeNonPausedReceiveStreams = this.optimalNonPausedReceiveStreams;\\n // Increase the time allowed until the next probe\\n this.timeBeforeAllowProbeMs = Math.min(this.timeBeforeAllowProbeMs * 2, VideoPriorityBasedPolicy.MAX_HOLD_BEFORE_PROBE_MS);\\n }\\n else {\\n // Too soon to do probe\\n return false;\\n }\\n break;\\n }\\n this.logger.info('bwe: setProbeState to ' + newState + ' from ' + this.rateProbeState);\\n this.rateProbeState = newState;\\n return true;\\n }\\n // Upgrade the stream id from the appropriate group or add it if it wasn't already in the list.\\n // Return the added amount of bandwidth\\n upgradeToStream(chosenStreams, upgradeStream) {\\n for (let i = 0; i < chosenStreams.length; i++) {\\n if (chosenStreams[i].groupId === upgradeStream.groupId) {\\n const diffRate = upgradeStream.avgBitrateKbps - chosenStreams[i].avgBitrateKbps;\\n this.logger.info('bwe: upgradeStream from ' + JSON.stringify(chosenStreams[i]) + ' to ' + upgradeStream);\\n this.lastUpgradeRateKbps = diffRate;\\n chosenStreams[i] = upgradeStream;\\n return diffRate;\\n }\\n }\\n // We are adding a stream and not upgrading.\\n chosenStreams.push(upgradeStream);\\n this.lastUpgradeRateKbps = upgradeStream.avgBitrateKbps;\\n return this.lastUpgradeRateKbps;\\n }\\n // Do specific behavior while we are currently in probing state and metrics\\n // indicate environment is still valid to do probing.\\n // Return true if the caller should not change from the previous subscriptions.\\n handleProbe(chosenStreams, targetDownlinkBitrate) {\\n // Don't allow probe to happen indefinitely\\n if (Date.now() - this.lastProbeTimestamp > VideoPriorityBasedPolicy.MAX_ALLOWED_PROBE_TIME_MS) {\\n this.logger.info(`bwe: Canceling probe due to timeout`);\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n return 0 /* NewOptimal */;\\n }\\n if (this.downlinkStats.packetsLost > 0) {\\n this.logger.info(`bwe: Probe encountering packets lost:${this.downlinkStats.packetsLost}`);\\n // See comment above `VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD`\\n if (this.downlinkStats.packetsLost > VideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD) {\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n this.logger.info(`bwe: Canceling probe due to packets lost:${this.downlinkStats.packetsLost}`);\\n this.probeFailed = true;\\n this.timeBeforeAllowSubscribeMs =\\n Math.max(VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS, this.timeBeforeAllowSubscribeMs) * 3;\\n // packet lost indicates bad network and thus slowing down subscribing by extend delay by 3 times\\n return 2 /* PreProbe */;\\n }\\n }\\n const subscribedRate = this.calculateSubscribeRate(this.optimalReceiveStreams);\\n if (this.chosenStreamsSameAsLast(chosenStreams) || targetDownlinkBitrate > subscribedRate) {\\n this.logger.info(`bwe: Probe successful`);\\n // If target bitrate can sustain probe rate, then probe was successful.\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n // Reset the time allowed between probes since this was successful\\n this.timeBeforeAllowProbeMs = VideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS;\\n return 0 /* NewOptimal */;\\n }\\n return 1 /* PreviousOptimal */;\\n }\\n maybeOverrideOrProbe(chosenStreams, rates, upgradeStream) {\\n const sameSubscriptions = this.chosenStreamsSameAsLast(chosenStreams);\\n let useLastSubscriptions = 0 /* NewOptimal */;\\n // We want to minimize thrashing between between low res and high res of different\\n // participants due to avg bitrate fluctuations. If there hasn't been much of a change in estimated bandwidth\\n // and the number of streams and their max rates are the same, then reuse the previous subscription\\n const triggerPercent = rates.targetDownlinkBitrate > VideoPriorityBasedPolicy.LOW_BITRATE_THRESHOLD_KBPS\\n ? VideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT\\n : VideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT * 2;\\n const minTargetBitrateDelta = (rates.targetDownlinkBitrate * triggerPercent) / 100;\\n this.targetRateBaselineForDeltaCheckKbps =\\n this.targetRateBaselineForDeltaCheckKbps !== undefined\\n ? this.targetRateBaselineForDeltaCheckKbps\\n : this.prevTargetRateKbps;\\n if (!sameSubscriptions &&\\n Math.abs(rates.targetDownlinkBitrate - this.targetRateBaselineForDeltaCheckKbps) <\\n minTargetBitrateDelta) {\\n this.logger.info('bwe: MaybeOverrideOrProbe: Reuse last decision based on delta rate. {' +\\n JSON.stringify(this.subscribedReceiveSet) +\\n `}`);\\n useLastSubscriptions = 1 /* PreviousOptimal */;\\n }\\n else {\\n this.targetRateBaselineForDeltaCheckKbps = rates.targetDownlinkBitrate;\\n }\\n // If there has been packet loss, then reset to no probing state\\n if (this.downlinkStats.packetsLost > this.prevDownlinkStats.packetsLost) {\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n this.lastUpgradeRateKbps = 0;\\n return useLastSubscriptions;\\n }\\n if (sameSubscriptions || useLastSubscriptions === 1 /* PreviousOptimal */) {\\n // If planned subscriptions are same as last, then either move to probe pending state\\n // or move to probing state if enough time has passed.\\n switch (this.rateProbeState) {\\n case \\\"Not Probing\\\" /* NotProbing */:\\n this.setProbeState(\\\"Probe Pending\\\" /* ProbePending */);\\n break;\\n case \\\"Probe Pending\\\" /* ProbePending */:\\n if (this.setProbeState(\\\"Probing\\\" /* Probing */)) {\\n this.upgradeToStream(chosenStreams, upgradeStream);\\n useLastSubscriptions = 0 /* NewOptimal */;\\n }\\n break;\\n }\\n }\\n else {\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */);\\n }\\n return useLastSubscriptions;\\n }\\n // Utility function to find max rate of streams in current decision\\n calculateSubscribeRate(streams) {\\n let subscribeRate = 0;\\n for (const stream of streams) {\\n if (!this.pausedStreamIds.contain(stream.streamId) &&\\n !this.pausedBwAttendeeIds.has(stream.attendeeId)) {\\n subscribeRate += stream.maxBitrateKbps;\\n }\\n }\\n return subscribeRate;\\n }\\n handleAppPausedStreams(chosenStreams, remoteInfos) {\\n if (!this.tileController) {\\n this.logger.warn('tileController not found!');\\n return;\\n }\\n this.pausedStreamIds = new DefaultVideoStreamIdSet_1.default();\\n const remoteTiles = this.tileController.getAllRemoteVideoTiles();\\n for (const tile of remoteTiles) {\\n const state = tile.state();\\n if (state.paused && !this.pausedBwAttendeeIds.has(state.boundAttendeeId)) {\\n let j = remoteInfos.length;\\n while (j--) {\\n if (remoteInfos[j].attendeeId === state.boundAttendeeId) {\\n this.logger.info('bwe: removed paused attendee ' +\\n state.boundAttendeeId +\\n ' streamId: ' +\\n remoteInfos[j].streamId);\\n this.pausedStreamIds.add(remoteInfos[j].streamId);\\n // Add the stream to the selection set to keep the tile around\\n if (this.subscribedReceiveSet.contain(remoteInfos[j].streamId)) {\\n chosenStreams.push(remoteInfos[j]);\\n }\\n remoteInfos.splice(j, 1);\\n }\\n }\\n }\\n }\\n }\\n processBwPausedStreams(remoteInfos, chosenStreams) {\\n if (!this.tileController) {\\n this.logger.warn('tileController not found!');\\n return;\\n }\\n const preferences = this.getCurrentVideoPreferences();\\n if (preferences && this.shouldPauseTiles) {\\n const videoTiles = this.tileController.getAllVideoTiles();\\n for (const preference of preferences) {\\n const videoTile = this.getVideoTileForAttendeeId(preference.attendeeId, videoTiles);\\n const paused = (videoTile === null || videoTile === void 0 ? void 0 : videoTile.state().paused) || false;\\n if (!chosenStreams.some(stream => stream.attendeeId === preference.attendeeId)) {\\n // We cannot rely on the existance of video tile to indicate that the source exists in the call\\n // because tiles will not be added or removed until after a full renegotiation (i.e. it will\\n // be behind the state provided by the index)\\n const streamExists = remoteInfos.some(stream => stream.attendeeId === preference.attendeeId);\\n if (videoTile && streamExists) {\\n const info = this.optimalReceiveStreams.find(stream => stream.attendeeId === preference.attendeeId);\\n if (info !== undefined) {\\n if (!paused) {\\n this.logger.info(`bwe: pausing streamId ${info.streamId} attendee ${preference.attendeeId} due to bandwidth`);\\n this.forEachObserver(observer => {\\n observer.tileWillBePausedByDownlinkPolicy(videoTile.id());\\n });\\n this.tileController.pauseVideoTile(videoTile.id());\\n }\\n chosenStreams.push(info);\\n }\\n this.pausedBwAttendeeIds.add(preference.attendeeId);\\n }\\n else if (streamExists) {\\n // Create a tile for this participant if one doesn't already exist and mark it as paused\\n // Don't include it in the chosen streams because we don't want to subscribe for it then have to pause it.\\n const newTile = this.tileController.addVideoTile();\\n newTile.bindVideoStream(preference.attendeeId, false, null, 0, 0, 0, null);\\n this.forEachObserver(observer => {\\n observer.tileWillBePausedByDownlinkPolicy(newTile.id());\\n });\\n newTile.pause();\\n this.logger.info(`bwe: Created video tile ${newTile.id()} for bw paused attendee ${preference.attendeeId}`);\\n this.pausedBwAttendeeIds.add(preference.attendeeId);\\n }\\n }\\n else if (paused && this.pausedBwAttendeeIds.has(preference.attendeeId)) {\\n this.logger.info(`bwe: unpausing attendee ${preference.attendeeId} due to bandwidth`);\\n this.forEachObserver(observer => {\\n observer.tileWillBeUnpausedByDownlinkPolicy(videoTile.id());\\n });\\n this.tileController.unpauseVideoTile(videoTile.id());\\n this.pausedBwAttendeeIds.delete(preference.attendeeId);\\n }\\n }\\n }\\n }\\n cleanBwPausedTiles(remoteInfos) {\\n if (!this.tileController) {\\n this.logger.warn('tileController not found!');\\n return;\\n }\\n const tiles = this.tileController.getAllRemoteVideoTiles();\\n const preferences = this.getCurrentVideoPreferences();\\n for (const tile of tiles) {\\n const state = tile.state();\\n if (!state.boundVideoStream) {\\n if (!remoteInfos.some(stream => stream.attendeeId === state.boundAttendeeId)) {\\n this.tileController.removeVideoTile(state.tileId);\\n this.logger.info(`bwe: Removed video tile ${state.tileId} for bw paused attendee ${state.boundAttendeeId}`);\\n }\\n else if (preferences !== undefined &&\\n !preferences.some(pref => pref.attendeeId === state.boundAttendeeId)) {\\n this.tileController.removeVideoTile(state.tileId);\\n }\\n }\\n }\\n }\\n priorityPolicy(rates, remoteInfos, chosenStreams) {\\n let upgradeStream;\\n const videoPreferences = this.getCurrentVideoPreferences();\\n const highestPriority = videoPreferences.highestPriority();\\n let nextPriority;\\n let priority = highestPriority;\\n while (priority !== -1) {\\n nextPriority = -1;\\n for (const preference of videoPreferences) {\\n if (preference.priority === priority) {\\n // First subscribe to at least low rate\\n for (const info of remoteInfos) {\\n if (info.attendeeId === preference.attendeeId) {\\n if (!chosenStreams.some(stream => stream.groupId === info.groupId)) {\\n if (rates.chosenTotalBitrate + info.avgBitrateKbps <= rates.targetDownlinkBitrate) {\\n chosenStreams.push(info);\\n rates.chosenTotalBitrate += info.avgBitrateKbps;\\n }\\n else if (rates.deltaToNextUpgrade === 0) {\\n // Keep track of step to next upgrade\\n rates.deltaToNextUpgrade = info.avgBitrateKbps;\\n upgradeStream = info;\\n }\\n }\\n }\\n }\\n }\\n else {\\n if (preference.priority > priority) {\\n nextPriority = preference.priority;\\n break;\\n }\\n }\\n }\\n // Now try to upgrade all attendee's with this priority\\n for (const preference of videoPreferences) {\\n if (preference.priority === priority) {\\n for (const info of remoteInfos) {\\n if (info.attendeeId === preference.attendeeId) {\\n const index = chosenStreams.findIndex(stream => stream.groupId === info.groupId && stream.maxBitrateKbps < info.maxBitrateKbps);\\n if (index !== -1) {\\n const increaseKbps = info.avgBitrateKbps - chosenStreams[index].avgBitrateKbps;\\n if (this.hasSimulcastStreams(remoteInfos, info.attendeeId, info.groupId) &&\\n this.canUpgrade(info.avgBitrateKbps, preference.targetSize, preference.targetSizeToBitrateKbps(preference.targetSize), info.attendeeId.endsWith(ContentShareConstants_1.default.Modality))) {\\n this.logger.info(`bwe: attendee: ${info.attendeeId} group: ${info.groupId} has simulcast and can upgrade avgBitrate: ${info.avgBitrateKbps} target: ${preference.targetSizeToBitrateKbps(preference.targetSize)} targetTotalBitrate: ${rates.targetDownlinkBitrate}`);\\n if (rates.chosenTotalBitrate + increaseKbps <= rates.targetDownlinkBitrate) {\\n rates.chosenTotalBitrate += increaseKbps;\\n chosenStreams[index] = info;\\n }\\n else if (rates.deltaToNextUpgrade === 0) {\\n // Keep track of step to next upgrade\\n rates.deltaToNextUpgrade = increaseKbps;\\n upgradeStream = info;\\n }\\n }\\n else {\\n this.logger.info('bwe: cannot upgrade stream quality beyond target size');\\n }\\n }\\n }\\n }\\n }\\n else {\\n if (preference.priority > priority) {\\n break;\\n }\\n }\\n }\\n // If we haven't subscribed to the highest rate of the top priority videos then\\n // do not subscribe to any other sources\\n if (priority === highestPriority && rates.deltaToNextUpgrade !== 0) {\\n break;\\n }\\n priority = nextPriority;\\n }\\n return upgradeStream;\\n }\\n getVideoTileForAttendeeId(attendeeId, videoTiles) {\\n for (const tile of videoTiles) {\\n const state = tile.state();\\n if (state.boundAttendeeId === attendeeId) {\\n return tile;\\n }\\n }\\n return null;\\n }\\n canUpgrade(bitrateKbp, targetResolution, targetBitrateKbp, isContent) {\\n // For content share, even if the higher quality stream has a high max bitrate of 1200 kbps for example\\n // the avg bitrate can be way lower so have to make sure that we do not update to a higher bitrate than the\\n // target value.\\n // This does not apply to video as video uplink bandwidth could change the max bitrate value without resubscribing\\n // so the max bitrate value might not be up-to-date on the downlink side. Also in the case of video, the avg\\n // bitrate is close to the actual max bitrate.\\n let canUpgrade = false;\\n if (isContent) {\\n // Content simulcast only have 2 layers right now so we always upgrade if the target resolution is high and\\n // skip if the target resolution is low. If the target resolution is medium then fall back to use avg bitrate\\n // as video.\\n if (targetResolution === TargetDisplaySize_1.default.High) {\\n canUpgrade = true;\\n }\\n else if (targetResolution === TargetDisplaySize_1.default.Medium && bitrateKbp <= targetBitrateKbp) {\\n canUpgrade = true;\\n }\\n }\\n else if (bitrateKbp <= targetBitrateKbp) {\\n canUpgrade = true;\\n }\\n if (canUpgrade) {\\n this.logger.info(`bwe: canUpgrade: bitrateKbp: ${bitrateKbp} targetBitrateKbp: ${targetBitrateKbp}`);\\n return true;\\n }\\n this.logger.info(`bwe: cannot Upgrade: bitrateKbp: ${bitrateKbp} targetBitrateKbp: ${targetBitrateKbp}`);\\n return false;\\n }\\n hasSimulcastStreams(remoteInfos, attendeeId, groupId) {\\n let streamCount = 0;\\n for (const info of remoteInfos) {\\n if (info.attendeeId === attendeeId && info.groupId === groupId) {\\n streamCount++;\\n }\\n }\\n this.logger.info(`bwe: attendeeId: ${attendeeId} groupId: ${groupId} hasSimulcastStreams: streamCount: ${streamCount}`);\\n return streamCount > 1;\\n }\\n availStreamsSameAsLast(remoteInfos) {\\n if (this.prevRemoteInfos === undefined ||\\n remoteInfos.length !== this.prevRemoteInfos.length ||\\n this.videoPreferencesUpdated === true) {\\n return false;\\n }\\n for (const info of remoteInfos) {\\n const infoMatch = this.prevRemoteInfos.find(prevInfo => prevInfo.groupId === info.groupId &&\\n prevInfo.streamId === info.streamId &&\\n prevInfo.maxBitrateKbps === info.maxBitrateKbps);\\n if (infoMatch === undefined) {\\n return false;\\n }\\n }\\n return true;\\n }\\n chosenStreamsSameAsLast(chosenStreams) {\\n if (this.optimalNonPausedReceiveStreams.length !== chosenStreams.length) {\\n return false;\\n }\\n for (const lastStream of this.optimalNonPausedReceiveStreams) {\\n if (!chosenStreams.some(stream => stream.streamId === lastStream.streamId)) {\\n return false;\\n }\\n }\\n return true;\\n }\\n policyStateLogStr(remoteInfos, targetDownlinkBitrate) {\\n const subscribedRate = this.calculateSubscribeRate(this.optimalReceiveStreams);\\n const optimalReceiveSet = {\\n targetBitrate: targetDownlinkBitrate,\\n subscribedRate: subscribedRate,\\n probeState: this.rateProbeState,\\n startupPeriod: this.startupPeriod,\\n };\\n // Reduced remote info logging:\\n let remoteInfoStr = `remoteInfos: [`;\\n for (const info of remoteInfos) {\\n remoteInfoStr += `{grpId:${info.groupId} strId:${info.streamId} maxBr:${info.maxBitrateKbps} avgBr:${info.avgBitrateKbps}}, `;\\n }\\n remoteInfoStr += `]`;\\n let logString = `bwe: optimalReceiveSet ${JSON.stringify(optimalReceiveSet)}\\\\n` +\\n `bwe: prev ${JSON.stringify(this.prevDownlinkStats)}\\\\n` +\\n `bwe: now ${JSON.stringify(this.downlinkStats)}\\\\n` +\\n `bwe: ${remoteInfoStr}\\\\n`;\\n if (this.pausedStreamIds.size() > 0 || this.pausedBwAttendeeIds.size > 0) {\\n logString += `bwe: paused: app stream ids ${JSON.stringify(this.pausedStreamIds)} bw attendees { ${Array.from(this.pausedBwAttendeeIds).join(' ')} }\\\\n`;\\n }\\n if (this.videoPreferences) {\\n logString += `bwe: preferences: ${JSON.stringify(this.videoPreferences)}`;\\n }\\n else {\\n logString += `bwe: default preferences: ${JSON.stringify(this.defaultVideoPreferences)}`;\\n }\\n return logString;\\n }\\n getCurrentVideoPreferences() {\\n return this.videoPreferences || this.defaultVideoPreferences;\\n }\\n getServerSideNetworkAdaption() {\\n return this.serverSideNetworkAdaption;\\n }\\n setServerSideNetworkAdaption(adaption) {\\n this.serverSideNetworkAdaption = adaption;\\n this.setProbeState(\\\"Not Probing\\\" /* NotProbing */); // In case we were probing\\n }\\n supportedServerSideNetworkAdaptions() {\\n return [ServerSideNetworkAdaption_1.default.None, ServerSideNetworkAdaption_1.default.BandwidthProbing];\\n }\\n getVideoPreferences() {\\n let preferences = this.getCurrentVideoPreferences();\\n if (!preferences) {\\n const dummyPreferences = VideoPreferences_1.VideoPreferences.prepare();\\n // Can't be undefined, occasionally the audio video controller\\n // will call this function before the first index is received\\n preferences = dummyPreferences.build();\\n }\\n return preferences;\\n }\\n}\\nexports[\\\"default\\\"] = VideoPriorityBasedPolicy;\\nVideoPriorityBasedPolicy.DEFAULT_BANDWIDTH_KBPS = 2800;\\nVideoPriorityBasedPolicy.STARTUP_PERIOD_MS = 6000;\\nVideoPriorityBasedPolicy.LARGE_RATE_CHANGE_TRIGGER_PERCENT = 20;\\nVideoPriorityBasedPolicy.TARGET_RATE_CHANGE_TRIGGER_PERCENT = 15;\\nVideoPriorityBasedPolicy.LOW_BITRATE_THRESHOLD_KBPS = 300;\\nVideoPriorityBasedPolicy.MIN_TIME_BETWEEN_PROBE_MS = 5000;\\nVideoPriorityBasedPolicy.MIN_TIME_BETWEEN_SUBSCRIBE_MS = 2000;\\n// We apply exponentional backoff to probe attempts if they do not\\n// succeed, so we need to set a reasonable maximum.\\nVideoPriorityBasedPolicy.MAX_HOLD_BEFORE_PROBE_MS = 30000;\\nVideoPriorityBasedPolicy.MAX_ALLOWED_PROBE_TIME_MS = 60000;\\n// Occasionally we see that on unpause or upgrade we see a single packet lost\\n// or two, even in completely unconstrained scenarios. We should look into\\n// why this occurs on the backend, but for now we require a non-trivial\\n// amount of packets lost to fail the probe. These could also be from\\n// other senders given we don't yet use TWCC.\\nVideoPriorityBasedPolicy.SPURIOUS_PACKET_LOST_THRESHOLD = 2;\\n// See usage\\nVideoPriorityBasedPolicy.USED_BANDWIDTH_OVERRIDE_BUFFER_KBPS = 100;\\n//# sourceMappingURL=VideoPriorityBasedPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js ***!\n \\***************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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__(/*! ../signalingclient/ServerSideNetworkAdaption */ \\\"./node_modules/amazon-chime-sdk-js/build/signalingclient/ServerSideNetworkAdaption.js\\\");\\n/**\\n * [[VideoPriorityBasedPolicyConfig]] contains the network issue response delay and network issue recovery delay.\\n */\\nclass VideoPriorityBasedPolicyConfig {\\n /** Initializes a [[VideoPriorityBasedPolicyConfig]] with the network event delays.\\n *\\n * @param networkIssueResponseDelayFactor Delays before reducing subscribed video bitrate. Input should be a value between 0 and 1.\\n * @param networkIssueRecoveryDelayFactor Delays before starting to increase bitrates after a network event and\\n * delays between increasing video bitrates on each individual stream. Input should be a value between 0 and 1.\\n */\\n constructor(networkIssueResponseDelayFactor = 0, networkIssueRecoveryDelayFactor = 0) {\\n this.networkIssueResponseDelayFactor = networkIssueResponseDelayFactor;\\n this.networkIssueRecoveryDelayFactor = networkIssueRecoveryDelayFactor;\\n this.currentNetworkEvent = 0 /* Stable */;\\n this.bandwidthDecreaseTimestamp = 0; // the last time bandwidth decreases\\n this.referenceBitrate = 0;\\n /**\\n * Additional server side features to be enabled for network adaption. This\\n * may be overridden by the server.\\n */\\n this.serverSideNetworkAdaption = ServerSideNetworkAdaption_1.default.Default;\\n if (networkIssueResponseDelayFactor < 0) {\\n networkIssueResponseDelayFactor = 0;\\n }\\n else if (networkIssueResponseDelayFactor > 1) {\\n networkIssueResponseDelayFactor = 1;\\n }\\n this.networkIssueResponseDelayFactor = networkIssueResponseDelayFactor;\\n if (networkIssueRecoveryDelayFactor < 0) {\\n networkIssueRecoveryDelayFactor = 0;\\n }\\n else if (networkIssueRecoveryDelayFactor > 1) {\\n networkIssueRecoveryDelayFactor = 1;\\n }\\n this.networkIssueRecoveryDelayFactor = networkIssueRecoveryDelayFactor;\\n }\\n // determine if subscribe is allowed based on network issue/recovery delays\\n allowSubscribe(numberOfParticipants, currentEstimated) {\\n let timeBeforeAllowSubscribeMs = 0;\\n const previousNetworkEvent = this.currentNetworkEvent;\\n if (currentEstimated > this.referenceBitrate) {\\n // if bw increases\\n this.currentNetworkEvent = 2 /* Increase */;\\n this.referenceBitrate = currentEstimated;\\n return true;\\n }\\n else if (currentEstimated < this.referenceBitrate) {\\n // if bw decreases, we use response delay\\n this.currentNetworkEvent = 1 /* Decrease */;\\n timeBeforeAllowSubscribeMs = this.getSubscribeDelay(this.currentNetworkEvent, numberOfParticipants);\\n if (previousNetworkEvent !== 1 /* Decrease */) {\\n this.bandwidthDecreaseTimestamp = Date.now();\\n }\\n else if (Date.now() - this.bandwidthDecreaseTimestamp > timeBeforeAllowSubscribeMs) {\\n this.referenceBitrate = currentEstimated;\\n return true;\\n }\\n return false;\\n }\\n else {\\n this.currentNetworkEvent = 0 /* Stable */;\\n return false;\\n }\\n }\\n // convert network event delay factor to actual delay in ms\\n getSubscribeDelay(event, numberOfParticipants) {\\n // left and right boundary of the delay\\n let subscribeDelay = VideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS;\\n const range = VideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS -\\n VideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS;\\n const responseFactor = this.networkIssueResponseDelayFactor;\\n switch (event) {\\n case 1 /* Decrease */:\\n // we include number of participants here since bigger size of the meeting will generate higher bitrate\\n subscribeDelay += range * responseFactor * (1 + numberOfParticipants / 10);\\n subscribeDelay = Math.min(VideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS, subscribeDelay);\\n break;\\n }\\n return subscribeDelay;\\n }\\n}\\nexports[\\\"default\\\"] = VideoPriorityBasedPolicyConfig;\\nVideoPriorityBasedPolicyConfig.MINIMUM_DELAY_MS = 2000;\\nVideoPriorityBasedPolicyConfig.MAXIMUM_DELAY_MS = 8000;\\n// presets\\nVideoPriorityBasedPolicyConfig.Default = new VideoPriorityBasedPolicyConfig(0, 0);\\nVideoPriorityBasedPolicyConfig.UnstableNetworkPreset = new VideoPriorityBasedPolicyConfig(0, 1);\\nVideoPriorityBasedPolicyConfig.StableNetworkPreset = new VideoPriorityBasedPolicyConfig(1, 0);\\n//# sourceMappingURL=VideoPriorityBasedPolicyConfig.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videodownlinkbandwidthpolicy/VideoPriorityBasedPolicyConfig.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js ***!\n \\***********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 NoOpVideoElementFactory {\\n create() {\\n const element = {\\n clientWidth: 400,\\n clientHeight: 300,\\n width: 400,\\n height: 300,\\n videoWidth: 400,\\n videoHeight: 300,\\n style: {\\n transform: '',\\n },\\n hasAttribute: () => {\\n return false;\\n },\\n removeAttribute: () => { },\\n setAttribute: () => { },\\n srcObject: false,\\n paused: true,\\n pause: () => {\\n element.paused = true;\\n },\\n play: () => {\\n element.paused = false;\\n return Promise.resolve();\\n },\\n };\\n // @ts-ignore\\n return element;\\n }\\n}\\nexports[\\\"default\\\"] = NoOpVideoElementFactory;\\n//# sourceMappingURL=NoOpVideoElementFactory.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoelementfactory/NoOpVideoElementFactory.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js ***!\n \\**********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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 * [[CanvasVideoFrameBuffer]] implements [[VideoFrameBuffer]]. It internally holds an `HTMLCanvasElement`.\\n */\\nclass CanvasVideoFrameBuffer {\\n constructor(canvas) {\\n this.canvas = canvas;\\n this.destroyed = false;\\n }\\n destroy() {\\n this.canvas = null;\\n this.destroyed = true;\\n }\\n asCanvasImageSource() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.destroyed) {\\n return Promise.reject('canvas buffer is destroyed');\\n }\\n return Promise.resolve(this.canvas);\\n });\\n }\\n asCanvasElement() {\\n return this.canvas;\\n }\\n}\\nexports[\\\"default\\\"] = CanvasVideoFrameBuffer;\\n//# sourceMappingURL=CanvasVideoFrameBuffer.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js\":\n/*!**********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js ***!\n \\**********************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 CanvasVideoFrameBuffer_1 = __webpack_require__(/*! ./CanvasVideoFrameBuffer */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js\\\");\\nconst DEFAULT_FRAMERATE = 15;\\n/**\\n * [[DefaultVideoFrameProcessorPipeline]] implements {@link VideoFrameProcessorPipeline}.\\n * It constructs a buffer {@link CanvasVideoFrameBuffer} as source by default and invokes processor based on `framerate`.\\n * The default output type is `MediaStream`.\\n */\\nclass DefaultVideoFrameProcessorPipeline {\\n constructor(logger, stages) {\\n this.logger = logger;\\n this.stages = stages;\\n this.fr = DEFAULT_FRAMERATE;\\n // initialize with dummy inactive MediaStream to keep strict type\\n this.outputMediaStream = new MediaStream();\\n this.videoInput = document.createElement('video');\\n this.canvasOutput = document.createElement('canvas');\\n this.outputCtx = this.canvasOutput.getContext('2d');\\n this.canvasInput = document.createElement('canvas');\\n this.inputCtx = this.canvasInput.getContext('2d');\\n this.inputVideoStream = null;\\n this.sourceBuffers = [];\\n this.destBuffers = [];\\n this.observers = new Set();\\n this.hasStarted = false;\\n this.process = (_event) => __awaiter(this, void 0, void 0, function* () {\\n if (!this.inputVideoStream) {\\n return;\\n }\\n const processVideoStart = performance.now();\\n // videoWidth is intrinsic video width\\n if (this.videoInput.videoWidth) {\\n if (this.canvasInput.width !== this.videoInput.videoWidth) {\\n this.canvasInput.width = this.videoInput.videoWidth;\\n this.canvasInput.height = this.videoInput.videoHeight;\\n this.sourceBuffers[0].height = this.canvasInput.height;\\n this.sourceBuffers[0].width = this.canvasInput.width;\\n this.sourceBuffers[0].framerate = this.framerate;\\n }\\n this.inputCtx.drawImage(this.videoInput, 0, 0);\\n }\\n // processes input buffers\\n let buffers = [];\\n buffers.push(this.sourceBuffers[0]);\\n try {\\n for (const proc of this.processors) {\\n buffers = yield proc.process(buffers);\\n }\\n }\\n catch (_error) {\\n this.forEachObserver(obs => {\\n if (obs.processingDidFailToStart) {\\n obs.processingDidFailToStart();\\n }\\n });\\n return;\\n }\\n this.destBuffers = buffers;\\n let imageSource;\\n try {\\n imageSource = yield this.destBuffers[0].asCanvasImageSource();\\n }\\n catch (error) {\\n if (this.inputVideoStream) {\\n this.logger.info('buffers are destroyed and pipeline could not start');\\n this.forEachObserver(obs => {\\n if (obs.processingDidFailToStart) {\\n obs.processingDidFailToStart();\\n }\\n });\\n }\\n return;\\n }\\n // finally draws the image\\n const frameWidth = imageSource.width;\\n const frameHeight = imageSource.height;\\n if (frameWidth !== 0 && frameHeight !== 0) {\\n if (this.canvasOutput.width !== frameWidth && this.canvasOutput.height !== frameHeight) {\\n this.canvasOutput.width = frameWidth;\\n this.canvasOutput.height = frameHeight;\\n }\\n this.outputCtx.drawImage(imageSource, 0, 0, frameWidth, frameHeight, 0, 0, frameWidth, frameHeight);\\n if (!this.hasStarted) {\\n this.hasStarted = true;\\n this.forEachObserver(observer => {\\n if (observer.processingDidStart) {\\n observer.processingDidStart();\\n }\\n });\\n }\\n }\\n // measures time\\n const processVideoLatency = performance.now() - processVideoStart;\\n const leave = (1000 * 2) / this.framerate - processVideoLatency; // half fps\\n const nextFrameDelay = Math.max(0, 1000 / this.framerate - processVideoLatency);\\n if (leave <= 0) {\\n this.forEachObserver(obs => {\\n if (obs.processingLatencyTooHigh) {\\n obs.processingLatencyTooHigh(processVideoLatency);\\n }\\n });\\n }\\n // TODO: use requestAnimationFrame which is more organic and allows browser to conserve resources by its choices.\\n /* @ts-ignore */\\n this.lastTimeOut = setTimeout(this.process, nextFrameDelay);\\n });\\n }\\n destroy() {\\n this.stop();\\n if (this.stages) {\\n for (const stage of this.stages) {\\n stage.destroy();\\n }\\n }\\n }\\n get framerate() {\\n return this.fr;\\n }\\n // A negative framerate will cause `captureStream` to throw `NotSupportedError`.\\n // The setter prevents this by switching to the default framerate if less than 0.\\n set framerate(value) {\\n this.fr = value < 0 ? DEFAULT_FRAMERATE : value;\\n }\\n stop() {\\n // empty stream, stop pipeline\\n // null input media stream stops the pipeline.\\n this.videoInput.removeEventListener('loadedmetadata', this.process);\\n this.videoInput.srcObject = null;\\n // Clean the input stream and buffers.\\n this.destroyInputMediaStreamAndBuffers();\\n // Stop all the output tracks, but don't discard the media stream,\\n // because it's how other parts of the codebase recognize when\\n // a selected stream is part of this transform device.\\n if (this.outputMediaStream) {\\n for (const track of this.outputMediaStream.getVideoTracks()) {\\n track.stop();\\n }\\n }\\n if (this.lastTimeOut) {\\n clearTimeout(this.lastTimeOut);\\n this.lastTimeOut = undefined;\\n }\\n if (this.hasStarted) {\\n this.hasStarted = false;\\n this.forEachObserver(observer => {\\n if (observer.processingDidStop) {\\n observer.processingDidStop();\\n }\\n });\\n }\\n }\\n addObserver(observer) {\\n this.observers.add(observer);\\n }\\n removeObserver(observer) {\\n this.observers.delete(observer);\\n }\\n getInputMediaStream() {\\n return __awaiter(this, void 0, void 0, function* () {\\n return this.inputVideoStream;\\n });\\n }\\n getActiveOutputMediaStream() {\\n if (this.isOutputMediaStreamActive()) {\\n return this.outputMediaStream;\\n }\\n this.outputMediaStream = this.canvasOutput.captureStream(this.framerate);\\n this.cloneInputAudioTracksToOutput();\\n return this.outputMediaStream;\\n }\\n /**\\n * `inputMediaStream` is by default used to construct one {@link CanvasVideoFrameBuffer}\\n * The buffer will be fed into the first {@link VideoFrameProcessor}.\\n */\\n setInputMediaStream(inputMediaStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!inputMediaStream) {\\n this.stop();\\n return;\\n }\\n if (inputMediaStream.getVideoTracks().length === 0) {\\n this.logger.error('No video tracks in input media stream, ignoring');\\n return;\\n }\\n this.inputVideoStream = inputMediaStream;\\n const settings = this.inputVideoStream.getVideoTracks()[0].getSettings();\\n this.logger.info(`processing pipeline input stream settings ${JSON.stringify(settings)}`);\\n this.canvasOutput.width = settings.width;\\n this.canvasOutput.height = settings.height;\\n this.videoInput.addEventListener('loadedmetadata', this.process);\\n this.videoInput.srcObject = this.inputVideoStream;\\n // avoid iOS safari full screen video\\n this.videoInput.setAttribute('playsinline', 'true');\\n // create sources\\n const canvasBuffer = new CanvasVideoFrameBuffer_1.default(this.canvasInput);\\n this.sourceBuffers.push(canvasBuffer);\\n this.videoInput.load();\\n try {\\n yield this.videoInput.play();\\n }\\n catch (_a) {\\n this.logger.warn('Video element play() overrided by another load().');\\n }\\n this.cloneInputAudioTracksToOutput();\\n });\\n }\\n cloneInputAudioTracksToOutput() {\\n if (!this.isOutputMediaStreamActive() || this.inputVideoStream === null) {\\n this.logger.info('Not cloning input audio tracks to output, do not have media streams ready');\\n return; // Just wait for `getActiveOutputMediaStream`\\n }\\n // Remove current audio tracks from output\\n for (const audioTrack of this.outputMediaStream.getAudioTracks()) {\\n this.logger.info(`Removing audio track ${audioTrack.id} from output stream`);\\n this.outputMediaStream.removeTrack(audioTrack);\\n }\\n for (const audioTrack of this.inputVideoStream.getAudioTracks()) {\\n this.logger.info(`Adding audio track ${audioTrack.id} to output stream`);\\n this.outputMediaStream.addTrack(audioTrack);\\n }\\n }\\n isOutputMediaStreamActive() {\\n return this.outputMediaStream && this.outputMediaStream.active;\\n }\\n set processors(stages) {\\n this.stages = stages;\\n }\\n get processors() {\\n return this.stages;\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observers) {\\n setTimeout(() => {\\n observerFunc(observer);\\n }, 0);\\n }\\n }\\n destroyInputMediaStreamAndBuffers() {\\n if (this.inputVideoStream) {\\n for (const track of this.inputVideoStream.getTracks()) {\\n track.stop();\\n }\\n }\\n this.inputVideoStream = null;\\n for (const buffer of this.sourceBuffers) {\\n buffer.destroy();\\n }\\n this.sourceBuffers = [];\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoFrameProcessorPipeline;\\n//# sourceMappingURL=DefaultVideoFrameProcessorPipeline.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js\":\n/*!***************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js ***!\n \\***************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultVideoFrameProcessorPipeline_1 = __webpack_require__(/*! ./DefaultVideoFrameProcessorPipeline */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoFrameProcessorPipeline.js\\\");\\n/**\\n * [[DefaultVideoTransformDevice]] is an augmented [[VideoInputDevice]].\\n * It transform the input {@link Device} with an array of {@link VideoFrameProcessor} to produce a `MediaStream`.\\n */\\nclass DefaultVideoTransformDevice {\\n constructor(logger, device, processors, browserBehavior = new DefaultBrowserBehavior_1.default()) {\\n this.logger = logger;\\n this.device = device;\\n this.processors = processors;\\n this.browserBehavior = browserBehavior;\\n this.observers = new Set();\\n this.pipe = new DefaultVideoFrameProcessorPipeline_1.default(this.logger, this.processors);\\n this.pipe.addObserver(this);\\n }\\n /**\\n * getter for `outputMediaStream`.\\n * `outputMediaStream` is returned by internal {@link VideoFrameProcessorPipeline}.\\n * It is possible, but unlikely, that this accessor will throw.\\n */\\n get outputMediaStream() {\\n return this.pipe.outputMediaStream;\\n }\\n /** @internal */\\n passEventControllerToProcessors(eventController) {\\n /* istanbul ignore else */\\n if (this.pipe.processors) {\\n for (const processor of this.pipe.processors) {\\n // Only certain processors are configured to provide event reporting,\\n // so here will confirm that the processor has event controller capablility\\n if (typeof processor.setEventController === 'function') {\\n processor.setEventController(eventController);\\n }\\n }\\n }\\n }\\n /**\\n * `chooseNewInnerDevice` preserves the inner pipeline and processing state and switches\\n * the inner device. Since the pipeline and processors are shared with the new transform device\\n * only one transform device can be used.\\n */\\n chooseNewInnerDevice(newDevice) {\\n const newTransformDevice = new DefaultVideoTransformDevice(this.logger, newDevice, this.processors, this.browserBehavior);\\n newTransformDevice.pipe = this.pipe;\\n return newTransformDevice;\\n }\\n /**\\n * Return the inner device as provided during construction.\\n */\\n getInnerDevice() {\\n return this.device;\\n }\\n intrinsicDevice() {\\n return __awaiter(this, void 0, void 0, function* () {\\n return this.device;\\n });\\n }\\n /**\\n * Create {@link VideoFrameProcessorPipeline} if there is not a existing one and start video processors.\\n * Returns output `MediaStream` produced by {@link VideoFrameProcessorPipeline}.\\n */\\n transformStream(mediaStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n yield this.pipe.setInputMediaStream(mediaStream);\\n this.inputMediaStream = mediaStream;\\n return this.pipe.getActiveOutputMediaStream();\\n });\\n }\\n /**\\n * onOutputStreamDisconnect is called when device controller wants to detach\\n * the transform device. The default behavior is to stop the output\\n * media stream and release the input the media stream. If the input media stream\\n * is the provided device, it will not be released.\\n */\\n onOutputStreamDisconnect() {\\n this.logger.info('DefaultVideoTransformDevice: detach stopping input media stream');\\n const deviceIsMediaStream = this.device && this.device.id;\\n // Stop processing but keep the pipe and processors\\n this.pipe.stop();\\n // Turn off the camera, unless device is a MediaStream\\n if (!deviceIsMediaStream) {\\n if (this.inputMediaStream) {\\n for (const track of this.inputMediaStream.getVideoTracks()) {\\n track.stop();\\n }\\n }\\n }\\n }\\n /**\\n * Dispose of the inner workings of the transform device, including pipeline and processors.\\n * `stop` can only be called when the transform device is not used by device controller anymore.\\n * After `stop` is called, all transform devices which share the pipeline must be discarded.\\n */\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.inputMediaStream) {\\n for (const track of this.inputMediaStream.getVideoTracks()) {\\n track.stop();\\n }\\n }\\n this.pipe.destroy();\\n this.inputMediaStream = null;\\n });\\n }\\n /**\\n * Add an observer to receive notifications about lifecycle events.\\n * See {@link DefaultVideoTransformDeviceObserver} for details.\\n * If the observer has already been added, this method call has no effect.\\n */\\n addObserver(observer) {\\n this.observers.add(observer);\\n }\\n /**\\n * Remove an existing observer. If the observer has not been previously. this method call has no effect.\\n */\\n removeObserver(observer) {\\n this.observers.delete(observer);\\n }\\n processingDidStart() {\\n this.logger.info('video transform device processing started');\\n this.forEachObserver(observer => {\\n if (observer.processingDidStart) {\\n observer.processingDidStart();\\n }\\n });\\n }\\n processingLatencyTooHigh(latencyMs) {\\n this.forEachObserver(observer => {\\n if (observer.processingLatencyTooHigh) {\\n observer.processingLatencyTooHigh(latencyMs);\\n }\\n });\\n }\\n processingDidFailToStart() {\\n this.logger.info('video transform device processing failed to start');\\n this.forEachObserver(observer => {\\n if (observer.processingDidFailToStart) {\\n observer.processingDidFailToStart();\\n }\\n });\\n }\\n processingDidStop() {\\n this.logger.info('video transform device processing stopped');\\n this.forEachObserver(observer => {\\n if (observer.processingDidStop) {\\n observer.processingDidStop();\\n }\\n });\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observers) {\\n setTimeout(() => {\\n observerFunc(observer);\\n }, 0);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTransformDevice;\\n//# sourceMappingURL=DefaultVideoTransformDevice.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/DefaultVideoTransformDevice.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js\":\n/*!***********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js ***!\n \\***********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports) {\n\n\"use strict\";\neval(\"\\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 * [[NoOpVideoFrameProcessor]] implements [[VideoFrameProcessor]].\\n * It's a no-op processor and input is passed to output directly.\\n */\\nclass NoOpVideoFrameProcessor {\\n process(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n return buffers;\\n });\\n }\\n destroy() {\\n return __awaiter(this, void 0, void 0, function* () {\\n return;\\n });\\n }\\n}\\nexports[\\\"default\\\"] = NoOpVideoFrameProcessor;\\n//# sourceMappingURL=NoOpVideoFrameProcessor.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/NoOpVideoFrameProcessor.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.DeferredPromise = void 0;\\n/**\\n * [[DeferredPromise]] Is a wrapper around a javascript promise that\\n * will allow us to resolve and reject the promise from outside of the\\n * promise's executor block.\\n */\\nclass DeferredPromise {\\n constructor() {\\n this.promise = new Promise((resolve, reject) => {\\n this.resolve = resolve;\\n this.reject = reject;\\n });\\n }\\n /**\\n * Get the promise associated with the DeferredPromise.\\n * @returns Promise\\n */\\n getPromise() {\\n return this.promise;\\n }\\n /**\\n * Resolve this.promise.\\n */\\n resolvePromise(resolveParameter) {\\n this.resolve(resolveParameter);\\n }\\n /**\\n * Resolve this.promise with a resolveParameter. Then,\\n * replace the resolved promise with a new promise.\\n */\\n resolveAndReplacePromise(resolveParameter) {\\n this.resolve(resolveParameter);\\n this.promise = new Promise((resolve, reject) => {\\n this.resolve = resolve;\\n this.reject = reject;\\n });\\n }\\n /**\\n * Reject this.promise.\\n */\\n rejectPromise(rejectError) {\\n this.reject(rejectError);\\n }\\n /**\\n * Reject this.promise with a reject parameter. Then,\\n * replace the rejected promise with a new promise.\\n */\\n rejectAndReplacePromise(rejectError) {\\n this.reject(rejectError);\\n this.promise = new Promise((resolve, reject) => {\\n this.resolve = resolve;\\n this.reject = reject;\\n });\\n }\\n}\\nexports.DeferredPromise = DeferredPromise;\\n//# sourceMappingURL=DeferredPromise.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js\":\n/*!***********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js ***!\n \\***********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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.VideoFxCanvasOpsManager = void 0;\\nconst VideoFxConstants_1 = __webpack_require__(/*! ./VideoFxConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\\\");\\n/**\\n * [[VideoFxCanvasOpsManager]] Mechanism drives the canvas based operations\\n * for the VideoFxProcessor. This includes input stream resizing to segmentation model\\n * dimensions and managing the canvas loading for background replacement.\\n */\\nclass VideoFxCanvasOpsManager {\\n constructor(streamParameters, outputCanvas) {\\n this.streamParameters = streamParameters;\\n this.outputCanvas = outputCanvas;\\n this.configureCanvasPipeline();\\n }\\n /**\\n * Generate the raw image data in a format that is directly importable into\\n * the segmentation model\\n * @param inputCanvas\\n * @returns ImageData\\n */\\n getInferenceInputData(inputCanvas) {\\n // Resize our full resolution frame into a new canvas scaled to the\\n // size of our segmentation model\\n this.inferenceCtx.save();\\n this.inferenceCtx.scale(this.horizontalResizeScalar, this.verticalResizeScalar);\\n this.inferenceCtx.drawImage(inputCanvas, 0, 0);\\n this.inferenceCtx.restore();\\n // Now we can directly take image data that is the desired size of\\n // of our segmentation model linput\\n const inferenceInputData = this.inferenceCtx.getImageData(0, 0, VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS, VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS);\\n return inferenceInputData;\\n }\\n /**\\n * Reconfigure the canvas operations/pipeline to fit the dimensions of the new\\n * video stream, and resize background replacement canvas.\\n * @param streamParameters an VideoFxStreamParameters object specifying stream dimensions\\n */\\n configureForStreamParameters(streamParameters) {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.streamParameters = streamParameters;\\n this.outputCanvas.width = this.streamParameters.width;\\n this.outputCanvas.height = this.streamParameters.height;\\n // Resize background replacement canvas -- if it exists\\n if (this.backgroundReplacementCanvas) {\\n const resizedCanvas = document.createElement('canvas');\\n resizedCanvas.width = this.streamParameters.width;\\n resizedCanvas.height = this.streamParameters.height;\\n resizedCanvas\\n .getContext('2d')\\n .drawImage(this.backgroundReplacementCanvas, 0, 0, this.streamParameters.width, this.streamParameters.height);\\n this.backgroundReplacementCanvas = resizedCanvas;\\n }\\n this.configureCanvasPipeline();\\n });\\n }\\n /**\\n * Configure the inference canvas so that write operations to the canvas\\n * result in an image resizing.\\n */\\n configureCanvasPipeline() {\\n // Create new inference canvas and context\\n this.inferenceCanvas = document.createElement('canvas');\\n this.inferenceCtx = this.inferenceCanvas.getContext('2d', {\\n willReadFrequently: true,\\n });\\n // Configure the resize operation, which will be utilized by calling scale\\n // and then drawing any sized input to the canvas\\n this.inferenceCanvas.width = VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS;\\n this.inferenceCanvas.height = VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS;\\n this.horizontalResizeScalar = VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS / this.streamParameters.width;\\n this.verticalResizeScalar = VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS / this.streamParameters.height;\\n }\\n /**\\n * Return the background replacement canvas\\n * @returns HTMLCanvasElement\\n */\\n getBackgroundReplacementCanvas() {\\n return this.backgroundReplacementCanvas;\\n }\\n /**\\n * Attempt to load custom replacement background image from URL, or the default background color.\\n * The backgroundReplacementCanvas is then set from the loaded image.\\n * @param effectConfig\\n */\\n loadReplacementBackground(effectConfig) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const imageURL = effectConfig.backgroundReplacement.backgroundImageURL;\\n const defaultColor = effectConfig.backgroundReplacement.defaultColor;\\n if (imageURL) {\\n try {\\n const backgroundImage = yield this.loadImage(imageURL);\\n this.backgroundReplacementImage = backgroundImage;\\n this.resizeAndSetReplacementImage(this.backgroundReplacementImage);\\n }\\n catch (error) /* istanbul ignore next */ {\\n // The following can only happen due to an intermittent network issue.\\n this.logger.error(error);\\n throw new Error('Failed to set the replacement image.');\\n }\\n }\\n else {\\n this.resizeAndSetReplacementColor(defaultColor);\\n }\\n });\\n }\\n /**\\n * Draw loaded image on a canvas sized to the stream parameters, which is then set to the\\n * backgroundReplacementCanvas member variable.\\n * @param backgroundImage\\n */\\n resizeAndSetReplacementImage(backgroundImage) {\\n const resizedCanvas = document.createElement('canvas');\\n const resizedCtx = resizedCanvas.getContext('2d');\\n resizedCanvas.width = this.streamParameters.width;\\n resizedCanvas.height = this.streamParameters.height;\\n resizedCtx.drawImage(backgroundImage, 0, 0, this.streamParameters.width, this.streamParameters.height);\\n this.backgroundReplacementCanvas = resizedCanvas;\\n }\\n /**\\n * Fill default color on a canvas sized to the stream parameters, which is then set to the\\n * backgroundReplacementCanvas member variable.\\n * @param defaultColor\\n */\\n resizeAndSetReplacementColor(defaultColor) {\\n const resizedCanvas = document.createElement('canvas');\\n const resizedCtx = resizedCanvas.getContext('2d');\\n resizedCanvas.width = this.streamParameters.width;\\n resizedCanvas.height = this.streamParameters.height;\\n resizedCtx.fillStyle = defaultColor;\\n resizedCtx.fillRect(0, 0, this.streamParameters.width, this.streamParameters.height);\\n this.backgroundReplacementCanvas = resizedCanvas;\\n }\\n /**\\n * Attempt to load background image from URL.\\n * @param backgroundImageURL\\n * @returns Promise\\n */\\n loadImage(backgroundImageURL) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Attempt to fetch the image\\n const image = yield fetch(backgroundImageURL).catch(error => {\\n this.logger.error(error.toString());\\n // Error returned in unit tests from mock fetch is non-compatible\\n /* istanbul ignore next */\\n throw new Error('Failed to fetch image.');\\n });\\n // Convert successful fetch into an HTMLImageElement\\n const imageBlob = yield image.blob();\\n const img = new Image();\\n img.src = URL.createObjectURL(imageBlob);\\n return new Promise((resolve, reject) => {\\n img.onload = () => {\\n resolve(img);\\n };\\n img.onerror = error => {\\n reject(error);\\n };\\n });\\n });\\n }\\n}\\nexports.VideoFxCanvasOpsManager = VideoFxCanvasOpsManager;\\n//# sourceMappingURL=VideoFxCanvasOpsManager.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.FXLIB_PATH = exports.WORKER_PATH = exports.CDN_BASE_PATH = exports.RESOURCE_CONSTRAINTS = exports.SEGMENTATION_MODEL = exports.DEFAULT_STREAM_PARAMETERS = exports.WORKER_MSG = void 0;\\n// These are constants relating to communication between the VideoFxProcessor\\n// and the VideoFxEngine\\nexports.WORKER_MSG = {\\n BUILD_ENGINE_REQUEST: 'BuildEngineRequest',\\n BUILD_ENGINE_RESPONSE: 'BuildEngineResponse',\\n PERFORM_SEGMENTATION_REQUEST: 'PerformSegmentationRequest',\\n PERFORM_SEGMENTATION_RESPONSE: 'PerformSegmentationResponse',\\n PERFORM_SEGMENTATION_SAB_REQUEST: 'PerformSegmentationSABRequest',\\n PERFORM_SEGMENTATION_SAB_RESPONSE: 'PerformSegmentationSABResponse',\\n DESTROY_ASSETS_REQUEST: 'DestroyAssetsRequest',\\n DESTROY_ASSETS_RESPONSE: 'DestroyAssetsResponse',\\n CLOSE_WORKER_REQUEST: 'CloseWorkerRequest',\\n};\\nexports.DEFAULT_STREAM_PARAMETERS = {\\n FRAMES_PER_SECOND: 15,\\n WIDTH_IN_PIXEL: 960,\\n HEIGHT_IN_PIXEL: 540,\\n CHANNEL_COUNT: 4,\\n};\\n// These are constants relating to the status of different processes that get returned\\n// by the VideoFxEngine\\nexports.SEGMENTATION_MODEL = {\\n LOAD_SUCCESS: 2,\\n WIDTH_IN_PIXELS: 176,\\n HEIGHT_IN_PIXELS: 160,\\n};\\n// These are constants relating to resource constraints\\nexports.RESOURCE_CONSTRAINTS = {\\n DEFAULT_PROCESSING_BUDGET_PER_FRAME: 50,\\n // Segmenation throttling constants\\n SEGMENTATION_DEFAULT_FRAMES_PER_SEGMENTATION: 1,\\n SEGMENTATION_SAMPLING_PERIOD_FRAME_COUNT: 500,\\n // Blur throttling constants\\n BLUR_DEFAULT_CYCLE_PERCENTAGE: 10,\\n BLUR_SAMPLING_PERIOD_FRAME_COUNT: 1000,\\n // General constants for throttling blur and segmentation\\n MIN_PROCESSING_BUDGET: 0,\\n MAX_PROCESSING_BUDGET: 100,\\n};\\nexports.CDN_BASE_PATH = 'https://static.sdkassets.chime.aws';\\nconst MFX_ASSET_PATH = '/ml_media_fx/otherassets';\\nexports.WORKER_PATH = `${MFX_ASSET_PATH}/worker.js`;\\nexports.FXLIB_PATH = `${MFX_ASSET_PATH}/fxlib.js`;\\n//# sourceMappingURL=VideoFxConstants.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js ***!\n \\****************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 fetch_1 = __webpack_require__(/*! ../../libs/voicefocus/fetch */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\\\");\\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 DefaultBrowserBehavior_1 = __webpack_require__(/*! ../browserbehavior/DefaultBrowserBehavior */ \\\"./node_modules/amazon-chime-sdk-js/build/browserbehavior/DefaultBrowserBehavior.js\\\");\\nconst NoOpLogger_1 = __webpack_require__(/*! ../logger/NoOpLogger */ \\\"./node_modules/amazon-chime-sdk-js/build/logger/NoOpLogger.js\\\");\\nconst Utils_1 = __webpack_require__(/*! ../utils/Utils */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst CanvasVideoFrameBuffer_1 = __webpack_require__(/*! ../videoframeprocessor/CanvasVideoFrameBuffer */ \\\"./node_modules/amazon-chime-sdk-js/build/videoframeprocessor/CanvasVideoFrameBuffer.js\\\");\\nconst DeferredPromise_1 = __webpack_require__(/*! ./DeferredPromise */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/DeferredPromise.js\\\");\\nconst VideoFxCanvasOpsManager_1 = __webpack_require__(/*! ./VideoFxCanvasOpsManager */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxCanvasOpsManager.js\\\");\\nconst VideoFxConstants_1 = __webpack_require__(/*! ./VideoFxConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\\\");\\nconst VideoFxSegmentationRateManager_1 = __webpack_require__(/*! ./VideoFxSegmentationRateManager */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js\\\");\\n/**\\n * [[VideoFxProcessor]] Mechanism that drives the data transformation\\n * of individual video frames to apply ML-based background blur and\\n * background replacement effects on the video stream.\\n */\\nclass VideoFxProcessor {\\n /**\\n * Initializes a new instance of [[VideoFxProcessor]] with a default NoOp [[VideoFxConfig]].\\n * @param logger\\n * @param processingBudgetPerFrame throttling constraint for processing\\n * @param eventController EventController object to manage events\\n */\\n constructor(logger, processingBudgetPerFrame = VideoFxConstants_1.RESOURCE_CONSTRAINTS.DEFAULT_PROCESSING_BUDGET_PER_FRAME, eventController) {\\n this.logger = logger;\\n // Configure the buffer for where output frames will be placed\\n this.outputCanvas = document.createElement('canvas');\\n this.canvasVideoFrameBuffer = new CanvasVideoFrameBuffer_1.default(this.outputCanvas);\\n // Validate the inputted resource constraint\\n try {\\n this.validateProcessingBudgetPerFrame(processingBudgetPerFrame);\\n }\\n catch (error) {\\n this.logger.error(error);\\n throw new Error(`Cannot instantiate VideoFxProcessor due to invalid ` +\\n `processingBudgetPerFrame of ${processingBudgetPerFrame}`);\\n }\\n if (eventController) {\\n this.eventController = eventController;\\n }\\n // Create a basic effectConfig (noOp)\\n this.effectConfig = {\\n backgroundBlur: {\\n isEnabled: false,\\n strength: 'low',\\n },\\n backgroundReplacement: {\\n isEnabled: false,\\n backgroundImageURL: null,\\n defaultColor: 'black',\\n },\\n };\\n // This promise object will be used to coordinate timing of sending/receiving frames from engine\\n this.segmentationRequestPromise = new DeferredPromise_1.DeferredPromise();\\n // Configure resource management for the segmentation frequency\\n this.segmentationRateManager = new VideoFxSegmentationRateManager_1.VideoFxSegmentationRateManager(this.logger, processingBudgetPerFrame);\\n // Configure default streamParameters\\n this.streamParameters = {\\n framerate: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.FRAMES_PER_SECOND,\\n width: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.WIDTH_IN_PIXEL,\\n height: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.HEIGHT_IN_PIXEL,\\n channels: VideoFxConstants_1.DEFAULT_STREAM_PARAMETERS.CHANNEL_COUNT,\\n };\\n // Determine if shared array buffer can be used to transfer frame data from\\n // main thread to web worker thread\\n if (VideoFxProcessor.isSharedArrayBufferSupported) {\\n this.sharedImageBuffer = new SharedArrayBuffer(VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS *\\n VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS *\\n this.streamParameters.channels);\\n this.sharedImageData = new Uint8ClampedArray(this.sharedImageBuffer);\\n }\\n this.logger.info(`VideoFx supports Shared Array Buffer: ` + `${VideoFxProcessor.isSharedArrayBufferSupported}`);\\n // Determine if filter operations are supported\\n this.canvasOpsManager = new VideoFxCanvasOpsManager_1.VideoFxCanvasOpsManager(this.streamParameters, this.outputCanvas);\\n // Configure the final transformed frame location\\n this.outputCanvas.width = this.streamParameters.width;\\n this.outputCanvas.height = this.streamParameters.height;\\n // Set an empty mask at initialization\\n this.segmentationMask = new ImageData(this.streamParameters.width, this.streamParameters.height);\\n this.logger.info(`VideoFxProcessor instantiated with a processingBudgetPerFrame of ${processingBudgetPerFrame}`);\\n }\\n /**\\n * Apply the [[VideoFxProcessor]]'s specialized effect onto the frame contained by\\n * the buffer parameter.\\n * @param buffers\\n * @returns buffers\\n */\\n process(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Note: Required method through implementation of VideoFrameProcessor.\\n return buffers;\\n });\\n }\\n /**\\n * Process an input stream and apply the visual effects specified in this effectConfig.\\n * @param buffers the input stream\\n * @returns an output stream of VideoFrameBuffer\\n */\\n fxProcess(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Process our input image into raw input data\\n const inputCanvas = buffers[0].asCanvasElement();\\n // We must confirm that our incoming stream did not change it's parameters\\n if (this.didStreamParametersChange(inputCanvas)) {\\n yield this.adjustProcessorForNewStreamParameters(inputCanvas);\\n }\\n // Decide to use the existing segmentation or perform a new segmentation\\n try {\\n yield this.manageSegmentationMask(inputCanvas);\\n }\\n catch (error) {\\n this.logger.error(error);\\n throw new Error(`Video stream could not be processed`);\\n }\\n // Render a final image using the input canvas and the segmentation mask\\n yield this.renderer.render(inputCanvas, this.segmentationMask);\\n // Send canvas video frame buffer to rest of processor pipeline\\n buffers[0] = this.canvasVideoFrameBuffer;\\n return buffers;\\n });\\n }\\n /**\\n * Perform a process call that just returns the input stream\\n * @param buffers the input stream\\n * @returns an output stream of VideoFrameBuffer\\n */\\n noOpProcess(buffers) {\\n return __awaiter(this, void 0, void 0, function* () {\\n return buffers;\\n });\\n }\\n /**\\n * Check if the stream dimensions/parameters have changed.\\n * @param stream frame from current video stream about to be processed\\n * @returns boolean representing if the stream parameters changed\\n */\\n didStreamParametersChange(stream) {\\n return (stream.width !== this.streamParameters.width || stream.height !== this.streamParameters.height);\\n }\\n /**\\n * Adjust the videoFxProcessor to handle new stream parameters.\\n * @param stream frame from current video stream about to be processed\\n */\\n adjustProcessorForNewStreamParameters(stream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Update the stored streamParameters\\n this.streamParameters.width = stream.width;\\n this.streamParameters.height = stream.height;\\n // Notify the canvas ops manager to reconfigure pipeline dimensions\\n yield this.canvasOpsManager.configureForStreamParameters(this.streamParameters);\\n // Configure the renderer to work with new stream dimensions\\n yield this.renderer.configure(this.streamParameters.width, this.streamParameters.height, this.effectConfig);\\n });\\n }\\n /**\\n * Clean up any excess memory that has been allocated by [[VideoFxProcessor]].\\n */\\n destroy() {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Note: Required method through implementation of VideoFrameProcessor.\\n this.canvasVideoFrameBuffer.destroy();\\n if (this.fxLibScript && this.fxLibScript.parentNode) {\\n this.fxLibScript.parentNode.removeChild(this.fxLibScript);\\n }\\n if (this.engineWorker) {\\n // Post message to destroy all assets\\n this.destroyedAssetsPromise = new DeferredPromise_1.DeferredPromise();\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.DESTROY_ASSETS_REQUEST,\\n });\\n // Wait until all the assets are destroyed\\n yield this.destroyedAssetsPromise.getPromise();\\n // Close the engine worker\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.CLOSE_WORKER_REQUEST,\\n });\\n }\\n this.logger.info(`VideoFxProcessor destroyed.`);\\n });\\n }\\n /**\\n * Manage the segmentation mask that is used to generate a final frame. This function\\n * will calculate whether or not to re-generate a segmenation and also monitor\\n * how computationally expensive the rate of segmentation are.\\n * @param inputCanvas canvas to be used for segmentation\\n */\\n manageSegmentationMask(inputCanvas) {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n this.segmentationRateManager.submitFrame();\\n if (this.segmentationRateManager.shouldApplySegmentation()) {\\n // Perform a segmentation inference on the downsampled current video frame\\n this.segmentationRateManager.startSegmentation();\\n const inferenceInputImageData = this.canvasOpsManager.getInferenceInputData(inputCanvas);\\n this.segmentationMask = yield this.generateSegmentationMask(inferenceInputImageData);\\n this.segmentationRateManager.completeSegmentation();\\n }\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Can not properly manage the returned segmentation mask`);\\n }\\n });\\n }\\n /**\\n * Generate a segmentation mask from the input frame.\\n * @param inferenceImageData\\n * @returns image data representing segmenation mask\\n */\\n generateSegmentationMask(inferenceImageData) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (VideoFxProcessor.isSharedArrayBufferSupported) {\\n this.sharedImageData.set(inferenceImageData.data);\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_SAB_REQUEST,\\n payload: this.sharedImageBuffer,\\n });\\n }\\n else {\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_REQUEST,\\n payload: inferenceImageData,\\n }, [inferenceImageData.data.buffer]);\\n }\\n // Wait for input image to be returned from VideoFxEngine\\n try {\\n const segmentationMask = yield this.segmentationRequestPromise.getPromise();\\n return segmentationMask;\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Segmentation mask could not be generated`);\\n }\\n });\\n }\\n /**\\n * Make a deep copy of the VideoFxConfig passed in. Needs to be updated if additional\\n * fields are added to VideoFxConfig.\\n * @param effectConfig\\n * @returns newEffectConfig\\n */\\n cloneConfigFrom(effectConfig) {\\n return {\\n backgroundBlur: {\\n isEnabled: effectConfig.backgroundBlur.isEnabled,\\n strength: effectConfig.backgroundBlur.strength,\\n },\\n backgroundReplacement: {\\n isEnabled: effectConfig.backgroundReplacement.isEnabled,\\n backgroundImageURL: effectConfig.backgroundReplacement.backgroundImageURL,\\n defaultColor: effectConfig.backgroundReplacement.defaultColor,\\n },\\n };\\n }\\n /**\\n * Update the [[VideoFxProcessor]] to apply a new set of effects by updating the instance property\\n * [[VideoFxConfig]]. If the effectConfig parameter fails validation, an error is thrown and there is\\n * no update.\\n * @Param effectConfig updated [[VideoFxConfig]] with new video effects\\n */\\n setEffectConfig(effectConfig) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.sameVideoFxConfig(effectConfig, this.effectConfig)) {\\n return;\\n }\\n const newEffectConfig = this.cloneConfigFrom(effectConfig);\\n // Validate the effect config\\n try {\\n yield this.validateEffectConfig(newEffectConfig);\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Provided effect config is invalid, not updating VideoFxProcessor`);\\n }\\n // Configure background replacement image/canvas\\n if (newEffectConfig.backgroundReplacement.isEnabled) {\\n yield this.canvasOpsManager.loadReplacementBackground(newEffectConfig);\\n yield this.renderer.setBackgroundReplacementCanvas(this.canvasOpsManager.getBackgroundReplacementCanvas());\\n }\\n // Configure the renderer to implement the desired effect configuration\\n yield this.renderer.configure(this.streamParameters.width, this.streamParameters.height, newEffectConfig);\\n // Can now officially set the effect config since the rest of the processor is\\n // configured for the new effects\\n this.effectConfig = newEffectConfig;\\n // If no effects are enabled, run no op process, otherwise run the effect based processing\\n if (!this.effectConfig.backgroundBlur.isEnabled &&\\n !this.effectConfig.backgroundReplacement.isEnabled) {\\n this.process = this.noOpProcess;\\n }\\n else {\\n this.process = this.fxProcess;\\n }\\n this.logger.info(`VideoFxProcessor effect configuration updated to: ${JSON.stringify(this.effectConfig)}`);\\n if (this.eventController) {\\n this.publishVideoFxConfigEvent();\\n }\\n });\\n }\\n /**\\n * Confirm that the config consists of valid values.\\n * @param config that will be validated\\n */\\n validateEffectConfig(config) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // We confirm that both blur and replacement are not enabled due to builder error\\n if (config.backgroundBlur.isEnabled && config.backgroundReplacement.isEnabled) {\\n throw new Error(`Invalid VideoFx configuration: Background Blur and Background Replacement ` +\\n `can not both be enabled`);\\n }\\n else if (config.backgroundReplacement.isEnabled) {\\n yield this.validateReplacementConfig(config);\\n }\\n // backgroundBlur does not need to be validated, as valid blurStrength value\\n // is checked at compile time.\\n });\\n }\\n /**\\n * Confirm that the config consists of valid values for background replacement.\\n * @param config that will be validated for background replacement\\n */\\n validateReplacementConfig(config) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (config.backgroundReplacement.backgroundImageURL &&\\n config.backgroundReplacement.defaultColor) {\\n throw new Error(`Invalid VideoFx configuration: Background Replacement can not have both an ` +\\n `image URL and default color`);\\n }\\n if (!config.backgroundReplacement.backgroundImageURL &&\\n !config.backgroundReplacement.defaultColor) {\\n throw new Error(`Invalid VideoFx configuration: Background Replacement image URL and default ` +\\n `can not both be null/undefined`);\\n }\\n // Confirm that the image properly loads\\n try {\\n if (config.backgroundReplacement.backgroundImageURL) {\\n yield this.canvasOpsManager.loadImage(config.backgroundReplacement.backgroundImageURL);\\n }\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Invalid VideoFx configuration: backgroundImageURL failed to load`);\\n }\\n const defaultColor = config.backgroundReplacement.defaultColor;\\n // Confirm that defaultColor is a valid color for fillStyle. We support black by default.\\n if (defaultColor &&\\n defaultColor !== 'black' &&\\n defaultColor !== '#000000' &&\\n defaultColor !== '#000') {\\n // First validate hexadecimal color code\\n if (defaultColor.includes('#')) {\\n const hexRegex = new RegExp(/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/);\\n if (!hexRegex.test(defaultColor)) {\\n throw new Error(`Invalid hexadecimal color code for default replacement ` +\\n `background: ${defaultColor}`);\\n }\\n }\\n const testColorCanvas = document.createElement('canvas');\\n const testColorCtx = testColorCanvas.getContext('2d');\\n // fillStyle is #000000 black by default\\n const prevFillStyle = testColorCtx.fillStyle;\\n testColorCtx.fillStyle = defaultColor;\\n // fillStyle will not change after assignment if invalid value is used\\n /* istanbul ignore next */\\n if (testColorCtx.fillStyle === prevFillStyle) {\\n throw new Error(`Invalid color for default replacement background: ${defaultColor}`);\\n }\\n }\\n });\\n }\\n /**\\n * Confirm that the processingBudgePerFrame constraint holds valid values.\\n * @param constraint to be validated\\n */\\n validateProcessingBudgetPerFrame(processingBudgetPerFrame) {\\n if (processingBudgetPerFrame < VideoFxConstants_1.RESOURCE_CONSTRAINTS.MIN_PROCESSING_BUDGET ||\\n processingBudgetPerFrame > VideoFxConstants_1.RESOURCE_CONSTRAINTS.MAX_PROCESSING_BUDGET) {\\n throw new Error(`Invalid resource constraint: cycle percentage must be within ` +\\n `range of ${VideoFxConstants_1.RESOURCE_CONSTRAINTS.MIN_PROCESSING_BUDGET} and ` +\\n `${VideoFxConstants_1.RESOURCE_CONSTRAINTS.MAX_PROCESSING_BUDGET}`);\\n }\\n }\\n /**\\n * Loads all of the assets that are associated with the stored effectConfig.\\n */\\n loadAssets() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.logger.info(`Loading required assets for the VideoFxProcessor`);\\n try {\\n const videoFxAssetParams = this.getVideoFxAssetParams();\\n yield this.loadEngineWorker(videoFxAssetParams);\\n yield this.buildEngine(videoFxAssetParams);\\n yield this.loadFxLib(videoFxAssetParams);\\n // @ts-ignore\\n this.renderer = constructRenderer(VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS, VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS, this.effectConfig, this.outputCanvas);\\n }\\n catch (error) {\\n // NOTE: when we update to es2022, throw errors that are chained together\\n this.logger.error(error.toString());\\n throw new Error(`Failed to load necessary assets for the VideoFxProcessor`);\\n }\\n this.logger.info(`Finished loading of essential VideoFxProcessor assets.`);\\n });\\n }\\n /**\\n * Determines the current set of specifications that define the current SDK version.\\n * @returns an [[VideoFxAssetParams]] object defining the parameters of the\\n * current SDK\\n */\\n getVideoFxAssetParams() {\\n const defaultAssetSpec = Utils_1.getDefaultAssetSpec();\\n const videoFxAssetParams = {\\n assetGroup: defaultAssetSpec.assetGroup,\\n revisionID: defaultAssetSpec.revisionID,\\n sdk: encodeURIComponent(Versioning_1.default.sdkVersion),\\n ua: encodeURIComponent(Versioning_1.default.sdkUserAgentLowResolution),\\n };\\n return videoFxAssetParams;\\n }\\n /**\\n * Generate a final path to an asset belonging to current version of SDK.\\n * @param basePath Base of the path that will be used to generate a final path\\n * @param videoFxAssetParams Parameters of the current SDK version\\n * @returns A final path specific to an asset belonging to current SDK\\n * version\\n */\\n getPathFromVideoFxAssetParams(basePath, videoFxAssetParams) {\\n const path = new URL(basePath);\\n for (const [key, value] of Object.entries(videoFxAssetParams)) {\\n if (value !== undefined) {\\n // Encode the key and value into uri format\\n const uriEncodedKey = encodeURIComponent(key);\\n const uriEncodedValue = encodeURIComponent(value);\\n // Set encoded key/value as query params\\n path.searchParams.set(uriEncodedKey, uriEncodedValue);\\n }\\n }\\n return path.toString();\\n }\\n /**\\n * Fetch and then load the engine worker into a web-worker.\\n */\\n loadEngineWorker(videoFxAssetParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // The engine worker will always be a required asset for the VideoFxProcessor\\n try {\\n // Determine engine worker path from versioning of the SDK worker\\n const engineWorkerPath = this.getPathFromVideoFxAssetParams(VideoFxConstants_1.CDN_BASE_PATH + VideoFxConstants_1.WORKER_PATH, videoFxAssetParams);\\n // Load the worker that will communicate with the VideoFxEngine\\n this.engineWorker = yield loader_1.loadWorker(engineWorkerPath, 'VideoFxEngineWorker', {}, null);\\n this.logger.info(`Successfully loaded the VideoFxProcessor's engine worker`);\\n // Configure a handler to deal with messages received form the engine worker\\n this.engineWorker.addEventListener('message', event => this.engineWorkerReceiver(event));\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Failed to load the VideoFxProcessor's engine worker`);\\n }\\n });\\n }\\n /**\\n * Build the videoFxEngine.\\n * @param videoFxAssetParams [[VideoFxAssetParams]] defining current version of SDK\\n */\\n buildEngine(videoFxAssetParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Instantiate the deferred promise so we can wait for the worker to\\n // return a completion message\\n this.buildEnginePromise = new DeferredPromise_1.DeferredPromise();\\n // Send a message via the engine worker to instantiate\\n // the video fx engine\\n this.engineWorker.postMessage({\\n msg: VideoFxConstants_1.WORKER_MSG.BUILD_ENGINE_REQUEST,\\n payload: {\\n cdnBasePath: VideoFxConstants_1.CDN_BASE_PATH,\\n sdkVersioningParams: videoFxAssetParams,\\n },\\n });\\n // Wait until the engine finishes building\\n try {\\n yield this.buildEnginePromise.getPromise();\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Failed to instantiate the VideoFxEngine`);\\n }\\n });\\n }\\n /**\\n * Loads the Video Fx library to drive video post-processing, given the versioning\\n * of the SDK worker from the VideoFxAssetParams interface passed as a parameter.\\n * @param videoFxAssetParams\\n */\\n loadFxLib(videoFxAssetParams) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Determine engine worker path from versioning of the SDK worker\\n const fxLibPath = this.getPathFromVideoFxAssetParams(VideoFxConstants_1.CDN_BASE_PATH + VideoFxConstants_1.FXLIB_PATH, videoFxAssetParams);\\n const WORKER_FETCH_OPTIONS = {\\n method: 'GET',\\n mode: 'cors',\\n credentials: 'omit',\\n redirect: 'follow',\\n referrerPolicy: 'no-referrer',\\n };\\n try {\\n const res = yield fetch_1.fetchWithBehavior(fxLibPath, WORKER_FETCH_OPTIONS, {});\\n if (!res.ok) {\\n throw new Error('Fetch failed.');\\n }\\n const blobURL = window.URL.createObjectURL(yield res.blob());\\n yield new Promise((resolve, reject) => {\\n this.fxLibScript = document.createElement('script');\\n this.fxLibScript.setAttribute('src', blobURL);\\n this.fxLibScript.setAttribute('type', 'module');\\n this.fxLibScript.setAttribute('async', 'false');\\n this.fxLibScript.addEventListener('load', resolve);\\n this.fxLibScript.addEventListener('error', reject);\\n document.body.appendChild(this.fxLibScript);\\n });\\n }\\n catch (error) {\\n this.logger.error(error.toString());\\n throw new Error(`Failed to load the fxlib`);\\n }\\n });\\n }\\n /**\\n * Getter for the current [[VideoFxConfig]] maintained as an instance property of\\n * [[VideoFxProcessor]].\\n * @returns currentEffectConfig\\n */\\n getEffectConfig() {\\n return this.cloneConfigFrom(this.effectConfig);\\n }\\n /**\\n * Receives messages from the engine worker and then delegates\\n * the proper response to a different function.\\n * @param event notification to be received from the engine worker\\n */\\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n engineWorkerReceiver(event) {\\n const msg = event.data;\\n switch (msg.msg) {\\n case VideoFxConstants_1.WORKER_MSG.BUILD_ENGINE_RESPONSE:\\n this.settleEngineBuildPromise(msg.payload);\\n break;\\n case VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_RESPONSE:\\n this.settleSegmentationPromise(msg.payload.output);\\n break;\\n case VideoFxConstants_1.WORKER_MSG.PERFORM_SEGMENTATION_SAB_RESPONSE:\\n this.settleSegmentationPromiseSAB();\\n break;\\n case VideoFxConstants_1.WORKER_MSG.DESTROY_ASSETS_RESPONSE:\\n this.destroyedAssetsPromise.resolvePromise();\\n break;\\n default:\\n this.logger.info(`VideoFx worker received unknown event msg: ${JSON.stringify(msg)}`);\\n break;\\n }\\n }\\n /**\\n * Handle the message returned from the VideoFX Engine worker to\\n * settle (resolve/reject) the promise associated with initializing the engine.\\n * @param buildStatus status of the final result of building the engine\\n */\\n settleEngineBuildPromise(buildStatus) {\\n // Resolve or reject the engineInstantiatedPromise depending on success\\n // of instatiation\\n if (buildStatus !== VideoFxConstants_1.SEGMENTATION_MODEL.LOAD_SUCCESS) {\\n this.buildEnginePromise.rejectPromise(new Error(`Failed to build VideoFxProcessor's engine`));\\n }\\n else {\\n this.logger.info(`Successfully built the VideoFxEngine`);\\n this.buildEnginePromise.resolvePromise();\\n }\\n }\\n /**\\n * Handle the received segmentation mask and then resolve/reject the promise to notify\\n * the main processing function to prepare for the next frame (using ImageData transfer).\\n * @param segmentationMask\\n */\\n settleSegmentationPromise(segmentationMask) {\\n // Resolve or reject the frameRequestPromise depending on the success of transforming\\n // the input image\\n if (segmentationMask) {\\n // Resolve segmentation promise with mask data\\n this.segmentationRequestPromise.resolveAndReplacePromise(segmentationMask);\\n }\\n else {\\n this.segmentationRequestPromise.rejectAndReplacePromise(new Error(`Failed to perform a segmentation on the input image`));\\n }\\n }\\n /**\\n * Handle the received segmentation mask and then resolve/reject the promise to notify\\n * the main processing function to prepare for the next frame (using shared array buffer).\\n */\\n settleSegmentationPromiseSAB() {\\n try {\\n // Resolve segmentation promise with mask data\\n const transformedImageData = new ImageData(new Uint8ClampedArray(this.sharedImageData), VideoFxConstants_1.SEGMENTATION_MODEL.WIDTH_IN_PIXELS, VideoFxConstants_1.SEGMENTATION_MODEL.HEIGHT_IN_PIXELS);\\n this.segmentationRequestPromise.resolveAndReplacePromise(transformedImageData);\\n }\\n catch (_a) {\\n this.segmentationRequestPromise.rejectAndReplacePromise(new Error(`Failed to perform a segmentation with a shared ` + `array buffer on the input image`));\\n }\\n }\\n /**\\n * Function that will convert the VideoFxProcessor into a NoOp version of itself.\\n * Will only return input video stream and not use worker, engine, or segmentation\\n * model.\\n */\\n setToNoOpProcess() {\\n this.process = this.noOpProcess;\\n }\\n /**\\n * Detect client environment to determine if the [[VideoFxProcessor]] is supported.\\n * @param logger to record/report events of checking processor support\\n * @param attemptAssetLoad will also fetch and build all relevant components of the\\n * processor to ensure end to end feature is supported\\n * @returns a boolean promise that will resolve to true if supported and false if not\\n */\\n static isSupported(logger = new NoOpLogger_1.default(), attemptAssetLoad = true) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // allCheckedPassed represents the state of support and we assume it is true until checkEnv tells us otherwise\\n let allCheckedPassed = true;\\n // checkEnv evaluates a boolean condition, badPromiseCondition, that when true would cause isSupported to fail.\\n // We also log a corresponding error message for each support check so a builder can see what is still needed\\n // in their environment.\\n const checkEnv = (badPromiseCondition, message) => {\\n if (badPromiseCondition) {\\n logger.info(message);\\n allCheckedPassed = false;\\n }\\n };\\n // Get context for operating environment\\n // could not figure out how to remove globalThis to test failure case\\n /* istanbul ignore next */\\n checkEnv(typeof globalThis === 'undefined', 'Browser does not have globalThis.');\\n // Check workers are supported\\n checkEnv(!support_1.supportsWorker(globalThis, logger), 'Browser does not support web workers.');\\n // Check wasm is supported\\n checkEnv(!support_1.supportsWASM(globalThis, logger), 'Browser does not support wasm.');\\n // Check webgl2 is supported\\n checkEnv(!document.createElement('canvas').getContext('webgl2'), 'Browser does not support webgl.');\\n // Check browser support\\n const browserBehavior = new DefaultBrowserBehavior_1.default();\\n checkEnv(!browserBehavior.isVideoFxSupportedBrowser(), 'Browser is unsupported for VideoFxProcessor');\\n // checkProcessor first checks if we can load all required assets and then tests VideoFxProcessor.\\n const checkProcessor = () => __awaiter(this, void 0, void 0, function* () {\\n if (attemptAssetLoad) {\\n try {\\n const testFxProcessor = new VideoFxProcessor(logger);\\n yield testFxProcessor.loadAssets();\\n yield testFxProcessor.destroy(); // destroy assets we just temp loaded\\n }\\n catch (_a) {\\n logger.info('Browser environment is unable to access the required external assets.');\\n return Promise.resolve(false);\\n }\\n }\\n return Promise.resolve(true);\\n });\\n return Promise.resolve(allCheckedPassed ? yield checkProcessor() : false);\\n });\\n }\\n /**\\n * Create a [[VideoFxProcessor]] that has loaded its necessary components, ready to instantly\\n * process a video stream with the effects specified in the passed [[VideoFxConfig]].\\n *\\n * ** NOTICE **\\n *\\n * Amazon Chime background blur 2.0 and background replacement 2.0\\n * Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n *\\n * By installing or using this package, you agree to the AWS Customer Agreement, AWS Service Terms, and AWS Privacy Notice.\\n * If you already have an AWS Customer Agreement, you agree that the terms of that agreement govern your download and use of this package.\\n * This package is provided as AWS Content and subject to the AWS Customer agreement and any other agreement with AWS governing your use of\\n * AWS services.\\n */\\n static create(logger, effectConfig, processingBudgetPerFrame = VideoFxConstants_1.RESOURCE_CONSTRAINTS.DEFAULT_PROCESSING_BUDGET_PER_FRAME) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // Create the videoFxProcessor\\n const videoFxProcessor = new VideoFxProcessor(logger, processingBudgetPerFrame);\\n // Load the required assets and set desired effect config\\n try {\\n yield videoFxProcessor.loadAssets();\\n yield videoFxProcessor.setEffectConfig(effectConfig);\\n return videoFxProcessor;\\n }\\n catch (error) {\\n logger.error(error.toString());\\n // If we fail loading an essential asset from above, we overwrite our\\n // processor to process with no operations or effects\\n videoFxProcessor.setToNoOpProcess();\\n throw new Error(`VideoFxProcessor built with support for only NoOp processing`);\\n }\\n });\\n }\\n /** @internal */\\n setEventController(eventController) {\\n /*\\n if this is a first time we set the eventController, need to publish the current VideoFxConfig.\\n Otherwise, just set the eventController.\\n */\\n if (this.eventController) {\\n this.eventController = eventController;\\n }\\n else {\\n this.eventController = eventController;\\n this.publishVideoFxConfigEvent();\\n }\\n }\\n publishVideoFxConfigEvent() {\\n const mediaFXEventAttibutes = {\\n backgroundBlurEnabled: this.effectConfig.backgroundBlur.isEnabled.toString(),\\n backgroundBlurStrength: this.effectConfig.backgroundBlur.strength,\\n backgroundReplacementEnabled: this.effectConfig.backgroundReplacement.isEnabled.toString(),\\n backgroundFilterVersion: 2,\\n };\\n this.eventController.publishEvent('backgroundFilterConfigSelected', mediaFXEventAttibutes);\\n }\\n sameVideoFxConfig(firstConfig, secondConfig) {\\n return (firstConfig.backgroundBlur.isEnabled === secondConfig.backgroundBlur.isEnabled &&\\n firstConfig.backgroundBlur.strength === secondConfig.backgroundBlur.strength &&\\n firstConfig.backgroundReplacement.backgroundImageURL ===\\n secondConfig.backgroundReplacement.backgroundImageURL &&\\n firstConfig.backgroundReplacement.defaultColor ===\\n secondConfig.backgroundReplacement.defaultColor &&\\n firstConfig.backgroundReplacement.isEnabled === secondConfig.backgroundReplacement.isEnabled);\\n }\\n}\\nexports[\\\"default\\\"] = VideoFxProcessor;\\nVideoFxProcessor.isSharedArrayBufferSupported = typeof SharedArrayBuffer !== 'undefined';\\n//# sourceMappingURL=VideoFxProcessor.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxProcessor.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js ***!\n \\******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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.VideoFxSegmentationRateManager = void 0;\\nconst VideoFxConstants_1 = __webpack_require__(/*! ./VideoFxConstants */ \\\"./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxConstants.js\\\");\\n/**\\n * [[VideoFxSegmentationRateManager]] Mechanism that can be used to maximize\\n * frequency of the segmentation operations while maintaining a target amount\\n * of resource utilization.\\n */\\nclass VideoFxSegmentationRateManager {\\n constructor(logger, targetSegmentationCycleTime) {\\n this.logger = logger;\\n // Max amount of compute we want to offer to action (converted from\\n // percentage to decimal)\\n this.targetSegmentationCyclePercentage = targetSegmentationCycleTime / 100;\\n // Variables for recording timing within cycle\\n this.frameCountOverSamplingPeriod = 0;\\n this.totalSegmentationDurationOverSamplingPeriod = 0;\\n this.samplingPeriodStartTime = performance.now();\\n this.framesPerSegmentation = VideoFxConstants_1.RESOURCE_CONSTRAINTS.SEGMENTATION_DEFAULT_FRAMES_PER_SEGMENTATION;\\n }\\n /**\\n * Invoked on every frame to increment the running count of frames being processed\\n */\\n submitFrame() {\\n this.frameCountOverSamplingPeriod++;\\n }\\n /**\\n * Invoked on every frame to coordinate when the segmentation should be\\n * executed so that we are maintaing a segmentation rate of once per every\\n * framesPerSegmentation frames.\\n * @returns boolean for whether or not we want to perform an action on the current\\n * frame\\n */\\n shouldApplySegmentation() {\\n return this.frameCountOverSamplingPeriod % this.framesPerSegmentation === 0;\\n }\\n /**\\n * Starts the timing of the current action\\n */\\n startSegmentation() {\\n this.frameSegmentationStartTime = performance.now();\\n }\\n /**\\n * Invoked after the action to notify the compute manager. Afterwards the\\n * manager will make adjustments to action rates to maintain a value below compute\\n * ceiling\\n */\\n completeSegmentation() {\\n this.totalSegmentationDurationOverSamplingPeriod +=\\n performance.now() - this.frameSegmentationStartTime;\\n // Check if the sampling period has ended. If so, check if frames per\\n // segmentation needs to be updated\\n if (this.frameCountOverSamplingPeriod >=\\n VideoFxConstants_1.RESOURCE_CONSTRAINTS.SEGMENTATION_SAMPLING_PERIOD_FRAME_COUNT) {\\n this.adjustFramesPerSegmentation(this.totalSegmentationDurationOverSamplingPeriod /\\n (performance.now() - this.samplingPeriodStartTime));\\n }\\n }\\n /**\\n * Increase or decrease the frames per segmentation so that we remain as performant as possible,\\n * but also below the targetSegmentationCycleTime\\n * @param currentSegmentationCycleTime Current ratio of frame processing allocated to a specific action\\n */\\n adjustFramesPerSegmentation(currentSegmentationCycleTime) {\\n // Compute is too high -> increase action period (slow down)\\n if (currentSegmentationCycleTime > this.targetSegmentationCyclePercentage) {\\n this.framesPerSegmentation++;\\n this.logger.info(`Segmentation cycle percentage above the configured maximal value. ` +\\n `Decreasing segmentation rate to 1 segmentation per ` +\\n `${this.framesPerSegmentation} frames`);\\n // Compute is too low -> decrease action period (speed up)\\n }\\n else if (this.framesPerSegmentation > 1 &&\\n currentSegmentationCycleTime < this.targetSegmentationCyclePercentage) {\\n this.framesPerSegmentation--;\\n this.logger.info(`Segmentation cycle percentage below the configured maximal value. ` +\\n `Increasing segmentation rate to 1 segmentation per ` +\\n `${this.framesPerSegmentation} frames`);\\n }\\n // Reset for next compute sample/cycle\\n this.totalSegmentationDurationOverSamplingPeriod = 0;\\n this.frameCountOverSamplingPeriod = 0;\\n this.samplingPeriodStartTime = performance.now();\\n }\\n}\\nexports.VideoFxSegmentationRateManager = VideoFxSegmentationRateManager;\\n//# sourceMappingURL=VideoFxSegmentationRateManager.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videofx/VideoFxSegmentationRateManager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js ***!\n \\***************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 * [[VideoSource]] contains the information of a video source.\\n */\\nclass VideoSource {\\n}\\nexports[\\\"default\\\"] = VideoSource;\\n//# sourceMappingURL=VideoSource.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videosource/VideoSource.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 * [[DefaultVideoStreamIdSet]] implements [[VideoStreamIdSet]].\\n */\\nclass DefaultVideoStreamIdSet {\\n constructor(ids) {\\n this.ids = new Set(ids);\\n }\\n add(streamId) {\\n this.ids.add(streamId);\\n }\\n array() {\\n const values = Array.from(this.ids.values());\\n return values.sort((a, b) => a - b);\\n }\\n contain(streamId) {\\n return this.ids.has(streamId);\\n }\\n forEach(callbackFn) {\\n this.ids.forEach(callbackFn);\\n }\\n empty() {\\n return this.ids.size === 0;\\n }\\n size() {\\n return this.ids.size;\\n }\\n equal(other) {\\n if (!other) {\\n return this.ids.size === 0;\\n }\\n const x = this.array();\\n const y = other.array();\\n if (x.length !== y.length) {\\n return false;\\n }\\n for (let i = 0; i < x.length; i++) {\\n if (x[i] !== y[i]) {\\n return false;\\n }\\n }\\n return true;\\n }\\n clone() {\\n return new DefaultVideoStreamIdSet(this.array());\\n }\\n remove(streamId) {\\n this.ids.delete(streamId);\\n }\\n toJSON() {\\n return this.array();\\n }\\n truncate(length) {\\n const x = this.array();\\n return new DefaultVideoStreamIdSet(x.splice(0, length));\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoStreamIdSet;\\n//# sourceMappingURL=DefaultVideoStreamIdSet.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIdSet_1 = __webpack_require__(/*! ../videostreamidset/DefaultVideoStreamIdSet */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamidset/DefaultVideoStreamIdSet.js\\\");\\nconst VideoStreamDescription_1 = __webpack_require__(/*! ./VideoStreamDescription */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js\\\");\\n/**\\n * [[DefaultVideoStreamIndex]] implements [[VideoStreamIndex]] to facilitate video stream subscription\\n * and includes query functions for stream id and attendee id.\\n */\\nclass DefaultVideoStreamIndex {\\n constructor(logger) {\\n this.logger = logger;\\n this.currentIndex = null;\\n this.indexForSubscribe = null;\\n this.currentSubscribeAck = null;\\n // These are based on the index at the time of the last Subscribe Ack\\n this.subscribeTrackToStreamMap = null;\\n this.subscribeStreamToAttendeeMap = null;\\n this.subscribeStreamToExternalUserIdMap = null;\\n this.subscribeSsrcToStreamMap = null;\\n // These are based on the most up to date index\\n this.streamToAttendeeMap = null;\\n this.streamToExternalUserIdMap = null;\\n this.videoStreamDescription = new VideoStreamDescription_1.default();\\n this.videoStreamDescription.trackLabel = 'AmazonChimeExpressVideo';\\n this.videoStreamDescription.streamId = 2;\\n this.videoStreamDescription.groupId = 2;\\n }\\n localStreamDescriptions() {\\n // localStreamDescriptions are used to construct IndexFrame\\n // old behavior for single video is to have streamId and groupId trackLabel fixed as the follows\\n return [this.videoStreamDescription.clone()];\\n }\\n convertBpsToKbps(avgBitrateBps) {\\n if (avgBitrateBps > 0 && avgBitrateBps < 1000) {\\n return 1;\\n }\\n else {\\n return Math.trunc(avgBitrateBps / 1000);\\n }\\n }\\n remoteStreamDescriptions() {\\n if (!this.currentIndex || !this.currentIndex.sources) {\\n return [];\\n }\\n const streamInfos = [];\\n this.currentIndex.sources.forEach(source => {\\n const description = new VideoStreamDescription_1.default();\\n description.attendeeId = source.attendeeId;\\n description.groupId = source.groupId;\\n description.streamId = source.streamId;\\n description.maxBitrateKbps = source.maxBitrateKbps;\\n description.avgBitrateKbps = this.convertBpsToKbps(source.avgBitrateBps);\\n streamInfos.push(description);\\n });\\n return streamInfos;\\n }\\n integrateUplinkPolicyDecision(param) {\\n if (!!param && param.length) {\\n const encodingParam = param[0];\\n this.videoStreamDescription.maxBitrateKbps = encodingParam.maxBitrate / 1000;\\n this.videoStreamDescription.maxFrameRate = encodingParam.maxFramerate;\\n }\\n }\\n integrateIndexFrame(indexFrame) {\\n this.currentIndex = indexFrame;\\n // In the Amazon Chime SDKs, we assume a one to one mapping of group ID to profile ID when creating\\n // video tiles (multiple video sources are supported through applying a `Modality` to a given profile/session token)\\n //\\n // We enforce this here to mitigate any possible duplicate group IDs left from a reconnection where the previous\\n // signal channel hasn't been timed out yet. To guarantee we receive the latest stream we use the highest group ID\\n // since they are monotonically increasing.\\n const attendeeIdToMainGroupIdMap = new Map();\\n // Improve performance by not filtering sources unless\\n // we know the list will actually change\\n let attendeeWithMultipleGroupIdsExists = false;\\n for (const source of indexFrame.sources) {\\n if (!attendeeIdToMainGroupIdMap.has(source.attendeeId)) {\\n // We haven't see this attendee ID so just keep track of it\\n attendeeIdToMainGroupIdMap.set(source.attendeeId, source.groupId);\\n continue;\\n }\\n // Otherwise see if we should use the group ID corresponding to this source (we prefer the highest for each attendee)\\n const currentGroupId = attendeeIdToMainGroupIdMap.get(source.attendeeId);\\n if (currentGroupId < source.groupId) {\\n this.logger.warn(`Old group ID ${currentGroupId} found for attendee ID ${source.attendeeId}, replacing with newer group ID ${source.groupId}`);\\n attendeeIdToMainGroupIdMap.set(source.attendeeId, source.groupId);\\n }\\n attendeeWithMultipleGroupIdsExists = true;\\n }\\n if (attendeeWithMultipleGroupIdsExists) {\\n // Only use the sources corresponding to the main group IDs for the given attendee ID\\n this.currentIndex.sources = this.currentIndex.sources.filter(source => attendeeIdToMainGroupIdMap.get(source.attendeeId) === source.groupId);\\n }\\n // Null out cached maps, these will be recreated on demand\\n this.streamToAttendeeMap = null;\\n this.streamToExternalUserIdMap = null;\\n }\\n subscribeFrameSent() {\\n // This is called just as a Subscribe is being sent. Save corresponding Index\\n this.indexForSubscribe = this.currentIndex;\\n }\\n integrateSubscribeAckFrame(subscribeAck) {\\n this.currentSubscribeAck = subscribeAck;\\n // These are valid until the next Subscribe Ack even if the index is updated\\n this.subscribeTrackToStreamMap = this.buildTrackToStreamMap(this.currentSubscribeAck);\\n this.subscribeSsrcToStreamMap = this.buildSSRCToStreamMap(this.currentSubscribeAck);\\n this.subscribeStreamToAttendeeMap = this.buildStreamToAttendeeMap(this.indexForSubscribe);\\n this.subscribeStreamToExternalUserIdMap = this.buildStreamExternalUserIdMap(this.indexForSubscribe);\\n }\\n integrateBitratesFrame(bitrates) {\\n if (this.currentIndex) {\\n for (const bitrate of bitrates.bitrates) {\\n const source = this.currentIndex.sources.find(source => source.streamId === bitrate.sourceStreamId);\\n if (source !== undefined) {\\n source.avgBitrateBps = bitrate.avgBitrateBps;\\n }\\n }\\n }\\n }\\n allStreams() {\\n const set = new DefaultVideoStreamIdSet_1.default();\\n if (this.currentIndex) {\\n for (const source of this.currentIndex.sources) {\\n set.add(source.streamId);\\n }\\n }\\n return set;\\n }\\n allVideoSendingSourcesExcludingSelf(selfAttendeeId) {\\n const videoSources = [];\\n const attendeeSet = new Set();\\n if (this.currentIndex) {\\n if (this.currentIndex.sources && this.currentIndex.sources.length) {\\n for (const stream of this.currentIndex.sources) {\\n const { attendeeId, externalUserId, mediaType } = stream;\\n if (attendeeId !== selfAttendeeId && mediaType === SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n if (!attendeeSet.has(attendeeId)) {\\n videoSources.push({ attendee: { attendeeId, externalUserId } });\\n attendeeSet.add(attendeeId);\\n }\\n }\\n }\\n }\\n }\\n return videoSources;\\n }\\n streamSelectionUnderBandwidthConstraint(selfAttendeeId, largeTileAttendeeIds, smallTileAttendeeIds, bandwidthKbps) {\\n const newAttendees = new Set();\\n if (this.currentIndex) {\\n for (const stream of this.currentIndex.sources) {\\n if (stream.attendeeId === selfAttendeeId || stream.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n if (!largeTileAttendeeIds.has(stream.attendeeId) &&\\n !smallTileAttendeeIds.has(stream.attendeeId)) {\\n newAttendees.add(stream.attendeeId);\\n }\\n }\\n }\\n const attendeeToStreamDescriptorMap = this.buildAttendeeToSortedStreamDescriptorMapExcludingSelf(selfAttendeeId);\\n const selectionMap = new Map();\\n let usage = 0;\\n attendeeToStreamDescriptorMap.forEach((streams, attendeeId) => {\\n selectionMap.set(attendeeId, streams[0]);\\n usage += streams[0].maxBitrateKbps;\\n });\\n usage = this.trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap, largeTileAttendeeIds, usage, bandwidthKbps, selectionMap);\\n this.trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap, newAttendees, usage, bandwidthKbps, selectionMap);\\n const streamSelectionSet = new DefaultVideoStreamIdSet_1.default();\\n for (const source of selectionMap.values()) {\\n streamSelectionSet.add(source.streamId);\\n }\\n return streamSelectionSet;\\n }\\n highestQualityStreamFromEachGroupExcludingSelf(selfAttendeeId) {\\n const set = new DefaultVideoStreamIdSet_1.default();\\n if (this.currentIndex) {\\n const maxes = new Map();\\n for (const source of this.currentIndex.sources) {\\n if (source.attendeeId === selfAttendeeId || source.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n if (!maxes.has(source.groupId) ||\\n source.maxBitrateKbps > maxes.get(source.groupId).maxBitrateKbps) {\\n maxes.set(source.groupId, source);\\n }\\n }\\n for (const source of maxes.values()) {\\n set.add(source.streamId);\\n }\\n }\\n return set;\\n }\\n numberOfVideoPublishingParticipantsExcludingSelf(selfAttendeeId) {\\n return this.highestQualityStreamFromEachGroupExcludingSelf(selfAttendeeId).array().length;\\n }\\n numberOfParticipants() {\\n if (!!this.currentIndex.numParticipants) {\\n return this.currentIndex.numParticipants;\\n }\\n return -1;\\n }\\n attendeeIdForTrack(trackId) {\\n const streamId = this.streamIdForTrack(trackId);\\n if (streamId === undefined || !this.subscribeStreamToAttendeeMap) {\\n this.logger.warn(`no attendee found for track ${trackId}`);\\n return '';\\n }\\n const attendeeId = this.subscribeStreamToAttendeeMap.get(streamId);\\n if (!attendeeId) {\\n this.logger.info(`track ${trackId} (stream ${streamId}) does not correspond to a known attendee`);\\n return '';\\n }\\n return attendeeId;\\n }\\n externalUserIdForTrack(trackId) {\\n const streamId = this.streamIdForTrack(trackId);\\n if (streamId === undefined || !this.subscribeStreamToExternalUserIdMap) {\\n this.logger.warn(`no external user id found for track ${trackId}`);\\n return '';\\n }\\n const externalUserId = this.subscribeStreamToExternalUserIdMap.get(streamId);\\n if (!externalUserId) {\\n this.logger.info(`track ${trackId} (stream ${streamId}) does not correspond to a known externalUserId`);\\n return '';\\n }\\n return externalUserId;\\n }\\n attendeeIdForStreamId(streamId) {\\n if (!this.streamToAttendeeMap) {\\n if (this.currentIndex) {\\n this.streamToAttendeeMap = this.buildStreamToAttendeeMap(this.currentIndex);\\n }\\n else {\\n return '';\\n }\\n }\\n const attendeeId = this.streamToAttendeeMap.get(streamId);\\n if (!attendeeId) {\\n this.logger.info(`stream ${streamId}) does not correspond to a known attendee`);\\n return '';\\n }\\n return attendeeId;\\n }\\n groupIdForStreamId(streamId) {\\n if (!this.currentIndex || !this.currentIndex.sources) {\\n return undefined;\\n }\\n for (const source of this.currentIndex.sources) {\\n if (source.streamId === streamId) {\\n return source.groupId;\\n }\\n }\\n // If wasn't found in current index, then it could be in index used in last subscribe\\n if (!!this.indexForSubscribe) {\\n for (const source of this.indexForSubscribe.sources) {\\n if (source.streamId === streamId) {\\n return source.groupId;\\n }\\n }\\n }\\n return undefined;\\n }\\n StreamIdsInSameGroup(streamId1, streamId2) {\\n if (this.groupIdForStreamId(streamId1) === this.groupIdForStreamId(streamId2)) {\\n return true;\\n }\\n return false;\\n }\\n streamIdForTrack(trackId) {\\n if (!this.subscribeTrackToStreamMap) {\\n return undefined;\\n }\\n return this.subscribeTrackToStreamMap.get(trackId);\\n }\\n streamIdForSSRC(ssrcId) {\\n if (!this.subscribeSsrcToStreamMap) {\\n return undefined;\\n }\\n return this.subscribeSsrcToStreamMap.get(ssrcId);\\n }\\n overrideStreamIdMappings(previous, current) {\\n if (this.subscribeTrackToStreamMap) {\\n for (const [track, streamId] of this.subscribeTrackToStreamMap.entries()) {\\n if (previous === streamId) {\\n this.subscribeTrackToStreamMap.set(track, current);\\n break;\\n }\\n }\\n }\\n if (this.subscribeSsrcToStreamMap) {\\n for (const [ssrc, streamId] of this.subscribeSsrcToStreamMap.entries()) {\\n if (previous === streamId) {\\n this.subscribeSsrcToStreamMap.set(ssrc, current);\\n break;\\n }\\n }\\n }\\n }\\n streamsPausedAtSource() {\\n const paused = new DefaultVideoStreamIdSet_1.default();\\n if (this.currentIndex) {\\n for (const streamId of this.currentIndex.pausedAtSourceIds) {\\n paused.add(streamId);\\n }\\n }\\n return paused;\\n }\\n buildTrackToStreamMap(subscribeAck) {\\n const map = new Map();\\n this.logger.debug(() => `trackMap ${JSON.stringify(subscribeAck.tracks)}`);\\n for (const trackMapping of subscribeAck.tracks) {\\n if (trackMapping.trackLabel.length > 0 && trackMapping.streamId > 0) {\\n map.set(trackMapping.trackLabel, trackMapping.streamId);\\n }\\n }\\n return map;\\n }\\n buildSSRCToStreamMap(subscribeAck) {\\n const map = new Map();\\n this.logger.debug(() => `ssrcMap ${JSON.stringify(subscribeAck.tracks)}`);\\n for (const trackMapping of subscribeAck.tracks) {\\n if (trackMapping.trackLabel.length > 0 && trackMapping.streamId > 0) {\\n map.set(trackMapping.ssrc, trackMapping.streamId);\\n }\\n }\\n return map;\\n }\\n buildStreamToAttendeeMap(indexFrame) {\\n const map = new Map();\\n if (indexFrame) {\\n for (const source of indexFrame.sources) {\\n map.set(source.streamId, source.attendeeId);\\n }\\n }\\n return map;\\n }\\n buildStreamExternalUserIdMap(indexFrame) {\\n const map = new Map();\\n if (indexFrame) {\\n for (const source of indexFrame.sources) {\\n if (!!source.externalUserId) {\\n map.set(source.streamId, source.externalUserId);\\n }\\n }\\n }\\n return map;\\n }\\n trySelectHighBitrateForAttendees(attendeeToStreamDescriptorMap, highAttendees, currentUsage, bandwidthKbps, currentSelectionRef) {\\n for (const attendeeId of highAttendees) {\\n if (currentUsage >= bandwidthKbps) {\\n break;\\n }\\n if (attendeeToStreamDescriptorMap.has(attendeeId)) {\\n const streams = attendeeToStreamDescriptorMap.get(attendeeId);\\n for (const l of streams.reverse()) {\\n if (currentUsage - currentSelectionRef.get(attendeeId).maxBitrateKbps + l.maxBitrateKbps <\\n bandwidthKbps) {\\n currentUsage =\\n currentUsage - currentSelectionRef.get(attendeeId).maxBitrateKbps + l.maxBitrateKbps;\\n currentSelectionRef.set(attendeeId, l);\\n break;\\n }\\n }\\n }\\n }\\n return currentUsage;\\n }\\n buildAttendeeToSortedStreamDescriptorMapExcludingSelf(selfAttendeeId) {\\n const attendeeToStreamDescriptorMap = new Map();\\n if (this.currentIndex) {\\n for (const source of this.currentIndex.sources) {\\n if (source.attendeeId === selfAttendeeId || source.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n if (attendeeToStreamDescriptorMap.has(source.attendeeId)) {\\n attendeeToStreamDescriptorMap.get(source.attendeeId).push(source);\\n }\\n else {\\n attendeeToStreamDescriptorMap.set(source.attendeeId, [source]);\\n }\\n }\\n }\\n attendeeToStreamDescriptorMap.forEach((streams, _attendeeId) => {\\n streams.sort((stream1, stream2) => {\\n if (stream1.maxBitrateKbps > stream2.maxBitrateKbps) {\\n return 1;\\n }\\n else if (stream1.maxBitrateKbps < stream2.maxBitrateKbps) {\\n return -1;\\n }\\n else {\\n return 0;\\n }\\n });\\n });\\n return attendeeToStreamDescriptorMap;\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoStreamIndex;\\n//# sourceMappingURL=DefaultVideoStreamIndex.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js\":\n/*!**********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js ***!\n \\**********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoStreamIndex_1 = __webpack_require__(/*! ./DefaultVideoStreamIndex */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamindex/DefaultVideoStreamIndex.js\\\");\\nconst VideoStreamDescription_1 = __webpack_require__(/*! ./VideoStreamDescription */ \\\"./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js\\\");\\n/**\\n * [[SimulcastTransceiverController]] implements [[VideoStreamIndex]] to facilitate video stream\\n * subscription and includes query functions for stream id and attendee id.\\n */\\nclass SimulcastVideoStreamIndex extends DefaultVideoStreamIndex_1.default {\\n constructor(logger) {\\n super(logger);\\n this.streamIdToBitrateKbpsMap = new Map();\\n this._localStreamInfos = [];\\n this._lastBitRateMsgTime = Date.now();\\n }\\n localStreamDescriptions() {\\n const clonedDescriptions = [];\\n this._localStreamInfos.forEach(desc => {\\n clonedDescriptions.push(desc.clone());\\n });\\n return clonedDescriptions;\\n }\\n integrateUplinkPolicyDecision(encodingParams) {\\n // Reuse local streams (that might already have stream IDs allocated) until\\n // there are no more and then add as many new local streams as needed\\n let hasStreamsToReuse = true;\\n let localStreamIndex = 0;\\n for (let i = 0; i < encodingParams.length; i++) {\\n const targetMaxBitrateKbps = encodingParams[i].maxBitrate / 1000;\\n const targetMaxFrameRate = encodingParams[i].maxFramerate;\\n if (!hasStreamsToReuse || i === this._localStreamInfos.length) {\\n hasStreamsToReuse = false;\\n const newInfo = new VideoStreamDescription_1.default();\\n newInfo.maxBitrateKbps = targetMaxBitrateKbps;\\n newInfo.maxFrameRate = targetMaxFrameRate;\\n newInfo.disabledByUplinkPolicy = targetMaxBitrateKbps === 0 ? true : false;\\n if (targetMaxBitrateKbps !== 0) {\\n newInfo.timeEnabled = Date.now();\\n }\\n this._localStreamInfos.push(newInfo);\\n localStreamIndex++;\\n continue;\\n }\\n if (this._localStreamInfos[localStreamIndex].maxBitrateKbps === 0 &&\\n targetMaxBitrateKbps > 0) {\\n this._localStreamInfos[localStreamIndex].timeEnabled = Date.now();\\n }\\n this._localStreamInfos[localStreamIndex].maxBitrateKbps = targetMaxBitrateKbps;\\n this._localStreamInfos[localStreamIndex].maxFrameRate = targetMaxFrameRate;\\n this._localStreamInfos[localStreamIndex].disabledByUplinkPolicy =\\n targetMaxBitrateKbps === 0 ? true : false;\\n if (this._localStreamInfos[localStreamIndex].disabledByUplinkPolicy === true) {\\n this._localStreamInfos[localStreamIndex].disabledByWebRTC = false;\\n }\\n localStreamIndex++;\\n }\\n if (hasStreamsToReuse) {\\n // splice is zero-based, remove stream starting from localStreamIndex\\n this._localStreamInfos.splice(localStreamIndex);\\n }\\n }\\n integrateBitratesFrame(bitrateFrame) {\\n super.integrateBitratesFrame(bitrateFrame);\\n const stillSending = new Set();\\n const existingSet = new Set(this.streamIdToBitrateKbpsMap.keys());\\n for (const bitrateMsg of bitrateFrame.bitrates) {\\n stillSending.add(bitrateMsg.sourceStreamId);\\n this.streamIdToBitrateKbpsMap.set(bitrateMsg.sourceStreamId, this.convertBpsToKbps(bitrateMsg.avgBitrateBps));\\n }\\n for (const id of existingSet) {\\n if (!stillSending.has(id)) {\\n const avgBitrateBps = this.streamIdToBitrateKbpsMap.get(id);\\n if (avgBitrateBps === SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE) {\\n this.streamIdToBitrateKbpsMap.set(id, SimulcastVideoStreamIndex.RECENTLY_INACTIVE_STREAM_BITRATE);\\n }\\n else {\\n this.streamIdToBitrateKbpsMap.set(id, SimulcastVideoStreamIndex.NOT_SENDING_STREAM_BITRATE);\\n }\\n }\\n }\\n for (let i = 0; i < this._localStreamInfos.length; i++) {\\n this._localStreamInfos[i].disabledByWebRTC = false;\\n const streamId = this._localStreamInfos[i].streamId;\\n if (this._localStreamInfos[i].disabledByUplinkPolicy) {\\n continue;\\n }\\n if (this.streamIdToBitrateKbpsMap.has(streamId)) {\\n const avgBitrateKbps = this.streamIdToBitrateKbpsMap.get(streamId);\\n if (avgBitrateKbps === SimulcastVideoStreamIndex.NOT_SENDING_STREAM_BITRATE &&\\n this._lastBitRateMsgTime - this._localStreamInfos[i].timeEnabled >\\n SimulcastVideoStreamIndex.BitratesMsgFrequencyMs) {\\n this._localStreamInfos[i].disabledByWebRTC = true;\\n }\\n }\\n else {\\n // Do not flag as disabled if it was recently enabled\\n if (this._lastBitRateMsgTime - this._localStreamInfos[i].timeEnabled >\\n SimulcastVideoStreamIndex.BitratesMsgFrequencyMs) {\\n this._localStreamInfos[i].disabledByWebRTC = true;\\n }\\n }\\n }\\n this._lastBitRateMsgTime = Date.now();\\n this.logLocalStreamDescriptions();\\n }\\n logLocalStreamDescriptions() {\\n let msg = '';\\n for (const desc of this._localStreamInfos) {\\n msg += `streamId=${desc.streamId} maxBitrate=${desc.maxBitrateKbps} disabledByWebRTC=${desc.disabledByWebRTC} disabledByUplink=${desc.disabledByUplinkPolicy}\\\\n`;\\n }\\n this.logger.debug(() => {\\n return msg;\\n });\\n }\\n integrateIndexFrame(indexFrame) {\\n super.integrateIndexFrame(indexFrame);\\n const newIndexStreamIdSet = new Set();\\n const existingSet = new Set(this.streamIdToBitrateKbpsMap.keys());\\n for (const stream of this.currentIndex.sources) {\\n if (stream.mediaType !== SignalingProtocol_js_1.SdkStreamMediaType.VIDEO) {\\n continue;\\n }\\n newIndexStreamIdSet.add(stream.streamId);\\n if (!this.streamIdToBitrateKbpsMap.has(stream.streamId)) {\\n this.streamIdToBitrateKbpsMap.set(stream.streamId, SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE);\\n }\\n }\\n for (const id of existingSet) {\\n if (!newIndexStreamIdSet.has(id)) {\\n this.streamIdToBitrateKbpsMap.delete(id);\\n }\\n }\\n }\\n integrateSubscribeAckFrame(subscribeAck) {\\n super.integrateSubscribeAckFrame(subscribeAck);\\n if (!subscribeAck.allocations || subscribeAck.allocations === undefined) {\\n return;\\n }\\n let localStreamStartIndex = 0;\\n for (const allocation of subscribeAck.allocations) {\\n // track label is what we offered to the server\\n if (this._localStreamInfos.length < localStreamStartIndex + 1) {\\n this.logger.info('simulcast: allocation has more than number of local streams');\\n break;\\n }\\n this._localStreamInfos[localStreamStartIndex].groupId = allocation.groupId;\\n this._localStreamInfos[localStreamStartIndex].streamId = allocation.streamId;\\n if (!this.streamIdToBitrateKbpsMap.has(allocation.streamId)) {\\n this.streamIdToBitrateKbpsMap.set(allocation.streamId, SimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE);\\n }\\n localStreamStartIndex++;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = SimulcastVideoStreamIndex;\\n// First time when the bitrate of a stream id is missing from bitrate message, mark it as UNSEEN\\nSimulcastVideoStreamIndex.UNSEEN_STREAM_BITRATE = -2;\\n// Second time when the bitrate is missing, mark it as recently inactive\\nSimulcastVideoStreamIndex.RECENTLY_INACTIVE_STREAM_BITRATE = -1;\\n// Third time when bitrate is missing, mark it as not sending\\nSimulcastVideoStreamIndex.NOT_SENDING_STREAM_BITRATE = 0;\\nSimulcastVideoStreamIndex.BitratesMsgFrequencyMs = 4000;\\n//# sourceMappingURL=SimulcastVideoStreamIndex.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamindex/SimulcastVideoStreamIndex.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js\":\n/*!*******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js ***!\n \\*******************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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\\\");\\nclass VideoStreamDescription {\\n constructor(attendeeId, groupId, streamId, maxBitrateKbps, avgBitrateKbps) {\\n this.attendeeId = '';\\n this.groupId = 0;\\n this.streamId = 0;\\n this.ssrc = 0;\\n this.trackLabel = '';\\n this.maxBitrateKbps = 0;\\n // average bitrate is updated every 2 seconds via bitrates messages\\n this.avgBitrateKbps = 0;\\n this.maxFrameRate = 0;\\n this.timeEnabled = 0;\\n this.disabledByWebRTC = false;\\n this.disabledByUplinkPolicy = false;\\n this.attendeeId = attendeeId;\\n this.groupId = groupId;\\n this.streamId = streamId;\\n this.maxBitrateKbps = maxBitrateKbps;\\n this.avgBitrateKbps = avgBitrateKbps;\\n }\\n clone() {\\n const newInfo = new VideoStreamDescription();\\n newInfo.attendeeId = this.attendeeId;\\n newInfo.groupId = this.groupId;\\n newInfo.streamId = this.streamId;\\n newInfo.ssrc = this.ssrc;\\n newInfo.trackLabel = this.trackLabel;\\n newInfo.maxBitrateKbps = this.maxBitrateKbps;\\n newInfo.avgBitrateKbps = this.avgBitrateKbps;\\n newInfo.maxFrameRate = this.maxFrameRate;\\n newInfo.timeEnabled = this.timeEnabled;\\n newInfo.disabledByWebRTC = this.disabledByWebRTC;\\n newInfo.disabledByUplinkPolicy = this.disabledByUplinkPolicy;\\n return newInfo;\\n }\\n toStreamDescriptor() {\\n const descriptor = SignalingProtocol_js_1.SdkStreamDescriptor.create();\\n descriptor.mediaType = SignalingProtocol_js_1.SdkStreamMediaType.VIDEO;\\n descriptor.trackLabel = this.trackLabel;\\n descriptor.attendeeId = this.attendeeId;\\n descriptor.streamId = this.streamId;\\n descriptor.groupId = this.groupId;\\n descriptor.framerate = this.maxFrameRate;\\n descriptor.maxBitrateKbps =\\n this.disabledByUplinkPolicy || this.disabledByWebRTC ? 0 : this.maxBitrateKbps;\\n descriptor.avgBitrateBps = this.avgBitrateKbps;\\n return descriptor;\\n }\\n}\\nexports[\\\"default\\\"] = VideoStreamDescription;\\n//# sourceMappingURL=VideoStreamDescription.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videostreamindex/VideoStreamDescription.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js ***!\n \\******************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultModality_1 = __webpack_require__(/*! ../modality/DefaultModality */ \\\"./node_modules/amazon-chime-sdk-js/build/modality/DefaultModality.js\\\");\\nconst VideoTileState_1 = __webpack_require__(/*! ./VideoTileState */ \\\"./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js\\\");\\nclass DefaultVideoTile {\\n constructor(tileId, localTile, tileController, devicePixelRatioMonitor) {\\n this.tileController = tileController;\\n this.devicePixelRatioMonitor = devicePixelRatioMonitor;\\n this.tileState = new VideoTileState_1.default();\\n this.tileState.tileId = tileId;\\n this.tileState.localTile = localTile;\\n this.devicePixelRatioMonitor.registerObserver(this);\\n }\\n /**\\n * Connect a video stream to a video element by setting the srcObject of the video element to the video stream.\\n * @param videoStream The video stream input.\\n * @param videoElement The video element input.\\n * @param localTile Flag to indicate whether this is a local video.\\n */\\n static connectVideoStreamToVideoElement(videoStream, videoElement, localTile) {\\n const transform = localTile && videoStream.getVideoTracks()[0].getSettings().facingMode !== 'environment'\\n ? 'rotateY(180deg)'\\n : '';\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disablePictureInPicture', localTile);\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disableRemotePlayback', localTile);\\n if (videoElement.style.transform !== transform) {\\n videoElement.style.transform = transform;\\n }\\n if (videoElement.hasAttribute('controls')) {\\n videoElement.removeAttribute('controls');\\n }\\n if (!videoElement.hasAttribute('autoplay')) {\\n videoElement.setAttribute('autoplay', 'true');\\n }\\n // playsinline is needed for video to play in iPhone in non-fullscreen mode.\\n // See https://developer.apple.com/documentation/webkit/safari_tools_and_features/delivering_video_content_for_safari#3030250\\n if (!videoElement.hasAttribute('playsinline')) {\\n videoElement.setAttribute('playsinline', 'true');\\n }\\n // Note that setting the *attribute* 'muted' affects whether the element\\n // is muted *by default* (`.defaultMuted`), not whether it is currently muted (`.muted`).\\n // https://html.spec.whatwg.org/#dom-media-defaultmuted\\n if (!videoElement.hasAttribute('muted')) {\\n // The default value…\\n videoElement.setAttribute('muted', 'true');\\n // … and the value right now.\\n videoElement.muted = true;\\n }\\n if (videoElement.srcObject !== videoStream) {\\n videoElement.srcObject = videoStream;\\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 if (new DefaultBrowserBehavior_1.default().requiresVideoPlayWorkaround() && videoElement.paused) {\\n const promise = videoElement.play();\\n // See https://bugs.webkit.org/show_bug.cgi?id=243519 for more information.\\n // https://webkit.org/blog/7734/auto-play-policy-changes-for-macos/\\n /* istanbul ignore else */\\n if (promise !== undefined) {\\n promise\\n .catch(error => {\\n console.warn('Error playing video in Safari', error);\\n })\\n .then(() => {\\n // `then` block is needed, without it we run into black tile issue even though we catch the error.\\n console.debug('Video played successfully in Safari');\\n });\\n }\\n }\\n }\\n }\\n /**\\n * Disconnect a video stream from a video element by setting `HTMLVideoElement.srcObject` to `null`.\\n * @param videoElement The video element input.\\n * @param dueToPause A flag to indicate whether this function is called due to pausing video tile.\\n * Based on `keepLastFrameWhenPaused`, it sets `HTMLVideoElement.srcObject` to `null`.\\n * @param keepLastFrameWhenPaused If `true` and `dueToPause` is also `true`, then we will not set `HTMLVideoElement.srcObject` of the\\n * video element to `null` when it is paused and therefore, the last frame of the stream will be shown.\\n */\\n static disconnectVideoStreamFromVideoElement(videoElement, dueToPause, keepLastFrameWhenPaused = false) {\\n if (!videoElement) {\\n return;\\n }\\n if (dueToPause) {\\n if (!keepLastFrameWhenPaused) {\\n videoElement.srcObject = null;\\n videoElement.style.transform = '';\\n }\\n }\\n else {\\n if (!videoElement.srcObject) {\\n return;\\n }\\n videoElement.pause();\\n videoElement.style.transform = '';\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disablePictureInPicture', false);\\n DefaultVideoTile.setVideoElementFlag(videoElement, 'disableRemotePlayback', false);\\n videoElement.srcObject = null;\\n }\\n }\\n destroy() {\\n this.devicePixelRatioMonitor.removeObserver(this);\\n if (this.tileState.boundVideoElement &&\\n this.tileState.boundVideoElement.srcObject === this.tileState.boundVideoStream) {\\n DefaultVideoTile.disconnectVideoStreamFromVideoElement(this.tileState.boundVideoElement, false);\\n }\\n this.tileState = new VideoTileState_1.default();\\n }\\n devicePixelRatioChanged(newDevicePixelRatio) {\\n this.tileState.devicePixelRatio = newDevicePixelRatio;\\n this.sendTileStateUpdate();\\n }\\n id() {\\n return this.tileState.tileId;\\n }\\n state() {\\n return this.tileState.clone();\\n }\\n stateRef() {\\n return this.tileState;\\n }\\n bindVideoStream(attendeeId, localTile, mediaStream, contentWidth, contentHeight, streamId, externalUserId) {\\n let tileUpdated = false;\\n if (this.tileState.boundAttendeeId !== attendeeId) {\\n this.tileState.boundAttendeeId = attendeeId;\\n if (new DefaultModality_1.default(attendeeId).hasModality(DefaultModality_1.default.MODALITY_CONTENT)) {\\n this.tileState.isContent = true;\\n }\\n tileUpdated = true;\\n }\\n if (this.tileState.boundExternalUserId !== externalUserId) {\\n this.tileState.boundExternalUserId = externalUserId;\\n tileUpdated = true;\\n }\\n if (this.tileState.localTile !== localTile) {\\n this.tileState.localTile = localTile;\\n tileUpdated = true;\\n }\\n if (this.tileState.boundVideoStream !== mediaStream) {\\n this.tileState.boundVideoStream = mediaStream;\\n tileUpdated = true;\\n }\\n if (this.tileState.videoStreamContentWidth !== contentWidth) {\\n this.tileState.videoStreamContentWidth = contentWidth;\\n tileUpdated = true;\\n }\\n if (this.tileState.videoStreamContentHeight !== contentHeight) {\\n this.tileState.videoStreamContentHeight = contentHeight;\\n tileUpdated = true;\\n }\\n if (this.tileState.streamId !== streamId) {\\n this.tileState.streamId = streamId;\\n tileUpdated = true;\\n }\\n if (tileUpdated) {\\n this.sendTileStateUpdate();\\n }\\n }\\n bindVideoElement(videoElement) {\\n let tileUpdated = false;\\n if (this.tileState.boundVideoElement !== videoElement) {\\n this.tileState.boundVideoElement = videoElement;\\n tileUpdated = true;\\n }\\n if (this.tileState.boundVideoElement !== null) {\\n if (this.tileState.videoElementCSSWidthPixels !== videoElement.clientWidth) {\\n this.tileState.videoElementCSSWidthPixels = videoElement.clientWidth;\\n tileUpdated = true;\\n }\\n if (this.tileState.videoElementCSSHeightPixels !== videoElement.clientHeight) {\\n this.tileState.videoElementCSSHeightPixels = videoElement.clientHeight;\\n tileUpdated = true;\\n }\\n }\\n else {\\n this.tileState.videoElementCSSWidthPixels = null;\\n this.tileState.videoElementCSSHeightPixels = null;\\n }\\n if (tileUpdated) {\\n this.sendTileStateUpdate();\\n }\\n }\\n pause() {\\n if (!this.tileState.paused) {\\n this.tileState.paused = true;\\n this.sendTileStateUpdate();\\n }\\n }\\n unpause() {\\n if (this.tileState.paused) {\\n this.tileState.paused = false;\\n this.sendTileStateUpdate();\\n }\\n }\\n markPoorConnection() {\\n if (this.tileState.poorConnection) {\\n return false;\\n }\\n this.tileState.poorConnection = true;\\n this.sendTileStateUpdate();\\n return true;\\n }\\n unmarkPoorConnection() {\\n if (!this.tileState.poorConnection) {\\n return false;\\n }\\n this.tileState.poorConnection = false;\\n this.sendTileStateUpdate();\\n return true;\\n }\\n capture() {\\n if (!this.tileState.active) {\\n return null;\\n }\\n const canvas = document.createElement('canvas');\\n const video = this.tileState.boundVideoElement;\\n canvas.width = video.videoWidth || video.width;\\n canvas.height = video.videoHeight || video.height;\\n const ctx = canvas.getContext('2d');\\n ctx.drawImage(video, 0, 0, canvas.width, canvas.height);\\n return ctx.getImageData(0, 0, canvas.width, canvas.height);\\n }\\n setStreamId(id) {\\n this.tileState.streamId = id;\\n // `streamId` is not likely used by builders but we can't\\n // be sure so send a tile state update just in case.\\n this.tileController.sendTileStateUpdate(this.state());\\n }\\n sendTileStateUpdate() {\\n this.updateActiveState();\\n this.updateVideoStreamOnVideoElement();\\n this.updateVideoElementPhysicalPixels();\\n this.tileController.sendTileStateUpdate(this.state());\\n }\\n updateActiveState() {\\n this.tileState.active = !!(!this.tileState.paused &&\\n !this.tileState.poorConnection &&\\n this.tileState.boundAttendeeId &&\\n this.tileState.boundVideoElement &&\\n this.tileState.boundVideoStream);\\n }\\n updateVideoElementPhysicalPixels() {\\n if (typeof this.tileState.videoElementCSSWidthPixels === 'number' &&\\n typeof this.tileState.videoElementCSSHeightPixels === 'number') {\\n this.tileState.videoElementPhysicalWidthPixels =\\n this.tileState.devicePixelRatio * this.tileState.videoElementCSSWidthPixels;\\n this.tileState.videoElementPhysicalHeightPixels =\\n this.tileState.devicePixelRatio * this.tileState.videoElementCSSHeightPixels;\\n }\\n else {\\n this.tileState.videoElementPhysicalWidthPixels = null;\\n this.tileState.videoElementPhysicalHeightPixels = null;\\n }\\n }\\n updateVideoStreamOnVideoElement() {\\n if (this.tileState.active) {\\n DefaultVideoTile.connectVideoStreamToVideoElement(this.tileState.boundVideoStream, this.tileState.boundVideoElement, this.tileState.localTile);\\n }\\n else {\\n DefaultVideoTile.disconnectVideoStreamFromVideoElement(this.tileState.boundVideoElement, this.tileState.paused, this.tileController.keepLastFrameWhenPaused);\\n }\\n }\\n static setVideoElementFlag(videoElement, flag, value) {\\n if (flag in videoElement) {\\n // @ts-ignore\\n videoElement[flag] = value;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTile;\\n//# sourceMappingURL=DefaultVideoTile.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 * [[VideoTileState]] encapsulates the state of a [[VideoTile]]\\n */\\nclass VideoTileState {\\n constructor() {\\n /**\\n * The unique identifier for the [[VideoTile]] managed by [[VideoTileController]]. Each attendee can have at most one tileId.\\n */\\n this.tileId = null;\\n /**\\n * Indication of whether tile is associated with local video.\\n */\\n this.localTile = false;\\n /**\\n * Indication of whether the tile associated with the local attendee has started to play.\\n */\\n this.localTileStarted = false;\\n /**\\n * Indication of whether the tile has content-sharing video.\\n */\\n this.isContent = false;\\n /**\\n * Indication of whether the tile has active video stream. This value may be somewhat arbitrary in how it is calculated,\\n * it is recommended to use the more specific values (e.g. `paused`, `boundVideoElement`, and `boundVideoStream`) to\\n * determine activity as appropriate for your application.\\n */\\n this.active = false;\\n /**\\n * Indication of whether the tile has paused video stream.\\n */\\n this.paused = false;\\n /**\\n * Indication of whether the remote video is paused at publishing attendee. This field is not supported.\\n */\\n this.poorConnection = false;\\n /**\\n * The attendee id associated with the [[VideoTile]].\\n */\\n this.boundAttendeeId = null;\\n /**\\n * The user id associated with the [[VideoTile]].\\n */\\n this.boundExternalUserId = null;\\n /**\\n * The video stream bound with the [[VideoTile]].\\n */\\n this.boundVideoStream = null;\\n /**\\n * The HTMLVideoElement bound with the [[VideoTile]].\\n */\\n this.boundVideoElement = null;\\n /**\\n * The nameplate for the [[VideoTile]]. SDK users should use boundExternalUserId for user id instead of this field.\\n */\\n this.nameplate = null;\\n /**\\n * The intrinsic width of the video stream upon binding with the [[VideoTile]].\\n * Video stream intrinsic width could change and developers should use HTMLVideoElement listener for actual intrinsic width.\\n */\\n this.videoStreamContentWidth = null;\\n /**\\n * The intrinsic height of the video stream upon binding with the [[VideoTile]]\\n * Video stream intrinsic height could change and developers should use HTMLVideoElement listener for actual intrinsic height.\\n */\\n this.videoStreamContentHeight = null;\\n /**\\n * The CSS width in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementCSSWidthPixels = null;\\n /**\\n * The CSS height in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementCSSHeightPixels = null;\\n /**\\n * The device pixel ratio of the current display monitor.\\n */\\n this.devicePixelRatio = 0;\\n /**\\n * The physical width in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementPhysicalWidthPixels = null;\\n /**\\n * The physical height in pixel of the HTMLVideoElement upon binding with the [[VideoTile]].\\n */\\n this.videoElementPhysicalHeightPixels = null;\\n /**\\n * The unique identifier published by server to associate with bound video stream. It is defined in [[SignalingProtocol.proto]].\\n * Developers should avoid using this field directly.\\n */\\n this.streamId = null;\\n }\\n clone() {\\n const cloned = new VideoTileState();\\n cloned.tileId = this.tileId;\\n cloned.localTile = this.localTile;\\n cloned.isContent = this.isContent;\\n cloned.active = this.active;\\n cloned.paused = this.paused;\\n cloned.poorConnection = this.poorConnection;\\n cloned.boundAttendeeId = this.boundAttendeeId;\\n cloned.boundExternalUserId = this.boundExternalUserId;\\n cloned.boundVideoStream = this.boundVideoStream;\\n cloned.boundVideoElement = this.boundVideoElement;\\n cloned.nameplate = this.nameplate;\\n cloned.videoStreamContentWidth = this.videoStreamContentWidth;\\n cloned.videoStreamContentHeight = this.videoStreamContentHeight;\\n cloned.videoElementCSSWidthPixels = this.videoElementCSSWidthPixels;\\n cloned.videoElementCSSHeightPixels = this.videoElementCSSHeightPixels;\\n cloned.devicePixelRatio = this.devicePixelRatio;\\n cloned.videoElementPhysicalWidthPixels = this.videoElementPhysicalWidthPixels;\\n cloned.videoElementPhysicalHeightPixels = this.videoElementPhysicalHeightPixels;\\n cloned.streamId = this.streamId;\\n return cloned;\\n }\\n}\\nexports[\\\"default\\\"] = VideoTileState;\\n//# sourceMappingURL=VideoTileState.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotile/VideoTileState.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js\":\n/*!**************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js ***!\n \\**************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultDevicePixelRatioMonitor_1 = __webpack_require__(/*! ../devicepixelratiomonitor/DefaultDevicePixelRatioMonitor */ \\\"./node_modules/amazon-chime-sdk-js/build/devicepixelratiomonitor/DefaultDevicePixelRatioMonitor.js\\\");\\nconst DevicePixelRatioWindowSource_1 = __webpack_require__(/*! ../devicepixelratiosource/DevicePixelRatioWindowSource */ \\\"./node_modules/amazon-chime-sdk-js/build/devicepixelratiosource/DevicePixelRatioWindowSource.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\\\");\\nclass DefaultVideoTileController {\\n constructor(tileFactory, audioVideoController, logger) {\\n this.tileFactory = tileFactory;\\n this.audioVideoController = audioVideoController;\\n this.logger = logger;\\n this.tileMap = new Map();\\n this.nextTileId = 1;\\n this.currentLocalTile = null;\\n this.currentPausedTilesByIds = new Set();\\n this.keepLastFrameWhenPaused = false;\\n this.keepLastFrameWhenPaused = audioVideoController.configuration.keepLastFrameWhenPaused;\\n }\\n createDevicePixelRatioMonitorIfNeeded() {\\n if (this.devicePixelRatioMonitor) {\\n return;\\n }\\n this.devicePixelRatioMonitor = new DefaultDevicePixelRatioMonitor_1.default(new DevicePixelRatioWindowSource_1.default(), this.logger);\\n }\\n discardDevicePixelRatioMonitorIfNotNeeded() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.tileMap.size || !this.devicePixelRatioMonitor) {\\n return;\\n }\\n const monitor = this.devicePixelRatioMonitor;\\n this.devicePixelRatioMonitor = undefined;\\n return monitor.destroy();\\n });\\n }\\n bindVideoElement(tileId, videoElement) {\\n const tile = this.getVideoTile(tileId);\\n if (tile === null) {\\n this.logger.warn(`Ignoring video element binding for unknown tile id ${tileId}`);\\n return;\\n }\\n tile.bindVideoElement(videoElement);\\n }\\n unbindVideoElement(tileId, cleanUpVideoElement = true) {\\n const tile = this.getVideoTile(tileId);\\n if (tile === null) {\\n this.logger.warn(`Ignoring video element unbinding for unknown tile id ${tileId}`);\\n return;\\n }\\n this.logger.info('Unbinding the video element');\\n const videoElement = tile.stateRef().boundVideoElement;\\n tile.bindVideoElement(null);\\n if (cleanUpVideoElement) {\\n this.logger.info('Cleaning up the video element');\\n DefaultVideoTile_1.default.disconnectVideoStreamFromVideoElement(videoElement, false);\\n }\\n }\\n startLocalVideoTile() {\\n const tile = this.findOrCreateLocalVideoTile();\\n this.currentLocalTile.stateRef().localTileStarted = true;\\n this.audioVideoController.update({ needsRenegotiation: true });\\n return tile.id();\\n }\\n stopLocalVideoTile() {\\n if (!this.currentLocalTile) {\\n return;\\n }\\n this.currentLocalTile.stateRef().localTileStarted = false;\\n this.currentLocalTile.bindVideoStream(this.audioVideoController.configuration.credentials.attendeeId, true, null, null, null, null, this.audioVideoController.configuration.credentials.externalUserId);\\n this.audioVideoController.update({ needsRenegotiation: true });\\n }\\n hasStartedLocalVideoTile() {\\n return !!(this.currentLocalTile && this.currentLocalTile.stateRef().localTileStarted);\\n }\\n removeLocalVideoTile() {\\n if (this.currentLocalTile) {\\n this.removeVideoTile(this.currentLocalTile.id());\\n }\\n }\\n getLocalVideoTile() {\\n return this.currentLocalTile;\\n }\\n pauseVideoTile(tileId) {\\n const tile = this.getVideoTile(tileId);\\n if (tile) {\\n if (!this.currentPausedTilesByIds.has(tileId)) {\\n this.audioVideoController.pauseReceivingStream(tile.stateRef().streamId);\\n this.currentPausedTilesByIds.add(tileId);\\n }\\n tile.pause();\\n }\\n }\\n unpauseVideoTile(tileId) {\\n const tile = this.getVideoTile(tileId);\\n if (tile) {\\n if (this.currentPausedTilesByIds.has(tileId)) {\\n this.audioVideoController.resumeReceivingStream(tile.stateRef().streamId);\\n this.currentPausedTilesByIds.delete(tileId);\\n }\\n tile.unpause();\\n }\\n }\\n getVideoTile(tileId) {\\n return this.tileMap.has(tileId) ? this.tileMap.get(tileId) : null;\\n }\\n getVideoTileArea(tile) {\\n const state = tile.state();\\n let tileHeight = 0;\\n let tileWidth = 0;\\n if (state.boundVideoElement) {\\n tileHeight = state.boundVideoElement.clientHeight * state.devicePixelRatio;\\n tileWidth = state.boundVideoElement.clientWidth * state.devicePixelRatio;\\n }\\n return tileHeight * tileWidth;\\n }\\n getAllRemoteVideoTiles() {\\n const result = new Array();\\n this.tileMap.forEach((tile, tileId) => {\\n if (!this.currentLocalTile || tileId !== this.currentLocalTile.id()) {\\n result.push(tile);\\n }\\n });\\n return result;\\n }\\n getAllVideoTiles() {\\n return Array.from(this.tileMap.values());\\n }\\n addVideoTile(localTile = false) {\\n const tileId = this.nextTileId;\\n this.nextTileId += 1;\\n this.createDevicePixelRatioMonitorIfNeeded();\\n const tile = this.tileFactory.makeTile(tileId, localTile, this, this.devicePixelRatioMonitor);\\n this.tileMap.set(tileId, tile);\\n return tile;\\n }\\n removeVideoTile(tileId) {\\n if (!this.tileMap.has(tileId)) {\\n return;\\n }\\n const tile = this.tileMap.get(tileId);\\n if (this.currentLocalTile === tile) {\\n this.currentLocalTile = null;\\n }\\n tile.destroy();\\n this.tileMap.delete(tileId);\\n this.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.videoTileWasRemoved).map(f => f.bind(observer)(tileId));\\n });\\n this.discardDevicePixelRatioMonitorIfNotNeeded();\\n }\\n removeVideoTilesByAttendeeId(attendeeId) {\\n const tilesRemoved = [];\\n for (const tile of this.getAllVideoTiles()) {\\n const state = tile.state();\\n if (state.boundAttendeeId === attendeeId) {\\n this.removeVideoTile(state.tileId);\\n tilesRemoved.push(state.tileId);\\n }\\n }\\n return tilesRemoved;\\n }\\n removeAllVideoTiles() {\\n const tileIds = Array.from(this.tileMap.keys());\\n for (const tileId of tileIds) {\\n this.removeVideoTile(tileId);\\n }\\n }\\n sendTileStateUpdate(tileState) {\\n this.audioVideoController.forEachObserver((observer) => {\\n Types_1.Maybe.of(observer.videoTileDidUpdate).map(f => f.bind(observer)(tileState));\\n });\\n }\\n haveVideoTilesWithStreams() {\\n for (const tile of this.getAllVideoTiles()) {\\n if (tile.state().boundVideoStream) {\\n return true;\\n }\\n }\\n return false;\\n }\\n haveVideoTileForAttendeeId(attendeeId) {\\n return !!this.getVideoTileForAttendeeId(attendeeId);\\n }\\n getVideoTileForAttendeeId(attendeeId) {\\n for (const tile of this.getAllVideoTiles()) {\\n const state = tile.state();\\n if (state.boundAttendeeId === attendeeId) {\\n return tile;\\n }\\n }\\n return undefined;\\n }\\n captureVideoTile(tileId) {\\n const tile = this.getVideoTile(tileId);\\n if (!tile) {\\n return null;\\n }\\n return tile.capture();\\n }\\n findOrCreateLocalVideoTile() {\\n if (this.currentLocalTile) {\\n return this.currentLocalTile;\\n }\\n this.currentLocalTile = this.addVideoTile(true);\\n this.currentLocalTile.bindVideoStream(this.audioVideoController.configuration.credentials.attendeeId, true, null, null, null, null, this.audioVideoController.configuration.credentials.externalUserId);\\n return this.currentLocalTile;\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTileController;\\n//# sourceMappingURL=DefaultVideoTileController.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotilecontroller/DefaultVideoTileController.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoTile_1 = __webpack_require__(/*! ../videotile/DefaultVideoTile */ \\\"./node_modules/amazon-chime-sdk-js/build/videotile/DefaultVideoTile.js\\\");\\nclass DefaultVideoTileFactory {\\n makeTile(tileId, localTile, tileController, devicePixelRatioMonitor) {\\n return new DefaultVideoTile_1.default(tileId, localTile, tileController, devicePixelRatioMonitor);\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVideoTileFactory;\\n//# sourceMappingURL=DefaultVideoTileFactory.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videotilefactory/DefaultVideoTileFactory.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 BitrateParameters {\\n}\\nexports[\\\"default\\\"] = BitrateParameters;\\n//# sourceMappingURL=BitrateParameters.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 SimulcastLayers_1 = __webpack_require__(/*! ../simulcastlayers/SimulcastLayers */ \\\"./node_modules/amazon-chime-sdk-js/build/simulcastlayers/SimulcastLayers.js\\\");\\nconst SimulcastTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/SimulcastTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastTransceiverController.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 BitrateParameters_1 = __webpack_require__(/*! ./BitrateParameters */ \\\"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/BitrateParameters.js\\\");\\n/**\\n * [[DefaultSimulcastUplinkPolicy]] determines capture and encode\\n * parameters that reacts to estimated uplink bandwidth\\n */\\nclass DefaultSimulcastUplinkPolicy {\\n constructor(selfAttendeeId, logger) {\\n this.selfAttendeeId = selfAttendeeId;\\n this.logger = logger;\\n this.numSenders = 0;\\n // Simulcast is disabled when there are only 2 or fewer attendees, because in that case the backend will forward REMBs from\\n // receiver to sender. Therefore there is no need for simulcast based adaption.\\n this.shouldDisableSimulcast = false;\\n this.newQualityMap = new Map();\\n this.currentQualityMap = new Map();\\n this.newActiveStreams = 1 /* kHiAndLow */;\\n this.currentActiveStreams = 1 /* kHiAndLow */;\\n this.lastUplinkBandwidthKbps = DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps;\\n this.startTimeMs = 0;\\n this.lastUpdatedMs = Date.now();\\n this.videoIndex = null;\\n this.currLocalDescriptions = [];\\n this.nextLocalDescriptions = [];\\n this.observerQueue = new Set();\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, true);\\n this.parametersInEffect = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, true);\\n this.lastUplinkBandwidthKbps = DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps;\\n this.currentQualityMap = this.fillEncodingParamWithBitrates([300, 0, 1200]);\\n this.newQualityMap = this.fillEncodingParamWithBitrates([300, 0, 1200]);\\n }\\n updateConnectionMetric({ uplinkKbps = 0 }) {\\n if (isNaN(uplinkKbps)) {\\n return;\\n }\\n // Check if startup period in order to ignore estimate when video first enabled.\\n // If only audio was active then the estimate will be very low\\n if (this.startTimeMs === 0) {\\n this.startTimeMs = Date.now();\\n }\\n if (Date.now() - this.startTimeMs < DefaultSimulcastUplinkPolicy.startupDurationMs) {\\n this.lastUplinkBandwidthKbps = DefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps;\\n }\\n else {\\n this.lastUplinkBandwidthKbps = uplinkKbps;\\n }\\n this.logger.debug(() => {\\n return `simulcast: uplink policy update metrics ${this.lastUplinkBandwidthKbps}`;\\n });\\n let holdTime = DefaultSimulcastUplinkPolicy.holdDownDurationMs;\\n if (this.currentActiveStreams === 3 /* kLow */) {\\n holdTime = DefaultSimulcastUplinkPolicy.holdDownDurationMs * 2;\\n }\\n else if ((this.currentActiveStreams === 2 /* kMidAndLow */ &&\\n uplinkKbps <= DefaultSimulcastUplinkPolicy.kMidDisabledRate) ||\\n (this.currentActiveStreams === 1 /* kHiAndLow */ &&\\n uplinkKbps <= DefaultSimulcastUplinkPolicy.kHiDisabledRate)) {\\n holdTime = DefaultSimulcastUplinkPolicy.holdDownDurationMs / 2;\\n }\\n if (Date.now() < this.lastUpdatedMs + holdTime) {\\n return;\\n }\\n this.newQualityMap = this.calculateEncodingParameters(false);\\n }\\n calculateEncodingParameters(numSendersChanged) {\\n // bitrates parameter min is not used for now\\n const newBitrates = [\\n new BitrateParameters_1.default(),\\n new BitrateParameters_1.default(),\\n new BitrateParameters_1.default(),\\n ];\\n let hysteresisIncrease = 0, hysteresisDecrease = 0;\\n if (this.currentActiveStreams === 0 /* kHi */) {\\n // Don't trigger redetermination based on rate if only one simulcast stream\\n hysteresisIncrease = this.lastUplinkBandwidthKbps + 1;\\n hysteresisDecrease = 0;\\n }\\n else if (this.currentActiveStreams === 1 /* kHiAndLow */) {\\n hysteresisIncrease = 2400;\\n hysteresisDecrease = DefaultSimulcastUplinkPolicy.kHiDisabledRate;\\n }\\n else if (this.currentActiveStreams === 2 /* kMidAndLow */) {\\n hysteresisIncrease = 1000;\\n hysteresisDecrease = DefaultSimulcastUplinkPolicy.kMidDisabledRate;\\n }\\n else {\\n hysteresisIncrease = 300;\\n hysteresisDecrease = 0;\\n }\\n if (numSendersChanged ||\\n this.lastUplinkBandwidthKbps >= hysteresisIncrease ||\\n this.lastUplinkBandwidthKbps <= hysteresisDecrease) {\\n if (this.shouldDisableSimulcast) {\\n // See comment above `shouldDisableSimulcast` for usage.\\n //\\n // The value of `newActiveStreams` is somewhat irrelevant since in one to one calls\\n // we forward REMBs, so this single stream will adapt anywhere from < 100 kbps to 1200 kbps\\n // based on both sender and receiver network conditions. E.g. A receiver may calculate it's\\n // receive BWE as 300 kbps, send that in a REMB which is forwarded, and on receipt the sender\\n // will set its own BWE at 300 kbps, and start sending that as well (again, only for one-to-one\\n // calls). Additionally the value `kHi` is only relevant to the send side (via\\n // `encodingSimulcastLayersDidChange`) as it is not transmitted in anyform to the receiver.\\n //\\n // We use middle layer here to work around a bug in Chromium where\\n // it seems when a transceiver is created when BWE is low (e.g. on a reconnection),\\n // it will never reset the encoder even when `setParameters` is called. WebRTC bug\\n // #12788 seems to call a similar issue out as fixed for VP8, it's not clear if this\\n // is the same issue for H.264. Additionally we are not able to force a keyframe\\n // request from the backend since it will only be sending padding (which also\\n // don't have MID due to #10822). Since we don't scale when simulcast is disabled\\n // this doesn't have any end-user effect.\\n //\\n // Note that this still relies on a little bit (5-6 packets) of padding on reconnect\\n // and that technically the browser will still eventually try to send all 3 streams.\\n //\\n // Also note that due to some uninvestigated logic in bitrate allocation, Chromium\\n // will skip the bottom layer if we try setting it to 1200 kbps instead so it will\\n // still take a while to recover (as it needs to send padding until it reaches around\\n // 1000 kbps).\\n this.newActiveStreams = 0 /* kHi */;\\n newBitrates[0].maxBitrateKbps = 0;\\n newBitrates[1].maxBitrateKbps = 1200;\\n newBitrates[2].maxBitrateKbps = 0;\\n }\\n else if (this.numSenders <= 4 &&\\n this.lastUplinkBandwidthKbps >= DefaultSimulcastUplinkPolicy.kHiDisabledRate) {\\n // 320x192+ (640x384) + 1280x768\\n this.newActiveStreams = 1 /* kHiAndLow */;\\n newBitrates[0].maxBitrateKbps = 300;\\n newBitrates[1].maxBitrateKbps = 0;\\n newBitrates[2].maxBitrateKbps = 1200;\\n }\\n else if (this.lastUplinkBandwidthKbps >= DefaultSimulcastUplinkPolicy.kMidDisabledRate) {\\n // 320x192 + 640x384 + (1280x768)\\n this.newActiveStreams = 2 /* kMidAndLow */;\\n newBitrates[0].maxBitrateKbps = this.lastUplinkBandwidthKbps >= 350 ? 200 : 150;\\n newBitrates[1].maxBitrateKbps = this.numSenders <= 6 ? 600 : 350;\\n newBitrates[2].maxBitrateKbps = 0;\\n }\\n else {\\n // 320x192 + 640x384 + (1280x768)\\n this.newActiveStreams = 3 /* kLow */;\\n newBitrates[0].maxBitrateKbps = 300;\\n newBitrates[1].maxBitrateKbps = 0;\\n newBitrates[2].maxBitrateKbps = 0;\\n }\\n const bitrates = newBitrates.map((v, _i, _a) => {\\n return v.maxBitrateKbps;\\n });\\n this.newQualityMap = this.fillEncodingParamWithBitrates(bitrates);\\n if (!this.encodingParametersEqual()) {\\n this.logger.info(`simulcast: policy:calculateEncodingParameters bw:${this.lastUplinkBandwidthKbps} numSources:${this.numSenders} shouldDisableSimulcast:${this.shouldDisableSimulcast} newQualityMap: ${this.getQualityMapString(this.newQualityMap)}`);\\n }\\n }\\n return this.newQualityMap;\\n }\\n chooseMediaTrackConstraints() {\\n // Changing MediaTrackConstraints causes a restart of video input and possible small\\n // scaling changes. Always use 720p for now\\n const trackConstraint = {\\n width: { ideal: 1280 },\\n height: { ideal: 768 },\\n frameRate: { ideal: 15 },\\n };\\n return trackConstraint;\\n }\\n chooseEncodingParameters() {\\n this.currentQualityMap = this.newQualityMap;\\n this.currentActiveStreams = this.newActiveStreams;\\n if (this.activeStreamsToPublish !== this.newActiveStreams) {\\n this.activeStreamsToPublish = this.newActiveStreams;\\n this.publishEncodingSimulcastLayer();\\n }\\n return this.currentQualityMap;\\n }\\n updateIndex(videoIndex) {\\n // the +1 for self is assuming that we intend to send video, since\\n // the context here is VideoUplinkBandwidthPolicy\\n const numSenders = videoIndex.numberOfVideoPublishingParticipantsExcludingSelf(this.selfAttendeeId) + 1;\\n const numSendersChanged = numSenders !== this.numSenders;\\n // See comment above `shouldDisableSimulcast`\\n const numParticipants = videoIndex.numberOfParticipants();\\n const newShouldDisableSimulcast = numParticipants >= 0 && numParticipants <= 2;\\n const shouldDisableSimulcastChanged = this.shouldDisableSimulcast !== newShouldDisableSimulcast;\\n this.numSenders = numSenders;\\n this.shouldDisableSimulcast = newShouldDisableSimulcast;\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(this.captureWidth(), this.captureHeight(), this.captureFrameRate(), this.maxBandwidthKbps(), false);\\n this.videoIndex = videoIndex;\\n this.newQualityMap = this.calculateEncodingParameters(numSendersChanged || shouldDisableSimulcastChanged);\\n }\\n wantsResubscribe() {\\n let constraintDiff = !this.encodingParametersEqual();\\n this.nextLocalDescriptions = this.videoIndex.localStreamDescriptions();\\n for (let i = 0; i < this.nextLocalDescriptions.length; i++) {\\n const streamId = this.nextLocalDescriptions[i].streamId;\\n if (streamId !== 0 && !!streamId) {\\n const prevIndex = this.currLocalDescriptions.findIndex(val => {\\n return val.streamId === streamId;\\n });\\n if (prevIndex !== -1) {\\n if (this.nextLocalDescriptions[i].disabledByWebRTC !==\\n this.currLocalDescriptions[prevIndex].disabledByWebRTC) {\\n constraintDiff = true;\\n }\\n }\\n }\\n }\\n if (constraintDiff) {\\n this.lastUpdatedMs = Date.now();\\n }\\n this.currLocalDescriptions = this.nextLocalDescriptions;\\n return constraintDiff;\\n }\\n compareEncodingParameter(encoding1, encoding2) {\\n return JSON.stringify(encoding1) === JSON.stringify(encoding2);\\n }\\n encodingParametersEqual() {\\n let different = false;\\n for (const ridName of SimulcastTransceiverController_1.default.NAME_ARR_ASCENDING) {\\n different =\\n different ||\\n !this.compareEncodingParameter(this.newQualityMap.get(ridName), this.currentQualityMap.get(ridName));\\n if (different) {\\n break;\\n }\\n }\\n return !different;\\n }\\n chooseCaptureAndEncodeParameters() {\\n // should deprecate in this policy\\n this.parametersInEffect = this.optimalParameters.clone();\\n return this.parametersInEffect.clone();\\n }\\n captureWidth() {\\n // should deprecate in this policy\\n const width = 1280;\\n return width;\\n }\\n captureHeight() {\\n // should deprecate in this policy\\n const height = 768;\\n return height;\\n }\\n captureFrameRate() {\\n // should deprecate in this policy\\n return 15;\\n }\\n maxBandwidthKbps() {\\n // should deprecate in this policy\\n return 1400;\\n }\\n setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps) {\\n // should deprecate in this policy\\n }\\n setHasBandwidthPriority(_hasBandwidthPriority) {\\n // should deprecate in this policy\\n }\\n fillEncodingParamWithBitrates(bitratesKbps) {\\n const newMap = new Map();\\n const toBps = 1000;\\n const nameArr = SimulcastTransceiverController_1.default.NAME_ARR_ASCENDING;\\n const bitrateArr = bitratesKbps;\\n // Don't scale the single simulcast stream regardless of its layer.\\n let scale = this.shouldDisableSimulcast ? 1 : 4;\\n for (let i = 0; i < nameArr.length; i++) {\\n const ridName = nameArr[i];\\n newMap.set(ridName, {\\n rid: ridName,\\n active: bitrateArr[i] > 0 ? true : false,\\n scaleResolutionDownBy: Math.max(scale, 1),\\n maxBitrate: bitrateArr[i] * toBps,\\n });\\n scale = scale / 2;\\n }\\n return newMap;\\n }\\n getQualityMapString(params) {\\n let qualityString = '';\\n const localDescriptions = this.videoIndex.localStreamDescriptions();\\n if (localDescriptions.length === 3) {\\n params.forEach((value) => {\\n let disabledByWebRTC = false;\\n if (value.rid === 'low')\\n disabledByWebRTC = localDescriptions[0].disabledByWebRTC;\\n else if (value.rid === 'mid')\\n disabledByWebRTC = localDescriptions[1].disabledByWebRTC;\\n else\\n disabledByWebRTC = localDescriptions[2].disabledByWebRTC;\\n qualityString += `{ rid: ${value.rid} active:${value.active} disabledByWebRTC: ${disabledByWebRTC} maxBitrate:${value.maxBitrate}}`;\\n });\\n }\\n return qualityString;\\n }\\n getEncodingSimulcastLayer(activeStreams) {\\n switch (activeStreams) {\\n case 0 /* kHi */:\\n return SimulcastLayers_1.default.High;\\n case 1 /* kHiAndLow */:\\n return SimulcastLayers_1.default.LowAndHigh;\\n case 2 /* kMidAndLow */:\\n return SimulcastLayers_1.default.LowAndMedium;\\n case 3 /* kLow */:\\n return SimulcastLayers_1.default.Low;\\n }\\n }\\n publishEncodingSimulcastLayer() {\\n const simulcastLayers = this.getEncodingSimulcastLayer(this.activeStreamsToPublish);\\n this.forEachObserver(observer => {\\n Types_1.Maybe.of(observer.encodingSimulcastLayersDidChange).map(f => f.bind(observer)(simulcastLayers));\\n });\\n }\\n addObserver(observer) {\\n this.logger.info('adding simulcast uplink observer');\\n this.observerQueue.add(observer);\\n }\\n removeObserver(observer) {\\n this.logger.info('removing simulcast uplink observer');\\n this.observerQueue.delete(observer);\\n }\\n forEachObserver(observerFunc) {\\n for (const observer of this.observerQueue) {\\n observerFunc(observer);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultSimulcastUplinkPolicy;\\nDefaultSimulcastUplinkPolicy.defaultUplinkBandwidthKbps = 1200;\\nDefaultSimulcastUplinkPolicy.startupDurationMs = 6000;\\nDefaultSimulcastUplinkPolicy.holdDownDurationMs = 4000;\\nDefaultSimulcastUplinkPolicy.defaultMaxFrameRate = 15;\\n// Current rough estimates where webrtc disables streams\\nDefaultSimulcastUplinkPolicy.kHiDisabledRate = 700;\\nDefaultSimulcastUplinkPolicy.kMidDisabledRate = 240;\\n//# sourceMappingURL=DefaultSimulcastUplinkPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js\":\n/*!**************************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js ***!\n \\**************************************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 SimulcastContentShareTransceiverController_1 = __webpack_require__(/*! ../transceivercontroller/SimulcastContentShareTransceiverController */ \\\"./node_modules/amazon-chime-sdk-js/build/transceivercontroller/SimulcastContentShareTransceiverController.js\\\");\\n/**\\n * [[DefaultSimulcastUplinkPolicyForContentShare]] sets the capture and encode\\n * parameters based on constructor input parameters\\n */\\nclass DefaultSimulcastUplinkPolicyForContentShare {\\n constructor(logger, encodingParams) {\\n this.logger = logger;\\n this.encodingParams = encodingParams;\\n this.videoIndex = null;\\n this.currLocalDescriptions = [];\\n this.nextLocalDescriptions = [];\\n }\\n updateConnectionMetric(_metrics) {\\n // Noop\\n }\\n chooseMediaTrackConstraints() {\\n // Changing MediaTrackConstraints causes a restart of video input and possible small\\n // scaling changes. Always use 720p for now\\n return undefined;\\n }\\n chooseEncodingParameters() {\\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;\\n const newMap = new Map();\\n const toBps = 1000;\\n const nameArr = SimulcastContentShareTransceiverController_1.default.NAME_ARR_ASCENDING;\\n newMap.set(nameArr[0], {\\n rid: nameArr[0],\\n active: true,\\n scaleResolutionDownBy: ((_b = (_a = this.encodingParams) === null || _a === void 0 ? void 0 : _a.low) === null || _b === void 0 ? void 0 : _b.scaleResolutionDownBy) || 2,\\n maxBitrate: (((_d = (_c = this.encodingParams) === null || _c === void 0 ? void 0 : _c.low) === null || _d === void 0 ? void 0 : _d.maxBitrateKbps) || 300) * toBps,\\n maxFramerate: ((_f = (_e = this.encodingParams) === null || _e === void 0 ? void 0 : _e.low) === null || _f === void 0 ? void 0 : _f.maxFramerate) || 5,\\n });\\n newMap.set(nameArr[1], {\\n rid: nameArr[1],\\n active: true,\\n scaleResolutionDownBy: ((_h = (_g = this.encodingParams) === null || _g === void 0 ? void 0 : _g.high) === null || _h === void 0 ? void 0 : _h.scaleResolutionDownBy) || 1,\\n maxBitrate: (((_k = (_j = this.encodingParams) === null || _j === void 0 ? void 0 : _j.high) === null || _k === void 0 ? void 0 : _k.maxBitrateKbps) || 1200) * toBps,\\n maxFramerate: (_m = (_l = this.encodingParams) === null || _l === void 0 ? void 0 : _l.high) === null || _m === void 0 ? void 0 : _m.maxFramerate,\\n });\\n this.getQualityMapString(newMap);\\n return newMap;\\n }\\n updateIndex(videoIndex) {\\n this.videoIndex = videoIndex;\\n }\\n wantsResubscribe() {\\n var _a, _b;\\n let constraintDiff = false;\\n this.nextLocalDescriptions = (_a = this.videoIndex) === null || _a === void 0 ? void 0 : _a.localStreamDescriptions();\\n for (let i = 0; i < ((_b = this.nextLocalDescriptions) === null || _b === void 0 ? void 0 : _b.length); i++) {\\n const streamId = this.nextLocalDescriptions[i].streamId;\\n if (streamId !== 0 && !!streamId) {\\n const prevIndex = this.currLocalDescriptions.findIndex(val => {\\n return val.streamId === streamId;\\n });\\n if (prevIndex !== -1) {\\n if (this.nextLocalDescriptions[i].disabledByWebRTC !==\\n this.currLocalDescriptions[prevIndex].disabledByWebRTC) {\\n constraintDiff = true;\\n }\\n }\\n }\\n }\\n this.currLocalDescriptions = this.nextLocalDescriptions;\\n return constraintDiff;\\n }\\n chooseCaptureAndEncodeParameters() {\\n // should deprecate in this policy\\n return undefined;\\n }\\n maxBandwidthKbps() {\\n // should deprecate in this policy\\n return 1200;\\n }\\n setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps) {\\n // should deprecate in this policy\\n }\\n setHasBandwidthPriority(_hasBandwidthPriority) {\\n // should deprecate in this policy\\n }\\n getQualityMapString(params) {\\n var _a;\\n let qualityString = '';\\n const localDescriptions = (_a = this.videoIndex) === null || _a === void 0 ? void 0 : _a.localStreamDescriptions();\\n if ((localDescriptions === null || localDescriptions === void 0 ? void 0 : localDescriptions.length) > 0) {\\n params.forEach((value) => {\\n let disabledByWebRTC = false;\\n if (value.rid === 'low')\\n disabledByWebRTC = localDescriptions[0].disabledByWebRTC;\\n else\\n disabledByWebRTC = localDescriptions[1].disabledByWebRTC;\\n qualityString += `{ rid: ${value.rid} active:${value.active} disabledByWebRTC: ${disabledByWebRTC} maxBitrate:${value.maxBitrate} scaleResolutionDownBy:${value.scaleResolutionDownBy} maxFrameRate:${value.maxFramerate}`;\\n });\\n this.logger.info(`simulcast: content policy:chooseEncodingParameters newQualityMap: ${qualityString}`);\\n }\\n }\\n addObserver(_observer) { }\\n removeObserver(_observer) { }\\n forEachObserver(_observerFunc) { }\\n}\\nexports[\\\"default\\\"] = DefaultSimulcastUplinkPolicyForContentShare;\\n//# sourceMappingURL=DefaultSimulcastUplinkPolicyForContentShare.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/DefaultSimulcastUplinkPolicyForContentShare.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js\":\n/*!***************************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js ***!\n \\***************************************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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 DefaultVideoCaptureAndEncodeParameter_1 = __webpack_require__(/*! ../videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter */ \\\"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js\\\");\\n/** NScaleVideoUplinkBandwidthPolicy implements capture and encode\\n * parameters that are nearly equivalent to those chosen by the\\n * traditional native clients, except for a modification to\\n * maxBandwidthKbps and scaleResolutionDownBy described below. */\\nclass NScaleVideoUplinkBandwidthPolicy {\\n constructor(selfAttendeeId, scaleResolution = true, logger = undefined, browserBehavior = undefined) {\\n this.selfAttendeeId = selfAttendeeId;\\n this.scaleResolution = scaleResolution;\\n this.logger = logger;\\n this.browserBehavior = browserBehavior;\\n this.numberOfPublishedVideoSources = 0;\\n this.idealMaxBandwidthKbps = 1400;\\n this.hasBandwidthPriority = false;\\n this.encodingParamMap = new Map();\\n this.reset();\\n }\\n reset() {\\n // Don't reset `idealMaxBandwidthKbps` or `hasBandwidthPriority` which are set via builder API paths\\n this.numberOfPublishedVideoSources = 0;\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, false);\\n this.parametersInEffect = new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, false);\\n this.encodingParamMap.set(NScaleVideoUplinkBandwidthPolicy.encodingMapKey, {\\n maxBitrate: 0,\\n });\\n }\\n updateConnectionMetric(_metrics) {\\n return;\\n }\\n chooseMediaTrackConstraints() {\\n return {};\\n }\\n chooseEncodingParameters() {\\n return new Map();\\n }\\n updateIndex(videoIndex) {\\n var _a;\\n let hasLocalVideo = true;\\n let scale = 1;\\n if (this.transceiverController) {\\n hasLocalVideo = this.transceiverController.hasVideoInput();\\n }\\n // the +1 for self is assuming that we intend to send video, since\\n // the context here is VideoUplinkBandwidthPolicy\\n const numberOfPublishedVideoSources = videoIndex.numberOfVideoPublishingParticipantsExcludingSelf(this.selfAttendeeId) +\\n (hasLocalVideo ? 1 : 0);\\n if (this.numberOfPublishedVideoSources === numberOfPublishedVideoSources) {\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.debug('Skipping update index; Number of participants has not changed');\\n return;\\n }\\n this.numberOfPublishedVideoSources = numberOfPublishedVideoSources;\\n if (this.transceiverController) {\\n const settings = this.getStreamCaptureSetting();\\n if (settings) {\\n const encodingParams = this.calculateEncodingParameters(settings);\\n scale = encodingParams.scaleResolutionDownBy;\\n }\\n }\\n this.optimalParameters = new DefaultVideoCaptureAndEncodeParameter_1.default(this.captureWidth(), this.captureHeight(), this.captureFrameRate(), this.maxBandwidthKbps(), false, scale);\\n }\\n wantsResubscribe() {\\n return !this.parametersInEffect.equal(this.optimalParameters);\\n }\\n chooseCaptureAndEncodeParameters() {\\n this.parametersInEffect = this.optimalParameters.clone();\\n return this.parametersInEffect.clone();\\n }\\n captureWidth() {\\n let width = 640;\\n if (this.getNumberOfPublishedVideoSources() > 4) {\\n width = 320;\\n }\\n return width;\\n }\\n captureHeight() {\\n let height = 384;\\n if (this.getNumberOfPublishedVideoSources() > 4) {\\n height = 192;\\n }\\n return height;\\n }\\n captureFrameRate() {\\n return 15;\\n }\\n maxBandwidthKbps() {\\n if (this.hasBandwidthPriority) {\\n return Math.trunc(this.idealMaxBandwidthKbps);\\n }\\n let rate = 0;\\n if (this.getNumberOfPublishedVideoSources() <= 2) {\\n rate = this.idealMaxBandwidthKbps;\\n }\\n else if (this.getNumberOfPublishedVideoSources() <= 4) {\\n rate = (this.idealMaxBandwidthKbps * 2) / 3;\\n }\\n else {\\n rate =\\n ((544 / 11 + 14880 / (11 * this.getNumberOfPublishedVideoSources())) / 600) *\\n this.idealMaxBandwidthKbps;\\n }\\n return Math.trunc(rate);\\n }\\n setIdealMaxBandwidthKbps(idealMaxBandwidthKbps) {\\n this.idealMaxBandwidthKbps = idealMaxBandwidthKbps;\\n }\\n setHasBandwidthPriority(hasBandwidthPriority) {\\n this.hasBandwidthPriority = hasBandwidthPriority;\\n }\\n setTransceiverController(transceiverController) {\\n this.transceiverController = transceiverController;\\n }\\n updateTransceiverController() {\\n return __awaiter(this, void 0, void 0, function* () {\\n const settings = this.getStreamCaptureSetting();\\n if (!settings) {\\n return;\\n }\\n const encodingParams = this.calculateEncodingParameters(settings);\\n if (this.shouldUpdateEndcodingParameters(encodingParams)) {\\n this.encodingParamMap.set(NScaleVideoUplinkBandwidthPolicy.encodingMapKey, encodingParams);\\n this.transceiverController.setEncodingParameters(this.encodingParamMap);\\n }\\n });\\n }\\n shouldUpdateEndcodingParameters(encoding) {\\n var _a, _b;\\n const transceiverEncoding = (_b = (_a = this.transceiverController\\n .localVideoTransceiver()\\n .sender.getParameters()) === null || _a === void 0 ? void 0 : _a.encodings) === null || _b === void 0 ? void 0 : _b[0];\\n /* istanbul ignore next: transceiverEncoding?.scaleResolutionDownBy cannot be covered */\\n return (encoding.maxBitrate !== (transceiverEncoding === null || transceiverEncoding === void 0 ? void 0 : transceiverEncoding.maxBitrate) ||\\n encoding.scaleResolutionDownBy !== (transceiverEncoding === null || transceiverEncoding === void 0 ? void 0 : transceiverEncoding.scaleResolutionDownBy));\\n }\\n calculateEncodingParameters(setting) {\\n var _a, _b;\\n const maxBitrate = this.maxBandwidthKbps() * 1000;\\n let scale = 1;\\n if (setting.height !== undefined &&\\n setting.width !== undefined &&\\n this.scaleResolution &&\\n !this.hasBandwidthPriority &&\\n this.getNumberOfPublishedVideoSources() > 2) {\\n let targetHeight = NScaleVideoUplinkBandwidthPolicy.targetHeightArray[Math.min(this.getNumberOfPublishedVideoSources(), NScaleVideoUplinkBandwidthPolicy.targetHeightArray.length - 1)];\\n //Workaround for issue https://github.com/aws/amazon-chime-sdk-js/issues/2002\\n if (targetHeight === 480 && ((_a = this.browserBehavior) === null || _a === void 0 ? void 0 : _a.disable480pResolutionScaleDown())) {\\n targetHeight = 360;\\n }\\n scale = Math.max(Math.min(setting.height, setting.width) / targetHeight, 1);\\n (_b = this.logger) === null || _b === void 0 ? void 0 : _b.info(`Resolution scale factor is ${scale} for capture resolution ${setting.width}x${setting.height}. New dimension is ${setting.width / scale}x${setting.height / scale}`);\\n }\\n return {\\n scaleResolutionDownBy: scale,\\n maxBitrate: maxBitrate,\\n };\\n }\\n getStreamCaptureSetting() {\\n var _a, _b, _c, _d;\\n return (_d = (_c = (_b = (_a = this.transceiverController) === null || _a === void 0 ? void 0 : _a.localVideoTransceiver()) === null || _b === void 0 ? void 0 : _b.sender) === null || _c === void 0 ? void 0 : _c.track) === null || _d === void 0 ? void 0 : _d.getSettings();\\n }\\n getNumberOfPublishedVideoSources() {\\n var _a;\\n /* istanbul ignore next: policy calculation is dependent on index so this is never undefined at time of use */\\n return (_a = this.numberOfPublishedVideoSources) !== null && _a !== void 0 ? _a : 0;\\n }\\n}\\nexports[\\\"default\\\"] = NScaleVideoUplinkBandwidthPolicy;\\nNScaleVideoUplinkBandwidthPolicy.encodingMapKey = 'video';\\n// 0, 1, 2 have dummy value as we keep the original resolution if we have less than 2 videos.\\nNScaleVideoUplinkBandwidthPolicy.targetHeightArray = [\\n 0,\\n 0,\\n 0,\\n 540,\\n 540,\\n 480,\\n 480,\\n 480,\\n 480,\\n 360,\\n 360,\\n 360,\\n 360,\\n 270,\\n 270,\\n 270,\\n 270,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n 180,\\n];\\n//# sourceMappingURL=NScaleVideoUplinkBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NScaleVideoUplinkBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js\":\n/*!***********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js ***!\n \\***********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 DefaultVideoCaptureAndEncodeParameter_1 = __webpack_require__(/*! ../videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter */ \\\"./node_modules/amazon-chime-sdk-js/build/videocaptureandencodeparameter/DefaultVideoCaptureAndEncodeParameter.js\\\");\\nclass NoVideoUplinkBandwidthPolicy {\\n constructor() { }\\n updateConnectionMetric(_metrics) { }\\n chooseMediaTrackConstraints() {\\n return {};\\n }\\n chooseEncodingParameters() {\\n return new Map();\\n }\\n updateIndex(_videoIndex) { }\\n wantsResubscribe() {\\n return false;\\n }\\n chooseCaptureAndEncodeParameters() {\\n return new DefaultVideoCaptureAndEncodeParameter_1.default(0, 0, 0, 0, false);\\n }\\n maxBandwidthKbps() {\\n return 0;\\n }\\n setIdealMaxBandwidthKbps(_idealMaxBandwidthKbps) { }\\n setHasBandwidthPriority(_hasBandwidthPriority) { }\\n}\\nexports[\\\"default\\\"] = NoVideoUplinkBandwidthPolicy;\\n//# sourceMappingURL=NoVideoUplinkBandwidthPolicy.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/videouplinkbandwidthpolicy/NoVideoUplinkBandwidthPolicy.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js ***!\n \\****************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/** @internal */\\nfunction stringify(args) {\\n return args\\n .map((v) => {\\n if (typeof v === 'object') {\\n return JSON.stringify(v);\\n }\\n return `${v}`;\\n })\\n .join(' ');\\n}\\n/** @internal */\\nclass LoggerAdapter {\\n constructor(base) {\\n this.base = base;\\n }\\n debug(...args) {\\n this.base.debug(stringify(args));\\n }\\n info(...args) {\\n this.base.info(stringify(args));\\n }\\n warn(...args) {\\n this.base.warn(stringify(args));\\n }\\n error(...args) {\\n this.base.error(stringify(args));\\n }\\n}\\nexports[\\\"default\\\"] = LoggerAdapter;\\n//# sourceMappingURL=LoggerAdapter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js\":\n/*!******************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js ***!\n \\******************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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.VoiceFocusDeviceTransformer = void 0;\\nconst voicefocus_1 = __webpack_require__(/*! ../../libs/voicefocus/voicefocus */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js\\\");\\nconst Utils_1 = __webpack_require__(/*! ../utils/Utils */ \\\"./node_modules/amazon-chime-sdk-js/build/utils/Utils.js\\\");\\nconst Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst LoggerAdapter_1 = __webpack_require__(/*! ./LoggerAdapter */ \\\"./node_modules/amazon-chime-sdk-js/build/voicefocus/LoggerAdapter.js\\\");\\nconst VoiceFocusTransformDevice_1 = __webpack_require__(/*! ./VoiceFocusTransformDevice */ \\\"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js\\\");\\nconst VoiceFocusTransformDeviceDelegate_1 = __webpack_require__(/*! ./VoiceFocusTransformDeviceDelegate */ \\\"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js\\\");\\n/**\\n * `VoiceFocusDeviceTransformer` is used to create {@link VoiceFocusTransformDevice|transform devices}\\n * that apply Amazon Voice Focus noise suppression to audio input.\\n *\\n * This transformer captures relevant configuration. You should check for support, initialize,\\n * and then create a device as follows:\\n *\\n * ```typescript\\n * const deviceID = null;\\n *\\n * // This check for support is cheap and quick, and should be used to gate use\\n * // of this feature.\\n * if (!(await VoiceFocusDeviceTransformer.isSupported()) {\\n * console.log('Amazon Voice Focus not supported in this browser.');\\n * return deviceID;\\n * }\\n *\\n * let transformer: VoiceFocusDeviceTransformer;\\n * try {\\n * // This operation can fail in ways that do not indicate no support,\\n * // but do indicate an inability to apply Amazon Voice Focus. Trying again\\n * // might succeed.\\n * transformer = await VoiceFocusDeviceTransformer.create({});\\n * } catch (e) {\\n * // Something went wrong.\\n * console.log('Unable to instantiate Amazon Voice Focus.');\\n * return deviceID;\\n * }\\n *\\n * if (!transformer.isSupported()) {\\n * // The transformer will fall through, but your UI might care.\\n * console.log('Amazon Voice Focus not supported in this browser.');\\n * }\\n *\\n * return await transformer.createTransformDevice(deviceID);\\n * ```\\n */\\nclass VoiceFocusDeviceTransformer {\\n constructor(spec, { preload = true, logger, fetchBehavior = VoiceFocusDeviceTransformer.defaultFetchBehavior(), }, config) {\\n this.spec = spec;\\n this.supported = true;\\n this.logger = logger;\\n this.vfLogger = logger ? new LoggerAdapter_1.default(logger) : undefined;\\n this.preload = preload;\\n this.fetchBehavior = fetchBehavior;\\n // If the user didn't specify one, add the default, which is\\n // identified by the major and minor SDK version.\\n this.spec = VoiceFocusDeviceTransformer.augmentSpec(this.spec);\\n if (config) {\\n this.configuration = Promise.resolve(config);\\n }\\n }\\n /**\\n * Quickly check whether Amazon Voice Focus is supported on this platform.\\n *\\n * This will return `false` if key technologies are absent. A value of `true` does not\\n * necessarily mean that adding Amazon Voice Focus will succeed: it is still possible that the\\n * configuration of the page or the CPU speed of the device are limiting factors.\\n *\\n * {@link VoiceFocusDeviceTransformer.create} will return an instance whose\\n * `isSupported` method more accurately reflects whether Amazon Voice Focus\\n * is supported in the current environment.\\n *\\n * This method will only reject if you provide invalid inputs.\\n *\\n * @param spec An optional asset group and URL paths to use when fetching. You can pass\\n * a complete {@link VoiceFocusSpec} here for convenience, matching the signature of {@link VoiceFocusDeviceTransformer.create}.\\n * @param options Additional named arguments, including `logger`. Set\\n * `allowIFrame` to false to cause the support check to fail in\\n * an iframe.\\n * Chromium's security model means that audio processing works\\n * poorly in iframes.\\n */\\n static isSupported(spec, options) {\\n var _a, _b;\\n const fetchBehavior = VoiceFocusDeviceTransformer.defaultFetchBehavior();\\n const logger = (options === null || options === void 0 ? void 0 : options.logger) ? new LoggerAdapter_1.default(options.logger) : undefined;\\n const opts = {\\n fetchBehavior,\\n logger,\\n };\\n // This is impossible to test in Node, so Istanbul ignore.\\n /* istanbul ignore next */\\n if (Utils_1.isIFramed()) {\\n if ((options === null || options === void 0 ? void 0 : options.allowIFrame) === false) {\\n (_a = options === null || options === void 0 ? void 0 : options.logger) === null || _a === void 0 ? void 0 : _a.error('Amazon Voice Focus support check inside iframe: not supported.');\\n return Promise.resolve(false);\\n }\\n else {\\n (_b = options === null || options === void 0 ? void 0 : options.logger) === null || _b === void 0 ? void 0 : _b.warn('Amazon Voice Focus support check inside iframe: not recommended.');\\n }\\n }\\n return voicefocus_1.VoiceFocus.isSupported(VoiceFocusDeviceTransformer.augmentSpec(spec), opts);\\n }\\n /**\\n * Create a transformer that can apply Amazon Voice Focus noise suppression to a device.\\n *\\n * This method will reject if the provided spec is invalid, or if the process of\\n * checking for support or estimating fails (e.g., because the network is unreachable).\\n *\\n * If Amazon Voice Focus is not supported on this device, this call will not reject and\\n * `isSupported` will return `false` on the returned instance. That instance will\\n * pass through devices unmodified.\\n *\\n * @param spec A definition of how you want Amazon Voice Focus to behave. See the declaration of\\n * {@link VoiceFocusSpec} for details.\\n * @param options Additional named arguments, including `logger` and `preload`.\\n */\\n static create(spec = {}, options = {}, config, \\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\\n createMeetingResponse, \\n // eslint-disable-next-line\\n createAttendeeResponse) {\\n var _a, _b, _c;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (createMeetingResponse) {\\n if (createMeetingResponse.Meeting.Meeting) {\\n createMeetingResponse = createMeetingResponse.Meeting;\\n }\\n }\\n const meetingFeaturesAllowsES = ((_c = (_b = (_a = createMeetingResponse === null || createMeetingResponse === void 0 ? void 0 : createMeetingResponse.Meeting) === null || _a === void 0 ? void 0 : _a.MeetingFeatures) === null || _b === void 0 ? void 0 : _b.Audio) === null || _c === void 0 ? void 0 : _c.EchoReduction) === 'AVAILABLE';\\n const forbiddenConfig = config &&\\n config.supported === true &&\\n config.model.name === 'ns_es' &&\\n !meetingFeaturesAllowsES;\\n const forbiddenSpec = spec.name === 'ns_es' && !meetingFeaturesAllowsES;\\n if (forbiddenConfig || forbiddenSpec) {\\n throw new Error('Echo Reduction requested but not enabled.');\\n }\\n const transformer = new VoiceFocusDeviceTransformer(spec, options, config);\\n // This also preps the first `VoiceFocus` instance.\\n yield transformer.init();\\n return transformer;\\n });\\n }\\n /**\\n * Given a spec and options, perform the configuration work that is\\n * ordinarily performed during creation of a transformer.\\n *\\n * The computed configuration is not portable between devices or sessions,\\n * but is useful for 'moving' transformers between windows.\\n *\\n * Pass the returned configuration as the third argument to a call to\\n * {@link VoiceFocusDeviceTransformer.create} with the matching spec.\\n */\\n static configure(spec = {}, options = {}) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const transformer = new VoiceFocusDeviceTransformer(spec, options, undefined);\\n return transformer.configure(true);\\n });\\n }\\n /**\\n * Return the computed configuration for this transformer.\\n */\\n getConfiguration() {\\n return this.configuration;\\n }\\n /**\\n * Return whether this transformer is able to function in this environment.\\n * If not, calls to\\n * {@link VoiceFocusDeviceTransformer.createTransformDevice|createTransformDevice}\\n * will pass through an unmodified device.\\n */\\n isSupported() {\\n return this.supported;\\n }\\n /**\\n * Apply Amazon Voice Focus to the selected {@link Device}.\\n *\\n * If this is a stream, it should be one that does not include other noise suppression features,\\n * and you should consider whether to disable automatic gain control (AGC) on the stream, because\\n * it can interact with noise suppression.\\n *\\n * @returns a device promise. This will always resolve to either a\\n * {@link VoiceFocusTransformDevice} or undefined; it will never reject.\\n */\\n createTransformDevice(device, nodeOptions) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.supported) {\\n // Fall back.\\n return undefined;\\n }\\n try {\\n const preload = true;\\n const [vf, delegate] = yield this.allocateVoiceFocus(preload);\\n const options = Object.assign(Object.assign({}, nodeOptions), { es: this.spec.name === 'ns_es' });\\n return new VoiceFocusTransformDevice_1.default(device, vf, delegate, options);\\n }\\n catch (e) {\\n // Fall back.\\n /* istanbul ignore next */\\n return undefined;\\n }\\n });\\n }\\n /**\\n * Destroy the Voice Focus instance and worker thread associated with the transformer.\\n */\\n static destroyVoiceFocus(transformer) {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n /* istanbul ignore next */\\n (_a = transformer === null || transformer === void 0 ? void 0 : transformer.vf) === null || _a === void 0 ? void 0 : _a.destroy();\\n });\\n }\\n static augmentSpec(spec) {\\n if (!spec || (!spec.assetGroup && !spec.revisionID)) {\\n return Object.assign(Object.assign({}, spec), { assetGroup: VoiceFocusDeviceTransformer.currentSDKAssetGroup() });\\n }\\n return spec;\\n }\\n configure(preResolve = false) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const options = {\\n fetchBehavior: this.fetchBehavior,\\n preResolve,\\n logger: this.vfLogger,\\n };\\n return voicefocus_1.VoiceFocus.configure(this.spec, options);\\n });\\n }\\n init() {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.configuration) {\\n this.configuration = this.configure();\\n }\\n const config = yield this.configuration;\\n if (!config.supported) {\\n // No need to init: it won't work.\\n this.supported = false;\\n return;\\n }\\n // We initialize the first one right now, which makes it easier to detect\\n // possible failures.\\n // This can throw for malformed input. Pass that up the chain.\\n this.pendingVoiceFocus = this.createVoiceFocus(config, this.preload);\\n try {\\n yield this.pendingVoiceFocus;\\n }\\n catch (e) {\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.error(`Unable to initialize Amazon Voice Focus: ${e}`);\\n this.supported = false;\\n }\\n });\\n }\\n createVoiceFocus(config, preload) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const delegate = new VoiceFocusTransformDeviceDelegate_1.default();\\n this.vf = yield voicefocus_1.VoiceFocus.init(config, { delegate, preload, logger: this.vfLogger });\\n return [this.vf, delegate];\\n });\\n }\\n allocateVoiceFocus(preload) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // A little safety.\\n /* istanbul ignore next */\\n if (!this.supported) {\\n throw new Error('Not supported.');\\n }\\n if (this.pendingVoiceFocus) {\\n // Use the one we already have, and free the slot for any future execution.\\n const vf = this.pendingVoiceFocus;\\n this.pendingVoiceFocus = undefined;\\n return vf;\\n }\\n return this.createVoiceFocus(yield this.configuration, preload);\\n });\\n }\\n static majorVersion() {\\n return Versioning_1.default.sdkVersion.match(/^[1-9][0-9]*\\\\.(?:0|[1-9][0-9]*)/)[0];\\n }\\n static majorMinorVersion() {\\n return Versioning_1.default.sdkVersion.match(/^[1-9][0-9]*\\\\.(?:0|(?:[1-9][0-9]*))\\\\.(?:0|[1-9][0-9]*)/)[0];\\n }\\n static currentSDKAssetGroup() {\\n // Just on the off chance someone does something silly, handle\\n // malformed version strings here.\\n const v = this.majorVersion();\\n // Just a little safety.\\n /* istanbul ignore next */\\n if (!v) {\\n return `stable-v1`;\\n }\\n return `sdk-${v}`;\\n }\\n // Note that we use query strings here, not headers, in order to make these requests 'simple' and\\n // avoid the need for CORS preflights.\\n // Be very, very careful if you choose to add headers here. You should never need to.\\n static defaultFetchBehavior() {\\n // Just a little safety.\\n /* istanbul ignore next */\\n const version = VoiceFocusDeviceTransformer.majorMinorVersion() || 'unknown';\\n const ua = Versioning_1.default.sdkUserAgentLowResolution;\\n return {\\n escapedQueryString: `sdk=${encodeURIComponent(version)}&ua=${encodeURIComponent(ua)}`,\\n };\\n }\\n}\\nexports.VoiceFocusDeviceTransformer = VoiceFocusDeviceTransformer;\\nexports[\\\"default\\\"] = VoiceFocusDeviceTransformer;\\n//# sourceMappingURL=VoiceFocusDeviceTransformer.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusDeviceTransformer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js ***!\n \\****************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\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\\\");\\n/**\\n * A device that augments a {@link Device} to apply Amazon Voice Focus\\n * noise suppression to an audio input.\\n */\\nclass VoiceFocusTransformDevice {\\n /** @internal */\\n constructor(device, voiceFocus, delegate, nodeOptions, failed = false, node = undefined, browserBehavior = new DefaultBrowserBehavior_1.default(), \\n /** farEndStreams` maps from a stream that could cause echo or interfere with double talkto an `AudioSourceNode` that we use to mix multiple such streams.*/\\n farEndStreamToAudioSourceNode = new Map(), \\n /** mixDestNode is the Audio Destination Node where farEndStreams got mixed into one stream.*/\\n mixDestNode = undefined, \\n /** mixSourceNode is the Audio Source Node where the stream out of mixDestNode got transferred into Audio Worklet Node for processing.*/\\n mixSourceNode = undefined) {\\n this.device = device;\\n this.voiceFocus = voiceFocus;\\n this.delegate = delegate;\\n this.nodeOptions = nodeOptions;\\n this.failed = failed;\\n this.node = node;\\n this.browserBehavior = browserBehavior;\\n this.farEndStreamToAudioSourceNode = farEndStreamToAudioSourceNode;\\n this.mixDestNode = mixDestNode;\\n this.mixSourceNode = mixSourceNode;\\n }\\n /**\\n * Return the inner device as provided during construction, or updated via\\n * {@link VoiceFocusTransformDevice.chooseNewInnerDevice}. Do not confuse\\n * this method with {@link VoiceFocusTransformDevice.intrinsicDevice}.\\n */\\n getInnerDevice() {\\n return this.device;\\n }\\n /**\\n * Disable the audio node while muted to reduce CPU usage.\\n *\\n * @param muted whether the audio device should be muted.\\n */\\n mute(muted) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.node) {\\n return;\\n }\\n if (muted) {\\n yield this.node.disable();\\n }\\n else {\\n yield this.node.enable();\\n }\\n });\\n }\\n /**\\n * Dispose of the inner workings of the transform device. After this method is called\\n * you will need to create a new device to use Amazon Voice Focus again.\\n */\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.node) {\\n return;\\n }\\n this.node.disconnect();\\n yield this.node.stop();\\n });\\n }\\n /**\\n * If you wish to choose a different inner device, but continue to use Amazon Voice Focus, you\\n * can use this method to efficiently create a new device that will reuse\\n * the same internal state. Only one of the two devices can be used at a time: switch\\n * between them using {@link DeviceController.startAudioInput}.\\n *\\n * If the same device is passed as is currently in use, `this` is returned.\\n *\\n * @param inner The new inner device to use.\\n */\\n chooseNewInnerDevice(inner) {\\n return __awaiter(this, void 0, void 0, function* () {\\n // If the new device is 'default', always recreate. Chrome can switch out\\n // the real device underneath us.\\n if (this.device === inner && !isDefaultDevice(inner)) {\\n return this;\\n }\\n return new VoiceFocusTransformDevice(inner, this.voiceFocus, this.delegate, this.nodeOptions, this.failed, this.node, this.browserBehavior, this.farEndStreamToAudioSourceNode, this.mixDestNode, this.mixSourceNode);\\n });\\n }\\n intrinsicDevice() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.failed) {\\n return this.device;\\n }\\n const isUsingES = this.nodeOptions.es;\\n // Turn the Device into constraints with appropriate AGC settings.\\n const trackConstraints = {\\n echoCancellation: !isUsingES,\\n // @ts-ignore\\n googEchoCancellation: !isUsingES,\\n // @ts-ignore\\n googEchoCancellation2: !isUsingES,\\n noiseSuppression: false,\\n // @ts-ignore\\n googNoiseSuppression: false,\\n // @ts-ignore\\n googHighpassFilter: false,\\n // @ts-ignore\\n googNoiseSuppression2: false,\\n };\\n let useBuiltInAGC;\\n if (this.nodeOptions && this.nodeOptions.agc !== undefined) {\\n useBuiltInAGC = this.nodeOptions.agc.useBuiltInAGC;\\n }\\n else {\\n useBuiltInAGC = true;\\n }\\n trackConstraints.autoGainControl = useBuiltInAGC;\\n // @ts-ignore\\n trackConstraints.googAutoGainControl = useBuiltInAGC;\\n // @ts-ignore\\n trackConstraints.googAutoGainControl2 = useBuiltInAGC;\\n // Empty string and null.\\n if (!this.device) {\\n return trackConstraints;\\n }\\n // Device ID.\\n if (typeof this.device === 'string') {\\n /* istanbul ignore if */\\n if (this.browserBehavior.requiresNoExactMediaStreamConstraints()) {\\n trackConstraints.deviceId = this.device;\\n }\\n else {\\n trackConstraints.deviceId = { exact: this.device };\\n }\\n return trackConstraints;\\n }\\n // It's a stream.\\n if (this.device.id) {\\n // Nothing we can do.\\n return this.device;\\n }\\n // It's constraints.\\n return Object.assign(Object.assign({}, this.device), trackConstraints);\\n });\\n }\\n createAudioNode(context) {\\n var _a, _b;\\n return __awaiter(this, void 0, void 0, function* () {\\n if (((_a = this.node) === null || _a === void 0 ? void 0 : _a.context) === context) {\\n return {\\n start: this.node,\\n end: this.node,\\n };\\n }\\n const agc = { useVoiceFocusAGC: false };\\n const options = Object.assign({ enabled: true, agc }, this.nodeOptions);\\n try {\\n (_b = this.node) === null || _b === void 0 ? void 0 : _b.disconnect();\\n this.node = yield this.voiceFocus.createNode(context, options);\\n if (this.nodeOptions.es) {\\n this.mixDestNode = new MediaStreamAudioDestinationNode(context, {\\n channelCount: 1,\\n channelCountMode: 'explicit',\\n });\\n for (const stream of this.farEndStreamToAudioSourceNode.keys()) {\\n this.assignFarEndStreamToAudioSourceNode(stream);\\n }\\n this.createMixSourceNode();\\n }\\n const start = this.node;\\n const end = this.node;\\n return { start, end };\\n }\\n catch (e) {\\n // It's better to return some audio stream than nothing.\\n this.failed = true;\\n this.delegate.onFallback(this, e);\\n throw e;\\n }\\n });\\n }\\n observeMeetingAudio(audioVideo) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.nodeOptions.es) {\\n return;\\n }\\n audioVideo.addAudioMixObserver(this);\\n const stream = yield audioVideo.getCurrentMeetingAudioStream();\\n if (stream) {\\n this.addFarEndStream(stream);\\n }\\n });\\n }\\n unObserveMeetingAudio(audioVideo) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.nodeOptions.es) {\\n return;\\n }\\n audioVideo.removeAudioMixObserver(this);\\n const stream = yield audioVideo.getCurrentMeetingAudioStream();\\n if (stream) {\\n this.removeFarendStream(stream);\\n }\\n });\\n }\\n /**\\n * Add an observer to receive notifications about Amazon Voice Focus lifecycle events.\\n * See {@link VoiceFocusTransformDeviceObserver} for details.\\n * If the observer has already been added, this method call has no effect.\\n */\\n addObserver(observer) {\\n this.delegate.addObserver(observer);\\n }\\n /**\\n * Remove an existing observer. If the observer has not been previously {@link\\n * VoiceFocusTransformDevice.addObserver|added}, this method call has no effect.\\n */\\n removeObserver(observer) {\\n this.delegate.removeObserver(observer);\\n }\\n addFarEndStream(activeStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (!this.nodeOptions.es ||\\n !activeStream ||\\n this.farEndStreamToAudioSourceNode.has(activeStream)) {\\n return;\\n }\\n if (this.node) {\\n this.assignFarEndStreamToAudioSourceNode(activeStream);\\n }\\n else {\\n this.farEndStreamToAudioSourceNode.set(activeStream, null);\\n }\\n });\\n }\\n removeFarendStream(inactiveStream) {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n (_a = this.farEndStreamToAudioSourceNode.get(inactiveStream)) === null || _a === void 0 ? void 0 : _a.disconnect();\\n this.farEndStreamToAudioSourceNode.delete(inactiveStream);\\n });\\n }\\n meetingAudioStreamBecameActive(activeStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.addFarEndStream(activeStream);\\n });\\n }\\n meetingAudioStreamBecameInactive(inactiveStream) {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.removeFarendStream(inactiveStream);\\n });\\n }\\n assignFarEndStreamToAudioSourceNode(streamToAdd) {\\n const streamNodeToAdd = this.node.context.createMediaStreamSource(streamToAdd);\\n streamNodeToAdd.channelCount = 1;\\n streamNodeToAdd.channelCountMode = 'explicit';\\n this.farEndStreamToAudioSourceNode.set(streamToAdd, streamNodeToAdd);\\n streamNodeToAdd.connect(this.mixDestNode, 0);\\n }\\n createMixSourceNode() {\\n this.mixSourceNode = this.node.context.createMediaStreamSource(this.mixDestNode.stream);\\n this.mixSourceNode.channelCount = 1;\\n this.mixSourceNode.channelCountMode = 'explicit';\\n this.mixSourceNode.connect(this.node, 0, 1);\\n }\\n}\\nfunction isDefaultDevice(device) {\\n if (device === 'default') {\\n return true;\\n }\\n if (!device || typeof device !== 'object') {\\n return false;\\n }\\n if ('deviceId' in device && device.deviceId === 'default') {\\n return true;\\n }\\n if ('id' in device && device.id === 'default') {\\n return true;\\n }\\n return false;\\n}\\nexports[\\\"default\\\"] = VoiceFocusTransformDevice;\\n//# sourceMappingURL=VoiceFocusTransformDevice.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDevice.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js\":\n/*!************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js ***!\n \\************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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/** @internal */\\nclass VoiceFocusTransformDeviceDelegate {\\n constructor() {\\n this.observers = new Set();\\n }\\n addObserver(observer) {\\n this.observers.add(observer);\\n }\\n removeObserver(observer) {\\n this.observers.delete(observer);\\n }\\n /** @internal */\\n onFallback(device, e) {\\n var _a;\\n for (const observer of this.observers) {\\n (_a = observer.voiceFocusFellBackToInnerStream) === null || _a === void 0 ? void 0 : _a.call(observer, device, e);\\n }\\n }\\n onCPUWarning() {\\n var _a;\\n for (const observer of this.observers) {\\n (_a = observer.voiceFocusInsufficientResources) === null || _a === void 0 ? void 0 : _a.call(observer);\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusTransformDeviceDelegate;\\n//# sourceMappingURL=VoiceFocusTransformDeviceDelegate.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/voicefocus/VoiceFocusTransformDeviceDelegate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js\":\n/*!********************************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js ***!\n \\********************************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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 DefaultVolumeIndicatorAdapter {\\n constructor(logger, realtimeController, minVolumeDecibels, maxVolumeDecibels, selfAttendeeId) {\\n this.logger = logger;\\n this.realtimeController = realtimeController;\\n this.minVolumeDecibels = minVolumeDecibels;\\n this.maxVolumeDecibels = maxVolumeDecibels;\\n this.selfAttendeeId = selfAttendeeId;\\n this.streamIdToAttendeeId = {};\\n this.streamIdToExternalUserId = {};\\n this.warnedAboutMissingStreamIdMapping = {};\\n this.attendeeIdToStreamId = {};\\n this.sessionReconnected = false;\\n }\\n onReconnect() {\\n this.sessionReconnected = true;\\n }\\n sendRealtimeUpdatesForAudioStreamIdInfo(info) {\\n let streamIndex = 0;\\n for (const stream of info.streams) {\\n const hasAttendeeId = !!stream.attendeeId;\\n const hasExternalUserId = !!stream.externalUserId;\\n const hasMuted = stream.hasOwnProperty('muted');\\n const hasDropped = !!stream.dropped;\\n if (hasAttendeeId) {\\n if (!!this.attendeeIdToStreamId[stream.attendeeId] &&\\n this.attendeeIdToStreamId[stream.attendeeId] < stream.audioStreamId) {\\n delete this.attendeeIdToStreamId[stream.attendeeId];\\n }\\n this.streamIdToAttendeeId[stream.audioStreamId] = stream.attendeeId;\\n const externalUserId = hasExternalUserId ? stream.externalUserId : stream.attendeeId;\\n this.streamIdToExternalUserId[stream.audioStreamId] = externalUserId;\\n this.attendeeIdToStreamId[stream.attendeeId] = stream.audioStreamId;\\n this.realtimeController.realtimeSetAttendeeIdPresence(stream.attendeeId, true, externalUserId, false, { attendeeIndex: streamIndex++, attendeesInFrame: info.streams.length });\\n }\\n if (hasMuted) {\\n const attendeeId = this.streamIdToAttendeeId[stream.audioStreamId];\\n const externalUserId = this.streamIdToExternalUserId[stream.audioStreamId];\\n this.realtimeController.realtimeUpdateVolumeIndicator(attendeeId, null, stream.muted, null, externalUserId);\\n }\\n if (!hasAttendeeId && !hasMuted) {\\n const attendeeId = this.streamIdToAttendeeId[stream.audioStreamId];\\n if (attendeeId) {\\n const externalUserId = this.streamIdToExternalUserId[stream.audioStreamId];\\n delete this.streamIdToAttendeeId[stream.audioStreamId];\\n delete this.streamIdToExternalUserId[stream.audioStreamId];\\n delete this.warnedAboutMissingStreamIdMapping[stream.audioStreamId];\\n if (this.attendeeIdToStreamId[attendeeId] === stream.audioStreamId) {\\n delete this.attendeeIdToStreamId[attendeeId];\\n }\\n let attendeeHasNewStreamId = false;\\n for (const otherStreamId of Object.keys(this.streamIdToAttendeeId)) {\\n const otherStreamIdNumber = parseInt(otherStreamId);\\n if (otherStreamIdNumber > stream.audioStreamId &&\\n this.streamIdToAttendeeId[otherStreamIdNumber] === attendeeId) {\\n attendeeHasNewStreamId = true;\\n break;\\n }\\n }\\n if (!attendeeHasNewStreamId) {\\n this.realtimeController.realtimeSetAttendeeIdPresence(attendeeId, false, externalUserId, hasDropped, { attendeeIndex: streamIndex++, attendeesInFrame: info.streams.length });\\n }\\n }\\n }\\n }\\n if (this.sessionReconnected) {\\n this.cleanUpState(info);\\n this.sessionReconnected = false;\\n }\\n }\\n cleanUpState(info) {\\n const localAttendeeIds = Object.values(this.streamIdToAttendeeId);\\n const remoteAttendeeIds = info.streams.map(stream => stream.attendeeId);\\n const deletedAttendeeIds = localAttendeeIds.filter(id => {\\n return !remoteAttendeeIds.includes(id);\\n });\\n for (const [index, deletedAttendeeId] of deletedAttendeeIds.entries()) {\\n const streamId = this.attendeeIdToStreamId[deletedAttendeeId];\\n const externalUserId = this.streamIdToExternalUserId[streamId];\\n delete this.streamIdToAttendeeId[streamId];\\n delete this.streamIdToExternalUserId[streamId];\\n delete this.warnedAboutMissingStreamIdMapping[streamId];\\n delete this.attendeeIdToStreamId[deletedAttendeeId];\\n // During reconnection, the audio info frame might not include self attendee.\\n // However, if that happens, there would be another audio info frame with the self attendee after reconnection.\\n // So we should not send leave event here for self attendee.\\n if (deletedAttendeeId === this.selfAttendeeId) {\\n this.logger.warn(`the volume indicator adapter cleans up the current attendee (presence = false) after reconnection`);\\n continue;\\n }\\n // The reconnect event does not have information whether the attendee is dropped/left.\\n // Defaulting to attendee leaving the meeting\\n this.realtimeController.realtimeSetAttendeeIdPresence(deletedAttendeeId, false, externalUserId, false, { attendeeIndex: index, attendeesInFrame: deletedAttendeeId.length });\\n }\\n }\\n sendRealtimeUpdatesForAudioMetadata(metadata) {\\n let volumes = null;\\n let signalStrengths = null;\\n for (const state of metadata.attendeeStates) {\\n const attendeeId = this.attendeeIdForStreamId(state.audioStreamId);\\n if (state.hasOwnProperty('volume')) {\\n if (volumes === null) {\\n volumes = {};\\n }\\n if (attendeeId !== null) {\\n // @ts-ignore: TODO fix this protobufjs issue\\n volumes[attendeeId] = this.normalizedVolume(state);\\n }\\n }\\n if (state.hasOwnProperty('signalStrength')) {\\n if (signalStrengths === null) {\\n signalStrengths = {};\\n }\\n if (attendeeId !== null) {\\n // @ts-ignore: TODO fix this protobufjs issue\\n signalStrengths[attendeeId] = this.normalizedSignalStrength(state);\\n }\\n }\\n }\\n this.applyRealtimeUpdatesForAudioMetadata(volumes, signalStrengths);\\n }\\n normalizedVolume(state) {\\n const dBVolume = -state.volume;\\n const normalized = 1.0 - (dBVolume - this.maxVolumeDecibels) / (this.minVolumeDecibels - this.maxVolumeDecibels);\\n const clipped = Math.min(Math.max(normalized, 0.0), 1.0);\\n return clipped;\\n }\\n normalizedSignalStrength(state) {\\n const normalized = state.signalStrength / DefaultVolumeIndicatorAdapter.MAX_SIGNAL_STRENGTH_LEVELS;\\n const clipped = Math.min(Math.max(normalized, 0.0), 1.0);\\n return clipped;\\n }\\n applyRealtimeUpdatesForAudioMetadata(volumes, signalStrengths) {\\n for (const streamId in this.streamIdToAttendeeId) {\\n const attendeeId = this.streamIdToAttendeeId[streamId];\\n const externalUserId = this.streamIdToExternalUserId[streamId];\\n let volumeUpdate = null;\\n let signalStrengthUpdate = null;\\n if (volumes !== null) {\\n if (volumes.hasOwnProperty(attendeeId)) {\\n volumeUpdate = volumes[attendeeId];\\n }\\n else {\\n volumeUpdate = DefaultVolumeIndicatorAdapter.IMPLICIT_VOLUME;\\n }\\n }\\n if (signalStrengths !== null) {\\n if (signalStrengths.hasOwnProperty(attendeeId)) {\\n signalStrengthUpdate = signalStrengths[attendeeId];\\n }\\n else {\\n signalStrengthUpdate = DefaultVolumeIndicatorAdapter.IMPLICIT_SIGNAL_STRENGTH;\\n }\\n }\\n if (volumeUpdate !== null || signalStrengthUpdate !== null) {\\n this.realtimeController.realtimeUpdateVolumeIndicator(attendeeId, volumeUpdate, null, signalStrengthUpdate, externalUserId);\\n }\\n }\\n }\\n attendeeIdForStreamId(streamId) {\\n if (streamId === 0) {\\n return null;\\n }\\n const attendeeId = this.streamIdToAttendeeId[streamId];\\n if (attendeeId) {\\n return attendeeId;\\n }\\n if (!this.warnedAboutMissingStreamIdMapping[streamId]) {\\n this.warnedAboutMissingStreamIdMapping[streamId] = true;\\n this.logger.warn(`volume indicator stream id ${streamId} seen before being defined`);\\n }\\n return null;\\n }\\n}\\nexports[\\\"default\\\"] = DefaultVolumeIndicatorAdapter;\\nDefaultVolumeIndicatorAdapter.MAX_SIGNAL_STRENGTH_LEVELS = 2;\\nDefaultVolumeIndicatorAdapter.IMPLICIT_VOLUME = 0;\\nDefaultVolumeIndicatorAdapter.IMPLICIT_SIGNAL_STRENGTH = 1;\\n//# sourceMappingURL=DefaultVolumeIndicatorAdapter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/volumeindicatoradapter/DefaultVolumeIndicatorAdapter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js\":\n/*!********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js ***!\n \\********************************************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\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 Versioning_1 = __webpack_require__(/*! ../versioning/Versioning */ \\\"./node_modules/amazon-chime-sdk-js/build/versioning/Versioning.js\\\");\\nconst WebSocketReadyState_1 = __webpack_require__(/*! ./WebSocketReadyState */ \\\"./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js\\\");\\nclass DefaultWebSocketAdapter {\\n constructor(logger) {\\n this.logger = logger;\\n }\\n create(url, protocols, isSignedUrl) {\\n this.connection = new WebSocket(isSignedUrl ? url : Versioning_1.default.urlWithVersion(url), protocols);\\n this.connection.binaryType = 'arraybuffer';\\n }\\n send(message) {\\n if (!this.connection) {\\n this.logger.error('WebSocket not yet created or already destroyed.');\\n return false;\\n }\\n try {\\n if (message instanceof Uint8Array) {\\n this.connection.send(message.buffer);\\n }\\n else {\\n this.connection.send(message);\\n }\\n return true;\\n }\\n catch (err) {\\n this.logger.debug(() => `send error: ${err.message}, websocket state=${WebSocketReadyState_1.default[this.readyState()]}`);\\n return false;\\n }\\n }\\n close(code, reason) {\\n var _a;\\n (_a = this.connection) === null || _a === void 0 ? void 0 : _a.close(code, reason);\\n }\\n destroy() {\\n this.connection = undefined;\\n }\\n addEventListener(handler, eventListener) {\\n /* istanbul ignore if */\\n if (!this.connection) {\\n this.logger.warn('Cannot add event listener with no WebSocket connection.');\\n return;\\n }\\n this.connection.addEventListener(handler, eventListener);\\n }\\n removeEventListener(handler, eventListener) {\\n var _a;\\n (_a = this.connection) === null || _a === void 0 ? void 0 : _a.removeEventListener(handler, eventListener);\\n }\\n readyState() {\\n if (!this.connection) {\\n return WebSocketReadyState_1.default.None;\\n }\\n switch (this.connection.readyState) {\\n case WebSocket.CONNECTING:\\n return WebSocketReadyState_1.default.Connecting;\\n case WebSocket.OPEN:\\n return WebSocketReadyState_1.default.Open;\\n case WebSocket.CLOSING:\\n return WebSocketReadyState_1.default.Closing;\\n case WebSocket.CLOSED:\\n return WebSocketReadyState_1.default.Closed;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = DefaultWebSocketAdapter;\\n//# sourceMappingURL=DefaultWebSocketAdapter.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/websocketadapter/DefaultWebSocketAdapter.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js ***!\n \\****************************************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\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.WebSocketReadyState = void 0;\\nvar WebSocketReadyState;\\n(function (WebSocketReadyState) {\\n WebSocketReadyState[WebSocketReadyState[\\\"None\\\"] = 0] = \\\"None\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Connecting\\\"] = 1] = \\\"Connecting\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Open\\\"] = 2] = \\\"Open\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Closing\\\"] = 3] = \\\"Closing\\\";\\n WebSocketReadyState[WebSocketReadyState[\\\"Closed\\\"] = 4] = \\\"Closed\\\";\\n})(WebSocketReadyState = exports.WebSocketReadyState || (exports.WebSocketReadyState = {}));\\nexports[\\\"default\\\"] = WebSocketReadyState;\\n//# sourceMappingURL=WebSocketReadyState.js.map\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/build/websocketadapter/WebSocketReadyState.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js ***!\n \\*********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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.decideModel = exports.measureAndDecideExecutionApproach = void 0;\\nconst loader_js_1 = __webpack_require__(/*! ./loader.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\\\");\\nconst support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst DEFAULT_EXECUTION_QUANTA = 3;\\nconst SIMD_SCORE_FIXED_POINT = 2.50;\\nconst WASM_SCORE_FIXED_POINT = 2.63;\\nconst SINGLE_INLINE_SCORE_MULTIPLIER = 0.6;\\nconst QUALITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER = 0.65;\\nconst INTERACTIVITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER = 0.5;\\nconst WORKER_SCORE_MULTIPLIER = 0.7;\\nconst PERFORMANCE_THRESHOLDS = {\\n wasm: {\\n noSupport: 0.07,\\n inline: {\\n c100: 1,\\n c50: 0.36,\\n c20: 0.16,\\n c10: 0.07,\\n },\\n worker: {\\n c100: 0.5,\\n c50: 0.18,\\n c20: 0.08,\\n c10: 0.06,\\n },\\n },\\n simd: {\\n noSupport: 0.10,\\n inline: {\\n c100: 1,\\n c50: 0.43,\\n c20: 0.3,\\n c10: 0.2,\\n },\\n worker: {\\n c100: 0.5,\\n c50: 0.21,\\n c20: 0.15,\\n c10: 0.10,\\n },\\n },\\n};\\nclass Estimator {\\n constructor(fetchConfig, logger) {\\n this.fetchConfig = fetchConfig;\\n this.logger = logger;\\n const workerURL = `${fetchConfig.paths.workers}estimator-v1.js`;\\n this.fetchBehavior = { headers: fetchConfig.headers, escapedQueryString: fetchConfig.escapedQueryString };\\n this.worker = loader_js_1.loadWorker(workerURL, 'VoiceFocusEstimator', this.fetchBehavior, logger);\\n }\\n roundtrip(toSend, receive, expectedKey) {\\n return new Promise((resolve, reject) => {\\n this.worker.then(worker => {\\n let listener;\\n listener = (event) => {\\n const { message, key } = event.data;\\n if (message === receive && key === expectedKey) {\\n worker.removeEventListener('message', listener);\\n resolve(event.data);\\n }\\n };\\n worker.addEventListener('message', listener);\\n worker.postMessage(toSend);\\n }).catch(e => {\\n var _a;\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.error('Failed to load worker.', e);\\n reject(e);\\n });\\n });\\n }\\n supportsSIMD(url) {\\n const key = 'simd';\\n const path = url || `${this.fetchConfig.paths.wasm}simd-v1.wasm`;\\n const toSend = {\\n message: 'supports-simd',\\n fetchBehavior: this.fetchBehavior,\\n path,\\n key,\\n };\\n return this.roundtrip(toSend, 'simd-support', key)\\n .then(data => data.supports);\\n }\\n measure(simd, budget) {\\n const benchWASM = `${this.fetchConfig.paths.wasm}bench-v1.wasm`;\\n const benchSIMD = `${this.fetchConfig.paths.wasm}bench-v1_simd.wasm`;\\n const path = simd ? benchSIMD : benchWASM;\\n const key = `bench:${simd}`;\\n const toSend = {\\n message: 'measure',\\n fetchBehavior: this.fetchBehavior,\\n budget,\\n path,\\n key,\\n };\\n return this.roundtrip(toSend, 'measurement', key)\\n .then(data => {\\n if (data.measurement) {\\n return data.measurement;\\n }\\n throw new Error('Failed to measure.');\\n });\\n }\\n stop() {\\n this.worker.then(worker => {\\n var _a;\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.debug('Stopping estimator worker.');\\n worker.terminate();\\n }).catch(e => {\\n });\\n }\\n}\\nconst inlineScoreMultiplier = (executionQuanta, usagePreference) => {\\n if (executionQuanta === 1) {\\n return SINGLE_INLINE_SCORE_MULTIPLIER;\\n }\\n if (usagePreference === 'quality') {\\n return QUALITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER * executionQuanta;\\n }\\n return INTERACTIVITY_MULTIPLE_QUANTA_SCORE_MULTIPLIER * executionQuanta;\\n};\\nconst decideExecutionApproach = ({ supportsSIMD, supportsSAB, duration, executionPreference = 'auto', simdPreference, variantPreference = 'auto', namePreference = 'default', usagePreference, executionQuantaPreference = DEFAULT_EXECUTION_QUANTA, }, allThresholds = PERFORMANCE_THRESHOLDS, logger) => {\\n const forceSIMD = (simdPreference === 'force');\\n const useSIMD = forceSIMD || (simdPreference !== 'disable' && supportsSIMD);\\n const checkScores = duration !== -1;\\n const baseScore = checkScores ? (useSIMD ? SIMD_SCORE_FIXED_POINT : WASM_SCORE_FIXED_POINT) / duration : 0;\\n const thresholds = useSIMD ? allThresholds.simd : allThresholds.wasm;\\n const inlineScore = checkScores ? inlineScoreMultiplier(executionQuantaPreference, usagePreference) * baseScore : 0;\\n const workerScore = checkScores ? WORKER_SCORE_MULTIPLIER * baseScore : 0;\\n const name = namePreference;\\n const unsupported = (reason) => {\\n return {\\n supported: false,\\n reason,\\n };\\n };\\n if (checkScores) {\\n if (baseScore < thresholds.noSupport) {\\n return unsupported(`Performance score ${baseScore} worse than threshold ${thresholds.noSupport}.`);\\n }\\n }\\n else {\\n if ((executionPreference === 'auto') ||\\n (variantPreference === 'auto')) {\\n return unsupported(`Missing explicit execution (${executionPreference}) or variant (${variantPreference}) preference, but no scoring performed.`);\\n }\\n }\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Bench duration ${duration} yields inline score ${inlineScore} and worker score ${workerScore}.`);\\n const succeed = (processor, executionApproach, variant) => {\\n return {\\n supported: true,\\n useSIMD,\\n processor,\\n executionApproach,\\n variant,\\n executionQuanta: (executionApproach === 'inline' ? executionQuantaPreference : undefined),\\n name,\\n };\\n };\\n const resolveVariant = (score, variant, lookup) => {\\n if (variant !== 'auto') {\\n if (!checkScores || score > lookup[variant]) {\\n return variant;\\n }\\n return 'failed';\\n }\\n if (score > lookup.c100) {\\n return 'c100';\\n }\\n if (score > lookup.c50) {\\n return 'c50';\\n }\\n if (score > lookup.c20) {\\n return 'c20';\\n }\\n if (score > lookup.c10) {\\n return 'c10';\\n }\\n return 'failed';\\n };\\n const reducePreference = (preference) => {\\n switch (preference || 'auto') {\\n case 'auto': {\\n let inlineOption = reducePreference('inline');\\n let workerOption = reducePreference('worker');\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Reducing auto preference: ${JSON.stringify(inlineOption)} vs ${JSON.stringify(workerOption)}`);\\n if (inlineOption.supported === false) {\\n return workerOption;\\n }\\n if (workerOption.supported === false) {\\n return workerOption;\\n }\\n if (inlineOption.variant === workerOption.variant || inlineOption.variant === 'c50') {\\n return inlineOption;\\n }\\n return workerOption;\\n }\\n case 'worker': {\\n if (support_js_1.supportsSharedArrayBuffer(globalThis, window, logger)) {\\n return reducePreference('worker-sab');\\n }\\n return reducePreference('worker-postMessage');\\n }\\n case 'inline': {\\n const variant = resolveVariant(inlineScore, variantPreference, thresholds.inline);\\n if (variant === 'failed') {\\n return unsupported(`Performance score ${inlineScore} not sufficient for inline use with variant preference ${variantPreference}.`);\\n }\\n ;\\n return succeed('voicefocus-inline-processor', 'inline', variant);\\n }\\n case 'worker-sab': {\\n if (!supportsSAB) {\\n const reason = 'Requested worker-sab but no SharedArrayBuffer support.';\\n logger === null || logger === void 0 ? void 0 : logger.warn(reason);\\n return { supported: false, reason };\\n }\\n const variant = resolveVariant(workerScore, variantPreference, thresholds.worker);\\n if (variant === 'failed') {\\n return unsupported(`Performance score ${workerScore} not sufficient for worker use with variant preference ${variantPreference}.`);\\n }\\n ;\\n return succeed('voicefocus-worker-sab-processor', 'worker-sab', variant);\\n }\\n case 'worker-postMessage': {\\n const variant = resolveVariant(workerScore, variantPreference, thresholds.worker);\\n if (variant === 'failed') {\\n return unsupported(`Performance score ${workerScore} not sufficient for worker use.`);\\n }\\n ;\\n if (name === 'ns_es') {\\n const reason = 'Requested echo suppression but postMessage executor does not support it.';\\n logger === null || logger === void 0 ? void 0 : logger.warn(reason);\\n return { supported: false, reason };\\n }\\n ;\\n return succeed('voicefocus-worker-postMessage-processor', 'worker-postMessage', variant);\\n }\\n }\\n };\\n return reducePreference(executionPreference);\\n};\\nconst featureCheck = (forceSIMD, fetchConfig, logger, estimator) => __awaiter(void 0, void 0, void 0, function* () {\\n const supports = {\\n supportsSIMD: forceSIMD,\\n supportsSAB: support_js_1.supportsSharedArrayBuffer(globalThis, window, logger),\\n duration: -1,\\n };\\n if (forceSIMD) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Supports SIMD: true (force)');\\n return supports;\\n }\\n const cleanup = !estimator;\\n const e = estimator || new Estimator(fetchConfig, logger);\\n try {\\n const useSIMD = !support_js_1.isOldChrome(window, logger) && (yield e.supportsSIMD());\\n logger === null || logger === void 0 ? void 0 : logger.info(`Supports SIMD: ${useSIMD} (force: ${forceSIMD})`);\\n supports.supportsSIMD = useSIMD;\\n return supports;\\n }\\n finally {\\n if (cleanup) {\\n e.stop();\\n }\\n }\\n});\\nconst estimateAndFeatureCheck = (forceSIMD, fetchConfig, estimatorBudget, logger) => __awaiter(void 0, void 0, void 0, function* () {\\n const estimator = new Estimator(fetchConfig, logger);\\n try {\\n const supports = yield featureCheck(forceSIMD, fetchConfig, logger, estimator);\\n if (supports.supportsSIMD) {\\n try {\\n supports.duration = yield estimator.measure(true, estimatorBudget);\\n logger === null || logger === void 0 ? void 0 : logger.info('SIMD timing:', supports.duration);\\n return supports;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.warn('Failed SIMD estimation; falling back to non-SIMD.');\\n supports.supportsSIMD = false;\\n }\\n }\\n supports.duration = yield estimator.measure(false, estimatorBudget);\\n logger === null || logger === void 0 ? void 0 : logger.info('No-SIMD timing:', supports.duration);\\n return supports;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.error('Could not feature check.', e);\\n throw e;\\n }\\n finally {\\n estimator.stop();\\n }\\n});\\nconst measureAndDecideExecutionApproach = (spec, fetchConfig, logger, thresholds = PERFORMANCE_THRESHOLDS) => __awaiter(void 0, void 0, void 0, function* () {\\n let executionPreference = spec.executionPreference;\\n const { usagePreference, variantPreference, namePreference, simdPreference, estimatorBudget, executionQuantaPreference, } = spec;\\n if (usagePreference === 'interactivity' && executionPreference !== 'inline') {\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Overriding execution preference ${executionPreference} to reflect interactivity preference.`);\\n executionPreference = 'inline';\\n }\\n const forceSIMD = simdPreference === 'force';\\n const knownModel = variantPreference !== 'auto';\\n const knownExecution = executionPreference !== 'auto';\\n let supports;\\n try {\\n if (knownModel && knownExecution) {\\n supports = yield featureCheck(forceSIMD, fetchConfig, logger);\\n }\\n else {\\n supports = yield estimateAndFeatureCheck(forceSIMD, fetchConfig, estimatorBudget, logger);\\n }\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.error('Could not load estimator.', e);\\n throw new Error('Could not load Voice Focus estimator.');\\n }\\n return decideExecutionApproach(Object.assign(Object.assign({}, supports), { simdPreference,\\n executionPreference,\\n variantPreference,\\n namePreference,\\n usagePreference,\\n executionQuantaPreference }), thresholds, logger);\\n});\\nexports.measureAndDecideExecutionApproach = measureAndDecideExecutionApproach;\\nconst decideModel = ({ category, name, variant, simd, url }) => {\\n return `${category}-${name}-${variant}-v1${simd ? '_simd' : ''}`;\\n};\\nexports.decideModel = decideModel;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.isValidRevisionID = exports.isValidAssetGroup = exports.resolveURL = exports.addQueryParams = exports.withQueryString = exports.withRequestHeaders = exports.fetchWithBehavior = void 0;\\nfunction fetchWithBehavior(url, init, fetchBehavior) {\\n if (!fetchBehavior) {\\n return fetch(url, init);\\n }\\n const withQuery = withQueryString(url, fetchBehavior);\\n const withHeaders = withRequestHeaders(init, fetchBehavior);\\n return fetch(withQuery, withHeaders);\\n}\\nexports.fetchWithBehavior = fetchWithBehavior;\\nfunction withRequestHeaders(init, fetchBehavior) {\\n if (!(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.headers)) {\\n return init;\\n }\\n if (!init) {\\n return {\\n headers: fetchBehavior.headers,\\n };\\n }\\n return Object.assign(Object.assign({}, init), { headers: Object.assign(Object.assign({}, init.headers || {}), fetchBehavior.headers) });\\n}\\nexports.withRequestHeaders = withRequestHeaders;\\nfunction withQueryString(url, fetchBehavior) {\\n if (!(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.escapedQueryString)) {\\n return url;\\n }\\n const hasQuery = url.lastIndexOf('?') !== -1;\\n return `${url}${hasQuery ? '&' : '?'}${fetchBehavior.escapedQueryString}`;\\n}\\nexports.withQueryString = withQueryString;\\nfunction addQueryParams(fetchBehavior, queryParams) {\\n const keys = Object.keys(queryParams);\\n if (!keys.length) {\\n return fetchBehavior;\\n }\\n const params = new URLSearchParams(fetchBehavior === null || fetchBehavior === void 0 ? void 0 : fetchBehavior.escapedQueryString);\\n for (const key of keys) {\\n params.append(key, queryParams[key]);\\n }\\n return Object.assign(Object.assign({}, fetchBehavior), { escapedQueryString: params.toString() });\\n}\\nexports.addQueryParams = addQueryParams;\\nconst HEAD_OPTIONS = {\\n method: 'HEAD',\\n mode: 'cors',\\n credentials: 'omit',\\n redirect: 'follow',\\n referrerPolicy: 'origin',\\n};\\nfunction resolveURL(url, fetchBehavior) {\\n return fetchWithBehavior(url, HEAD_OPTIONS, fetchBehavior)\\n .then(response => response.redirected ? response.url : url);\\n}\\nexports.resolveURL = resolveURL;\\nfunction isValidAssetGroup(assetGroup) {\\n return !!assetGroup && /^[-.a-zA-Z0-9]+$/.test(assetGroup);\\n}\\nexports.isValidAssetGroup = isValidAssetGroup;\\nfunction isValidRevisionID(revisionID) {\\n return !!revisionID && /^[123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ]{22}$/.test(revisionID);\\n}\\nexports.isValidRevisionID = isValidRevisionID;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.loadWorker = void 0;\\nconst fetch_js_1 = __webpack_require__(/*! ./fetch.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\\\");\\nconst WORKER_FETCH_OPTIONS = {\\n method: 'GET',\\n mode: 'cors',\\n credentials: 'omit',\\n redirect: 'follow',\\n referrerPolicy: 'no-referrer',\\n};\\nconst loadWorker = (workerURL, name, fetchBehavior, logger) => {\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Loading ${name} worker from ${workerURL}.`);\\n let workerURLIsSameOrigin = false;\\n try {\\n workerURLIsSameOrigin = self.origin === (new URL(workerURL)).origin;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.error('Could not compare origins.', e);\\n }\\n if (workerURLIsSameOrigin) {\\n const workerURLWithQuery = fetch_js_1.withQueryString(workerURL, fetchBehavior);\\n return Promise.resolve(new Worker(workerURLWithQuery, { name }));\\n }\\n return fetch_js_1.fetchWithBehavior(workerURL, WORKER_FETCH_OPTIONS, fetchBehavior).then((res) => {\\n if (res.ok) {\\n return res.blob()\\n .then((blob) => new Worker(window.URL.createObjectURL(blob)));\\n }\\n throw new Error('Fetch failed.');\\n });\\n};\\nexports.loadWorker = loadWorker;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js ***!\n \\*********************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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.isOldChrome = exports.supportsWASMStreaming = exports.supportsSharedArrayBuffer = exports.supportsWASM = exports.supportsAudioWorklet = exports.supportsWorker = exports.supportsVoiceFocusWorker = exports.supportsWASMPostMessage = exports.isSafari = void 0;\\nconst loader_js_1 = __webpack_require__(/*! ./loader.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\\\");\\nconst isChrome = (global = globalThis) => {\\n const ua = global.navigator.userAgent;\\n return !!ua.match(/Chrom(?:e|ium)\\\\/([0-9]+)/);\\n};\\nconst isSafari = (global = globalThis) => {\\n const ua = global.navigator.userAgent;\\n const hasSafari = ua.match(/Safari\\\\//);\\n const hasChrome = ua.match(/Chrom(?:e|ium)\\\\//);\\n return !!(hasSafari && !hasChrome);\\n};\\nexports.isSafari = isSafari;\\nconst supportsWASMPostMessage = (global = globalThis) => {\\n if (exports.isSafari(global)) {\\n return false;\\n }\\n if (isChrome(global)) {\\n const version = chromeVersion(global) || 0;\\n return version < 95;\\n }\\n return true;\\n};\\nexports.supportsWASMPostMessage = supportsWASMPostMessage;\\nconst supportsVoiceFocusWorker = (scope = globalThis, fetchConfig, logger) => __awaiter(void 0, void 0, void 0, function* () {\\n if (!exports.supportsWorker(scope, logger)) {\\n return false;\\n }\\n const workerURL = `${fetchConfig.paths.workers}worker-v1.js`;\\n try {\\n const worker = yield loader_js_1.loadWorker(workerURL, 'VoiceFocusTestWorker', fetchConfig, logger);\\n try {\\n worker.terminate();\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Failed to terminate worker.', e);\\n }\\n return true;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Failed to fetch and instantiate test worker', e);\\n return false;\\n }\\n});\\nexports.supportsVoiceFocusWorker = supportsVoiceFocusWorker;\\nconst supportsWorker = (scope = globalThis, logger) => {\\n try {\\n return !!scope.Worker;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support Worker', e);\\n return false;\\n }\\n};\\nexports.supportsWorker = supportsWorker;\\nconst supportsAudioWorklet = (scope = globalThis, logger) => {\\n try {\\n return !!scope.AudioWorklet && !!scope.AudioWorkletNode;\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support Audio Worklet', e);\\n return false;\\n }\\n};\\nexports.supportsAudioWorklet = supportsAudioWorklet;\\nconst supportsWASM = (scope = globalThis, logger) => {\\n try {\\n return !!scope.WebAssembly && (!!scope.WebAssembly.compile || !!scope.WebAssembly.compileStreaming);\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support WASM', e);\\n return false;\\n }\\n};\\nexports.supportsWASM = supportsWASM;\\nconst supportsSharedArrayBuffer = (scope = globalThis, window = globalThis, logger) => {\\n try {\\n return !!scope.SharedArrayBuffer && (!!window.chrome || !!scope.crossOriginIsolated);\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support SharedArrayBuffer.');\\n return false;\\n }\\n};\\nexports.supportsSharedArrayBuffer = supportsSharedArrayBuffer;\\nconst supportsWASMStreaming = (scope = globalThis, logger) => {\\n var _a;\\n try {\\n return !!((_a = scope.WebAssembly) === null || _a === void 0 ? void 0 : _a.compileStreaming);\\n }\\n catch (e) {\\n logger === null || logger === void 0 ? void 0 : logger.info('Does not support WASM streaming compilation', e);\\n return false;\\n }\\n};\\nexports.supportsWASMStreaming = supportsWASMStreaming;\\nconst SUPPORTED_CHROME_VERSION = 90;\\nconst chromeVersion = (global = globalThis) => {\\n try {\\n if (!global.chrome) {\\n return undefined;\\n }\\n }\\n catch (e) {\\n }\\n const versionCheck = global.navigator.userAgent.match(/Chrom(?:e|ium)\\\\/([0-9]+)/);\\n if (!versionCheck) {\\n return undefined;\\n }\\n return parseInt(versionCheck[1], 10);\\n};\\nconst isOldChrome = (global = globalThis, logger) => {\\n const version = chromeVersion(global);\\n if (!version) {\\n return false;\\n }\\n if (version < SUPPORTED_CHROME_VERSION) {\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Chrome ${version} has incomplete SIMD support.`);\\n return true;\\n }\\n return false;\\n};\\nexports.isOldChrome = isOldChrome;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\nObject.defineProperty(exports, \\\"__esModule\\\", ({ value: true }));\\nexports.VoiceFocusAudioWorkletNode = void 0;\\nclass VoiceFocusAudioWorkletNode extends ((typeof globalThis !== 'undefined' && globalThis['AudioWorkletNode']) ||\\n class Sadness {\\n }) {\\n}\\nexports.VoiceFocusAudioWorkletNode = VoiceFocusAudioWorkletNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js ***!\n \\************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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.getAudioInput = exports.createAudioContext = exports.VoiceFocus = void 0;\\nconst decider_js_1 = __webpack_require__(/*! ./decider.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/decider.js\\\");\\nconst fetch_js_1 = __webpack_require__(/*! ./fetch.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/fetch.js\\\");\\nconst loader_js_1 = __webpack_require__(/*! ./loader.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/loader.js\\\");\\nconst support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst worklet_inline_node_js_1 = __webpack_require__(/*! ./worklet-inline-node.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js\\\");\\nconst worklet_worker_sab_node_js_1 = __webpack_require__(/*! ./worklet-worker-sab-node.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js\\\");\\nconst worklet_worker_postMessage_node_js_1 = __webpack_require__(/*! ./worklet-worker-postMessage-node.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js\\\");\\nconst DEFAULT_AGC_DISABLED_SETTING = {\\n useVoiceFocusAGC: false,\\n useBuiltInAGC: true,\\n};\\nconst DEFAULT_AGC_SETTING = DEFAULT_AGC_DISABLED_SETTING;\\nconst DEFAULT_ASSET_GROUP = 'stable-v1';\\nconst DEFAULT_CDN = 'https://static.sdkassets.chime.aws';\\nconst DEFAULT_PATHS = {\\n processors: `${DEFAULT_CDN}/processors/`,\\n workers: `${DEFAULT_CDN}/workers/`,\\n wasm: `${DEFAULT_CDN}/wasm/`,\\n models: `${DEFAULT_CDN}/wasm/`,\\n};\\nconst DEFAULT_CONTEXT_HINT = {\\n latencyHint: 0,\\n};\\nconst BASE_AUDIO_CONSTRAINTS = {\\n channelCount: 1,\\n echoCancellation: true,\\n googEchoCancellation: true,\\n noiseSuppression: false,\\n googNoiseSuppression: false,\\n googHighpassFilter: false,\\n googTypingNoiseDetection: false,\\n};\\nconst DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC = Object.assign(Object.assign({}, BASE_AUDIO_CONSTRAINTS), { autoGainControl: true, googAutoGainControl: true, googAutoGainControl2: true });\\nconst DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC = Object.assign(Object.assign({}, BASE_AUDIO_CONSTRAINTS), { autoGainControl: false, googAutoGainControl: false, googAutoGainControl2: false });\\nconst PROCESSORS = {\\n 'voicefocus-worker-sab-processor': {\\n file: 'worklet-worker-sab-processor-v1.js',\\n node: worklet_worker_sab_node_js_1.default,\\n },\\n 'voicefocus-worker-postMessage-processor': {\\n file: 'worklet-worker-postMessage-processor-v1.js',\\n node: worklet_worker_postMessage_node_js_1.default,\\n },\\n 'voicefocus-inline-processor': {\\n file: 'worklet-inline-processor-v1.js',\\n node: worklet_inline_node_js_1.default,\\n },\\n};\\nconst validateAssetSpec = (assetGroup, revisionID) => {\\n if (assetGroup !== undefined && !fetch_js_1.isValidAssetGroup(assetGroup)) {\\n throw new Error(`Invalid asset group ${assetGroup}`);\\n }\\n if (revisionID !== undefined && !fetch_js_1.isValidRevisionID(revisionID)) {\\n throw new Error(`Invalid revision ID ${revisionID}`);\\n }\\n};\\nconst mungeConstraints = (constraints, agc) => {\\n let defaultConstraints;\\n if (agc.useBuiltInAGC) {\\n defaultConstraints = DEFAULT_AUDIO_CONSTRAINTS_WITH_BUILTIN_AGC;\\n }\\n else {\\n defaultConstraints = DEFAULT_AUDIO_CONSTRAINTS_WITHOUT_BUILTIN_AGC;\\n }\\n if (!constraints) {\\n return { audio: defaultConstraints };\\n }\\n if (!constraints.audio) {\\n return constraints;\\n }\\n if (constraints.video) {\\n throw new Error('Not adding Voice Focus to multi-device getUserMedia call.');\\n }\\n return Object.assign(Object.assign({}, constraints), { audio: constraints.audio === true ? defaultConstraints : Object.assign(Object.assign({}, constraints.audio), defaultConstraints) });\\n};\\nconst urlForModel = (model, paths) => {\\n return `${paths.models}${decider_js_1.decideModel(model)}.wasm`;\\n};\\nclass VoiceFocus {\\n constructor(worker, processorURL, nodeConstructor, nodeOptions, executionQuanta) {\\n this.processorURL = processorURL;\\n this.nodeConstructor = nodeConstructor;\\n this.nodeOptions = nodeOptions;\\n this.executionQuanta = executionQuanta;\\n this.internal = {\\n worker,\\n nodeOptions,\\n isDestroyed: false,\\n };\\n }\\n static isSupported(spec, options) {\\n const { fetchBehavior, logger } = options || {};\\n if (typeof globalThis === 'undefined') {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not have globalThis.');\\n return Promise.resolve(false);\\n }\\n if (!support_js_1.supportsAudioWorklet(globalThis, logger)) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support Audio Worklet.');\\n return Promise.resolve(false);\\n }\\n if (!support_js_1.supportsWASM(globalThis, logger)) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support WASM.');\\n return Promise.resolve(false);\\n }\\n if (!support_js_1.supportsWASMStreaming(globalThis, logger)) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Browser does not support streaming WASM compilation.');\\n }\\n const { assetGroup = DEFAULT_ASSET_GROUP, revisionID, paths = DEFAULT_PATHS, } = spec || {};\\n validateAssetSpec(assetGroup, revisionID);\\n const assetConfig = revisionID ? { revisionID } : { assetGroup };\\n const updatedFetchBehavior = fetch_js_1.addQueryParams(fetchBehavior, assetConfig);\\n const fetchConfig = Object.assign(Object.assign({}, updatedFetchBehavior), { paths });\\n return support_js_1.supportsVoiceFocusWorker(globalThis, fetchConfig, logger);\\n }\\n static mungeExecutionPreference(preference, logger) {\\n const isAuto = (preference === undefined || preference === 'auto');\\n if (support_js_1.isSafari(globalThis)) {\\n if (isAuto || preference === 'inline') {\\n return 'inline';\\n }\\n if (!isAuto) {\\n throw new Error(`Unsupported execution preference ${preference}`);\\n }\\n }\\n if (preference === 'worker-sab' && !support_js_1.supportsSharedArrayBuffer(globalThis, globalThis, logger)) {\\n throw new Error(`Unsupported execution preference ${preference}`);\\n }\\n return preference || 'auto';\\n }\\n static configure(spec, options) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const { fetchBehavior, preResolve, logger, } = options || {};\\n const { category = 'voicefocus', name = 'default', variant: variantPreference = 'auto', assetGroup = DEFAULT_ASSET_GROUP, revisionID, simd = 'detect', executionPreference = 'auto', executionQuantaPreference, usagePreference = 'interactivity', estimatorBudget = 100, paths = DEFAULT_PATHS, thresholds, } = spec || {};\\n logger === null || logger === void 0 ? void 0 : logger.debug('Configuring Voice Focus with spec', spec);\\n if (category !== undefined && category !== 'voicefocus') {\\n throw new Error(`Unrecognized category ${category}`);\\n }\\n if (name !== undefined && name !== 'default' && name !== 'ns_es') {\\n throw new Error(`Unrecognized feature name ${name}`);\\n }\\n if (variantPreference !== undefined && !['auto', 'c100', 'c50', 'c20', 'c10'].includes(variantPreference)) {\\n throw new Error(`Unrecognized feature variant ${variantPreference}`);\\n }\\n if (executionQuantaPreference !== undefined && ![1, 2, 3].includes(executionQuantaPreference)) {\\n throw new Error(`Unrecognized execution quanta preference ${executionQuantaPreference}`);\\n }\\n validateAssetSpec(assetGroup, revisionID);\\n if (simd !== undefined && !['detect', 'force', 'disable'].includes(simd)) {\\n throw new Error(`Unrecognized SIMD option ${simd}`);\\n }\\n if (executionPreference !== undefined && !['auto', 'inline', 'worker', 'worker-sab', 'worker-postMessage'].includes(executionPreference)) {\\n throw new Error(`Unrecognized execution preference ${executionPreference}`);\\n }\\n if (usagePreference !== undefined && !['quality', 'interactivity'].includes(usagePreference)) {\\n throw new Error(`Unrecognized usage preference ${usagePreference}`);\\n }\\n const executionSpec = {\\n executionPreference: this.mungeExecutionPreference(executionPreference, logger),\\n usagePreference,\\n executionQuantaPreference,\\n variantPreference,\\n namePreference: name,\\n simdPreference: simd,\\n estimatorBudget,\\n };\\n const assetConfig = revisionID ? { revisionID } : { assetGroup };\\n const updatedFetchBehavior = fetch_js_1.addQueryParams(fetchBehavior, assetConfig);\\n const fetchConfig = Object.assign({ paths }, updatedFetchBehavior);\\n const executionDefinition = yield decider_js_1.measureAndDecideExecutionApproach(executionSpec, fetchConfig, logger, thresholds);\\n if (executionDefinition.supported === false) {\\n return { supported: false, reason: executionDefinition.reason };\\n }\\n logger === null || logger === void 0 ? void 0 : logger.info('Decided execution approach', executionDefinition);\\n const { useSIMD, processor, variant, executionQuanta } = executionDefinition;\\n const model = {\\n category: category || 'voicefocus',\\n name: name || 'default',\\n variant,\\n simd: useSIMD,\\n };\\n if (preResolve) {\\n const startingURL = urlForModel(model, paths);\\n model.url = yield fetch_js_1.resolveURL(startingURL, updatedFetchBehavior);\\n }\\n return {\\n fetchConfig,\\n model,\\n processor,\\n executionQuanta,\\n supported: true,\\n };\\n });\\n }\\n static init(configuration, { delegate, preload = true, logger, }) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (configuration.supported === false) {\\n throw new Error('Voice Focus not supported. Reason: ' + configuration.reason);\\n }\\n const { model, processor, fetchConfig, executionQuanta, } = configuration;\\n const { simd, name } = model;\\n const { paths } = fetchConfig;\\n if (processor !== 'voicefocus-inline-processor' &&\\n processor !== 'voicefocus-worker-postMessage-processor' &&\\n processor !== 'voicefocus-worker-sab-processor') {\\n throw new Error(`Unknown processor ${processor}`);\\n }\\n const modelURL = model.url || urlForModel(model, paths);\\n logger === null || logger === void 0 ? void 0 : logger.debug(`Using model URL ${modelURL}.`);\\n const audioBufferURL = `${paths.wasm}audio_buffer-v1${simd ? '_simd' : ''}.wasm`;\\n const resamplerURL = `${paths.wasm}resampler-v1${simd ? '_simd' : ''}.wasm`;\\n const workerURL = `${paths.workers}worker-v1.js`;\\n const { file, node } = PROCESSORS[processor];\\n const processorURL = `${paths.processors}${file}`;\\n const worker = yield loader_js_1.loadWorker(workerURL, 'VoiceFocusWorker', fetchConfig, logger);\\n if (preload) {\\n logger === null || logger === void 0 ? void 0 : logger.debug('Preloading', modelURL);\\n let message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n worker.postMessage({\\n message,\\n preload: true,\\n key: 'model',\\n fetchBehavior: fetchConfig,\\n path: modelURL,\\n });\\n }\\n const numberOfInputs = (name === 'ns_es') ? 2 : 1;\\n const nodeOptions = {\\n processor,\\n worker,\\n audioBufferURL,\\n resamplerURL,\\n fetchBehavior: fetchConfig,\\n modelURL,\\n delegate,\\n logger,\\n numberOfInputs,\\n };\\n const factory = new VoiceFocus(worker, processorURL, node, nodeOptions, executionQuanta);\\n return Promise.resolve(factory);\\n });\\n }\\n createNode(context, options) {\\n var _a;\\n if (this.internal.isDestroyed) {\\n throw new Error('Unable to create node because VoiceFocus worker has been destroyed.');\\n }\\n const { voiceFocusSampleRate = (context.sampleRate === 16000 ? 16000 : 48000), enabled = true, agc = DEFAULT_AGC_SETTING, } = options || {};\\n const supportFarendStream = options === null || options === void 0 ? void 0 : options.es;\\n const processorOptions = {\\n voiceFocusSampleRate,\\n enabled,\\n sendBufferCount: 10,\\n prefill: 6,\\n agc,\\n executionQuanta: this.executionQuanta,\\n supportFarendStream,\\n };\\n const url = fetch_js_1.withQueryString(this.processorURL, (_a = this.nodeOptions) === null || _a === void 0 ? void 0 : _a.fetchBehavior);\\n return context.audioWorklet\\n .addModule(url)\\n .then(() => new (this.nodeConstructor)(context, Object.assign(Object.assign({}, this.nodeOptions), { processorOptions })));\\n }\\n applyToStream(stream, context, options) {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.internal.isDestroyed) {\\n throw new Error(\\\"Unable to apply stream because VoiceFocus worker has been destroyed\\\");\\n }\\n const source = context.createMediaStreamSource(stream);\\n const node = yield this.applyToSourceNode(source, context, options);\\n const destination = context.createMediaStreamDestination();\\n node.connect(destination);\\n return {\\n node,\\n source,\\n destination,\\n stream: destination.stream,\\n };\\n });\\n }\\n applyToSourceNode(source, context, options) {\\n return __awaiter(this, void 0, void 0, function* () {\\n const node = yield this.createNode(context, options);\\n source.connect(node);\\n return node;\\n });\\n }\\n destroy() {\\n if (this.internal.worker) {\\n this.internal.worker.terminate();\\n }\\n this.internal.isDestroyed = true;\\n }\\n}\\nexports.VoiceFocus = VoiceFocus;\\nconst createAudioContext = (contextHint = DEFAULT_CONTEXT_HINT) => {\\n return new (window.AudioContext || window.webkitAudioContext)(contextHint);\\n};\\nexports.createAudioContext = createAudioContext;\\nconst getAudioInput = (context, inputOptions, voiceFocusOptions) => __awaiter(void 0, void 0, void 0, function* () {\\n var _a, _b;\\n const { constraints, spec, delegate, preload = true, options } = inputOptions;\\n const { logger } = voiceFocusOptions;\\n const config = yield VoiceFocus.configure(spec, voiceFocusOptions);\\n if (!config.supported) {\\n (_a = voiceFocusOptions.logger) === null || _a === void 0 ? void 0 : _a.warn('Voice Focus not supported; returning standard stream.');\\n return window.navigator.mediaDevices.getUserMedia(constraints);\\n }\\n const factory = yield VoiceFocus.init(config, { delegate, preload, logger });\\n const agc = ((_b = inputOptions.options) === null || _b === void 0 ? void 0 : _b.agc) || DEFAULT_AGC_SETTING;\\n const input = yield window.navigator.mediaDevices.getUserMedia(mungeConstraints(constraints, agc));\\n return factory.applyToStream(input, context, options).then(result => result.stream);\\n});\\nexports.getAudioInput = getAudioInput;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/voicefocus.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js\":\n/*!*********************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js ***!\n \\*********************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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 support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst types_js_1 = __webpack_require__(/*! ./types.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\\\");\\nconst CPU_WARNING_MAX_INTERVAL_MS = 5 * 1000;\\nclass VoiceFocusInlineNode extends types_js_1.VoiceFocusAudioWorkletNode {\\n constructor(context, options) {\\n super(context, options.processor, options);\\n this.cpuWarningCount = 0;\\n this.channelCountMode = 'explicit';\\n this.channelCount = 1;\\n const { modelURL, worker, fetchBehavior, logger, delegate, } = options;\\n this.logger = logger;\\n this.port.onmessage = this.onProcessorMessage.bind(this);\\n this.delegate = delegate;\\n if (logger)\\n logger.debug('VoiceFocusInlineNode:', modelURL);\\n this.worker = worker;\\n this.worker.onmessage = this.onWorkerMessage.bind(this);\\n const message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n this.worker.postMessage({\\n message,\\n key: 'model',\\n fetchBehavior,\\n path: modelURL,\\n });\\n }\\n onModuleBufferLoaded(buffer, key) {\\n this.port.postMessage({ message: 'module-buffer', buffer, key });\\n }\\n onModuleLoaded(module, key) {\\n this.port.postMessage({ message: 'module', module, key });\\n }\\n enable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.port.postMessage({ message: 'enable' });\\n });\\n }\\n disable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.port.postMessage({ message: 'disable' });\\n });\\n }\\n stop() {\\n var _a;\\n return __awaiter(this, void 0, void 0, function* () {\\n this.port.postMessage({ message: 'stop' });\\n try {\\n (_a = this.worker) === null || _a === void 0 ? void 0 : _a.terminate();\\n }\\n catch (e) {\\n console.error(\\\"failed to terminate worker:\\\", e);\\n }\\n this.disconnect();\\n });\\n }\\n onProcessorMessage(event) {\\n var _a, _b, _c;\\n const data = event.data;\\n switch (data.message) {\\n case 'cpu':\\n this.cpuWarningCount++;\\n const now = Date.now();\\n const before = this.cpuWarningLastTriggered || now;\\n const diff = Math.abs(now - before);\\n if (!this.cpuWarningLastTriggered || diff > CPU_WARNING_MAX_INTERVAL_MS) {\\n (_a = this.logger) === null || _a === void 0 ? void 0 : _a.warn(`CPU warning (count: ${this.cpuWarningCount}):`, data.message);\\n this.cpuWarningCount = 0;\\n this.cpuWarningLastTriggered = now;\\n }\\n (_b = this.delegate) === null || _b === void 0 ? void 0 : _b.onCPUWarning();\\n break;\\n default:\\n (_c = this.logger) === null || _c === void 0 ? void 0 : _c.debug('Ignoring processor message.');\\n }\\n }\\n onWorkerMessage(event) {\\n const data = event.data;\\n switch (data.message) {\\n case 'module-buffer':\\n if (!data.buffer || !data.key) {\\n return;\\n }\\n this.onModuleBufferLoaded(data.buffer, data.key);\\n break;\\n case 'module':\\n if (!data.module || !data.key) {\\n return;\\n }\\n this.onModuleLoaded(data.module, data.key);\\n break;\\n case 'stopped':\\n if (this.worker) {\\n this.worker.terminate();\\n }\\n break;\\n default:\\n return;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusInlineNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-inline-node.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js ***!\n \\*********************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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 support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst types_js_1 = __webpack_require__(/*! ./types.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\\\");\\nclass VoiceFocusWorkerPostMessageNode extends types_js_1.VoiceFocusAudioWorkletNode {\\n constructor(context, options) {\\n super(context, options.processor, options);\\n this.channelCountMode = 'explicit';\\n this.channelCount = 1;\\n const { modelURL, audioBufferURL, worker, fetchBehavior, delegate, } = options;\\n this.delegate = delegate;\\n this.worker = worker;\\n this.worker.onmessage = this.onWorkerMessage.bind(this);\\n this.port.onmessage = this.onProcessorMessage.bind(this);\\n const { enabled, agc, supportFarendStream } = options.processorOptions;\\n this.worker.postMessage({\\n message: 'init',\\n approach: 'postMessage',\\n frames: context.sampleRate === 16000 ? 160 : 480,\\n enabled,\\n agc,\\n fetchBehavior,\\n model: modelURL,\\n supportFarendStream,\\n });\\n const message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n this.worker.postMessage({\\n message,\\n key: 'buffer',\\n fetchBehavior,\\n path: audioBufferURL,\\n });\\n }\\n enable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.worker.postMessage({ message: 'enable' });\\n });\\n }\\n disable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n this.worker.postMessage({ message: 'disable' });\\n });\\n }\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n try {\\n this.worker.postMessage({ message: 'stop' });\\n }\\n catch (e) {\\n }\\n this.disconnect();\\n });\\n }\\n onWorkerMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'ready':\\n this.port.postMessage({ message: 'ready', shared: data.shared }, data.shared ? Object.values(data.shared) : []);\\n break;\\n case 'data':\\n if (!data.buffer) {\\n return;\\n }\\n this.port.postMessage({ message: 'data', buffer: data.buffer }, [data.buffer]);\\n break;\\n case 'stopped':\\n this.worker.terminate();\\n break;\\n case 'module-buffer':\\n case 'module':\\n this.port.postMessage(data);\\n break;\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'processing':\\n this.port.postMessage(data);\\n break;\\n default:\\n return;\\n }\\n }\\n onProcessorMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'data':\\n if (!data.buffer) {\\n return;\\n }\\n this.worker.postMessage({ message: 'data', buffer: data.buffer }, [data.buffer]);\\n break;\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'prepare-for-frames':\\n this.worker.postMessage(data);\\n break;\\n default:\\n return;\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusWorkerPostMessageNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-postMessage-node.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js\":\n/*!*************************************************************************************!*\\\n !*** ./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js ***!\n \\*************************************************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\\n// SPDX-License-Identifier: Apache-2.0\\n\\n\\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 support_js_1 = __webpack_require__(/*! ./support.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/support.js\\\");\\nconst types_js_1 = __webpack_require__(/*! ./types.js */ \\\"./node_modules/amazon-chime-sdk-js/libs/voicefocus/types.js\\\");\\nconst INDICES = {\\n ready: 0,\\n enabled: 1,\\n};\\nconst STATES = {\\n disabled: 0,\\n enabled: 1,\\n stopped: 2,\\n};\\nclass VoiceFocusWorkerBufferNode extends types_js_1.VoiceFocusAudioWorkletNode {\\n constructor(context, options) {\\n super(context, options.processor, options);\\n this.channelCountMode = 'explicit';\\n this.channelCount = 1;\\n const { modelURL, resamplerURL, worker, fetchBehavior, delegate, } = options;\\n this.delegate = delegate;\\n this.worker = worker;\\n this.worker.onmessage = this.onWorkerMessage.bind(this);\\n this.port.onmessage = this.onProcessorMessage.bind(this);\\n const { enabled, supportFarendStream } = options.processorOptions;\\n this.worker.postMessage({\\n message: 'init',\\n approach: 'sab',\\n frames: context.sampleRate === 16000 ? 160 : 480,\\n enabled,\\n model: modelURL,\\n supportFarendStream,\\n });\\n const message = support_js_1.supportsWASMPostMessage(globalThis) ? 'get-module' : 'get-module-buffer';\\n this.worker.postMessage({\\n message,\\n key: 'resampler',\\n fetchBehavior,\\n path: resamplerURL,\\n });\\n }\\n enable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.state) {\\n Atomics.store(this.state, INDICES.enabled, STATES.enabled);\\n Atomics.notify(this.state, INDICES.ready, 1);\\n }\\n else {\\n this.worker.postMessage({ message: 'enable' });\\n }\\n });\\n }\\n disable() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.state) {\\n Atomics.store(this.state, INDICES.enabled, STATES.disabled);\\n Atomics.notify(this.state, INDICES.ready, 1);\\n }\\n else {\\n this.worker.postMessage({ message: 'disable' });\\n }\\n });\\n }\\n stop() {\\n return __awaiter(this, void 0, void 0, function* () {\\n if (this.state) {\\n Atomics.store(this.state, INDICES.enabled, STATES.stopped);\\n Atomics.notify(this.state, INDICES.ready, 1);\\n }\\n else {\\n try {\\n this.worker.postMessage({ message: 'stop' });\\n }\\n catch (e) {\\n }\\n }\\n this.disconnect();\\n });\\n }\\n onWorkerMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'ready':\\n if (!data.shared) {\\n throw new Error('No shared state.');\\n }\\n this.state = new Int32Array(data.shared.state);\\n this.port.postMessage(data);\\n break;\\n case 'stopped':\\n this.worker.terminate();\\n break;\\n case 'module-buffer':\\n case 'module':\\n this.port.postMessage(data);\\n break;\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'processing':\\n this.port.postMessage(data);\\n break;\\n default:\\n return;\\n }\\n }\\n onProcessorMessage(event) {\\n var _a;\\n const data = event.data;\\n switch (data.message) {\\n case 'cpu':\\n (_a = this.delegate) === null || _a === void 0 ? void 0 : _a.onCPUWarning();\\n break;\\n case 'prepare-for-frames':\\n this.worker.postMessage(data);\\n break;\\n default:\\n }\\n }\\n}\\nexports[\\\"default\\\"] = VoiceFocusWorkerBufferNode;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/amazon-chime-sdk-js/libs/voicefocus/worklet-worker-sab-node.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/base64-js/index.js\":\n/*!*****************************************!*\\\n !*** ./node_modules/base64-js/index.js ***!\n \\*****************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\n\"use strict\";\neval(\"\\n\\nexports.byteLength = byteLength\\nexports.toByteArray = toByteArray\\nexports.fromByteArray = fromByteArray\\n\\nvar lookup = []\\nvar revLookup = []\\nvar Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array\\n\\nvar code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'\\nfor (var i = 0, len = code.length; i < len; ++i) {\\n lookup[i] = code[i]\\n revLookup[code.charCodeAt(i)] = i\\n}\\n\\n// Support decoding URL-safe base64 strings, as Node.js does.\\n// See: https://en.wikipedia.org/wiki/Base64#URL_applications\\nrevLookup['-'.charCodeAt(0)] = 62\\nrevLookup['_'.charCodeAt(0)] = 63\\n\\nfunction getLens (b64) {\\n var len = b64.length\\n\\n if (len % 4 > 0) {\\n throw new Error('Invalid string. Length must be a multiple of 4')\\n }\\n\\n // Trim off extra bytes after placeholder bytes are found\\n // See: https://github.com/beatgammit/base64-js/issues/42\\n var validLen = b64.indexOf('=')\\n if (validLen === -1) validLen = len\\n\\n var placeHoldersLen = validLen === len\\n ? 0\\n : 4 - (validLen % 4)\\n\\n return [validLen, placeHoldersLen]\\n}\\n\\n// base64 is 4/3 + up to two characters of the original data\\nfunction byteLength (b64) {\\n var lens = getLens(b64)\\n var validLen = lens[0]\\n var placeHoldersLen = lens[1]\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\n}\\n\\nfunction _byteLength (b64, validLen, placeHoldersLen) {\\n return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen\\n}\\n\\nfunction toByteArray (b64) {\\n var tmp\\n var lens = getLens(b64)\\n var validLen = lens[0]\\n var placeHoldersLen = lens[1]\\n\\n var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))\\n\\n var curByte = 0\\n\\n // if there are placeholders, only get up to the last complete 4 chars\\n var len = placeHoldersLen > 0\\n ? validLen - 4\\n : validLen\\n\\n var i\\n for (i = 0; i < len; i += 4) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] << 18) |\\n (revLookup[b64.charCodeAt(i + 1)] << 12) |\\n (revLookup[b64.charCodeAt(i + 2)] << 6) |\\n revLookup[b64.charCodeAt(i + 3)]\\n arr[curByte++] = (tmp >> 16) & 0xFF\\n arr[curByte++] = (tmp >> 8) & 0xFF\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n if (placeHoldersLen === 2) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] << 2) |\\n (revLookup[b64.charCodeAt(i + 1)] >> 4)\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n if (placeHoldersLen === 1) {\\n tmp =\\n (revLookup[b64.charCodeAt(i)] << 10) |\\n (revLookup[b64.charCodeAt(i + 1)] << 4) |\\n (revLookup[b64.charCodeAt(i + 2)] >> 2)\\n arr[curByte++] = (tmp >> 8) & 0xFF\\n arr[curByte++] = tmp & 0xFF\\n }\\n\\n return arr\\n}\\n\\nfunction tripletToBase64 (num) {\\n return lookup[num >> 18 & 0x3F] +\\n lookup[num >> 12 & 0x3F] +\\n lookup[num >> 6 & 0x3F] +\\n lookup[num & 0x3F]\\n}\\n\\nfunction encodeChunk (uint8, start, end) {\\n var tmp\\n var output = []\\n for (var i = start; i < end; i += 3) {\\n tmp =\\n ((uint8[i] << 16) & 0xFF0000) +\\n ((uint8[i + 1] << 8) & 0xFF00) +\\n (uint8[i + 2] & 0xFF)\\n output.push(tripletToBase64(tmp))\\n }\\n return output.join('')\\n}\\n\\nfunction fromByteArray (uint8) {\\n var tmp\\n var len = uint8.length\\n var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes\\n var parts = []\\n var maxChunkLength = 16383 // must be multiple of 3\\n\\n // go through the array every three bytes, we'll deal with trailing stuff later\\n for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {\\n parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))\\n }\\n\\n // pad the end with zeros, but make sure to not forget the extra bytes\\n if (extraBytes === 1) {\\n tmp = uint8[len - 1]\\n parts.push(\\n lookup[tmp >> 2] +\\n lookup[(tmp << 4) & 0x3F] +\\n '=='\\n )\\n } else if (extraBytes === 2) {\\n tmp = (uint8[len - 2] << 8) + uint8[len - 1]\\n parts.push(\\n lookup[tmp >> 10] +\\n lookup[(tmp >> 4) & 0x3F] +\\n lookup[(tmp << 2) & 0x3F] +\\n '='\\n )\\n }\\n\\n return parts.join('')\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/base64-js/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/bowser/es5.js\":\n/*!************************************!*\\\n !*** ./node_modules/bowser/es5.js ***!\n \\************************************/\n/***/ (function(module) {\n\neval(\"!function(e,t){ true?module.exports=t():0}(this,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){\\\"undefined\\\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\\\"Module\\\"}),Object.defineProperty(e,\\\"__esModule\\\",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&\\\"object\\\"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,\\\"default\\\",{enumerable:!0,value:e}),2&t&&\\\"string\\\"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,\\\"a\\\",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p=\\\"\\\",r(r.s=90)}({17:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n=r(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||\\\"\\\"},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||\\\"\\\"},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case\\\"NT\\\":return\\\"NT\\\";case\\\"XP\\\":return\\\"XP\\\";case\\\"NT 5.0\\\":return\\\"2000\\\";case\\\"NT 5.1\\\":return\\\"XP\\\";case\\\"NT 5.2\\\":return\\\"2003\\\";case\\\"NT 6.0\\\":return\\\"Vista\\\";case\\\"NT 6.1\\\":return\\\"7\\\";case\\\"NT 6.2\\\":return\\\"8\\\";case\\\"NT 6.3\\\":return\\\"8.1\\\";case\\\"NT 10.0\\\":return\\\"10\\\";default:return}},e.getMacOSVersionName=function(e){var t=e.split(\\\".\\\").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return\\\"Leopard\\\";case 6:return\\\"Snow Leopard\\\";case 7:return\\\"Lion\\\";case 8:return\\\"Mountain Lion\\\";case 9:return\\\"Mavericks\\\";case 10:return\\\"Yosemite\\\";case 11:return\\\"El Capitan\\\";case 12:return\\\"Sierra\\\";case 13:return\\\"High Sierra\\\";case 14:return\\\"Mojave\\\";case 15:return\\\"Catalina\\\";default:return}},e.getAndroidVersionName=function(e){var t=e.split(\\\".\\\").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?\\\"Cupcake\\\":1===t[0]&&t[1]>=6?\\\"Donut\\\":2===t[0]&&t[1]<2?\\\"Eclair\\\":2===t[0]&&2===t[1]?\\\"Froyo\\\":2===t[0]&&t[1]>2?\\\"Gingerbread\\\":3===t[0]?\\\"Honeycomb\\\":4===t[0]&&t[1]<1?\\\"Ice Cream Sandwich\\\":4===t[0]&&t[1]<4?\\\"Jelly Bean\\\":4===t[0]&&t[1]>=4?\\\"KitKat\\\":5===t[0]?\\\"Lollipop\\\":6===t[0]?\\\"Marshmallow\\\":7===t[0]?\\\"Nougat\\\":8===t[0]?\\\"Oreo\\\":9===t[0]?\\\"Pie\\\":void 0},e.getVersionPrecision=function(e){return e.split(\\\".\\\").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var i=e.getVersionPrecision(t),s=e.getVersionPrecision(r),a=Math.max(i,s),o=0,u=e.map([t,r],(function(t){var r=a-e.getVersionPrecision(t),n=t+new Array(r+1).join(\\\".0\\\");return e.map(n.split(\\\".\\\"),(function(e){return new Array(20-e.length).join(\\\"0\\\")+e})).reverse()}));for(n&&(o=a-Math.min(i,s)),a-=1;a>=o;){if(u[0][a]>u[1][a])return 1;if(u[0][a]===u[1][a]){if(a===o)return 0;a-=1}else if(u[0][a]1?i-1:0),a=1;a0){var a=Object.keys(r),u=o.default.find(a,(function(e){return t.isOS(e)}));if(u){var d=this.satisfies(r[u]);if(void 0!==d)return d}var c=o.default.find(a,(function(e){return t.isPlatform(e)}));if(c){var f=this.satisfies(r[c]);if(void 0!==f)return f}}if(s>0){var l=Object.keys(i),h=o.default.find(l,(function(e){return t.isBrowser(e,!0)}));if(void 0!==h)return this.compareVersion(i[h])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),i=o.default.getBrowserTypeByAlias(n);return t&&i&&(n=i.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,i=this.getBrowserVersion();if(\\\"string\\\"==typeof i)return\\\">\\\"===e[0]||\\\"<\\\"===e[0]?(r=e.substr(1),\\\"=\\\"===e[1]?(n=!0,r=e.substr(2)):t=[],\\\">\\\"===e[0]?t.push(1):t.push(-1)):\\\"=\\\"===e[0]?r=e.substr(1):\\\"~\\\"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(o.default.compareVersions(i,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=d,e.exports=t.default},92:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n};var s=/version\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,a=[{test:[/googlebot/i],describe:function(e){var t={name:\\\"Googlebot\\\"},r=i.default.getFirstMatch(/googlebot\\\\/(\\\\d+(\\\\.\\\\d+))/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:\\\"Opera\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:opera)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\\\\/|opios/i],describe:function(e){var t={name:\\\"Opera\\\"},r=i.default.getFirstMatch(/(?:opr|opios)[\\\\s/](\\\\S+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:\\\"Samsung Internet for Android\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:\\\"NAVER Whale Browser\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:whale)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:\\\"MZ Browser\\\"},r=i.default.getFirstMatch(/(?:MZBrowser)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:\\\"Focus\\\"},r=i.default.getFirstMatch(/(?:focus)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:\\\"Swing\\\"},r=i.default.getFirstMatch(/(?:swing)[\\\\s/](\\\\d+(?:\\\\.\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:\\\"Opera Coast\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:coast)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\\\\/\\\\d+(?:.?_?\\\\d+)+/i],describe:function(e){var t={name:\\\"Opera Touch\\\"},r=i.default.getFirstMatch(/(?:opt)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:\\\"Yandex Browser\\\"},r=i.default.getFirstMatch(/(?:yabrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:\\\"UC Browser\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:ucbrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:\\\"Maxthon\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:\\\"Epiphany\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:epiphany)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:\\\"Puffin\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:puffin)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:\\\"Sleipnir\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:sleipnir)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:\\\"K-Meleon\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/(?:k-meleon)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:\\\"WeChat\\\"},r=i.default.getFirstMatch(/(?:micromessenger)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?\\\"QQ Browser Lite\\\":\\\"QQ Browser\\\"},r=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:\\\"Internet Explorer\\\"},r=i.default.getFirstMatch(/(?:msie |rv:)(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\\\\sedg\\\\//i],describe:function(e){var t={name:\\\"Microsoft Edge\\\"},r=i.default.getFirstMatch(/\\\\sedg\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:\\\"Microsoft Edge\\\"},r=i.default.getSecondMatch(/edg([ea]|ios)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:\\\"Vivaldi\\\"},r=i.default.getFirstMatch(/vivaldi\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:\\\"SeaMonkey\\\"},r=i.default.getFirstMatch(/seamonkey\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:\\\"Sailfish\\\"},r=i.default.getFirstMatch(/sailfish\\\\s?browser\\\\/(\\\\d+(\\\\.\\\\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:\\\"Amazon Silk\\\"},r=i.default.getFirstMatch(/silk\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:\\\"PhantomJS\\\"},r=i.default.getFirstMatch(/phantomjs\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:\\\"SlimerJS\\\"},r=i.default.getFirstMatch(/slimerjs\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\\\\bbb\\\\d+/i,/rim\\\\stablet/i],describe:function(e){var t={name:\\\"BlackBerry\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/blackberry[\\\\d]+\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:\\\"WebOS Browser\\\"},r=i.default.getFirstMatch(s,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:\\\"Bada\\\"},r=i.default.getFirstMatch(/dolfin\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:\\\"Tizen\\\"},r=i.default.getFirstMatch(/(?:tizen\\\\s?)?browser\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:\\\"QupZilla\\\"},r=i.default.getFirstMatch(/(?:qupzilla)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:\\\"Firefox\\\"},r=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:\\\"Electron\\\"},r=i.default.getFirstMatch(/(?:electron)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:\\\"Miui\\\"},r=i.default.getFirstMatch(/(?:MiuiBrowser)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:\\\"Chromium\\\"},r=i.default.getFirstMatch(/(?:chromium)[\\\\s/](\\\\d+(\\\\.?_?\\\\d+)+)/i,e)||i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:\\\"Chrome\\\"},r=i.default.getFirstMatch(/(?:chrome|crios|crmo)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:\\\"Google Search\\\"},r=i.default.getFirstMatch(/(?:GSA)\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:\\\"Android Browser\\\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:\\\"PlayStation 4\\\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:\\\"Safari\\\"},r=i.default.getFirstMatch(s,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search(\\\"\\\\\\\\(\\\")?/^(.*)\\\\/(.*)[ \\\\t]\\\\((.*)/:/^(.*)\\\\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=a,e.exports=t.default},93:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:[/Roku\\\\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\\\\/DVP-(\\\\d+\\\\.\\\\d+)/i,e);return{name:s.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\\\\s?(\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \\\\d\\\\d?.\\\\d)?)/i,e),r=i.default.getWindowsVersionName(t);return{name:s.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\\\\//],describe:function(e){var t={name:s.OS_MAP.iOS},r=i.default.getSecondMatch(/(Version\\\\/)(\\\\d[\\\\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\\\\d+(\\\\.?_?\\\\d+)+)/i,e).replace(/[_\\\\s]/g,\\\".\\\"),r=i.default.getMacOSVersionName(t),n={name:s.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\\\\d+([_\\\\s]\\\\d+)*) like mac os x/i,e).replace(/[_\\\\s]/g,\\\".\\\");return{name:s.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=i.default.getFirstMatch(/android[\\\\s/-](\\\\d+(\\\\.\\\\d+)*)/i,e),r=i.default.getAndroidVersionName(t),n={name:s.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\\\\/(\\\\d+(\\\\.\\\\d+)*)/i,e),r={name:s.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\\\\bbb\\\\d+/i,/rim\\\\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\\\\stablet\\\\sos\\\\s(\\\\d+(\\\\.\\\\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\\\\d+\\\\/(\\\\d+([_\\\\s]\\\\d+)*)/i,e)||i.default.getFirstMatch(/\\\\bbb(\\\\d+)/i,e);return{name:s.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\\\\/(\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\\\\s](\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:s.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:s.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\\\\s](\\\\d+(\\\\.\\\\d+)*)/i,e);return{name:s.OS_MAP.PlayStation4,version:t}}}];t.default=a,e.exports=t.default},94:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:[/googlebot/i],describe:function(){return{type:\\\"bot\\\",vendor:\\\"Google\\\"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&\\\"Nova\\\",r={type:s.PLATFORMS_MAP.mobile,vendor:\\\"Huawei\\\"};return t&&(r.model=t),r}},{test:[/nexus\\\\s*(?:7|8|9|10).*/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Nexus\\\"}}},{test:[/ipad/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Apple\\\",model:\\\"iPad\\\"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\\\\//],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Apple\\\",model:\\\"iPad\\\"}}},{test:[/kftt build/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Amazon\\\",model:\\\"Kindle Fire HD 7\\\"}}},{test:[/silk/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet,vendor:\\\"Amazon\\\"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"Apple\\\",model:t}}},{test:[/nexus\\\\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"Nexus\\\"}}},{test:[/[^-]mobi/i],describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\\\"blackberry\\\"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"BlackBerry\\\"}}},{test:function(e){return\\\"bada\\\"===e.getBrowserName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\\\"windows phone\\\"===e.getBrowserName()},describe:function(){return{type:s.PLATFORMS_MAP.mobile,vendor:\\\"Microsoft\\\"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(\\\".\\\")[0]);return\\\"android\\\"===e.getOSName(!0)&&t>=3},describe:function(){return{type:s.PLATFORMS_MAP.tablet}}},{test:function(e){return\\\"android\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.mobile}}},{test:function(e){return\\\"macos\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop,vendor:\\\"Apple\\\"}}},{test:function(e){return\\\"windows\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return\\\"linux\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.desktop}}},{test:function(e){return\\\"playstation 4\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}},{test:function(e){return\\\"roku\\\"===e.getOSName(!0)},describe:function(){return{type:s.PLATFORMS_MAP.tv}}}];t.default=a,e.exports=t.default},95:function(e,t,r){\\\"use strict\\\";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},s=r(18);var a=[{test:function(e){return\\\"microsoft edge\\\"===e.getBrowserName(!0)},describe:function(e){if(/\\\\sedg\\\\//i.test(e))return{name:s.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return{name:s.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:s.ENGINE_MAP.Trident},r=i.default.getFirstMatch(/trident\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:s.ENGINE_MAP.Presto},r=i.default.getFirstMatch(/presto\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:s.ENGINE_MAP.Gecko},r=i.default.getFirstMatch(/gecko\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\\\\/537\\\\.36/i],describe:function(){return{name:s.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:s.ENGINE_MAP.WebKit},r=i.default.getFirstMatch(/webkit\\\\/(\\\\d+(\\\\.?_?\\\\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=a,e.exports=t.default}})}));\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/bowser/es5.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/buffer/index.js\":\n/*!**************************************!*\\\n !*** ./node_modules/buffer/index.js ***!\n \\**************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"/*!\\n * The buffer module from node.js, for the browser.\\n *\\n * @author Feross Aboukhadijeh \\n * @license MIT\\n */\\n/* eslint-disable no-proto */\\n\\n\\n\\nconst base64 = __webpack_require__(/*! base64-js */ \\\"./node_modules/base64-js/index.js\\\")\\nconst ieee754 = __webpack_require__(/*! ieee754 */ \\\"./node_modules/ieee754/index.js\\\")\\nconst customInspectSymbol =\\n (typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation\\n ? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation\\n : null\\n\\nexports.Buffer = Buffer\\nexports.SlowBuffer = SlowBuffer\\nexports.INSPECT_MAX_BYTES = 50\\n\\nconst K_MAX_LENGTH = 0x7fffffff\\nexports.kMaxLength = K_MAX_LENGTH\\n\\n/**\\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\\n * === true Use Uint8Array implementation (fastest)\\n * === false Print warning and recommend using `buffer` v4.x which has an Object\\n * implementation (most compatible, even IE6)\\n *\\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\\n * Opera 11.6+, iOS 4.2+.\\n *\\n * We report that the browser does not support typed arrays if the are not subclassable\\n * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array`\\n * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support\\n * for __proto__ and has a buggy typed array implementation.\\n */\\nBuffer.TYPED_ARRAY_SUPPORT = typedArraySupport()\\n\\nif (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' &&\\n typeof console.error === 'function') {\\n console.error(\\n 'This browser lacks typed array (Uint8Array) support which is required by ' +\\n '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.'\\n )\\n}\\n\\nfunction typedArraySupport () {\\n // Can typed array instances can be augmented?\\n try {\\n const arr = new Uint8Array(1)\\n const proto = { foo: function () { return 42 } }\\n Object.setPrototypeOf(proto, Uint8Array.prototype)\\n Object.setPrototypeOf(arr, proto)\\n return arr.foo() === 42\\n } catch (e) {\\n return false\\n }\\n}\\n\\nObject.defineProperty(Buffer.prototype, 'parent', {\\n enumerable: true,\\n get: function () {\\n if (!Buffer.isBuffer(this)) return undefined\\n return this.buffer\\n }\\n})\\n\\nObject.defineProperty(Buffer.prototype, 'offset', {\\n enumerable: true,\\n get: function () {\\n if (!Buffer.isBuffer(this)) return undefined\\n return this.byteOffset\\n }\\n})\\n\\nfunction createBuffer (length) {\\n if (length > K_MAX_LENGTH) {\\n throw new RangeError('The value \\\"' + length + '\\\" is invalid for option \\\"size\\\"')\\n }\\n // Return an augmented `Uint8Array` instance\\n const buf = new Uint8Array(length)\\n Object.setPrototypeOf(buf, Buffer.prototype)\\n return buf\\n}\\n\\n/**\\n * The Buffer constructor returns instances of `Uint8Array` that have their\\n * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of\\n * `Uint8Array`, so the returned instances will have all the node `Buffer` methods\\n * and the `Uint8Array` methods. Square bracket notation works as expected -- it\\n * returns a single octet.\\n *\\n * The `Uint8Array` prototype remains unmodified.\\n */\\n\\nfunction Buffer (arg, encodingOrOffset, length) {\\n // Common case.\\n if (typeof arg === 'number') {\\n if (typeof encodingOrOffset === 'string') {\\n throw new TypeError(\\n 'The \\\"string\\\" argument must be of type string. Received type number'\\n )\\n }\\n return allocUnsafe(arg)\\n }\\n return from(arg, encodingOrOffset, length)\\n}\\n\\nBuffer.poolSize = 8192 // not used by this implementation\\n\\nfunction from (value, encodingOrOffset, length) {\\n if (typeof value === 'string') {\\n return fromString(value, encodingOrOffset)\\n }\\n\\n if (ArrayBuffer.isView(value)) {\\n return fromArrayView(value)\\n }\\n\\n if (value == null) {\\n throw new TypeError(\\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\\n 'or Array-like Object. Received type ' + (typeof value)\\n )\\n }\\n\\n if (isInstance(value, ArrayBuffer) ||\\n (value && isInstance(value.buffer, ArrayBuffer))) {\\n return fromArrayBuffer(value, encodingOrOffset, length)\\n }\\n\\n if (typeof SharedArrayBuffer !== 'undefined' &&\\n (isInstance(value, SharedArrayBuffer) ||\\n (value && isInstance(value.buffer, SharedArrayBuffer)))) {\\n return fromArrayBuffer(value, encodingOrOffset, length)\\n }\\n\\n if (typeof value === 'number') {\\n throw new TypeError(\\n 'The \\\"value\\\" argument must not be of type number. Received type number'\\n )\\n }\\n\\n const valueOf = value.valueOf && value.valueOf()\\n if (valueOf != null && valueOf !== value) {\\n return Buffer.from(valueOf, encodingOrOffset, length)\\n }\\n\\n const b = fromObject(value)\\n if (b) return b\\n\\n if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null &&\\n typeof value[Symbol.toPrimitive] === 'function') {\\n return Buffer.from(value[Symbol.toPrimitive]('string'), encodingOrOffset, length)\\n }\\n\\n throw new TypeError(\\n 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' +\\n 'or Array-like Object. Received type ' + (typeof value)\\n )\\n}\\n\\n/**\\n * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError\\n * if value is a number.\\n * Buffer.from(str[, encoding])\\n * Buffer.from(array)\\n * Buffer.from(buffer)\\n * Buffer.from(arrayBuffer[, byteOffset[, length]])\\n **/\\nBuffer.from = function (value, encodingOrOffset, length) {\\n return from(value, encodingOrOffset, length)\\n}\\n\\n// Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug:\\n// https://github.com/feross/buffer/pull/148\\nObject.setPrototypeOf(Buffer.prototype, Uint8Array.prototype)\\nObject.setPrototypeOf(Buffer, Uint8Array)\\n\\nfunction assertSize (size) {\\n if (typeof size !== 'number') {\\n throw new TypeError('\\\"size\\\" argument must be of type number')\\n } else if (size < 0) {\\n throw new RangeError('The value \\\"' + size + '\\\" is invalid for option \\\"size\\\"')\\n }\\n}\\n\\nfunction alloc (size, fill, encoding) {\\n assertSize(size)\\n if (size <= 0) {\\n return createBuffer(size)\\n }\\n if (fill !== undefined) {\\n // Only pay attention to encoding if it's a string. This\\n // prevents accidentally sending in a number that would\\n // be interpreted as a start offset.\\n return typeof encoding === 'string'\\n ? createBuffer(size).fill(fill, encoding)\\n : createBuffer(size).fill(fill)\\n }\\n return createBuffer(size)\\n}\\n\\n/**\\n * Creates a new filled Buffer instance.\\n * alloc(size[, fill[, encoding]])\\n **/\\nBuffer.alloc = function (size, fill, encoding) {\\n return alloc(size, fill, encoding)\\n}\\n\\nfunction allocUnsafe (size) {\\n assertSize(size)\\n return createBuffer(size < 0 ? 0 : checked(size) | 0)\\n}\\n\\n/**\\n * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.\\n * */\\nBuffer.allocUnsafe = function (size) {\\n return allocUnsafe(size)\\n}\\n/**\\n * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.\\n */\\nBuffer.allocUnsafeSlow = function (size) {\\n return allocUnsafe(size)\\n}\\n\\nfunction fromString (string, encoding) {\\n if (typeof encoding !== 'string' || encoding === '') {\\n encoding = 'utf8'\\n }\\n\\n if (!Buffer.isEncoding(encoding)) {\\n throw new TypeError('Unknown encoding: ' + encoding)\\n }\\n\\n const length = byteLength(string, encoding) | 0\\n let buf = createBuffer(length)\\n\\n const actual = buf.write(string, encoding)\\n\\n if (actual !== length) {\\n // Writing a hex string, for example, that contains invalid characters will\\n // cause everything after the first invalid character to be ignored. (e.g.\\n // 'abxxcd' will be treated as 'ab')\\n buf = buf.slice(0, actual)\\n }\\n\\n return buf\\n}\\n\\nfunction fromArrayLike (array) {\\n const length = array.length < 0 ? 0 : checked(array.length) | 0\\n const buf = createBuffer(length)\\n for (let i = 0; i < length; i += 1) {\\n buf[i] = array[i] & 255\\n }\\n return buf\\n}\\n\\nfunction fromArrayView (arrayView) {\\n if (isInstance(arrayView, Uint8Array)) {\\n const copy = new Uint8Array(arrayView)\\n return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)\\n }\\n return fromArrayLike(arrayView)\\n}\\n\\nfunction fromArrayBuffer (array, byteOffset, length) {\\n if (byteOffset < 0 || array.byteLength < byteOffset) {\\n throw new RangeError('\\\"offset\\\" is outside of buffer bounds')\\n }\\n\\n if (array.byteLength < byteOffset + (length || 0)) {\\n throw new RangeError('\\\"length\\\" is outside of buffer bounds')\\n }\\n\\n let buf\\n if (byteOffset === undefined && length === undefined) {\\n buf = new Uint8Array(array)\\n } else if (length === undefined) {\\n buf = new Uint8Array(array, byteOffset)\\n } else {\\n buf = new Uint8Array(array, byteOffset, length)\\n }\\n\\n // Return an augmented `Uint8Array` instance\\n Object.setPrototypeOf(buf, Buffer.prototype)\\n\\n return buf\\n}\\n\\nfunction fromObject (obj) {\\n if (Buffer.isBuffer(obj)) {\\n const len = checked(obj.length) | 0\\n const buf = createBuffer(len)\\n\\n if (buf.length === 0) {\\n return buf\\n }\\n\\n obj.copy(buf, 0, 0, len)\\n return buf\\n }\\n\\n if (obj.length !== undefined) {\\n if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) {\\n return createBuffer(0)\\n }\\n return fromArrayLike(obj)\\n }\\n\\n if (obj.type === 'Buffer' && Array.isArray(obj.data)) {\\n return fromArrayLike(obj.data)\\n }\\n}\\n\\nfunction checked (length) {\\n // Note: cannot use `length < K_MAX_LENGTH` here because that fails when\\n // length is NaN (which is otherwise coerced to zero.)\\n if (length >= K_MAX_LENGTH) {\\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\\n 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes')\\n }\\n return length | 0\\n}\\n\\nfunction SlowBuffer (length) {\\n if (+length != length) { // eslint-disable-line eqeqeq\\n length = 0\\n }\\n return Buffer.alloc(+length)\\n}\\n\\nBuffer.isBuffer = function isBuffer (b) {\\n return b != null && b._isBuffer === true &&\\n b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false\\n}\\n\\nBuffer.compare = function compare (a, b) {\\n if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength)\\n if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength)\\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\\n throw new TypeError(\\n 'The \\\"buf1\\\", \\\"buf2\\\" arguments must be one of type Buffer or Uint8Array'\\n )\\n }\\n\\n if (a === b) return 0\\n\\n let x = a.length\\n let y = b.length\\n\\n for (let i = 0, len = Math.min(x, y); i < len; ++i) {\\n if (a[i] !== b[i]) {\\n x = a[i]\\n y = b[i]\\n break\\n }\\n }\\n\\n if (x < y) return -1\\n if (y < x) return 1\\n return 0\\n}\\n\\nBuffer.isEncoding = function isEncoding (encoding) {\\n switch (String(encoding).toLowerCase()) {\\n case 'hex':\\n case 'utf8':\\n case 'utf-8':\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n case 'base64':\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return true\\n default:\\n return false\\n }\\n}\\n\\nBuffer.concat = function concat (list, length) {\\n if (!Array.isArray(list)) {\\n throw new TypeError('\\\"list\\\" argument must be an Array of Buffers')\\n }\\n\\n if (list.length === 0) {\\n return Buffer.alloc(0)\\n }\\n\\n let i\\n if (length === undefined) {\\n length = 0\\n for (i = 0; i < list.length; ++i) {\\n length += list[i].length\\n }\\n }\\n\\n const buffer = Buffer.allocUnsafe(length)\\n let pos = 0\\n for (i = 0; i < list.length; ++i) {\\n let buf = list[i]\\n if (isInstance(buf, Uint8Array)) {\\n if (pos + buf.length > buffer.length) {\\n if (!Buffer.isBuffer(buf)) buf = Buffer.from(buf)\\n buf.copy(buffer, pos)\\n } else {\\n Uint8Array.prototype.set.call(\\n buffer,\\n buf,\\n pos\\n )\\n }\\n } else if (!Buffer.isBuffer(buf)) {\\n throw new TypeError('\\\"list\\\" argument must be an Array of Buffers')\\n } else {\\n buf.copy(buffer, pos)\\n }\\n pos += buf.length\\n }\\n return buffer\\n}\\n\\nfunction byteLength (string, encoding) {\\n if (Buffer.isBuffer(string)) {\\n return string.length\\n }\\n if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) {\\n return string.byteLength\\n }\\n if (typeof string !== 'string') {\\n throw new TypeError(\\n 'The \\\"string\\\" argument must be one of type string, Buffer, or ArrayBuffer. ' +\\n 'Received type ' + typeof string\\n )\\n }\\n\\n const len = string.length\\n const mustMatch = (arguments.length > 2 && arguments[2] === true)\\n if (!mustMatch && len === 0) return 0\\n\\n // Use a for loop to avoid recursion\\n let loweredCase = false\\n for (;;) {\\n switch (encoding) {\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n return len\\n case 'utf8':\\n case 'utf-8':\\n return utf8ToBytes(string).length\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return len * 2\\n case 'hex':\\n return len >>> 1\\n case 'base64':\\n return base64ToBytes(string).length\\n default:\\n if (loweredCase) {\\n return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8\\n }\\n encoding = ('' + encoding).toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\nBuffer.byteLength = byteLength\\n\\nfunction slowToString (encoding, start, end) {\\n let loweredCase = false\\n\\n // No need to verify that \\\"this.length <= MAX_UINT32\\\" since it's a read-only\\n // property of a typed array.\\n\\n // This behaves neither like String nor Uint8Array in that we set start/end\\n // to their upper/lower bounds if the value passed is out of range.\\n // undefined is handled specially as per ECMA-262 6th Edition,\\n // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.\\n if (start === undefined || start < 0) {\\n start = 0\\n }\\n // Return early if start > this.length. Done here to prevent potential uint32\\n // coercion fail below.\\n if (start > this.length) {\\n return ''\\n }\\n\\n if (end === undefined || end > this.length) {\\n end = this.length\\n }\\n\\n if (end <= 0) {\\n return ''\\n }\\n\\n // Force coercion to uint32. This will also coerce falsey/NaN values to 0.\\n end >>>= 0\\n start >>>= 0\\n\\n if (end <= start) {\\n return ''\\n }\\n\\n if (!encoding) encoding = 'utf8'\\n\\n while (true) {\\n switch (encoding) {\\n case 'hex':\\n return hexSlice(this, start, end)\\n\\n case 'utf8':\\n case 'utf-8':\\n return utf8Slice(this, start, end)\\n\\n case 'ascii':\\n return asciiSlice(this, start, end)\\n\\n case 'latin1':\\n case 'binary':\\n return latin1Slice(this, start, end)\\n\\n case 'base64':\\n return base64Slice(this, start, end)\\n\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return utf16leSlice(this, start, end)\\n\\n default:\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\n encoding = (encoding + '').toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\n\\n// This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package)\\n// to detect a Buffer instance. It's not possible to use `instanceof Buffer`\\n// reliably in a browserify context because there could be multiple different\\n// copies of the 'buffer' package in use. This method works even for Buffer\\n// instances that were created from another copy of the `buffer` package.\\n// See: https://github.com/feross/buffer/issues/154\\nBuffer.prototype._isBuffer = true\\n\\nfunction swap (b, n, m) {\\n const i = b[n]\\n b[n] = b[m]\\n b[m] = i\\n}\\n\\nBuffer.prototype.swap16 = function swap16 () {\\n const len = this.length\\n if (len % 2 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 16-bits')\\n }\\n for (let i = 0; i < len; i += 2) {\\n swap(this, i, i + 1)\\n }\\n return this\\n}\\n\\nBuffer.prototype.swap32 = function swap32 () {\\n const len = this.length\\n if (len % 4 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 32-bits')\\n }\\n for (let i = 0; i < len; i += 4) {\\n swap(this, i, i + 3)\\n swap(this, i + 1, i + 2)\\n }\\n return this\\n}\\n\\nBuffer.prototype.swap64 = function swap64 () {\\n const len = this.length\\n if (len % 8 !== 0) {\\n throw new RangeError('Buffer size must be a multiple of 64-bits')\\n }\\n for (let i = 0; i < len; i += 8) {\\n swap(this, i, i + 7)\\n swap(this, i + 1, i + 6)\\n swap(this, i + 2, i + 5)\\n swap(this, i + 3, i + 4)\\n }\\n return this\\n}\\n\\nBuffer.prototype.toString = function toString () {\\n const length = this.length\\n if (length === 0) return ''\\n if (arguments.length === 0) return utf8Slice(this, 0, length)\\n return slowToString.apply(this, arguments)\\n}\\n\\nBuffer.prototype.toLocaleString = Buffer.prototype.toString\\n\\nBuffer.prototype.equals = function equals (b) {\\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\\n if (this === b) return true\\n return Buffer.compare(this, b) === 0\\n}\\n\\nBuffer.prototype.inspect = function inspect () {\\n let str = ''\\n const max = exports.INSPECT_MAX_BYTES\\n str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim()\\n if (this.length > max) str += ' ... '\\n return ''\\n}\\nif (customInspectSymbol) {\\n Buffer.prototype[customInspectSymbol] = Buffer.prototype.inspect\\n}\\n\\nBuffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {\\n if (isInstance(target, Uint8Array)) {\\n target = Buffer.from(target, target.offset, target.byteLength)\\n }\\n if (!Buffer.isBuffer(target)) {\\n throw new TypeError(\\n 'The \\\"target\\\" argument must be one of type Buffer or Uint8Array. ' +\\n 'Received type ' + (typeof target)\\n )\\n }\\n\\n if (start === undefined) {\\n start = 0\\n }\\n if (end === undefined) {\\n end = target ? target.length : 0\\n }\\n if (thisStart === undefined) {\\n thisStart = 0\\n }\\n if (thisEnd === undefined) {\\n thisEnd = this.length\\n }\\n\\n if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {\\n throw new RangeError('out of range index')\\n }\\n\\n if (thisStart >= thisEnd && start >= end) {\\n return 0\\n }\\n if (thisStart >= thisEnd) {\\n return -1\\n }\\n if (start >= end) {\\n return 1\\n }\\n\\n start >>>= 0\\n end >>>= 0\\n thisStart >>>= 0\\n thisEnd >>>= 0\\n\\n if (this === target) return 0\\n\\n let x = thisEnd - thisStart\\n let y = end - start\\n const len = Math.min(x, y)\\n\\n const thisCopy = this.slice(thisStart, thisEnd)\\n const targetCopy = target.slice(start, end)\\n\\n for (let i = 0; i < len; ++i) {\\n if (thisCopy[i] !== targetCopy[i]) {\\n x = thisCopy[i]\\n y = targetCopy[i]\\n break\\n }\\n }\\n\\n if (x < y) return -1\\n if (y < x) return 1\\n return 0\\n}\\n\\n// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,\\n// OR the last index of `val` in `buffer` at offset <= `byteOffset`.\\n//\\n// Arguments:\\n// - buffer - a Buffer to search\\n// - val - a string, Buffer, or number\\n// - byteOffset - an index into `buffer`; will be clamped to an int32\\n// - encoding - an optional encoding, relevant is val is a string\\n// - dir - true for indexOf, false for lastIndexOf\\nfunction bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {\\n // Empty buffer means no match\\n if (buffer.length === 0) return -1\\n\\n // Normalize byteOffset\\n if (typeof byteOffset === 'string') {\\n encoding = byteOffset\\n byteOffset = 0\\n } else if (byteOffset > 0x7fffffff) {\\n byteOffset = 0x7fffffff\\n } else if (byteOffset < -0x80000000) {\\n byteOffset = -0x80000000\\n }\\n byteOffset = +byteOffset // Coerce to Number.\\n if (numberIsNaN(byteOffset)) {\\n // byteOffset: it it's undefined, null, NaN, \\\"foo\\\", etc, search whole buffer\\n byteOffset = dir ? 0 : (buffer.length - 1)\\n }\\n\\n // Normalize byteOffset: negative offsets start from the end of the buffer\\n if (byteOffset < 0) byteOffset = buffer.length + byteOffset\\n if (byteOffset >= buffer.length) {\\n if (dir) return -1\\n else byteOffset = buffer.length - 1\\n } else if (byteOffset < 0) {\\n if (dir) byteOffset = 0\\n else return -1\\n }\\n\\n // Normalize val\\n if (typeof val === 'string') {\\n val = Buffer.from(val, encoding)\\n }\\n\\n // Finally, search either indexOf (if dir is true) or lastIndexOf\\n if (Buffer.isBuffer(val)) {\\n // Special case: looking for empty string/buffer always fails\\n if (val.length === 0) {\\n return -1\\n }\\n return arrayIndexOf(buffer, val, byteOffset, encoding, dir)\\n } else if (typeof val === 'number') {\\n val = val & 0xFF // Search for a byte value [0-255]\\n if (typeof Uint8Array.prototype.indexOf === 'function') {\\n if (dir) {\\n return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)\\n } else {\\n return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)\\n }\\n }\\n return arrayIndexOf(buffer, [val], byteOffset, encoding, dir)\\n }\\n\\n throw new TypeError('val must be string, number or Buffer')\\n}\\n\\nfunction arrayIndexOf (arr, val, byteOffset, encoding, dir) {\\n let indexSize = 1\\n let arrLength = arr.length\\n let valLength = val.length\\n\\n if (encoding !== undefined) {\\n encoding = String(encoding).toLowerCase()\\n if (encoding === 'ucs2' || encoding === 'ucs-2' ||\\n encoding === 'utf16le' || encoding === 'utf-16le') {\\n if (arr.length < 2 || val.length < 2) {\\n return -1\\n }\\n indexSize = 2\\n arrLength /= 2\\n valLength /= 2\\n byteOffset /= 2\\n }\\n }\\n\\n function read (buf, i) {\\n if (indexSize === 1) {\\n return buf[i]\\n } else {\\n return buf.readUInt16BE(i * indexSize)\\n }\\n }\\n\\n let i\\n if (dir) {\\n let foundIndex = -1\\n for (i = byteOffset; i < arrLength; i++) {\\n if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {\\n if (foundIndex === -1) foundIndex = i\\n if (i - foundIndex + 1 === valLength) return foundIndex * indexSize\\n } else {\\n if (foundIndex !== -1) i -= i - foundIndex\\n foundIndex = -1\\n }\\n }\\n } else {\\n if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength\\n for (i = byteOffset; i >= 0; i--) {\\n let found = true\\n for (let j = 0; j < valLength; j++) {\\n if (read(arr, i + j) !== read(val, j)) {\\n found = false\\n break\\n }\\n }\\n if (found) return i\\n }\\n }\\n\\n return -1\\n}\\n\\nBuffer.prototype.includes = function includes (val, byteOffset, encoding) {\\n return this.indexOf(val, byteOffset, encoding) !== -1\\n}\\n\\nBuffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, true)\\n}\\n\\nBuffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {\\n return bidirectionalIndexOf(this, val, byteOffset, encoding, false)\\n}\\n\\nfunction hexWrite (buf, string, offset, length) {\\n offset = Number(offset) || 0\\n const remaining = buf.length - offset\\n if (!length) {\\n length = remaining\\n } else {\\n length = Number(length)\\n if (length > remaining) {\\n length = remaining\\n }\\n }\\n\\n const strLen = string.length\\n\\n if (length > strLen / 2) {\\n length = strLen / 2\\n }\\n let i\\n for (i = 0; i < length; ++i) {\\n const parsed = parseInt(string.substr(i * 2, 2), 16)\\n if (numberIsNaN(parsed)) return i\\n buf[offset + i] = parsed\\n }\\n return i\\n}\\n\\nfunction utf8Write (buf, string, offset, length) {\\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\\n}\\n\\nfunction asciiWrite (buf, string, offset, length) {\\n return blitBuffer(asciiToBytes(string), buf, offset, length)\\n}\\n\\nfunction base64Write (buf, string, offset, length) {\\n return blitBuffer(base64ToBytes(string), buf, offset, length)\\n}\\n\\nfunction ucs2Write (buf, string, offset, length) {\\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\\n}\\n\\nBuffer.prototype.write = function write (string, offset, length, encoding) {\\n // Buffer#write(string)\\n if (offset === undefined) {\\n encoding = 'utf8'\\n length = this.length\\n offset = 0\\n // Buffer#write(string, encoding)\\n } else if (length === undefined && typeof offset === 'string') {\\n encoding = offset\\n length = this.length\\n offset = 0\\n // Buffer#write(string, offset[, length][, encoding])\\n } else if (isFinite(offset)) {\\n offset = offset >>> 0\\n if (isFinite(length)) {\\n length = length >>> 0\\n if (encoding === undefined) encoding = 'utf8'\\n } else {\\n encoding = length\\n length = undefined\\n }\\n } else {\\n throw new Error(\\n 'Buffer.write(string, encoding, offset[, length]) is no longer supported'\\n )\\n }\\n\\n const remaining = this.length - offset\\n if (length === undefined || length > remaining) length = remaining\\n\\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\\n throw new RangeError('Attempt to write outside buffer bounds')\\n }\\n\\n if (!encoding) encoding = 'utf8'\\n\\n let loweredCase = false\\n for (;;) {\\n switch (encoding) {\\n case 'hex':\\n return hexWrite(this, string, offset, length)\\n\\n case 'utf8':\\n case 'utf-8':\\n return utf8Write(this, string, offset, length)\\n\\n case 'ascii':\\n case 'latin1':\\n case 'binary':\\n return asciiWrite(this, string, offset, length)\\n\\n case 'base64':\\n // Warning: maxLength not taken into account in base64Write\\n return base64Write(this, string, offset, length)\\n\\n case 'ucs2':\\n case 'ucs-2':\\n case 'utf16le':\\n case 'utf-16le':\\n return ucs2Write(this, string, offset, length)\\n\\n default:\\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\\n encoding = ('' + encoding).toLowerCase()\\n loweredCase = true\\n }\\n }\\n}\\n\\nBuffer.prototype.toJSON = function toJSON () {\\n return {\\n type: 'Buffer',\\n data: Array.prototype.slice.call(this._arr || this, 0)\\n }\\n}\\n\\nfunction base64Slice (buf, start, end) {\\n if (start === 0 && end === buf.length) {\\n return base64.fromByteArray(buf)\\n } else {\\n return base64.fromByteArray(buf.slice(start, end))\\n }\\n}\\n\\nfunction utf8Slice (buf, start, end) {\\n end = Math.min(buf.length, end)\\n const res = []\\n\\n let i = start\\n while (i < end) {\\n const firstByte = buf[i]\\n let codePoint = null\\n let bytesPerSequence = (firstByte > 0xEF)\\n ? 4\\n : (firstByte > 0xDF)\\n ? 3\\n : (firstByte > 0xBF)\\n ? 2\\n : 1\\n\\n if (i + bytesPerSequence <= end) {\\n let secondByte, thirdByte, fourthByte, tempCodePoint\\n\\n switch (bytesPerSequence) {\\n case 1:\\n if (firstByte < 0x80) {\\n codePoint = firstByte\\n }\\n break\\n case 2:\\n secondByte = buf[i + 1]\\n if ((secondByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\\n if (tempCodePoint > 0x7F) {\\n codePoint = tempCodePoint\\n }\\n }\\n break\\n case 3:\\n secondByte = buf[i + 1]\\n thirdByte = buf[i + 2]\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\\n codePoint = tempCodePoint\\n }\\n }\\n break\\n case 4:\\n secondByte = buf[i + 1]\\n thirdByte = buf[i + 2]\\n fourthByte = buf[i + 3]\\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\\n codePoint = tempCodePoint\\n }\\n }\\n }\\n }\\n\\n if (codePoint === null) {\\n // we did not generate a valid codePoint so insert a\\n // replacement char (U+FFFD) and advance only 1 byte\\n codePoint = 0xFFFD\\n bytesPerSequence = 1\\n } else if (codePoint > 0xFFFF) {\\n // encode to utf16 (surrogate pair dance)\\n codePoint -= 0x10000\\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\\n codePoint = 0xDC00 | codePoint & 0x3FF\\n }\\n\\n res.push(codePoint)\\n i += bytesPerSequence\\n }\\n\\n return decodeCodePointsArray(res)\\n}\\n\\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\\n// the lowest limit is Chrome, with 0x10000 args.\\n// We go 1 magnitude less, for safety\\nconst MAX_ARGUMENTS_LENGTH = 0x1000\\n\\nfunction decodeCodePointsArray (codePoints) {\\n const len = codePoints.length\\n if (len <= MAX_ARGUMENTS_LENGTH) {\\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\\n }\\n\\n // Decode in chunks to avoid \\\"call stack size exceeded\\\".\\n let res = ''\\n let i = 0\\n while (i < len) {\\n res += String.fromCharCode.apply(\\n String,\\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\\n )\\n }\\n return res\\n}\\n\\nfunction asciiSlice (buf, start, end) {\\n let ret = ''\\n end = Math.min(buf.length, end)\\n\\n for (let i = start; i < end; ++i) {\\n ret += String.fromCharCode(buf[i] & 0x7F)\\n }\\n return ret\\n}\\n\\nfunction latin1Slice (buf, start, end) {\\n let ret = ''\\n end = Math.min(buf.length, end)\\n\\n for (let i = start; i < end; ++i) {\\n ret += String.fromCharCode(buf[i])\\n }\\n return ret\\n}\\n\\nfunction hexSlice (buf, start, end) {\\n const len = buf.length\\n\\n if (!start || start < 0) start = 0\\n if (!end || end < 0 || end > len) end = len\\n\\n let out = ''\\n for (let i = start; i < end; ++i) {\\n out += hexSliceLookupTable[buf[i]]\\n }\\n return out\\n}\\n\\nfunction utf16leSlice (buf, start, end) {\\n const bytes = buf.slice(start, end)\\n let res = ''\\n // If bytes.length is odd, the last 8 bits must be ignored (same as node.js)\\n for (let i = 0; i < bytes.length - 1; i += 2) {\\n res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))\\n }\\n return res\\n}\\n\\nBuffer.prototype.slice = function slice (start, end) {\\n const len = this.length\\n start = ~~start\\n end = end === undefined ? len : ~~end\\n\\n if (start < 0) {\\n start += len\\n if (start < 0) start = 0\\n } else if (start > len) {\\n start = len\\n }\\n\\n if (end < 0) {\\n end += len\\n if (end < 0) end = 0\\n } else if (end > len) {\\n end = len\\n }\\n\\n if (end < start) end = start\\n\\n const newBuf = this.subarray(start, end)\\n // Return an augmented `Uint8Array` instance\\n Object.setPrototypeOf(newBuf, Buffer.prototype)\\n\\n return newBuf\\n}\\n\\n/*\\n * Need to make sure that buffer isn't trying to write out of bounds.\\n */\\nfunction checkOffset (offset, ext, length) {\\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\\n}\\n\\nBuffer.prototype.readUintLE =\\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n let val = this[offset]\\n let mul = 1\\n let i = 0\\n while (++i < byteLength && (mul *= 0x100)) {\\n val += this[offset + i] * mul\\n }\\n\\n return val\\n}\\n\\nBuffer.prototype.readUintBE =\\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n checkOffset(offset, byteLength, this.length)\\n }\\n\\n let val = this[offset + --byteLength]\\n let mul = 1\\n while (byteLength > 0 && (mul *= 0x100)) {\\n val += this[offset + --byteLength] * mul\\n }\\n\\n return val\\n}\\n\\nBuffer.prototype.readUint8 =\\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 1, this.length)\\n return this[offset]\\n}\\n\\nBuffer.prototype.readUint16LE =\\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n return this[offset] | (this[offset + 1] << 8)\\n}\\n\\nBuffer.prototype.readUint16BE =\\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n return (this[offset] << 8) | this[offset + 1]\\n}\\n\\nBuffer.prototype.readUint32LE =\\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return ((this[offset]) |\\n (this[offset + 1] << 8) |\\n (this[offset + 2] << 16)) +\\n (this[offset + 3] * 0x1000000)\\n}\\n\\nBuffer.prototype.readUint32BE =\\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset] * 0x1000000) +\\n ((this[offset + 1] << 16) |\\n (this[offset + 2] << 8) |\\n this[offset + 3])\\n}\\n\\nBuffer.prototype.readBigUInt64LE = defineBigIntMethod(function readBigUInt64LE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const lo = first +\\n this[++offset] * 2 ** 8 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 24\\n\\n const hi = this[++offset] +\\n this[++offset] * 2 ** 8 +\\n this[++offset] * 2 ** 16 +\\n last * 2 ** 24\\n\\n return BigInt(lo) + (BigInt(hi) << BigInt(32))\\n})\\n\\nBuffer.prototype.readBigUInt64BE = defineBigIntMethod(function readBigUInt64BE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const hi = first * 2 ** 24 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n this[++offset]\\n\\n const lo = this[++offset] * 2 ** 24 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n last\\n\\n return (BigInt(hi) << BigInt(32)) + BigInt(lo)\\n})\\n\\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n let val = this[offset]\\n let mul = 1\\n let i = 0\\n while (++i < byteLength && (mul *= 0x100)) {\\n val += this[offset + i] * mul\\n }\\n mul *= 0x80\\n\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\n\\n return val\\n}\\n\\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) checkOffset(offset, byteLength, this.length)\\n\\n let i = byteLength\\n let mul = 1\\n let val = this[offset + --i]\\n while (i > 0 && (mul *= 0x100)) {\\n val += this[offset + --i] * mul\\n }\\n mul *= 0x80\\n\\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\\n\\n return val\\n}\\n\\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 1, this.length)\\n if (!(this[offset] & 0x80)) return (this[offset])\\n return ((0xff - this[offset] + 1) * -1)\\n}\\n\\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n const val = this[offset] | (this[offset + 1] << 8)\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\n}\\n\\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 2, this.length)\\n const val = this[offset + 1] | (this[offset] << 8)\\n return (val & 0x8000) ? val | 0xFFFF0000 : val\\n}\\n\\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset]) |\\n (this[offset + 1] << 8) |\\n (this[offset + 2] << 16) |\\n (this[offset + 3] << 24)\\n}\\n\\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n\\n return (this[offset] << 24) |\\n (this[offset + 1] << 16) |\\n (this[offset + 2] << 8) |\\n (this[offset + 3])\\n}\\n\\nBuffer.prototype.readBigInt64LE = defineBigIntMethod(function readBigInt64LE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const val = this[offset + 4] +\\n this[offset + 5] * 2 ** 8 +\\n this[offset + 6] * 2 ** 16 +\\n (last << 24) // Overflow\\n\\n return (BigInt(val) << BigInt(32)) +\\n BigInt(first +\\n this[++offset] * 2 ** 8 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 24)\\n})\\n\\nBuffer.prototype.readBigInt64BE = defineBigIntMethod(function readBigInt64BE (offset) {\\n offset = offset >>> 0\\n validateNumber(offset, 'offset')\\n const first = this[offset]\\n const last = this[offset + 7]\\n if (first === undefined || last === undefined) {\\n boundsError(offset, this.length - 8)\\n }\\n\\n const val = (first << 24) + // Overflow\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n this[++offset]\\n\\n return (BigInt(val) << BigInt(32)) +\\n BigInt(this[++offset] * 2 ** 24 +\\n this[++offset] * 2 ** 16 +\\n this[++offset] * 2 ** 8 +\\n last)\\n})\\n\\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n return ieee754.read(this, offset, true, 23, 4)\\n}\\n\\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 4, this.length)\\n return ieee754.read(this, offset, false, 23, 4)\\n}\\n\\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 8, this.length)\\n return ieee754.read(this, offset, true, 52, 8)\\n}\\n\\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\\n offset = offset >>> 0\\n if (!noAssert) checkOffset(offset, 8, this.length)\\n return ieee754.read(this, offset, false, 52, 8)\\n}\\n\\nfunction checkInt (buf, value, offset, ext, max, min) {\\n if (!Buffer.isBuffer(buf)) throw new TypeError('\\\"buffer\\\" argument must be a Buffer instance')\\n if (value > max || value < min) throw new RangeError('\\\"value\\\" argument is out of bounds')\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\n}\\n\\nBuffer.prototype.writeUintLE =\\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\n }\\n\\n let mul = 1\\n let i = 0\\n this[offset] = value & 0xFF\\n while (++i < byteLength && (mul *= 0x100)) {\\n this[offset + i] = (value / mul) & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeUintBE =\\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n byteLength = byteLength >>> 0\\n if (!noAssert) {\\n const maxBytes = Math.pow(2, 8 * byteLength) - 1\\n checkInt(this, value, offset, byteLength, maxBytes, 0)\\n }\\n\\n let i = byteLength - 1\\n let mul = 1\\n this[offset + i] = value & 0xFF\\n while (--i >= 0 && (mul *= 0x100)) {\\n this[offset + i] = (value / mul) & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeUint8 =\\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\\n this[offset] = (value & 0xff)\\n return offset + 1\\n}\\n\\nBuffer.prototype.writeUint16LE =\\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeUint16BE =\\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\\n this[offset] = (value >>> 8)\\n this[offset + 1] = (value & 0xff)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeUint32LE =\\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\n this[offset + 3] = (value >>> 24)\\n this[offset + 2] = (value >>> 16)\\n this[offset + 1] = (value >>> 8)\\n this[offset] = (value & 0xff)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeUint32BE =\\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\\n this[offset] = (value >>> 24)\\n this[offset + 1] = (value >>> 16)\\n this[offset + 2] = (value >>> 8)\\n this[offset + 3] = (value & 0xff)\\n return offset + 4\\n}\\n\\nfunction wrtBigUInt64LE (buf, value, offset, min, max) {\\n checkIntBI(value, min, max, buf, offset, 7)\\n\\n let lo = Number(value & BigInt(0xffffffff))\\n buf[offset++] = lo\\n lo = lo >> 8\\n buf[offset++] = lo\\n lo = lo >> 8\\n buf[offset++] = lo\\n lo = lo >> 8\\n buf[offset++] = lo\\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\\n buf[offset++] = hi\\n hi = hi >> 8\\n buf[offset++] = hi\\n hi = hi >> 8\\n buf[offset++] = hi\\n hi = hi >> 8\\n buf[offset++] = hi\\n return offset\\n}\\n\\nfunction wrtBigUInt64BE (buf, value, offset, min, max) {\\n checkIntBI(value, min, max, buf, offset, 7)\\n\\n let lo = Number(value & BigInt(0xffffffff))\\n buf[offset + 7] = lo\\n lo = lo >> 8\\n buf[offset + 6] = lo\\n lo = lo >> 8\\n buf[offset + 5] = lo\\n lo = lo >> 8\\n buf[offset + 4] = lo\\n let hi = Number(value >> BigInt(32) & BigInt(0xffffffff))\\n buf[offset + 3] = hi\\n hi = hi >> 8\\n buf[offset + 2] = hi\\n hi = hi >> 8\\n buf[offset + 1] = hi\\n hi = hi >> 8\\n buf[offset] = hi\\n return offset + 8\\n}\\n\\nBuffer.prototype.writeBigUInt64LE = defineBigIntMethod(function writeBigUInt64LE (value, offset = 0) {\\n return wrtBigUInt64LE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\\n})\\n\\nBuffer.prototype.writeBigUInt64BE = defineBigIntMethod(function writeBigUInt64BE (value, offset = 0) {\\n return wrtBigUInt64BE(this, value, offset, BigInt(0), BigInt('0xffffffffffffffff'))\\n})\\n\\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n const limit = Math.pow(2, (8 * byteLength) - 1)\\n\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\n }\\n\\n let i = 0\\n let mul = 1\\n let sub = 0\\n this[offset] = value & 0xFF\\n while (++i < byteLength && (mul *= 0x100)) {\\n if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {\\n sub = 1\\n }\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n const limit = Math.pow(2, (8 * byteLength) - 1)\\n\\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\\n }\\n\\n let i = byteLength - 1\\n let mul = 1\\n let sub = 0\\n this[offset + i] = value & 0xFF\\n while (--i >= 0 && (mul *= 0x100)) {\\n if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {\\n sub = 1\\n }\\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\\n }\\n\\n return offset + byteLength\\n}\\n\\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\\n if (value < 0) value = 0xff + value + 1\\n this[offset] = (value & 0xff)\\n return offset + 1\\n}\\n\\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\\n this[offset] = (value >>> 8)\\n this[offset + 1] = (value & 0xff)\\n return offset + 2\\n}\\n\\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\n this[offset] = (value & 0xff)\\n this[offset + 1] = (value >>> 8)\\n this[offset + 2] = (value >>> 16)\\n this[offset + 3] = (value >>> 24)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\\n if (value < 0) value = 0xffffffff + value + 1\\n this[offset] = (value >>> 24)\\n this[offset + 1] = (value >>> 16)\\n this[offset + 2] = (value >>> 8)\\n this[offset + 3] = (value & 0xff)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeBigInt64LE = defineBigIntMethod(function writeBigInt64LE (value, offset = 0) {\\n return wrtBigUInt64LE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\\n})\\n\\nBuffer.prototype.writeBigInt64BE = defineBigIntMethod(function writeBigInt64BE (value, offset = 0) {\\n return wrtBigUInt64BE(this, value, offset, -BigInt('0x8000000000000000'), BigInt('0x7fffffffffffffff'))\\n})\\n\\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\\n if (offset + ext > buf.length) throw new RangeError('Index out of range')\\n if (offset < 0) throw new RangeError('Index out of range')\\n}\\n\\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\\n }\\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\\n return offset + 4\\n}\\n\\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\\n return writeFloat(this, value, offset, true, noAssert)\\n}\\n\\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\\n return writeFloat(this, value, offset, false, noAssert)\\n}\\n\\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\\n value = +value\\n offset = offset >>> 0\\n if (!noAssert) {\\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\\n }\\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\\n return offset + 8\\n}\\n\\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\\n return writeDouble(this, value, offset, true, noAssert)\\n}\\n\\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\\n return writeDouble(this, value, offset, false, noAssert)\\n}\\n\\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\\n if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer')\\n if (!start) start = 0\\n if (!end && end !== 0) end = this.length\\n if (targetStart >= target.length) targetStart = target.length\\n if (!targetStart) targetStart = 0\\n if (end > 0 && end < start) end = start\\n\\n // Copy 0 bytes; we're done\\n if (end === start) return 0\\n if (target.length === 0 || this.length === 0) return 0\\n\\n // Fatal error conditions\\n if (targetStart < 0) {\\n throw new RangeError('targetStart out of bounds')\\n }\\n if (start < 0 || start >= this.length) throw new RangeError('Index out of range')\\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\\n\\n // Are we oob?\\n if (end > this.length) end = this.length\\n if (target.length - targetStart < end - start) {\\n end = target.length - targetStart + start\\n }\\n\\n const len = end - start\\n\\n if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') {\\n // Use built-in when available, missing from IE11\\n this.copyWithin(targetStart, start, end)\\n } else {\\n Uint8Array.prototype.set.call(\\n target,\\n this.subarray(start, end),\\n targetStart\\n )\\n }\\n\\n return len\\n}\\n\\n// Usage:\\n// buffer.fill(number[, offset[, end]])\\n// buffer.fill(buffer[, offset[, end]])\\n// buffer.fill(string[, offset[, end]][, encoding])\\nBuffer.prototype.fill = function fill (val, start, end, encoding) {\\n // Handle string cases:\\n if (typeof val === 'string') {\\n if (typeof start === 'string') {\\n encoding = start\\n start = 0\\n end = this.length\\n } else if (typeof end === 'string') {\\n encoding = end\\n end = this.length\\n }\\n if (encoding !== undefined && typeof encoding !== 'string') {\\n throw new TypeError('encoding must be a string')\\n }\\n if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {\\n throw new TypeError('Unknown encoding: ' + encoding)\\n }\\n if (val.length === 1) {\\n const code = val.charCodeAt(0)\\n if ((encoding === 'utf8' && code < 128) ||\\n encoding === 'latin1') {\\n // Fast path: If `val` fits into a single byte, use that numeric value.\\n val = code\\n }\\n }\\n } else if (typeof val === 'number') {\\n val = val & 255\\n } else if (typeof val === 'boolean') {\\n val = Number(val)\\n }\\n\\n // Invalid ranges are not set to a default, so can range check early.\\n if (start < 0 || this.length < start || this.length < end) {\\n throw new RangeError('Out of range index')\\n }\\n\\n if (end <= start) {\\n return this\\n }\\n\\n start = start >>> 0\\n end = end === undefined ? this.length : end >>> 0\\n\\n if (!val) val = 0\\n\\n let i\\n if (typeof val === 'number') {\\n for (i = start; i < end; ++i) {\\n this[i] = val\\n }\\n } else {\\n const bytes = Buffer.isBuffer(val)\\n ? val\\n : Buffer.from(val, encoding)\\n const len = bytes.length\\n if (len === 0) {\\n throw new TypeError('The value \\\"' + val +\\n '\\\" is invalid for argument \\\"value\\\"')\\n }\\n for (i = 0; i < end - start; ++i) {\\n this[i + start] = bytes[i % len]\\n }\\n }\\n\\n return this\\n}\\n\\n// CUSTOM ERRORS\\n// =============\\n\\n// Simplified versions from Node, changed for Buffer-only usage\\nconst errors = {}\\nfunction E (sym, getMessage, Base) {\\n errors[sym] = class NodeError extends Base {\\n constructor () {\\n super()\\n\\n Object.defineProperty(this, 'message', {\\n value: getMessage.apply(this, arguments),\\n writable: true,\\n configurable: true\\n })\\n\\n // Add the error code to the name to include it in the stack trace.\\n this.name = `${this.name} [${sym}]`\\n // Access the stack to generate the error message including the error code\\n // from the name.\\n this.stack // eslint-disable-line no-unused-expressions\\n // Reset the name to the actual name.\\n delete this.name\\n }\\n\\n get code () {\\n return sym\\n }\\n\\n set code (value) {\\n Object.defineProperty(this, 'code', {\\n configurable: true,\\n enumerable: true,\\n value,\\n writable: true\\n })\\n }\\n\\n toString () {\\n return `${this.name} [${sym}]: ${this.message}`\\n }\\n }\\n}\\n\\nE('ERR_BUFFER_OUT_OF_BOUNDS',\\n function (name) {\\n if (name) {\\n return `${name} is outside of buffer bounds`\\n }\\n\\n return 'Attempt to access memory outside buffer bounds'\\n }, RangeError)\\nE('ERR_INVALID_ARG_TYPE',\\n function (name, actual) {\\n return `The \\\"${name}\\\" argument must be of type number. Received type ${typeof actual}`\\n }, TypeError)\\nE('ERR_OUT_OF_RANGE',\\n function (str, range, input) {\\n let msg = `The value of \\\"${str}\\\" is out of range.`\\n let received = input\\n if (Number.isInteger(input) && Math.abs(input) > 2 ** 32) {\\n received = addNumericalSeparator(String(input))\\n } else if (typeof input === 'bigint') {\\n received = String(input)\\n if (input > BigInt(2) ** BigInt(32) || input < -(BigInt(2) ** BigInt(32))) {\\n received = addNumericalSeparator(received)\\n }\\n received += 'n'\\n }\\n msg += ` It must be ${range}. Received ${received}`\\n return msg\\n }, RangeError)\\n\\nfunction addNumericalSeparator (val) {\\n let res = ''\\n let i = val.length\\n const start = val[0] === '-' ? 1 : 0\\n for (; i >= start + 4; i -= 3) {\\n res = `_${val.slice(i - 3, i)}${res}`\\n }\\n return `${val.slice(0, i)}${res}`\\n}\\n\\n// CHECK FUNCTIONS\\n// ===============\\n\\nfunction checkBounds (buf, offset, byteLength) {\\n validateNumber(offset, 'offset')\\n if (buf[offset] === undefined || buf[offset + byteLength] === undefined) {\\n boundsError(offset, buf.length - (byteLength + 1))\\n }\\n}\\n\\nfunction checkIntBI (value, min, max, buf, offset, byteLength) {\\n if (value > max || value < min) {\\n const n = typeof min === 'bigint' ? 'n' : ''\\n let range\\n if (byteLength > 3) {\\n if (min === 0 || min === BigInt(0)) {\\n range = `>= 0${n} and < 2${n} ** ${(byteLength + 1) * 8}${n}`\\n } else {\\n range = `>= -(2${n} ** ${(byteLength + 1) * 8 - 1}${n}) and < 2 ** ` +\\n `${(byteLength + 1) * 8 - 1}${n}`\\n }\\n } else {\\n range = `>= ${min}${n} and <= ${max}${n}`\\n }\\n throw new errors.ERR_OUT_OF_RANGE('value', range, value)\\n }\\n checkBounds(buf, offset, byteLength)\\n}\\n\\nfunction validateNumber (value, name) {\\n if (typeof value !== 'number') {\\n throw new errors.ERR_INVALID_ARG_TYPE(name, 'number', value)\\n }\\n}\\n\\nfunction boundsError (value, length, type) {\\n if (Math.floor(value) !== value) {\\n validateNumber(value, type)\\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset', 'an integer', value)\\n }\\n\\n if (length < 0) {\\n throw new errors.ERR_BUFFER_OUT_OF_BOUNDS()\\n }\\n\\n throw new errors.ERR_OUT_OF_RANGE(type || 'offset',\\n `>= ${type ? 1 : 0} and <= ${length}`,\\n value)\\n}\\n\\n// HELPER FUNCTIONS\\n// ================\\n\\nconst INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g\\n\\nfunction base64clean (str) {\\n // Node takes equal signs as end of the Base64 encoding\\n str = str.split('=')[0]\\n // Node strips out invalid characters like \\\\n and \\\\t from the string, base64-js does not\\n str = str.trim().replace(INVALID_BASE64_RE, '')\\n // Node converts strings with length < 2 to ''\\n if (str.length < 2) return ''\\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\\n while (str.length % 4 !== 0) {\\n str = str + '='\\n }\\n return str\\n}\\n\\nfunction utf8ToBytes (string, units) {\\n units = units || Infinity\\n let codePoint\\n const length = string.length\\n let leadSurrogate = null\\n const bytes = []\\n\\n for (let i = 0; i < length; ++i) {\\n codePoint = string.charCodeAt(i)\\n\\n // is surrogate component\\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\\n // last char was a lead\\n if (!leadSurrogate) {\\n // no lead yet\\n if (codePoint > 0xDBFF) {\\n // unexpected trail\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n continue\\n } else if (i + 1 === length) {\\n // unpaired lead\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n continue\\n }\\n\\n // valid lead\\n leadSurrogate = codePoint\\n\\n continue\\n }\\n\\n // 2 leads in a row\\n if (codePoint < 0xDC00) {\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n leadSurrogate = codePoint\\n continue\\n }\\n\\n // valid surrogate pair\\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\\n } else if (leadSurrogate) {\\n // valid bmp char, but last char was a lead\\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\\n }\\n\\n leadSurrogate = null\\n\\n // encode utf8\\n if (codePoint < 0x80) {\\n if ((units -= 1) < 0) break\\n bytes.push(codePoint)\\n } else if (codePoint < 0x800) {\\n if ((units -= 2) < 0) break\\n bytes.push(\\n codePoint >> 0x6 | 0xC0,\\n codePoint & 0x3F | 0x80\\n )\\n } else if (codePoint < 0x10000) {\\n if ((units -= 3) < 0) break\\n bytes.push(\\n codePoint >> 0xC | 0xE0,\\n codePoint >> 0x6 & 0x3F | 0x80,\\n codePoint & 0x3F | 0x80\\n )\\n } else if (codePoint < 0x110000) {\\n if ((units -= 4) < 0) break\\n bytes.push(\\n codePoint >> 0x12 | 0xF0,\\n codePoint >> 0xC & 0x3F | 0x80,\\n codePoint >> 0x6 & 0x3F | 0x80,\\n codePoint & 0x3F | 0x80\\n )\\n } else {\\n throw new Error('Invalid code point')\\n }\\n }\\n\\n return bytes\\n}\\n\\nfunction asciiToBytes (str) {\\n const byteArray = []\\n for (let i = 0; i < str.length; ++i) {\\n // Node's code seems to be doing this and not & 0x7F..\\n byteArray.push(str.charCodeAt(i) & 0xFF)\\n }\\n return byteArray\\n}\\n\\nfunction utf16leToBytes (str, units) {\\n let c, hi, lo\\n const byteArray = []\\n for (let i = 0; i < str.length; ++i) {\\n if ((units -= 2) < 0) break\\n\\n c = str.charCodeAt(i)\\n hi = c >> 8\\n lo = c % 256\\n byteArray.push(lo)\\n byteArray.push(hi)\\n }\\n\\n return byteArray\\n}\\n\\nfunction base64ToBytes (str) {\\n return base64.toByteArray(base64clean(str))\\n}\\n\\nfunction blitBuffer (src, dst, offset, length) {\\n let i\\n for (i = 0; i < length; ++i) {\\n if ((i + offset >= dst.length) || (i >= src.length)) break\\n dst[i + offset] = src[i]\\n }\\n return i\\n}\\n\\n// ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass\\n// the `instanceof` check but they should be treated as of that type.\\n// See: https://github.com/feross/buffer/issues/166\\nfunction isInstance (obj, type) {\\n return obj instanceof type ||\\n (obj != null && obj.constructor != null && obj.constructor.name != null &&\\n obj.constructor.name === type.name)\\n}\\nfunction numberIsNaN (obj) {\\n // For IE11 support\\n return obj !== obj // eslint-disable-line no-self-compare\\n}\\n\\n// Create lookup table for `toString('hex')`\\n// See: https://github.com/feross/buffer/issues/219\\nconst hexSliceLookupTable = (function () {\\n const alphabet = '0123456789abcdef'\\n const table = new Array(256)\\n for (let i = 0; i < 16; ++i) {\\n const i16 = i * 16\\n for (let j = 0; j < 16; ++j) {\\n table[i16 + j] = alphabet[i] + alphabet[j]\\n }\\n }\\n return table\\n})()\\n\\n// Return not function with Error if BigInt not supported\\nfunction defineBigIntMethod (fn) {\\n return typeof BigInt === 'undefined' ? BufferBigIntNotDefined : fn\\n}\\n\\nfunction BufferBigIntNotDefined () {\\n throw new Error('BigInt not supported')\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/buffer/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/detect-browser/es/index.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/detect-browser/es/index.js ***!\n \\*************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ BotInfo: () => (/* binding */ BotInfo),\\n/* harmony export */ BrowserInfo: () => (/* binding */ BrowserInfo),\\n/* harmony export */ NodeInfo: () => (/* binding */ NodeInfo),\\n/* harmony export */ ReactNativeInfo: () => (/* binding */ ReactNativeInfo),\\n/* harmony export */ SearchBotDeviceInfo: () => (/* binding */ SearchBotDeviceInfo),\\n/* harmony export */ browserName: () => (/* binding */ browserName),\\n/* harmony export */ detect: () => (/* binding */ detect),\\n/* harmony export */ detectOS: () => (/* binding */ detectOS),\\n/* harmony export */ getNodeVersion: () => (/* binding */ getNodeVersion),\\n/* harmony export */ parseUserAgent: () => (/* binding */ parseUserAgent)\\n/* harmony export */ });\\nvar __spreadArray = (undefined && undefined.__spreadArray) || function (to, from, pack) {\\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\\n if (ar || !(i in from)) {\\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\\n ar[i] = from[i];\\n }\\n }\\n return to.concat(ar || Array.prototype.slice.call(from));\\n};\\nvar BrowserInfo = /** @class */ (function () {\\n function BrowserInfo(name, version, os) {\\n this.name = name;\\n this.version = version;\\n this.os = os;\\n this.type = 'browser';\\n }\\n return BrowserInfo;\\n}());\\n\\nvar NodeInfo = /** @class */ (function () {\\n function NodeInfo(version) {\\n this.version = version;\\n this.type = 'node';\\n this.name = 'node';\\n this.os = process.platform;\\n }\\n return NodeInfo;\\n}());\\n\\nvar SearchBotDeviceInfo = /** @class */ (function () {\\n function SearchBotDeviceInfo(name, version, os, bot) {\\n this.name = name;\\n this.version = version;\\n this.os = os;\\n this.bot = bot;\\n this.type = 'bot-device';\\n }\\n return SearchBotDeviceInfo;\\n}());\\n\\nvar BotInfo = /** @class */ (function () {\\n function BotInfo() {\\n this.type = 'bot';\\n this.bot = true; // NOTE: deprecated test name instead\\n this.name = 'bot';\\n this.version = null;\\n this.os = null;\\n }\\n return BotInfo;\\n}());\\n\\nvar ReactNativeInfo = /** @class */ (function () {\\n function ReactNativeInfo() {\\n this.type = 'react-native';\\n this.name = 'react-native';\\n this.version = null;\\n this.os = null;\\n }\\n return ReactNativeInfo;\\n}());\\n\\n// tslint:disable-next-line:max-line-length\\nvar SEARCHBOX_UA_REGEX = /alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/;\\nvar SEARCHBOT_OS_REGEX = /(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\\\\ Jeeves\\\\/Teoma|ia_archiver)/;\\nvar REQUIRED_VERSION_PARTS = 3;\\nvar userAgentRules = [\\n ['aol', /AOLShield\\\\/([0-9\\\\._]+)/],\\n ['edge', /Edge\\\\/([0-9\\\\._]+)/],\\n ['edge-ios', /EdgiOS\\\\/([0-9\\\\._]+)/],\\n ['yandexbrowser', /YaBrowser\\\\/([0-9\\\\._]+)/],\\n ['kakaotalk', /KAKAOTALK\\\\s([0-9\\\\.]+)/],\\n ['samsung', /SamsungBrowser\\\\/([0-9\\\\.]+)/],\\n ['silk', /\\\\bSilk\\\\/([0-9._-]+)\\\\b/],\\n ['miui', /MiuiBrowser\\\\/([0-9\\\\.]+)$/],\\n ['beaker', /BeakerBrowser\\\\/([0-9\\\\.]+)/],\\n ['edge-chromium', /EdgA?\\\\/([0-9\\\\.]+)/],\\n [\\n 'chromium-webview',\\n /(?!Chrom.*OPR)wv\\\\).*Chrom(?:e|ium)\\\\/([0-9\\\\.]+)(:?\\\\s|$)/,\\n ],\\n ['chrome', /(?!Chrom.*OPR)Chrom(?:e|ium)\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['phantomjs', /PhantomJS\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['crios', /CriOS\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['firefox', /Firefox\\\\/([0-9\\\\.]+)(?:\\\\s|$)/],\\n ['fxios', /FxiOS\\\\/([0-9\\\\.]+)/],\\n ['opera-mini', /Opera Mini.*Version\\\\/([0-9\\\\.]+)/],\\n ['opera', /Opera\\\\/([0-9\\\\.]+)(?:\\\\s|$)/],\\n ['opera', /OPR\\\\/([0-9\\\\.]+)(:?\\\\s|$)/],\\n ['pie', /^Microsoft Pocket Internet Explorer\\\\/(\\\\d+\\\\.\\\\d+)$/],\\n ['pie', /^Mozilla\\\\/\\\\d\\\\.\\\\d+\\\\s\\\\(compatible;\\\\s(?:MSP?IE|MSInternet Explorer) (\\\\d+\\\\.\\\\d+);.*Windows CE.*\\\\)$/],\\n ['netfront', /^Mozilla\\\\/\\\\d\\\\.\\\\d+.*NetFront\\\\/(\\\\d.\\\\d)/],\\n ['ie', /Trident\\\\/7\\\\.0.*rv\\\\:([0-9\\\\.]+).*\\\\).*Gecko$/],\\n ['ie', /MSIE\\\\s([0-9\\\\.]+);.*Trident\\\\/[4-7].0/],\\n ['ie', /MSIE\\\\s(7\\\\.0)/],\\n ['bb10', /BB10;\\\\sTouch.*Version\\\\/([0-9\\\\.]+)/],\\n ['android', /Android\\\\s([0-9\\\\.]+)/],\\n ['ios', /Version\\\\/([0-9\\\\._]+).*Mobile.*Safari.*/],\\n ['safari', /Version\\\\/([0-9\\\\._]+).*Safari/],\\n ['facebook', /FB[AS]V\\\\/([0-9\\\\.]+)/],\\n ['instagram', /Instagram\\\\s([0-9\\\\.]+)/],\\n ['ios-webview', /AppleWebKit\\\\/([0-9\\\\.]+).*Mobile/],\\n ['ios-webview', /AppleWebKit\\\\/([0-9\\\\.]+).*Gecko\\\\)$/],\\n ['curl', /^curl\\\\/([0-9\\\\.]+)$/],\\n ['searchbot', SEARCHBOX_UA_REGEX],\\n];\\nvar operatingSystemRules = [\\n ['iOS', /iP(hone|od|ad)/],\\n ['Android OS', /Android/],\\n ['BlackBerry OS', /BlackBerry|BB10/],\\n ['Windows Mobile', /IEMobile/],\\n ['Amazon OS', /Kindle/],\\n ['Windows 3.11', /Win16/],\\n ['Windows 95', /(Windows 95)|(Win95)|(Windows_95)/],\\n ['Windows 98', /(Windows 98)|(Win98)/],\\n ['Windows 2000', /(Windows NT 5.0)|(Windows 2000)/],\\n ['Windows XP', /(Windows NT 5.1)|(Windows XP)/],\\n ['Windows Server 2003', /(Windows NT 5.2)/],\\n ['Windows Vista', /(Windows NT 6.0)/],\\n ['Windows 7', /(Windows NT 6.1)/],\\n ['Windows 8', /(Windows NT 6.2)/],\\n ['Windows 8.1', /(Windows NT 6.3)/],\\n ['Windows 10', /(Windows NT 10.0)/],\\n ['Windows ME', /Windows ME/],\\n ['Windows CE', /Windows CE|WinCE|Microsoft Pocket Internet Explorer/],\\n ['Open BSD', /OpenBSD/],\\n ['Sun OS', /SunOS/],\\n ['Chrome OS', /CrOS/],\\n ['Linux', /(Linux)|(X11)/],\\n ['Mac OS', /(Mac_PowerPC)|(Macintosh)/],\\n ['QNX', /QNX/],\\n ['BeOS', /BeOS/],\\n ['OS/2', /OS\\\\/2/],\\n];\\nfunction detect(userAgent) {\\n if (!!userAgent) {\\n return parseUserAgent(userAgent);\\n }\\n if (typeof document === 'undefined' &&\\n typeof navigator !== 'undefined' &&\\n navigator.product === 'ReactNative') {\\n return new ReactNativeInfo();\\n }\\n if (typeof navigator !== 'undefined') {\\n return parseUserAgent(navigator.userAgent);\\n }\\n return getNodeVersion();\\n}\\nfunction matchUserAgent(ua) {\\n // opted for using reduce here rather than Array#first with a regex.test call\\n // this is primarily because using the reduce we only perform the regex\\n // execution once rather than once for the test and for the exec again below\\n // probably something that needs to be benchmarked though\\n return (ua !== '' &&\\n userAgentRules.reduce(function (matched, _a) {\\n var browser = _a[0], regex = _a[1];\\n if (matched) {\\n return matched;\\n }\\n var uaMatch = regex.exec(ua);\\n return !!uaMatch && [browser, uaMatch];\\n }, false));\\n}\\nfunction browserName(ua) {\\n var data = matchUserAgent(ua);\\n return data ? data[0] : null;\\n}\\nfunction parseUserAgent(ua) {\\n var matchedRule = matchUserAgent(ua);\\n if (!matchedRule) {\\n return null;\\n }\\n var name = matchedRule[0], match = matchedRule[1];\\n if (name === 'searchbot') {\\n return new BotInfo();\\n }\\n // Do not use RegExp for split operation as some browser do not support it (See: http://blog.stevenlevithan.com/archives/cross-browser-split)\\n var versionParts = match[1] && match[1].split('.').join('_').split('_').slice(0, 3);\\n if (versionParts) {\\n if (versionParts.length < REQUIRED_VERSION_PARTS) {\\n versionParts = __spreadArray(__spreadArray([], versionParts, true), createVersionParts(REQUIRED_VERSION_PARTS - versionParts.length), true);\\n }\\n }\\n else {\\n versionParts = [];\\n }\\n var version = versionParts.join('.');\\n var os = detectOS(ua);\\n var searchBotMatch = SEARCHBOT_OS_REGEX.exec(ua);\\n if (searchBotMatch && searchBotMatch[1]) {\\n return new SearchBotDeviceInfo(name, version, os, searchBotMatch[1]);\\n }\\n return new BrowserInfo(name, version, os);\\n}\\nfunction detectOS(ua) {\\n for (var ii = 0, count = operatingSystemRules.length; ii < count; ii++) {\\n var _a = operatingSystemRules[ii], os = _a[0], regex = _a[1];\\n var match = regex.exec(ua);\\n if (match) {\\n return os;\\n }\\n }\\n return null;\\n}\\nfunction getNodeVersion() {\\n var isNode = typeof process !== 'undefined' && process.version;\\n return isNode ? new NodeInfo(process.version.slice(1)) : null;\\n}\\nfunction createVersionParts(count) {\\n var output = [];\\n for (var ii = 0; ii < count; ii++) {\\n output.push('0');\\n }\\n return output;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/detect-browser/es/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/ieee754/index.js\":\n/*!***************************************!*\\\n !*** ./node_modules/ieee754/index.js ***!\n \\***************************************/\n/***/ ((__unused_webpack_module, exports) => {\n\neval(\"/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */\\nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\\n var e, m\\n var eLen = (nBytes * 8) - mLen - 1\\n var eMax = (1 << eLen) - 1\\n var eBias = eMax >> 1\\n var nBits = -7\\n var i = isLE ? (nBytes - 1) : 0\\n var d = isLE ? -1 : 1\\n var s = buffer[offset + i]\\n\\n i += d\\n\\n e = s & ((1 << (-nBits)) - 1)\\n s >>= (-nBits)\\n nBits += eLen\\n for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\n\\n m = e & ((1 << (-nBits)) - 1)\\n e >>= (-nBits)\\n nBits += mLen\\n for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}\\n\\n if (e === 0) {\\n e = 1 - eBias\\n } else if (e === eMax) {\\n return m ? NaN : ((s ? -1 : 1) * Infinity)\\n } else {\\n m = m + Math.pow(2, mLen)\\n e = e - eBias\\n }\\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\\n}\\n\\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\\n var e, m, c\\n var eLen = (nBytes * 8) - mLen - 1\\n var eMax = (1 << eLen) - 1\\n var eBias = eMax >> 1\\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\\n var i = isLE ? 0 : (nBytes - 1)\\n var d = isLE ? 1 : -1\\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\\n\\n value = Math.abs(value)\\n\\n if (isNaN(value) || value === Infinity) {\\n m = isNaN(value) ? 1 : 0\\n e = eMax\\n } else {\\n e = Math.floor(Math.log(value) / Math.LN2)\\n if (value * (c = Math.pow(2, -e)) < 1) {\\n e--\\n c *= 2\\n }\\n if (e + eBias >= 1) {\\n value += rt / c\\n } else {\\n value += rt * Math.pow(2, 1 - eBias)\\n }\\n if (value * c >= 2) {\\n e++\\n c /= 2\\n }\\n\\n if (e + eBias >= eMax) {\\n m = 0\\n e = eMax\\n } else if (e + eBias >= 1) {\\n m = ((value * c) - 1) * Math.pow(2, mLen)\\n e = e + eBias\\n } else {\\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\\n e = 0\\n }\\n }\\n\\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\\n\\n e = (e << mLen) | m\\n eLen += mLen\\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\\n\\n buffer[offset + i - d] |= s * 128\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/ieee754/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/localforage/dist/localforage.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/localforage/dist/localforage.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\neval(\"/*!\\n localForage -- Offline Storage, Improved\\n Version 1.10.0\\n https://localforage.github.io/localForage\\n (c) 2013-2017 Mozilla, Apache License 2.0\\n*/\\n(function(f){if(true){module.exports=f()}else { var g; }})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=undefined;if(!u&&a)return require(o,!0);if(i)return i(o,!0);var f=new Error(\\\"Cannot find module '\\\"+o+\\\"'\\\");throw (f.code=\\\"MODULE_NOT_FOUND\\\", f)}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=undefined;for(var o=0;o element; its readystatechange event will be fired asynchronously once it is inserted\\n // into the document. Do so, thus queuing up the task. Remember to clean up once it's been called.\\n var scriptEl = global.document.createElement('script');\\n scriptEl.onreadystatechange = function () {\\n nextTick();\\n\\n scriptEl.onreadystatechange = null;\\n scriptEl.parentNode.removeChild(scriptEl);\\n scriptEl = null;\\n };\\n global.document.documentElement.appendChild(scriptEl);\\n };\\n } else {\\n scheduleDrain = function () {\\n setTimeout(nextTick, 0);\\n };\\n }\\n}\\n\\nvar draining;\\nvar queue = [];\\n//named nextTick for less confusing stack traces\\nfunction nextTick() {\\n draining = true;\\n var i, oldQueue;\\n var len = queue.length;\\n while (len) {\\n oldQueue = queue;\\n queue = [];\\n i = -1;\\n while (++i < len) {\\n oldQueue[i]();\\n }\\n len = queue.length;\\n }\\n draining = false;\\n}\\n\\nmodule.exports = immediate;\\nfunction immediate(task) {\\n if (queue.push(task) === 1 && !draining) {\\n scheduleDrain();\\n }\\n}\\n\\n}).call(this,typeof __webpack_require__.g !== \\\"undefined\\\" ? __webpack_require__.g : typeof self !== \\\"undefined\\\" ? self : typeof window !== \\\"undefined\\\" ? window : {})\\n},{}],2:[function(_dereq_,module,exports){\\n'use strict';\\nvar immediate = _dereq_(1);\\n\\n/* istanbul ignore next */\\nfunction INTERNAL() {}\\n\\nvar handlers = {};\\n\\nvar REJECTED = ['REJECTED'];\\nvar FULFILLED = ['FULFILLED'];\\nvar PENDING = ['PENDING'];\\n\\nmodule.exports = Promise;\\n\\nfunction Promise(resolver) {\\n if (typeof resolver !== 'function') {\\n throw new TypeError('resolver must be a function');\\n }\\n this.state = PENDING;\\n this.queue = [];\\n this.outcome = void 0;\\n if (resolver !== INTERNAL) {\\n safelyResolveThenable(this, resolver);\\n }\\n}\\n\\nPromise.prototype[\\\"catch\\\"] = function (onRejected) {\\n return this.then(null, onRejected);\\n};\\nPromise.prototype.then = function (onFulfilled, onRejected) {\\n if (typeof onFulfilled !== 'function' && this.state === FULFILLED ||\\n typeof onRejected !== 'function' && this.state === REJECTED) {\\n return this;\\n }\\n var promise = new this.constructor(INTERNAL);\\n if (this.state !== PENDING) {\\n var resolver = this.state === FULFILLED ? onFulfilled : onRejected;\\n unwrap(promise, resolver, this.outcome);\\n } else {\\n this.queue.push(new QueueItem(promise, onFulfilled, onRejected));\\n }\\n\\n return promise;\\n};\\nfunction QueueItem(promise, onFulfilled, onRejected) {\\n this.promise = promise;\\n if (typeof onFulfilled === 'function') {\\n this.onFulfilled = onFulfilled;\\n this.callFulfilled = this.otherCallFulfilled;\\n }\\n if (typeof onRejected === 'function') {\\n this.onRejected = onRejected;\\n this.callRejected = this.otherCallRejected;\\n }\\n}\\nQueueItem.prototype.callFulfilled = function (value) {\\n handlers.resolve(this.promise, value);\\n};\\nQueueItem.prototype.otherCallFulfilled = function (value) {\\n unwrap(this.promise, this.onFulfilled, value);\\n};\\nQueueItem.prototype.callRejected = function (value) {\\n handlers.reject(this.promise, value);\\n};\\nQueueItem.prototype.otherCallRejected = function (value) {\\n unwrap(this.promise, this.onRejected, value);\\n};\\n\\nfunction unwrap(promise, func, value) {\\n immediate(function () {\\n var returnValue;\\n try {\\n returnValue = func(value);\\n } catch (e) {\\n return handlers.reject(promise, e);\\n }\\n if (returnValue === promise) {\\n handlers.reject(promise, new TypeError('Cannot resolve promise with itself'));\\n } else {\\n handlers.resolve(promise, returnValue);\\n }\\n });\\n}\\n\\nhandlers.resolve = function (self, value) {\\n var result = tryCatch(getThen, value);\\n if (result.status === 'error') {\\n return handlers.reject(self, result.value);\\n }\\n var thenable = result.value;\\n\\n if (thenable) {\\n safelyResolveThenable(self, thenable);\\n } else {\\n self.state = FULFILLED;\\n self.outcome = value;\\n var i = -1;\\n var len = self.queue.length;\\n while (++i < len) {\\n self.queue[i].callFulfilled(value);\\n }\\n }\\n return self;\\n};\\nhandlers.reject = function (self, error) {\\n self.state = REJECTED;\\n self.outcome = error;\\n var i = -1;\\n var len = self.queue.length;\\n while (++i < len) {\\n self.queue[i].callRejected(error);\\n }\\n return self;\\n};\\n\\nfunction getThen(obj) {\\n // Make sure we only access the accessor once as required by the spec\\n var then = obj && obj.then;\\n if (obj && (typeof obj === 'object' || typeof obj === 'function') && typeof then === 'function') {\\n return function appyThen() {\\n then.apply(obj, arguments);\\n };\\n }\\n}\\n\\nfunction safelyResolveThenable(self, thenable) {\\n // Either fulfill, reject or reject with error\\n var called = false;\\n function onError(value) {\\n if (called) {\\n return;\\n }\\n called = true;\\n handlers.reject(self, value);\\n }\\n\\n function onSuccess(value) {\\n if (called) {\\n return;\\n }\\n called = true;\\n handlers.resolve(self, value);\\n }\\n\\n function tryToUnwrap() {\\n thenable(onSuccess, onError);\\n }\\n\\n var result = tryCatch(tryToUnwrap);\\n if (result.status === 'error') {\\n onError(result.value);\\n }\\n}\\n\\nfunction tryCatch(func, value) {\\n var out = {};\\n try {\\n out.value = func(value);\\n out.status = 'success';\\n } catch (e) {\\n out.status = 'error';\\n out.value = e;\\n }\\n return out;\\n}\\n\\nPromise.resolve = resolve;\\nfunction resolve(value) {\\n if (value instanceof this) {\\n return value;\\n }\\n return handlers.resolve(new this(INTERNAL), value);\\n}\\n\\nPromise.reject = reject;\\nfunction reject(reason) {\\n var promise = new this(INTERNAL);\\n return handlers.reject(promise, reason);\\n}\\n\\nPromise.all = all;\\nfunction all(iterable) {\\n var self = this;\\n if (Object.prototype.toString.call(iterable) !== '[object Array]') {\\n return this.reject(new TypeError('must be an array'));\\n }\\n\\n var len = iterable.length;\\n var called = false;\\n if (!len) {\\n return this.resolve([]);\\n }\\n\\n var values = new Array(len);\\n var resolved = 0;\\n var i = -1;\\n var promise = new this(INTERNAL);\\n\\n while (++i < len) {\\n allResolver(iterable[i], i);\\n }\\n return promise;\\n function allResolver(value, i) {\\n self.resolve(value).then(resolveFromAll, function (error) {\\n if (!called) {\\n called = true;\\n handlers.reject(promise, error);\\n }\\n });\\n function resolveFromAll(outValue) {\\n values[i] = outValue;\\n if (++resolved === len && !called) {\\n called = true;\\n handlers.resolve(promise, values);\\n }\\n }\\n }\\n}\\n\\nPromise.race = race;\\nfunction race(iterable) {\\n var self = this;\\n if (Object.prototype.toString.call(iterable) !== '[object Array]') {\\n return this.reject(new TypeError('must be an array'));\\n }\\n\\n var len = iterable.length;\\n var called = false;\\n if (!len) {\\n return this.resolve([]);\\n }\\n\\n var i = -1;\\n var promise = new this(INTERNAL);\\n\\n while (++i < len) {\\n resolver(iterable[i]);\\n }\\n return promise;\\n function resolver(value) {\\n self.resolve(value).then(function (response) {\\n if (!called) {\\n called = true;\\n handlers.resolve(promise, response);\\n }\\n }, function (error) {\\n if (!called) {\\n called = true;\\n handlers.reject(promise, error);\\n }\\n });\\n }\\n}\\n\\n},{\\\"1\\\":1}],3:[function(_dereq_,module,exports){\\n(function (global){\\n'use strict';\\nif (typeof global.Promise !== 'function') {\\n global.Promise = _dereq_(2);\\n}\\n\\n}).call(this,typeof __webpack_require__.g !== \\\"undefined\\\" ? __webpack_require__.g : typeof self !== \\\"undefined\\\" ? self : typeof window !== \\\"undefined\\\" ? window : {})\\n},{\\\"2\\\":2}],4:[function(_dereq_,module,exports){\\n'use strict';\\n\\nvar _typeof = typeof Symbol === \\\"function\\\" && typeof Symbol.iterator === \\\"symbol\\\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \\\"function\\\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \\\"symbol\\\" : typeof obj; };\\n\\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\\\"Cannot call a class as a function\\\"); } }\\n\\nfunction getIDB() {\\n /* global indexedDB,webkitIndexedDB,mozIndexedDB,OIndexedDB,msIndexedDB */\\n try {\\n if (typeof indexedDB !== 'undefined') {\\n return indexedDB;\\n }\\n if (typeof webkitIndexedDB !== 'undefined') {\\n return webkitIndexedDB;\\n }\\n if (typeof mozIndexedDB !== 'undefined') {\\n return mozIndexedDB;\\n }\\n if (typeof OIndexedDB !== 'undefined') {\\n return OIndexedDB;\\n }\\n if (typeof msIndexedDB !== 'undefined') {\\n return msIndexedDB;\\n }\\n } catch (e) {\\n return;\\n }\\n}\\n\\nvar idb = getIDB();\\n\\nfunction isIndexedDBValid() {\\n try {\\n // Initialize IndexedDB; fall back to vendor-prefixed versions\\n // if needed.\\n if (!idb || !idb.open) {\\n return false;\\n }\\n // We mimic PouchDB here;\\n //\\n // We test for openDatabase because IE Mobile identifies itself\\n // as Safari. Oh the lulz...\\n var isSafari = typeof openDatabase !== 'undefined' && /(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent) && !/BlackBerry/.test(navigator.platform);\\n\\n var hasFetch = typeof fetch === 'function' && fetch.toString().indexOf('[native code') !== -1;\\n\\n // Safari <10.1 does not meet our requirements for IDB support\\n // (see: https://github.com/pouchdb/pouchdb/issues/5572).\\n // Safari 10.1 shipped with fetch, we can use that to detect it.\\n // Note: this creates issues with `window.fetch` polyfills and\\n // overrides; see:\\n // https://github.com/localForage/localForage/issues/856\\n return (!isSafari || hasFetch) && typeof indexedDB !== 'undefined' &&\\n // some outdated implementations of IDB that appear on Samsung\\n // and HTC Android devices <4.4 are missing IDBKeyRange\\n // See: https://github.com/mozilla/localForage/issues/128\\n // See: https://github.com/mozilla/localForage/issues/272\\n typeof IDBKeyRange !== 'undefined';\\n } catch (e) {\\n return false;\\n }\\n}\\n\\n// Abstracts constructing a Blob object, so it also works in older\\n// browsers that don't support the native Blob constructor. (i.e.\\n// old QtWebKit versions, at least).\\n// Abstracts constructing a Blob object, so it also works in older\\n// browsers that don't support the native Blob constructor. (i.e.\\n// old QtWebKit versions, at least).\\nfunction createBlob(parts, properties) {\\n /* global BlobBuilder,MSBlobBuilder,MozBlobBuilder,WebKitBlobBuilder */\\n parts = parts || [];\\n properties = properties || {};\\n try {\\n return new Blob(parts, properties);\\n } catch (e) {\\n if (e.name !== 'TypeError') {\\n throw e;\\n }\\n var Builder = typeof BlobBuilder !== 'undefined' ? BlobBuilder : typeof MSBlobBuilder !== 'undefined' ? MSBlobBuilder : typeof MozBlobBuilder !== 'undefined' ? MozBlobBuilder : WebKitBlobBuilder;\\n var builder = new Builder();\\n for (var i = 0; i < parts.length; i += 1) {\\n builder.append(parts[i]);\\n }\\n return builder.getBlob(properties.type);\\n }\\n}\\n\\n// This is CommonJS because lie is an external dependency, so Rollup\\n// can just ignore it.\\nif (typeof Promise === 'undefined') {\\n // In the \\\"nopromises\\\" build this will just throw if you don't have\\n // a global promise object, but it would throw anyway later.\\n _dereq_(3);\\n}\\nvar Promise$1 = Promise;\\n\\nfunction executeCallback(promise, callback) {\\n if (callback) {\\n promise.then(function (result) {\\n callback(null, result);\\n }, function (error) {\\n callback(error);\\n });\\n }\\n}\\n\\nfunction executeTwoCallbacks(promise, callback, errorCallback) {\\n if (typeof callback === 'function') {\\n promise.then(callback);\\n }\\n\\n if (typeof errorCallback === 'function') {\\n promise[\\\"catch\\\"](errorCallback);\\n }\\n}\\n\\nfunction normalizeKey(key) {\\n // Cast the key to a string, as that's all we can set as a key.\\n if (typeof key !== 'string') {\\n console.warn(key + ' used as a key, but it is not a string.');\\n key = String(key);\\n }\\n\\n return key;\\n}\\n\\nfunction getCallback() {\\n if (arguments.length && typeof arguments[arguments.length - 1] === 'function') {\\n return arguments[arguments.length - 1];\\n }\\n}\\n\\n// Some code originally from async_storage.js in\\n// [Gaia](https://github.com/mozilla-b2g/gaia).\\n\\nvar DETECT_BLOB_SUPPORT_STORE = 'local-forage-detect-blob-support';\\nvar supportsBlobs = void 0;\\nvar dbContexts = {};\\nvar toString = Object.prototype.toString;\\n\\n// Transaction Modes\\nvar READ_ONLY = 'readonly';\\nvar READ_WRITE = 'readwrite';\\n\\n// Transform a binary string to an array buffer, because otherwise\\n// weird stuff happens when you try to work with the binary string directly.\\n// It is known.\\n// From http://stackoverflow.com/questions/14967647/ (continues on next line)\\n// encode-decode-image-with-base64-breaks-image (2013-04-21)\\nfunction _binStringToArrayBuffer(bin) {\\n var length = bin.length;\\n var buf = new ArrayBuffer(length);\\n var arr = new Uint8Array(buf);\\n for (var i = 0; i < length; i++) {\\n arr[i] = bin.charCodeAt(i);\\n }\\n return buf;\\n}\\n\\n//\\n// Blobs are not supported in all versions of IndexedDB, notably\\n// Chrome <37 and Android <5. In those versions, storing a blob will throw.\\n//\\n// Various other blob bugs exist in Chrome v37-42 (inclusive).\\n// Detecting them is expensive and confusing to users, and Chrome 37-42\\n// is at very low usage worldwide, so we do a hacky userAgent check instead.\\n//\\n// content-type bug: https://code.google.com/p/chromium/issues/detail?id=408120\\n// 404 bug: https://code.google.com/p/chromium/issues/detail?id=447916\\n// FileReader bug: https://code.google.com/p/chromium/issues/detail?id=447836\\n//\\n// Code borrowed from PouchDB. See:\\n// https://github.com/pouchdb/pouchdb/blob/master/packages/node_modules/pouchdb-adapter-idb/src/blobSupport.js\\n//\\nfunction _checkBlobSupportWithoutCaching(idb) {\\n return new Promise$1(function (resolve) {\\n var txn = idb.transaction(DETECT_BLOB_SUPPORT_STORE, READ_WRITE);\\n var blob = createBlob(['']);\\n txn.objectStore(DETECT_BLOB_SUPPORT_STORE).put(blob, 'key');\\n\\n txn.onabort = function (e) {\\n // If the transaction aborts now its due to not being able to\\n // write to the database, likely due to the disk being full\\n e.preventDefault();\\n e.stopPropagation();\\n resolve(false);\\n };\\n\\n txn.oncomplete = function () {\\n var matchedChrome = navigator.userAgent.match(/Chrome\\\\/(\\\\d+)/);\\n var matchedEdge = navigator.userAgent.match(/Edge\\\\//);\\n // MS Edge pretends to be Chrome 42:\\n // https://msdn.microsoft.com/en-us/library/hh869301%28v=vs.85%29.aspx\\n resolve(matchedEdge || !matchedChrome || parseInt(matchedChrome[1], 10) >= 43);\\n };\\n })[\\\"catch\\\"](function () {\\n return false; // error, so assume unsupported\\n });\\n}\\n\\nfunction _checkBlobSupport(idb) {\\n if (typeof supportsBlobs === 'boolean') {\\n return Promise$1.resolve(supportsBlobs);\\n }\\n return _checkBlobSupportWithoutCaching(idb).then(function (value) {\\n supportsBlobs = value;\\n return supportsBlobs;\\n });\\n}\\n\\nfunction _deferReadiness(dbInfo) {\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // Create a deferred object representing the current database operation.\\n var deferredOperation = {};\\n\\n deferredOperation.promise = new Promise$1(function (resolve, reject) {\\n deferredOperation.resolve = resolve;\\n deferredOperation.reject = reject;\\n });\\n\\n // Enqueue the deferred operation.\\n dbContext.deferredOperations.push(deferredOperation);\\n\\n // Chain its promise to the database readiness.\\n if (!dbContext.dbReady) {\\n dbContext.dbReady = deferredOperation.promise;\\n } else {\\n dbContext.dbReady = dbContext.dbReady.then(function () {\\n return deferredOperation.promise;\\n });\\n }\\n}\\n\\nfunction _advanceReadiness(dbInfo) {\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // Dequeue a deferred operation.\\n var deferredOperation = dbContext.deferredOperations.pop();\\n\\n // Resolve its promise (which is part of the database readiness\\n // chain of promises).\\n if (deferredOperation) {\\n deferredOperation.resolve();\\n return deferredOperation.promise;\\n }\\n}\\n\\nfunction _rejectReadiness(dbInfo, err) {\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // Dequeue a deferred operation.\\n var deferredOperation = dbContext.deferredOperations.pop();\\n\\n // Reject its promise (which is part of the database readiness\\n // chain of promises).\\n if (deferredOperation) {\\n deferredOperation.reject(err);\\n return deferredOperation.promise;\\n }\\n}\\n\\nfunction _getConnection(dbInfo, upgradeNeeded) {\\n return new Promise$1(function (resolve, reject) {\\n dbContexts[dbInfo.name] = dbContexts[dbInfo.name] || createDbContext();\\n\\n if (dbInfo.db) {\\n if (upgradeNeeded) {\\n _deferReadiness(dbInfo);\\n dbInfo.db.close();\\n } else {\\n return resolve(dbInfo.db);\\n }\\n }\\n\\n var dbArgs = [dbInfo.name];\\n\\n if (upgradeNeeded) {\\n dbArgs.push(dbInfo.version);\\n }\\n\\n var openreq = idb.open.apply(idb, dbArgs);\\n\\n if (upgradeNeeded) {\\n openreq.onupgradeneeded = function (e) {\\n var db = openreq.result;\\n try {\\n db.createObjectStore(dbInfo.storeName);\\n if (e.oldVersion <= 1) {\\n // Added when support for blob shims was added\\n db.createObjectStore(DETECT_BLOB_SUPPORT_STORE);\\n }\\n } catch (ex) {\\n if (ex.name === 'ConstraintError') {\\n console.warn('The database \\\"' + dbInfo.name + '\\\"' + ' has been upgraded from version ' + e.oldVersion + ' to version ' + e.newVersion + ', but the storage \\\"' + dbInfo.storeName + '\\\" already exists.');\\n } else {\\n throw ex;\\n }\\n }\\n };\\n }\\n\\n openreq.onerror = function (e) {\\n e.preventDefault();\\n reject(openreq.error);\\n };\\n\\n openreq.onsuccess = function () {\\n var db = openreq.result;\\n db.onversionchange = function (e) {\\n // Triggered when the database is modified (e.g. adding an objectStore) or\\n // deleted (even when initiated by other sessions in different tabs).\\n // Closing the connection here prevents those operations from being blocked.\\n // If the database is accessed again later by this instance, the connection\\n // will be reopened or the database recreated as needed.\\n e.target.close();\\n };\\n resolve(db);\\n _advanceReadiness(dbInfo);\\n };\\n });\\n}\\n\\nfunction _getOriginalConnection(dbInfo) {\\n return _getConnection(dbInfo, false);\\n}\\n\\nfunction _getUpgradedConnection(dbInfo) {\\n return _getConnection(dbInfo, true);\\n}\\n\\nfunction _isUpgradeNeeded(dbInfo, defaultVersion) {\\n if (!dbInfo.db) {\\n return true;\\n }\\n\\n var isNewStore = !dbInfo.db.objectStoreNames.contains(dbInfo.storeName);\\n var isDowngrade = dbInfo.version < dbInfo.db.version;\\n var isUpgrade = dbInfo.version > dbInfo.db.version;\\n\\n if (isDowngrade) {\\n // If the version is not the default one\\n // then warn for impossible downgrade.\\n if (dbInfo.version !== defaultVersion) {\\n console.warn('The database \\\"' + dbInfo.name + '\\\"' + \\\" can't be downgraded from version \\\" + dbInfo.db.version + ' to version ' + dbInfo.version + '.');\\n }\\n // Align the versions to prevent errors.\\n dbInfo.version = dbInfo.db.version;\\n }\\n\\n if (isUpgrade || isNewStore) {\\n // If the store is new then increment the version (if needed).\\n // This will trigger an \\\"upgradeneeded\\\" event which is required\\n // for creating a store.\\n if (isNewStore) {\\n var incVersion = dbInfo.db.version + 1;\\n if (incVersion > dbInfo.version) {\\n dbInfo.version = incVersion;\\n }\\n }\\n\\n return true;\\n }\\n\\n return false;\\n}\\n\\n// encode a blob for indexeddb engines that don't support blobs\\nfunction _encodeBlob(blob) {\\n return new Promise$1(function (resolve, reject) {\\n var reader = new FileReader();\\n reader.onerror = reject;\\n reader.onloadend = function (e) {\\n var base64 = btoa(e.target.result || '');\\n resolve({\\n __local_forage_encoded_blob: true,\\n data: base64,\\n type: blob.type\\n });\\n };\\n reader.readAsBinaryString(blob);\\n });\\n}\\n\\n// decode an encoded blob\\nfunction _decodeBlob(encodedBlob) {\\n var arrayBuff = _binStringToArrayBuffer(atob(encodedBlob.data));\\n return createBlob([arrayBuff], { type: encodedBlob.type });\\n}\\n\\n// is this one of our fancy encoded blobs?\\nfunction _isEncodedBlob(value) {\\n return value && value.__local_forage_encoded_blob;\\n}\\n\\n// Specialize the default `ready()` function by making it dependent\\n// on the current database operations. Thus, the driver will be actually\\n// ready when it's been initialized (default) *and* there are no pending\\n// operations on the database (initiated by some other instances).\\nfunction _fullyReady(callback) {\\n var self = this;\\n\\n var promise = self._initReady().then(function () {\\n var dbContext = dbContexts[self._dbInfo.name];\\n\\n if (dbContext && dbContext.dbReady) {\\n return dbContext.dbReady;\\n }\\n });\\n\\n executeTwoCallbacks(promise, callback, callback);\\n return promise;\\n}\\n\\n// Try to establish a new db connection to replace the\\n// current one which is broken (i.e. experiencing\\n// InvalidStateError while creating a transaction).\\nfunction _tryReconnect(dbInfo) {\\n _deferReadiness(dbInfo);\\n\\n var dbContext = dbContexts[dbInfo.name];\\n var forages = dbContext.forages;\\n\\n for (var i = 0; i < forages.length; i++) {\\n var forage = forages[i];\\n if (forage._dbInfo.db) {\\n forage._dbInfo.db.close();\\n forage._dbInfo.db = null;\\n }\\n }\\n dbInfo.db = null;\\n\\n return _getOriginalConnection(dbInfo).then(function (db) {\\n dbInfo.db = db;\\n if (_isUpgradeNeeded(dbInfo)) {\\n // Reopen the database for upgrading.\\n return _getUpgradedConnection(dbInfo);\\n }\\n return db;\\n }).then(function (db) {\\n // store the latest db reference\\n // in case the db was upgraded\\n dbInfo.db = dbContext.db = db;\\n for (var i = 0; i < forages.length; i++) {\\n forages[i]._dbInfo.db = db;\\n }\\n })[\\\"catch\\\"](function (err) {\\n _rejectReadiness(dbInfo, err);\\n throw err;\\n });\\n}\\n\\n// FF doesn't like Promises (micro-tasks) and IDDB store operations,\\n// so we have to do it with callbacks\\nfunction createTransaction(dbInfo, mode, callback, retries) {\\n if (retries === undefined) {\\n retries = 1;\\n }\\n\\n try {\\n var tx = dbInfo.db.transaction(dbInfo.storeName, mode);\\n callback(null, tx);\\n } catch (err) {\\n if (retries > 0 && (!dbInfo.db || err.name === 'InvalidStateError' || err.name === 'NotFoundError')) {\\n return Promise$1.resolve().then(function () {\\n if (!dbInfo.db || err.name === 'NotFoundError' && !dbInfo.db.objectStoreNames.contains(dbInfo.storeName) && dbInfo.version <= dbInfo.db.version) {\\n // increase the db version, to create the new ObjectStore\\n if (dbInfo.db) {\\n dbInfo.version = dbInfo.db.version + 1;\\n }\\n // Reopen the database for upgrading.\\n return _getUpgradedConnection(dbInfo);\\n }\\n }).then(function () {\\n return _tryReconnect(dbInfo).then(function () {\\n createTransaction(dbInfo, mode, callback, retries - 1);\\n });\\n })[\\\"catch\\\"](callback);\\n }\\n\\n callback(err);\\n }\\n}\\n\\nfunction createDbContext() {\\n return {\\n // Running localForages sharing a database.\\n forages: [],\\n // Shared database.\\n db: null,\\n // Database readiness (promise).\\n dbReady: null,\\n // Deferred operations on the database.\\n deferredOperations: []\\n };\\n}\\n\\n// Open the IndexedDB database (automatically creates one if one didn't\\n// previously exist), using any options set in the config.\\nfunction _initStorage(options) {\\n var self = this;\\n var dbInfo = {\\n db: null\\n };\\n\\n if (options) {\\n for (var i in options) {\\n dbInfo[i] = options[i];\\n }\\n }\\n\\n // Get the current context of the database;\\n var dbContext = dbContexts[dbInfo.name];\\n\\n // ...or create a new context.\\n if (!dbContext) {\\n dbContext = createDbContext();\\n // Register the new context in the global container.\\n dbContexts[dbInfo.name] = dbContext;\\n }\\n\\n // Register itself as a running localForage in the current context.\\n dbContext.forages.push(self);\\n\\n // Replace the default `ready()` function with the specialized one.\\n if (!self._initReady) {\\n self._initReady = self.ready;\\n self.ready = _fullyReady;\\n }\\n\\n // Create an array of initialization states of the related localForages.\\n var initPromises = [];\\n\\n function ignoreErrors() {\\n // Don't handle errors here,\\n // just makes sure related localForages aren't pending.\\n return Promise$1.resolve();\\n }\\n\\n for (var j = 0; j < dbContext.forages.length; j++) {\\n var forage = dbContext.forages[j];\\n if (forage !== self) {\\n // Don't wait for itself...\\n initPromises.push(forage._initReady()[\\\"catch\\\"](ignoreErrors));\\n }\\n }\\n\\n // Take a snapshot of the related localForages.\\n var forages = dbContext.forages.slice(0);\\n\\n // Initialize the connection process only when\\n // all the related localForages aren't pending.\\n return Promise$1.all(initPromises).then(function () {\\n dbInfo.db = dbContext.db;\\n // Get the connection or open a new one without upgrade.\\n return _getOriginalConnection(dbInfo);\\n }).then(function (db) {\\n dbInfo.db = db;\\n if (_isUpgradeNeeded(dbInfo, self._defaultConfig.version)) {\\n // Reopen the database for upgrading.\\n return _getUpgradedConnection(dbInfo);\\n }\\n return db;\\n }).then(function (db) {\\n dbInfo.db = dbContext.db = db;\\n self._dbInfo = dbInfo;\\n // Share the final connection amongst related localForages.\\n for (var k = 0; k < forages.length; k++) {\\n var forage = forages[k];\\n if (forage !== self) {\\n // Self is already up-to-date.\\n forage._dbInfo.db = dbInfo.db;\\n forage._dbInfo.version = dbInfo.version;\\n }\\n }\\n });\\n}\\n\\nfunction getItem(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.get(key);\\n\\n req.onsuccess = function () {\\n var value = req.result;\\n if (value === undefined) {\\n value = null;\\n }\\n if (_isEncodedBlob(value)) {\\n value = _decodeBlob(value);\\n }\\n resolve(value);\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Iterate over all items stored in database.\\nfunction iterate(iterator, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.openCursor();\\n var iterationNumber = 1;\\n\\n req.onsuccess = function () {\\n var cursor = req.result;\\n\\n if (cursor) {\\n var value = cursor.value;\\n if (_isEncodedBlob(value)) {\\n value = _decodeBlob(value);\\n }\\n var result = iterator(value, cursor.key, iterationNumber++);\\n\\n // when the iterator callback returns any\\n // (non-`undefined`) value, then we stop\\n // the iteration immediately\\n if (result !== void 0) {\\n resolve(result);\\n } else {\\n cursor[\\\"continue\\\"]();\\n }\\n } else {\\n resolve();\\n }\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n\\n return promise;\\n}\\n\\nfunction setItem(key, value, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n var dbInfo;\\n self.ready().then(function () {\\n dbInfo = self._dbInfo;\\n if (toString.call(value) === '[object Blob]') {\\n return _checkBlobSupport(dbInfo.db).then(function (blobSupport) {\\n if (blobSupport) {\\n return value;\\n }\\n return _encodeBlob(value);\\n });\\n }\\n return value;\\n }).then(function (value) {\\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n\\n // The reason we don't _save_ null is because IE 10 does\\n // not support saving the `null` type in IndexedDB. How\\n // ironic, given the bug below!\\n // See: https://github.com/mozilla/localForage/issues/161\\n if (value === null) {\\n value = undefined;\\n }\\n\\n var req = store.put(value, key);\\n\\n transaction.oncomplete = function () {\\n // Cast to undefined so the value passed to\\n // callback/promise is the same as what one would get out\\n // of `getItem()` later. This leads to some weirdness\\n // (setItem('foo', undefined) will return `null`), but\\n // it's not my fault localStorage is our baseline and that\\n // it's weird.\\n if (value === undefined) {\\n value = null;\\n }\\n\\n resolve(value);\\n };\\n transaction.onabort = transaction.onerror = function () {\\n var err = req.error ? req.error : req.transaction.error;\\n reject(err);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction removeItem(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n // We use a Grunt task to make this safe for IE and some\\n // versions of Android (including those used by Cordova).\\n // Normally IE won't like `.delete()` and will insist on\\n // using `['delete']()`, but we have a build step that\\n // fixes this for us now.\\n var req = store[\\\"delete\\\"](key);\\n transaction.oncomplete = function () {\\n resolve();\\n };\\n\\n transaction.onerror = function () {\\n reject(req.error);\\n };\\n\\n // The request will be also be aborted if we've exceeded our storage\\n // space.\\n transaction.onabort = function () {\\n var err = req.error ? req.error : req.transaction.error;\\n reject(err);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction clear(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_WRITE, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.clear();\\n\\n transaction.oncomplete = function () {\\n resolve();\\n };\\n\\n transaction.onabort = transaction.onerror = function () {\\n var err = req.error ? req.error : req.transaction.error;\\n reject(err);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction length(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.count();\\n\\n req.onsuccess = function () {\\n resolve(req.result);\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction key(n, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n if (n < 0) {\\n resolve(null);\\n\\n return;\\n }\\n\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var advanced = false;\\n var req = store.openKeyCursor();\\n\\n req.onsuccess = function () {\\n var cursor = req.result;\\n if (!cursor) {\\n // this means there weren't enough keys\\n resolve(null);\\n\\n return;\\n }\\n\\n if (n === 0) {\\n // We have the first key, return it if that's what they\\n // wanted.\\n resolve(cursor.key);\\n } else {\\n if (!advanced) {\\n // Otherwise, ask the cursor to skip ahead n\\n // records.\\n advanced = true;\\n cursor.advance(n);\\n } else {\\n // When we get here, we've got the nth key.\\n resolve(cursor.key);\\n }\\n }\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction keys(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n createTransaction(self._dbInfo, READ_ONLY, function (err, transaction) {\\n if (err) {\\n return reject(err);\\n }\\n\\n try {\\n var store = transaction.objectStore(self._dbInfo.storeName);\\n var req = store.openKeyCursor();\\n var keys = [];\\n\\n req.onsuccess = function () {\\n var cursor = req.result;\\n\\n if (!cursor) {\\n resolve(keys);\\n return;\\n }\\n\\n keys.push(cursor.key);\\n cursor[\\\"continue\\\"]();\\n };\\n\\n req.onerror = function () {\\n reject(req.error);\\n };\\n } catch (e) {\\n reject(e);\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction dropInstance(options, callback) {\\n callback = getCallback.apply(this, arguments);\\n\\n var currentConfig = this.config();\\n options = typeof options !== 'function' && options || {};\\n if (!options.name) {\\n options.name = options.name || currentConfig.name;\\n options.storeName = options.storeName || currentConfig.storeName;\\n }\\n\\n var self = this;\\n var promise;\\n if (!options.name) {\\n promise = Promise$1.reject('Invalid arguments');\\n } else {\\n var isCurrentDb = options.name === currentConfig.name && self._dbInfo.db;\\n\\n var dbPromise = isCurrentDb ? Promise$1.resolve(self._dbInfo.db) : _getOriginalConnection(options).then(function (db) {\\n var dbContext = dbContexts[options.name];\\n var forages = dbContext.forages;\\n dbContext.db = db;\\n for (var i = 0; i < forages.length; i++) {\\n forages[i]._dbInfo.db = db;\\n }\\n return db;\\n });\\n\\n if (!options.storeName) {\\n promise = dbPromise.then(function (db) {\\n _deferReadiness(options);\\n\\n var dbContext = dbContexts[options.name];\\n var forages = dbContext.forages;\\n\\n db.close();\\n for (var i = 0; i < forages.length; i++) {\\n var forage = forages[i];\\n forage._dbInfo.db = null;\\n }\\n\\n var dropDBPromise = new Promise$1(function (resolve, reject) {\\n var req = idb.deleteDatabase(options.name);\\n\\n req.onerror = function () {\\n var db = req.result;\\n if (db) {\\n db.close();\\n }\\n reject(req.error);\\n };\\n\\n req.onblocked = function () {\\n // Closing all open connections in onversionchange handler should prevent this situation, but if\\n // we do get here, it just means the request remains pending - eventually it will succeed or error\\n console.warn('dropInstance blocked for database \\\"' + options.name + '\\\" until all open connections are closed');\\n };\\n\\n req.onsuccess = function () {\\n var db = req.result;\\n if (db) {\\n db.close();\\n }\\n resolve(db);\\n };\\n });\\n\\n return dropDBPromise.then(function (db) {\\n dbContext.db = db;\\n for (var i = 0; i < forages.length; i++) {\\n var _forage = forages[i];\\n _advanceReadiness(_forage._dbInfo);\\n }\\n })[\\\"catch\\\"](function (err) {\\n (_rejectReadiness(options, err) || Promise$1.resolve())[\\\"catch\\\"](function () {});\\n throw err;\\n });\\n });\\n } else {\\n promise = dbPromise.then(function (db) {\\n if (!db.objectStoreNames.contains(options.storeName)) {\\n return;\\n }\\n\\n var newVersion = db.version + 1;\\n\\n _deferReadiness(options);\\n\\n var dbContext = dbContexts[options.name];\\n var forages = dbContext.forages;\\n\\n db.close();\\n for (var i = 0; i < forages.length; i++) {\\n var forage = forages[i];\\n forage._dbInfo.db = null;\\n forage._dbInfo.version = newVersion;\\n }\\n\\n var dropObjectPromise = new Promise$1(function (resolve, reject) {\\n var req = idb.open(options.name, newVersion);\\n\\n req.onerror = function (err) {\\n var db = req.result;\\n db.close();\\n reject(err);\\n };\\n\\n req.onupgradeneeded = function () {\\n var db = req.result;\\n db.deleteObjectStore(options.storeName);\\n };\\n\\n req.onsuccess = function () {\\n var db = req.result;\\n db.close();\\n resolve(db);\\n };\\n });\\n\\n return dropObjectPromise.then(function (db) {\\n dbContext.db = db;\\n for (var j = 0; j < forages.length; j++) {\\n var _forage2 = forages[j];\\n _forage2._dbInfo.db = db;\\n _advanceReadiness(_forage2._dbInfo);\\n }\\n })[\\\"catch\\\"](function (err) {\\n (_rejectReadiness(options, err) || Promise$1.resolve())[\\\"catch\\\"](function () {});\\n throw err;\\n });\\n });\\n }\\n }\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nvar asyncStorage = {\\n _driver: 'asyncStorage',\\n _initStorage: _initStorage,\\n _support: isIndexedDBValid(),\\n iterate: iterate,\\n getItem: getItem,\\n setItem: setItem,\\n removeItem: removeItem,\\n clear: clear,\\n length: length,\\n key: key,\\n keys: keys,\\n dropInstance: dropInstance\\n};\\n\\nfunction isWebSQLValid() {\\n return typeof openDatabase === 'function';\\n}\\n\\n// Sadly, the best way to save binary data in WebSQL/localStorage is serializing\\n// it to Base64, so this is how we store it to prevent very strange errors with less\\n// verbose ways of binary <-> string data storage.\\nvar BASE_CHARS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\\n\\nvar BLOB_TYPE_PREFIX = '~~local_forage_type~';\\nvar BLOB_TYPE_PREFIX_REGEX = /^~~local_forage_type~([^~]+)~/;\\n\\nvar SERIALIZED_MARKER = '__lfsc__:';\\nvar SERIALIZED_MARKER_LENGTH = SERIALIZED_MARKER.length;\\n\\n// OMG the serializations!\\nvar TYPE_ARRAYBUFFER = 'arbf';\\nvar TYPE_BLOB = 'blob';\\nvar TYPE_INT8ARRAY = 'si08';\\nvar TYPE_UINT8ARRAY = 'ui08';\\nvar TYPE_UINT8CLAMPEDARRAY = 'uic8';\\nvar TYPE_INT16ARRAY = 'si16';\\nvar TYPE_INT32ARRAY = 'si32';\\nvar TYPE_UINT16ARRAY = 'ur16';\\nvar TYPE_UINT32ARRAY = 'ui32';\\nvar TYPE_FLOAT32ARRAY = 'fl32';\\nvar TYPE_FLOAT64ARRAY = 'fl64';\\nvar TYPE_SERIALIZED_MARKER_LENGTH = SERIALIZED_MARKER_LENGTH + TYPE_ARRAYBUFFER.length;\\n\\nvar toString$1 = Object.prototype.toString;\\n\\nfunction stringToBuffer(serializedString) {\\n // Fill the string into a ArrayBuffer.\\n var bufferLength = serializedString.length * 0.75;\\n var len = serializedString.length;\\n var i;\\n var p = 0;\\n var encoded1, encoded2, encoded3, encoded4;\\n\\n if (serializedString[serializedString.length - 1] === '=') {\\n bufferLength--;\\n if (serializedString[serializedString.length - 2] === '=') {\\n bufferLength--;\\n }\\n }\\n\\n var buffer = new ArrayBuffer(bufferLength);\\n var bytes = new Uint8Array(buffer);\\n\\n for (i = 0; i < len; i += 4) {\\n encoded1 = BASE_CHARS.indexOf(serializedString[i]);\\n encoded2 = BASE_CHARS.indexOf(serializedString[i + 1]);\\n encoded3 = BASE_CHARS.indexOf(serializedString[i + 2]);\\n encoded4 = BASE_CHARS.indexOf(serializedString[i + 3]);\\n\\n /*jslint bitwise: true */\\n bytes[p++] = encoded1 << 2 | encoded2 >> 4;\\n bytes[p++] = (encoded2 & 15) << 4 | encoded3 >> 2;\\n bytes[p++] = (encoded3 & 3) << 6 | encoded4 & 63;\\n }\\n return buffer;\\n}\\n\\n// Converts a buffer to a string to store, serialized, in the backend\\n// storage library.\\nfunction bufferToString(buffer) {\\n // base64-arraybuffer\\n var bytes = new Uint8Array(buffer);\\n var base64String = '';\\n var i;\\n\\n for (i = 0; i < bytes.length; i += 3) {\\n /*jslint bitwise: true */\\n base64String += BASE_CHARS[bytes[i] >> 2];\\n base64String += BASE_CHARS[(bytes[i] & 3) << 4 | bytes[i + 1] >> 4];\\n base64String += BASE_CHARS[(bytes[i + 1] & 15) << 2 | bytes[i + 2] >> 6];\\n base64String += BASE_CHARS[bytes[i + 2] & 63];\\n }\\n\\n if (bytes.length % 3 === 2) {\\n base64String = base64String.substring(0, base64String.length - 1) + '=';\\n } else if (bytes.length % 3 === 1) {\\n base64String = base64String.substring(0, base64String.length - 2) + '==';\\n }\\n\\n return base64String;\\n}\\n\\n// Serialize a value, afterwards executing a callback (which usually\\n// instructs the `setItem()` callback/promise to be executed). This is how\\n// we store binary data with localStorage.\\nfunction serialize(value, callback) {\\n var valueType = '';\\n if (value) {\\n valueType = toString$1.call(value);\\n }\\n\\n // Cannot use `value instanceof ArrayBuffer` or such here, as these\\n // checks fail when running the tests using casper.js...\\n //\\n // TODO: See why those tests fail and use a better solution.\\n if (value && (valueType === '[object ArrayBuffer]' || value.buffer && toString$1.call(value.buffer) === '[object ArrayBuffer]')) {\\n // Convert binary arrays to a string and prefix the string with\\n // a special marker.\\n var buffer;\\n var marker = SERIALIZED_MARKER;\\n\\n if (value instanceof ArrayBuffer) {\\n buffer = value;\\n marker += TYPE_ARRAYBUFFER;\\n } else {\\n buffer = value.buffer;\\n\\n if (valueType === '[object Int8Array]') {\\n marker += TYPE_INT8ARRAY;\\n } else if (valueType === '[object Uint8Array]') {\\n marker += TYPE_UINT8ARRAY;\\n } else if (valueType === '[object Uint8ClampedArray]') {\\n marker += TYPE_UINT8CLAMPEDARRAY;\\n } else if (valueType === '[object Int16Array]') {\\n marker += TYPE_INT16ARRAY;\\n } else if (valueType === '[object Uint16Array]') {\\n marker += TYPE_UINT16ARRAY;\\n } else if (valueType === '[object Int32Array]') {\\n marker += TYPE_INT32ARRAY;\\n } else if (valueType === '[object Uint32Array]') {\\n marker += TYPE_UINT32ARRAY;\\n } else if (valueType === '[object Float32Array]') {\\n marker += TYPE_FLOAT32ARRAY;\\n } else if (valueType === '[object Float64Array]') {\\n marker += TYPE_FLOAT64ARRAY;\\n } else {\\n callback(new Error('Failed to get type for BinaryArray'));\\n }\\n }\\n\\n callback(marker + bufferToString(buffer));\\n } else if (valueType === '[object Blob]') {\\n // Conver the blob to a binaryArray and then to a string.\\n var fileReader = new FileReader();\\n\\n fileReader.onload = function () {\\n // Backwards-compatible prefix for the blob type.\\n var str = BLOB_TYPE_PREFIX + value.type + '~' + bufferToString(this.result);\\n\\n callback(SERIALIZED_MARKER + TYPE_BLOB + str);\\n };\\n\\n fileReader.readAsArrayBuffer(value);\\n } else {\\n try {\\n callback(JSON.stringify(value));\\n } catch (e) {\\n console.error(\\\"Couldn't convert value into a JSON string: \\\", value);\\n\\n callback(null, e);\\n }\\n }\\n}\\n\\n// Deserialize data we've inserted into a value column/field. We place\\n// special markers into our strings to mark them as encoded; this isn't\\n// as nice as a meta field, but it's the only sane thing we can do whilst\\n// keeping localStorage support intact.\\n//\\n// Oftentimes this will just deserialize JSON content, but if we have a\\n// special marker (SERIALIZED_MARKER, defined above), we will extract\\n// some kind of arraybuffer/binary data/typed array out of the string.\\nfunction deserialize(value) {\\n // If we haven't marked this string as being specially serialized (i.e.\\n // something other than serialized JSON), we can just return it and be\\n // done with it.\\n if (value.substring(0, SERIALIZED_MARKER_LENGTH) !== SERIALIZED_MARKER) {\\n return JSON.parse(value);\\n }\\n\\n // The following code deals with deserializing some kind of Blob or\\n // TypedArray. First we separate out the type of data we're dealing\\n // with from the data itself.\\n var serializedString = value.substring(TYPE_SERIALIZED_MARKER_LENGTH);\\n var type = value.substring(SERIALIZED_MARKER_LENGTH, TYPE_SERIALIZED_MARKER_LENGTH);\\n\\n var blobType;\\n // Backwards-compatible blob type serialization strategy.\\n // DBs created with older versions of localForage will simply not have the blob type.\\n if (type === TYPE_BLOB && BLOB_TYPE_PREFIX_REGEX.test(serializedString)) {\\n var matcher = serializedString.match(BLOB_TYPE_PREFIX_REGEX);\\n blobType = matcher[1];\\n serializedString = serializedString.substring(matcher[0].length);\\n }\\n var buffer = stringToBuffer(serializedString);\\n\\n // Return the right type based on the code/type set during\\n // serialization.\\n switch (type) {\\n case TYPE_ARRAYBUFFER:\\n return buffer;\\n case TYPE_BLOB:\\n return createBlob([buffer], { type: blobType });\\n case TYPE_INT8ARRAY:\\n return new Int8Array(buffer);\\n case TYPE_UINT8ARRAY:\\n return new Uint8Array(buffer);\\n case TYPE_UINT8CLAMPEDARRAY:\\n return new Uint8ClampedArray(buffer);\\n case TYPE_INT16ARRAY:\\n return new Int16Array(buffer);\\n case TYPE_UINT16ARRAY:\\n return new Uint16Array(buffer);\\n case TYPE_INT32ARRAY:\\n return new Int32Array(buffer);\\n case TYPE_UINT32ARRAY:\\n return new Uint32Array(buffer);\\n case TYPE_FLOAT32ARRAY:\\n return new Float32Array(buffer);\\n case TYPE_FLOAT64ARRAY:\\n return new Float64Array(buffer);\\n default:\\n throw new Error('Unkown type: ' + type);\\n }\\n}\\n\\nvar localforageSerializer = {\\n serialize: serialize,\\n deserialize: deserialize,\\n stringToBuffer: stringToBuffer,\\n bufferToString: bufferToString\\n};\\n\\n/*\\n * Includes code from:\\n *\\n * base64-arraybuffer\\n * https://github.com/niklasvh/base64-arraybuffer\\n *\\n * Copyright (c) 2012 Niklas von Hertzen\\n * Licensed under the MIT license.\\n */\\n\\nfunction createDbTable(t, dbInfo, callback, errorCallback) {\\n t.executeSql('CREATE TABLE IF NOT EXISTS ' + dbInfo.storeName + ' ' + '(id INTEGER PRIMARY KEY, key unique, value)', [], callback, errorCallback);\\n}\\n\\n// Open the WebSQL database (automatically creates one if one didn't\\n// previously exist), using any options set in the config.\\nfunction _initStorage$1(options) {\\n var self = this;\\n var dbInfo = {\\n db: null\\n };\\n\\n if (options) {\\n for (var i in options) {\\n dbInfo[i] = typeof options[i] !== 'string' ? options[i].toString() : options[i];\\n }\\n }\\n\\n var dbInfoPromise = new Promise$1(function (resolve, reject) {\\n // Open the database; the openDatabase API will automatically\\n // create it for us if it doesn't exist.\\n try {\\n dbInfo.db = openDatabase(dbInfo.name, String(dbInfo.version), dbInfo.description, dbInfo.size);\\n } catch (e) {\\n return reject(e);\\n }\\n\\n // Create our key/value table if it doesn't exist.\\n dbInfo.db.transaction(function (t) {\\n createDbTable(t, dbInfo, function () {\\n self._dbInfo = dbInfo;\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n }, reject);\\n });\\n\\n dbInfo.serializer = localforageSerializer;\\n return dbInfoPromise;\\n}\\n\\nfunction tryExecuteSql(t, dbInfo, sqlStatement, args, callback, errorCallback) {\\n t.executeSql(sqlStatement, args, callback, function (t, error) {\\n if (error.code === error.SYNTAX_ERR) {\\n t.executeSql('SELECT name FROM sqlite_master ' + \\\"WHERE type='table' AND name = ?\\\", [dbInfo.storeName], function (t, results) {\\n if (!results.rows.length) {\\n // if the table is missing (was deleted)\\n // re-create it table and retry\\n createDbTable(t, dbInfo, function () {\\n t.executeSql(sqlStatement, args, callback, errorCallback);\\n }, errorCallback);\\n } else {\\n errorCallback(t, error);\\n }\\n }, errorCallback);\\n } else {\\n errorCallback(t, error);\\n }\\n }, errorCallback);\\n}\\n\\nfunction getItem$1(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT * FROM ' + dbInfo.storeName + ' WHERE key = ? LIMIT 1', [key], function (t, results) {\\n var result = results.rows.length ? results.rows.item(0).value : null;\\n\\n // Check to see if this is serialized content we need to\\n // unpack.\\n if (result) {\\n result = dbInfo.serializer.deserialize(result);\\n }\\n\\n resolve(result);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction iterate$1(iterator, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT * FROM ' + dbInfo.storeName, [], function (t, results) {\\n var rows = results.rows;\\n var length = rows.length;\\n\\n for (var i = 0; i < length; i++) {\\n var item = rows.item(i);\\n var result = item.value;\\n\\n // Check to see if this is serialized content\\n // we need to unpack.\\n if (result) {\\n result = dbInfo.serializer.deserialize(result);\\n }\\n\\n result = iterator(result, item.key, i + 1);\\n\\n // void(0) prevents problems with redefinition\\n // of `undefined`.\\n if (result !== void 0) {\\n resolve(result);\\n return;\\n }\\n }\\n\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction _setItem(key, value, callback, retriesLeft) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n // The localStorage API doesn't return undefined values in an\\n // \\\"expected\\\" way, so undefined is always cast to null in all\\n // drivers. See: https://github.com/mozilla/localForage/pull/42\\n if (value === undefined) {\\n value = null;\\n }\\n\\n // Save the original value to pass to the callback.\\n var originalValue = value;\\n\\n var dbInfo = self._dbInfo;\\n dbInfo.serializer.serialize(value, function (value, error) {\\n if (error) {\\n reject(error);\\n } else {\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'INSERT OR REPLACE INTO ' + dbInfo.storeName + ' ' + '(key, value) VALUES (?, ?)', [key, value], function () {\\n resolve(originalValue);\\n }, function (t, error) {\\n reject(error);\\n });\\n }, function (sqlError) {\\n // The transaction failed; check\\n // to see if it's a quota error.\\n if (sqlError.code === sqlError.QUOTA_ERR) {\\n // We reject the callback outright for now, but\\n // it's worth trying to re-run the transaction.\\n // Even if the user accepts the prompt to use\\n // more storage on Safari, this error will\\n // be called.\\n //\\n // Try to re-run the transaction.\\n if (retriesLeft > 0) {\\n resolve(_setItem.apply(self, [key, originalValue, callback, retriesLeft - 1]));\\n return;\\n }\\n reject(sqlError);\\n }\\n });\\n }\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction setItem$1(key, value, callback) {\\n return _setItem.apply(this, [key, value, callback, 1]);\\n}\\n\\nfunction removeItem$1(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'DELETE FROM ' + dbInfo.storeName + ' WHERE key = ?', [key], function () {\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Deletes every item in the table.\\n// TODO: Find out if this resets the AUTO_INCREMENT number.\\nfunction clear$1(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'DELETE FROM ' + dbInfo.storeName, [], function () {\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Does a simple `COUNT(key)` to get the number of items stored in\\n// localForage.\\nfunction length$1(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n // Ahhh, SQL makes this one soooooo easy.\\n tryExecuteSql(t, dbInfo, 'SELECT COUNT(key) as c FROM ' + dbInfo.storeName, [], function (t, results) {\\n var result = results.rows.item(0).c;\\n resolve(result);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Return the key located at key index X; essentially gets the key from a\\n// `WHERE id = ?`. This is the most efficient way I can think to implement\\n// this rarely-used (in my experience) part of the API, but it can seem\\n// inconsistent, because we do `INSERT OR REPLACE INTO` on `setItem()`, so\\n// the ID of each key will change every time it's updated. Perhaps a stored\\n// procedure for the `setItem()` SQL would solve this problem?\\n// TODO: Don't change ID on `setItem()`.\\nfunction key$1(n, callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT key FROM ' + dbInfo.storeName + ' WHERE id = ? LIMIT 1', [n + 1], function (t, results) {\\n var result = results.rows.length ? results.rows.item(0).key : null;\\n resolve(result);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction keys$1(callback) {\\n var self = this;\\n\\n var promise = new Promise$1(function (resolve, reject) {\\n self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n dbInfo.db.transaction(function (t) {\\n tryExecuteSql(t, dbInfo, 'SELECT key FROM ' + dbInfo.storeName, [], function (t, results) {\\n var keys = [];\\n\\n for (var i = 0; i < results.rows.length; i++) {\\n keys.push(results.rows.item(i).key);\\n }\\n\\n resolve(keys);\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n })[\\\"catch\\\"](reject);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// https://www.w3.org/TR/webdatabase/#databases\\n// > There is no way to enumerate or delete the databases available for an origin from this API.\\nfunction getAllStoreNames(db) {\\n return new Promise$1(function (resolve, reject) {\\n db.transaction(function (t) {\\n t.executeSql('SELECT name FROM sqlite_master ' + \\\"WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'\\\", [], function (t, results) {\\n var storeNames = [];\\n\\n for (var i = 0; i < results.rows.length; i++) {\\n storeNames.push(results.rows.item(i).name);\\n }\\n\\n resolve({\\n db: db,\\n storeNames: storeNames\\n });\\n }, function (t, error) {\\n reject(error);\\n });\\n }, function (sqlError) {\\n reject(sqlError);\\n });\\n });\\n}\\n\\nfunction dropInstance$1(options, callback) {\\n callback = getCallback.apply(this, arguments);\\n\\n var currentConfig = this.config();\\n options = typeof options !== 'function' && options || {};\\n if (!options.name) {\\n options.name = options.name || currentConfig.name;\\n options.storeName = options.storeName || currentConfig.storeName;\\n }\\n\\n var self = this;\\n var promise;\\n if (!options.name) {\\n promise = Promise$1.reject('Invalid arguments');\\n } else {\\n promise = new Promise$1(function (resolve) {\\n var db;\\n if (options.name === currentConfig.name) {\\n // use the db reference of the current instance\\n db = self._dbInfo.db;\\n } else {\\n db = openDatabase(options.name, '', '', 0);\\n }\\n\\n if (!options.storeName) {\\n // drop all database tables\\n resolve(getAllStoreNames(db));\\n } else {\\n resolve({\\n db: db,\\n storeNames: [options.storeName]\\n });\\n }\\n }).then(function (operationInfo) {\\n return new Promise$1(function (resolve, reject) {\\n operationInfo.db.transaction(function (t) {\\n function dropTable(storeName) {\\n return new Promise$1(function (resolve, reject) {\\n t.executeSql('DROP TABLE IF EXISTS ' + storeName, [], function () {\\n resolve();\\n }, function (t, error) {\\n reject(error);\\n });\\n });\\n }\\n\\n var operations = [];\\n for (var i = 0, len = operationInfo.storeNames.length; i < len; i++) {\\n operations.push(dropTable(operationInfo.storeNames[i]));\\n }\\n\\n Promise$1.all(operations).then(function () {\\n resolve();\\n })[\\\"catch\\\"](function (e) {\\n reject(e);\\n });\\n }, function (sqlError) {\\n reject(sqlError);\\n });\\n });\\n });\\n }\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nvar webSQLStorage = {\\n _driver: 'webSQLStorage',\\n _initStorage: _initStorage$1,\\n _support: isWebSQLValid(),\\n iterate: iterate$1,\\n getItem: getItem$1,\\n setItem: setItem$1,\\n removeItem: removeItem$1,\\n clear: clear$1,\\n length: length$1,\\n key: key$1,\\n keys: keys$1,\\n dropInstance: dropInstance$1\\n};\\n\\nfunction isLocalStorageValid() {\\n try {\\n return typeof localStorage !== 'undefined' && 'setItem' in localStorage &&\\n // in IE8 typeof localStorage.setItem === 'object'\\n !!localStorage.setItem;\\n } catch (e) {\\n return false;\\n }\\n}\\n\\nfunction _getKeyPrefix(options, defaultConfig) {\\n var keyPrefix = options.name + '/';\\n\\n if (options.storeName !== defaultConfig.storeName) {\\n keyPrefix += options.storeName + '/';\\n }\\n return keyPrefix;\\n}\\n\\n// Check if localStorage throws when saving an item\\nfunction checkIfLocalStorageThrows() {\\n var localStorageTestKey = '_localforage_support_test';\\n\\n try {\\n localStorage.setItem(localStorageTestKey, true);\\n localStorage.removeItem(localStorageTestKey);\\n\\n return false;\\n } catch (e) {\\n return true;\\n }\\n}\\n\\n// Check if localStorage is usable and allows to save an item\\n// This method checks if localStorage is usable in Safari Private Browsing\\n// mode, or in any other case where the available quota for localStorage\\n// is 0 and there wasn't any saved items yet.\\nfunction _isLocalStorageUsable() {\\n return !checkIfLocalStorageThrows() || localStorage.length > 0;\\n}\\n\\n// Config the localStorage backend, using options set in the config.\\nfunction _initStorage$2(options) {\\n var self = this;\\n var dbInfo = {};\\n if (options) {\\n for (var i in options) {\\n dbInfo[i] = options[i];\\n }\\n }\\n\\n dbInfo.keyPrefix = _getKeyPrefix(options, self._defaultConfig);\\n\\n if (!_isLocalStorageUsable()) {\\n return Promise$1.reject();\\n }\\n\\n self._dbInfo = dbInfo;\\n dbInfo.serializer = localforageSerializer;\\n\\n return Promise$1.resolve();\\n}\\n\\n// Remove all keys from the datastore, effectively destroying all data in\\n// the app's key/value store!\\nfunction clear$2(callback) {\\n var self = this;\\n var promise = self.ready().then(function () {\\n var keyPrefix = self._dbInfo.keyPrefix;\\n\\n for (var i = localStorage.length - 1; i >= 0; i--) {\\n var key = localStorage.key(i);\\n\\n if (key.indexOf(keyPrefix) === 0) {\\n localStorage.removeItem(key);\\n }\\n }\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Retrieve an item from the store. Unlike the original async_storage\\n// library in Gaia, we don't modify return values at all. If a key's value\\n// is `undefined`, we pass that value to the callback function.\\nfunction getItem$2(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var result = localStorage.getItem(dbInfo.keyPrefix + key);\\n\\n // If a result was found, parse it from the serialized\\n // string into a JS object. If result isn't truthy, the key\\n // is likely undefined and we'll pass it straight to the\\n // callback.\\n if (result) {\\n result = dbInfo.serializer.deserialize(result);\\n }\\n\\n return result;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Iterate over all items in the store.\\nfunction iterate$2(iterator, callback) {\\n var self = this;\\n\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var keyPrefix = dbInfo.keyPrefix;\\n var keyPrefixLength = keyPrefix.length;\\n var length = localStorage.length;\\n\\n // We use a dedicated iterator instead of the `i` variable below\\n // so other keys we fetch in localStorage aren't counted in\\n // the `iterationNumber` argument passed to the `iterate()`\\n // callback.\\n //\\n // See: github.com/mozilla/localForage/pull/435#discussion_r38061530\\n var iterationNumber = 1;\\n\\n for (var i = 0; i < length; i++) {\\n var key = localStorage.key(i);\\n if (key.indexOf(keyPrefix) !== 0) {\\n continue;\\n }\\n var value = localStorage.getItem(key);\\n\\n // If a result was found, parse it from the serialized\\n // string into a JS object. If result isn't truthy, the\\n // key is likely undefined and we'll pass it straight\\n // to the iterator.\\n if (value) {\\n value = dbInfo.serializer.deserialize(value);\\n }\\n\\n value = iterator(value, key.substring(keyPrefixLength), iterationNumber++);\\n\\n if (value !== void 0) {\\n return value;\\n }\\n }\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Same as localStorage's key() method, except takes a callback.\\nfunction key$2(n, callback) {\\n var self = this;\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var result;\\n try {\\n result = localStorage.key(n);\\n } catch (error) {\\n result = null;\\n }\\n\\n // Remove the prefix from the key, if a key is found.\\n if (result) {\\n result = result.substring(dbInfo.keyPrefix.length);\\n }\\n\\n return result;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction keys$2(callback) {\\n var self = this;\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n var length = localStorage.length;\\n var keys = [];\\n\\n for (var i = 0; i < length; i++) {\\n var itemKey = localStorage.key(i);\\n if (itemKey.indexOf(dbInfo.keyPrefix) === 0) {\\n keys.push(itemKey.substring(dbInfo.keyPrefix.length));\\n }\\n }\\n\\n return keys;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Supply the number of keys in the datastore to the callback function.\\nfunction length$2(callback) {\\n var self = this;\\n var promise = self.keys().then(function (keys) {\\n return keys.length;\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Remove an item from the store, nice and simple.\\nfunction removeItem$2(key, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = self.ready().then(function () {\\n var dbInfo = self._dbInfo;\\n localStorage.removeItem(dbInfo.keyPrefix + key);\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\n// Set a key's value and run an optional callback once the value is set.\\n// Unlike Gaia's implementation, the callback function is passed the value,\\n// in case you want to operate on that value only after you're sure it\\n// saved, or something like that.\\nfunction setItem$2(key, value, callback) {\\n var self = this;\\n\\n key = normalizeKey(key);\\n\\n var promise = self.ready().then(function () {\\n // Convert undefined values to null.\\n // https://github.com/mozilla/localForage/pull/42\\n if (value === undefined) {\\n value = null;\\n }\\n\\n // Save the original value to pass to the callback.\\n var originalValue = value;\\n\\n return new Promise$1(function (resolve, reject) {\\n var dbInfo = self._dbInfo;\\n dbInfo.serializer.serialize(value, function (value, error) {\\n if (error) {\\n reject(error);\\n } else {\\n try {\\n localStorage.setItem(dbInfo.keyPrefix + key, value);\\n resolve(originalValue);\\n } catch (e) {\\n // localStorage capacity exceeded.\\n // TODO: Make this a specific error/event.\\n if (e.name === 'QuotaExceededError' || e.name === 'NS_ERROR_DOM_QUOTA_REACHED') {\\n reject(e);\\n }\\n reject(e);\\n }\\n }\\n });\\n });\\n });\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nfunction dropInstance$2(options, callback) {\\n callback = getCallback.apply(this, arguments);\\n\\n options = typeof options !== 'function' && options || {};\\n if (!options.name) {\\n var currentConfig = this.config();\\n options.name = options.name || currentConfig.name;\\n options.storeName = options.storeName || currentConfig.storeName;\\n }\\n\\n var self = this;\\n var promise;\\n if (!options.name) {\\n promise = Promise$1.reject('Invalid arguments');\\n } else {\\n promise = new Promise$1(function (resolve) {\\n if (!options.storeName) {\\n resolve(options.name + '/');\\n } else {\\n resolve(_getKeyPrefix(options, self._defaultConfig));\\n }\\n }).then(function (keyPrefix) {\\n for (var i = localStorage.length - 1; i >= 0; i--) {\\n var key = localStorage.key(i);\\n\\n if (key.indexOf(keyPrefix) === 0) {\\n localStorage.removeItem(key);\\n }\\n }\\n });\\n }\\n\\n executeCallback(promise, callback);\\n return promise;\\n}\\n\\nvar localStorageWrapper = {\\n _driver: 'localStorageWrapper',\\n _initStorage: _initStorage$2,\\n _support: isLocalStorageValid(),\\n iterate: iterate$2,\\n getItem: getItem$2,\\n setItem: setItem$2,\\n removeItem: removeItem$2,\\n clear: clear$2,\\n length: length$2,\\n key: key$2,\\n keys: keys$2,\\n dropInstance: dropInstance$2\\n};\\n\\nvar sameValue = function sameValue(x, y) {\\n return x === y || typeof x === 'number' && typeof y === 'number' && isNaN(x) && isNaN(y);\\n};\\n\\nvar includes = function includes(array, searchElement) {\\n var len = array.length;\\n var i = 0;\\n while (i < len) {\\n if (sameValue(array[i], searchElement)) {\\n return true;\\n }\\n i++;\\n }\\n\\n return false;\\n};\\n\\nvar isArray = Array.isArray || function (arg) {\\n return Object.prototype.toString.call(arg) === '[object Array]';\\n};\\n\\n// Drivers are stored here when `defineDriver()` is called.\\n// They are shared across all instances of localForage.\\nvar DefinedDrivers = {};\\n\\nvar DriverSupport = {};\\n\\nvar DefaultDrivers = {\\n INDEXEDDB: asyncStorage,\\n WEBSQL: webSQLStorage,\\n LOCALSTORAGE: localStorageWrapper\\n};\\n\\nvar DefaultDriverOrder = [DefaultDrivers.INDEXEDDB._driver, DefaultDrivers.WEBSQL._driver, DefaultDrivers.LOCALSTORAGE._driver];\\n\\nvar OptionalDriverMethods = ['dropInstance'];\\n\\nvar LibraryMethods = ['clear', 'getItem', 'iterate', 'key', 'keys', 'length', 'removeItem', 'setItem'].concat(OptionalDriverMethods);\\n\\nvar DefaultConfig = {\\n description: '',\\n driver: DefaultDriverOrder.slice(),\\n name: 'localforage',\\n // Default DB size is _JUST UNDER_ 5MB, as it's the highest size\\n // we can use without a prompt.\\n size: 4980736,\\n storeName: 'keyvaluepairs',\\n version: 1.0\\n};\\n\\nfunction callWhenReady(localForageInstance, libraryMethod) {\\n localForageInstance[libraryMethod] = function () {\\n var _args = arguments;\\n return localForageInstance.ready().then(function () {\\n return localForageInstance[libraryMethod].apply(localForageInstance, _args);\\n });\\n };\\n}\\n\\nfunction extend() {\\n for (var i = 1; i < arguments.length; i++) {\\n var arg = arguments[i];\\n\\n if (arg) {\\n for (var _key in arg) {\\n if (arg.hasOwnProperty(_key)) {\\n if (isArray(arg[_key])) {\\n arguments[0][_key] = arg[_key].slice();\\n } else {\\n arguments[0][_key] = arg[_key];\\n }\\n }\\n }\\n }\\n }\\n\\n return arguments[0];\\n}\\n\\nvar LocalForage = function () {\\n function LocalForage(options) {\\n _classCallCheck(this, LocalForage);\\n\\n for (var driverTypeKey in DefaultDrivers) {\\n if (DefaultDrivers.hasOwnProperty(driverTypeKey)) {\\n var driver = DefaultDrivers[driverTypeKey];\\n var driverName = driver._driver;\\n this[driverTypeKey] = driverName;\\n\\n if (!DefinedDrivers[driverName]) {\\n // we don't need to wait for the promise,\\n // since the default drivers can be defined\\n // in a blocking manner\\n this.defineDriver(driver);\\n }\\n }\\n }\\n\\n this._defaultConfig = extend({}, DefaultConfig);\\n this._config = extend({}, this._defaultConfig, options);\\n this._driverSet = null;\\n this._initDriver = null;\\n this._ready = false;\\n this._dbInfo = null;\\n\\n this._wrapLibraryMethodsWithReady();\\n this.setDriver(this._config.driver)[\\\"catch\\\"](function () {});\\n }\\n\\n // Set any config values for localForage; can be called anytime before\\n // the first API call (e.g. `getItem`, `setItem`).\\n // We loop through options so we don't overwrite existing config\\n // values.\\n\\n\\n LocalForage.prototype.config = function config(options) {\\n // If the options argument is an object, we use it to set values.\\n // Otherwise, we return either a specified config value or all\\n // config values.\\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\\n // If localforage is ready and fully initialized, we can't set\\n // any new configuration values. Instead, we return an error.\\n if (this._ready) {\\n return new Error(\\\"Can't call config() after localforage \\\" + 'has been used.');\\n }\\n\\n for (var i in options) {\\n if (i === 'storeName') {\\n options[i] = options[i].replace(/\\\\W/g, '_');\\n }\\n\\n if (i === 'version' && typeof options[i] !== 'number') {\\n return new Error('Database version must be a number.');\\n }\\n\\n this._config[i] = options[i];\\n }\\n\\n // after all config options are set and\\n // the driver option is used, try setting it\\n if ('driver' in options && options.driver) {\\n return this.setDriver(this._config.driver);\\n }\\n\\n return true;\\n } else if (typeof options === 'string') {\\n return this._config[options];\\n } else {\\n return this._config;\\n }\\n };\\n\\n // Used to define a custom driver, shared across all instances of\\n // localForage.\\n\\n\\n LocalForage.prototype.defineDriver = function defineDriver(driverObject, callback, errorCallback) {\\n var promise = new Promise$1(function (resolve, reject) {\\n try {\\n var driverName = driverObject._driver;\\n var complianceError = new Error('Custom driver not compliant; see ' + 'https://mozilla.github.io/localForage/#definedriver');\\n\\n // A driver name should be defined and not overlap with the\\n // library-defined, default drivers.\\n if (!driverObject._driver) {\\n reject(complianceError);\\n return;\\n }\\n\\n var driverMethods = LibraryMethods.concat('_initStorage');\\n for (var i = 0, len = driverMethods.length; i < len; i++) {\\n var driverMethodName = driverMethods[i];\\n\\n // when the property is there,\\n // it should be a method even when optional\\n var isRequired = !includes(OptionalDriverMethods, driverMethodName);\\n if ((isRequired || driverObject[driverMethodName]) && typeof driverObject[driverMethodName] !== 'function') {\\n reject(complianceError);\\n return;\\n }\\n }\\n\\n var configureMissingMethods = function configureMissingMethods() {\\n var methodNotImplementedFactory = function methodNotImplementedFactory(methodName) {\\n return function () {\\n var error = new Error('Method ' + methodName + ' is not implemented by the current driver');\\n var promise = Promise$1.reject(error);\\n executeCallback(promise, arguments[arguments.length - 1]);\\n return promise;\\n };\\n };\\n\\n for (var _i = 0, _len = OptionalDriverMethods.length; _i < _len; _i++) {\\n var optionalDriverMethod = OptionalDriverMethods[_i];\\n if (!driverObject[optionalDriverMethod]) {\\n driverObject[optionalDriverMethod] = methodNotImplementedFactory(optionalDriverMethod);\\n }\\n }\\n };\\n\\n configureMissingMethods();\\n\\n var setDriverSupport = function setDriverSupport(support) {\\n if (DefinedDrivers[driverName]) {\\n console.info('Redefining LocalForage driver: ' + driverName);\\n }\\n DefinedDrivers[driverName] = driverObject;\\n DriverSupport[driverName] = support;\\n // don't use a then, so that we can define\\n // drivers that have simple _support methods\\n // in a blocking manner\\n resolve();\\n };\\n\\n if ('_support' in driverObject) {\\n if (driverObject._support && typeof driverObject._support === 'function') {\\n driverObject._support().then(setDriverSupport, reject);\\n } else {\\n setDriverSupport(!!driverObject._support);\\n }\\n } else {\\n setDriverSupport(true);\\n }\\n } catch (e) {\\n reject(e);\\n }\\n });\\n\\n executeTwoCallbacks(promise, callback, errorCallback);\\n return promise;\\n };\\n\\n LocalForage.prototype.driver = function driver() {\\n return this._driver || null;\\n };\\n\\n LocalForage.prototype.getDriver = function getDriver(driverName, callback, errorCallback) {\\n var getDriverPromise = DefinedDrivers[driverName] ? Promise$1.resolve(DefinedDrivers[driverName]) : Promise$1.reject(new Error('Driver not found.'));\\n\\n executeTwoCallbacks(getDriverPromise, callback, errorCallback);\\n return getDriverPromise;\\n };\\n\\n LocalForage.prototype.getSerializer = function getSerializer(callback) {\\n var serializerPromise = Promise$1.resolve(localforageSerializer);\\n executeTwoCallbacks(serializerPromise, callback);\\n return serializerPromise;\\n };\\n\\n LocalForage.prototype.ready = function ready(callback) {\\n var self = this;\\n\\n var promise = self._driverSet.then(function () {\\n if (self._ready === null) {\\n self._ready = self._initDriver();\\n }\\n\\n return self._ready;\\n });\\n\\n executeTwoCallbacks(promise, callback, callback);\\n return promise;\\n };\\n\\n LocalForage.prototype.setDriver = function setDriver(drivers, callback, errorCallback) {\\n var self = this;\\n\\n if (!isArray(drivers)) {\\n drivers = [drivers];\\n }\\n\\n var supportedDrivers = this._getSupportedDrivers(drivers);\\n\\n function setDriverToConfig() {\\n self._config.driver = self.driver();\\n }\\n\\n function extendSelfWithDriver(driver) {\\n self._extend(driver);\\n setDriverToConfig();\\n\\n self._ready = self._initStorage(self._config);\\n return self._ready;\\n }\\n\\n function initDriver(supportedDrivers) {\\n return function () {\\n var currentDriverIndex = 0;\\n\\n function driverPromiseLoop() {\\n while (currentDriverIndex < supportedDrivers.length) {\\n var driverName = supportedDrivers[currentDriverIndex];\\n currentDriverIndex++;\\n\\n self._dbInfo = null;\\n self._ready = null;\\n\\n return self.getDriver(driverName).then(extendSelfWithDriver)[\\\"catch\\\"](driverPromiseLoop);\\n }\\n\\n setDriverToConfig();\\n var error = new Error('No available storage method found.');\\n self._driverSet = Promise$1.reject(error);\\n return self._driverSet;\\n }\\n\\n return driverPromiseLoop();\\n };\\n }\\n\\n // There might be a driver initialization in progress\\n // so wait for it to finish in order to avoid a possible\\n // race condition to set _dbInfo\\n var oldDriverSetDone = this._driverSet !== null ? this._driverSet[\\\"catch\\\"](function () {\\n return Promise$1.resolve();\\n }) : Promise$1.resolve();\\n\\n this._driverSet = oldDriverSetDone.then(function () {\\n var driverName = supportedDrivers[0];\\n self._dbInfo = null;\\n self._ready = null;\\n\\n return self.getDriver(driverName).then(function (driver) {\\n self._driver = driver._driver;\\n setDriverToConfig();\\n self._wrapLibraryMethodsWithReady();\\n self._initDriver = initDriver(supportedDrivers);\\n });\\n })[\\\"catch\\\"](function () {\\n setDriverToConfig();\\n var error = new Error('No available storage method found.');\\n self._driverSet = Promise$1.reject(error);\\n return self._driverSet;\\n });\\n\\n executeTwoCallbacks(this._driverSet, callback, errorCallback);\\n return this._driverSet;\\n };\\n\\n LocalForage.prototype.supports = function supports(driverName) {\\n return !!DriverSupport[driverName];\\n };\\n\\n LocalForage.prototype._extend = function _extend(libraryMethodsAndProperties) {\\n extend(this, libraryMethodsAndProperties);\\n };\\n\\n LocalForage.prototype._getSupportedDrivers = function _getSupportedDrivers(drivers) {\\n var supportedDrivers = [];\\n for (var i = 0, len = drivers.length; i < len; i++) {\\n var driverName = drivers[i];\\n if (this.supports(driverName)) {\\n supportedDrivers.push(driverName);\\n }\\n }\\n return supportedDrivers;\\n };\\n\\n LocalForage.prototype._wrapLibraryMethodsWithReady = function _wrapLibraryMethodsWithReady() {\\n // Add a stub for each driver API method that delays the call to the\\n // corresponding driver method until localForage is ready. These stubs\\n // will be replaced by the driver methods as soon as the driver is\\n // loaded, so there is no performance impact.\\n for (var i = 0, len = LibraryMethods.length; i < len; i++) {\\n callWhenReady(this, LibraryMethods[i]);\\n }\\n };\\n\\n LocalForage.prototype.createInstance = function createInstance(options) {\\n return new LocalForage(options);\\n };\\n\\n return LocalForage;\\n}();\\n\\n// The actual localForage object that we expose as a module or via a\\n// global. It's extended by pulling in one of our other libraries.\\n\\n\\nvar localforage_js = new LocalForage();\\n\\nmodule.exports = localforage_js;\\n\\n},{\\\"3\\\":3}]},{},[4])(4)\\n});\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/localforage/dist/localforage.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/index.js\":\n/*!************************************!*\\\n !*** ./node_modules/pako/index.js ***!\n \\************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"// Top level file is just a mixin of submodules & constants\\n\\n\\nconst { Deflate, deflate, deflateRaw, gzip } = __webpack_require__(/*! ./lib/deflate */ \\\"./node_modules/pako/lib/deflate.js\\\");\\n\\nconst { Inflate, inflate, inflateRaw, ungzip } = __webpack_require__(/*! ./lib/inflate */ \\\"./node_modules/pako/lib/inflate.js\\\");\\n\\nconst constants = __webpack_require__(/*! ./lib/zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\nmodule.exports.Deflate = Deflate;\\nmodule.exports.deflate = deflate;\\nmodule.exports.deflateRaw = deflateRaw;\\nmodule.exports.gzip = gzip;\\nmodule.exports.Inflate = Inflate;\\nmodule.exports.inflate = inflate;\\nmodule.exports.inflateRaw = inflateRaw;\\nmodule.exports.ungzip = ungzip;\\nmodule.exports.constants = constants;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/deflate.js\":\n/*!******************************************!*\\\n !*** ./node_modules/pako/lib/deflate.js ***!\n \\******************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n\\nconst zlib_deflate = __webpack_require__(/*! ./zlib/deflate */ \\\"./node_modules/pako/lib/zlib/deflate.js\\\");\\nconst utils = __webpack_require__(/*! ./utils/common */ \\\"./node_modules/pako/lib/utils/common.js\\\");\\nconst strings = __webpack_require__(/*! ./utils/strings */ \\\"./node_modules/pako/lib/utils/strings.js\\\");\\nconst msg = __webpack_require__(/*! ./zlib/messages */ \\\"./node_modules/pako/lib/zlib/messages.js\\\");\\nconst ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\"./node_modules/pako/lib/zlib/zstream.js\\\");\\n\\nconst toString = Object.prototype.toString;\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_NO_FLUSH, Z_SYNC_FLUSH, Z_FULL_FLUSH, Z_FINISH,\\n Z_OK, Z_STREAM_END,\\n Z_DEFAULT_COMPRESSION,\\n Z_DEFAULT_STRATEGY,\\n Z_DEFLATED\\n} = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n/* ===========================================================================*/\\n\\n\\n/**\\n * class Deflate\\n *\\n * Generic JS-style wrapper for zlib calls. If you don't need\\n * streaming behaviour - use more simple functions: [[deflate]],\\n * [[deflateRaw]] and [[gzip]].\\n **/\\n\\n/* internal\\n * Deflate.chunks -> Array\\n *\\n * Chunks of output data, if [[Deflate#onData]] not overridden.\\n **/\\n\\n/**\\n * Deflate.result -> Uint8Array\\n *\\n * Compressed result, generated by default [[Deflate#onData]]\\n * and [[Deflate#onEnd]] handlers. Filled after you push last chunk\\n * (call [[Deflate#push]] with `Z_FINISH` / `true` param).\\n **/\\n\\n/**\\n * Deflate.err -> Number\\n *\\n * Error code after deflate finished. 0 (Z_OK) on success.\\n * You will not need it in real life, because deflate errors\\n * are possible only on wrong options or bad `onData` / `onEnd`\\n * custom handlers.\\n **/\\n\\n/**\\n * Deflate.msg -> String\\n *\\n * Error message, if [[Deflate.err]] != 0\\n **/\\n\\n\\n/**\\n * new Deflate(options)\\n * - options (Object): zlib deflate options.\\n *\\n * Creates new deflator instance with specified params. Throws exception\\n * on bad params. Supported options:\\n *\\n * - `level`\\n * - `windowBits`\\n * - `memLevel`\\n * - `strategy`\\n * - `dictionary`\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information on these.\\n *\\n * Additional options, for internal needs:\\n *\\n * - `chunkSize` - size of generated data chunks (16K by default)\\n * - `raw` (Boolean) - do raw deflate\\n * - `gzip` (Boolean) - create gzip wrapper\\n * - `header` (Object) - custom header for gzip\\n * - `text` (Boolean) - true if compressed data believed to be text\\n * - `time` (Number) - modification time, unix timestamp\\n * - `os` (Number) - operation system code\\n * - `extra` (Array) - array of bytes with extra data (max 65536)\\n * - `name` (String) - file name (binary string)\\n * - `comment` (String) - comment (binary string)\\n * - `hcrc` (Boolean) - true if header crc should be added\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako')\\n * , chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\\n * , chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\n *\\n * const deflate = new pako.Deflate({ level: 3});\\n *\\n * deflate.push(chunk1, false);\\n * deflate.push(chunk2, true); // true -> last chunk\\n *\\n * if (deflate.err) { throw new Error(deflate.err); }\\n *\\n * console.log(deflate.result);\\n * ```\\n **/\\nfunction Deflate(options) {\\n this.options = utils.assign({\\n level: Z_DEFAULT_COMPRESSION,\\n method: Z_DEFLATED,\\n chunkSize: 16384,\\n windowBits: 15,\\n memLevel: 8,\\n strategy: Z_DEFAULT_STRATEGY\\n }, options || {});\\n\\n let opt = this.options;\\n\\n if (opt.raw && (opt.windowBits > 0)) {\\n opt.windowBits = -opt.windowBits;\\n }\\n\\n else if (opt.gzip && (opt.windowBits > 0) && (opt.windowBits < 16)) {\\n opt.windowBits += 16;\\n }\\n\\n this.err = 0; // error code, if happens (0 = Z_OK)\\n this.msg = ''; // error message\\n this.ended = false; // used to avoid multiple onEnd() calls\\n this.chunks = []; // chunks of compressed data\\n\\n this.strm = new ZStream();\\n this.strm.avail_out = 0;\\n\\n let status = zlib_deflate.deflateInit2(\\n this.strm,\\n opt.level,\\n opt.method,\\n opt.windowBits,\\n opt.memLevel,\\n opt.strategy\\n );\\n\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n\\n if (opt.header) {\\n zlib_deflate.deflateSetHeader(this.strm, opt.header);\\n }\\n\\n if (opt.dictionary) {\\n let dict;\\n // Convert data if needed\\n if (typeof opt.dictionary === 'string') {\\n // If we need to compress text, change encoding to utf8.\\n dict = strings.string2buf(opt.dictionary);\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\n dict = new Uint8Array(opt.dictionary);\\n } else {\\n dict = opt.dictionary;\\n }\\n\\n status = zlib_deflate.deflateSetDictionary(this.strm, dict);\\n\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n\\n this._dict_set = true;\\n }\\n}\\n\\n/**\\n * Deflate#push(data[, flush_mode]) -> Boolean\\n * - data (Uint8Array|ArrayBuffer|String): input data. Strings will be\\n * converted to utf8 byte sequence.\\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE modes.\\n * See constants. Skipped or `false` means Z_NO_FLUSH, `true` means Z_FINISH.\\n *\\n * Sends input data to deflate pipe, generating [[Deflate#onData]] calls with\\n * new compressed chunks. Returns `true` on success. The last data block must\\n * have `flush_mode` Z_FINISH (or `true`). That will flush internal pending\\n * buffers and call [[Deflate#onEnd]].\\n *\\n * On fail call [[Deflate#onEnd]] with error code and return false.\\n *\\n * ##### Example\\n *\\n * ```javascript\\n * push(chunk, false); // push one of data chunks\\n * ...\\n * push(chunk, true); // push last chunk\\n * ```\\n **/\\nDeflate.prototype.push = function (data, flush_mode) {\\n const strm = this.strm;\\n const chunkSize = this.options.chunkSize;\\n let status, _flush_mode;\\n\\n if (this.ended) { return false; }\\n\\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\\n else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;\\n\\n // Convert data if needed\\n if (typeof data === 'string') {\\n // If we need to compress text, change encoding to utf8.\\n strm.input = strings.string2buf(data);\\n } else if (toString.call(data) === '[object ArrayBuffer]') {\\n strm.input = new Uint8Array(data);\\n } else {\\n strm.input = data;\\n }\\n\\n strm.next_in = 0;\\n strm.avail_in = strm.input.length;\\n\\n for (;;) {\\n if (strm.avail_out === 0) {\\n strm.output = new Uint8Array(chunkSize);\\n strm.next_out = 0;\\n strm.avail_out = chunkSize;\\n }\\n\\n // Make sure avail_out > 6 to avoid repeating markers\\n if ((_flush_mode === Z_SYNC_FLUSH || _flush_mode === Z_FULL_FLUSH) && strm.avail_out <= 6) {\\n this.onData(strm.output.subarray(0, strm.next_out));\\n strm.avail_out = 0;\\n continue;\\n }\\n\\n status = zlib_deflate.deflate(strm, _flush_mode);\\n\\n // Ended => flush and finish\\n if (status === Z_STREAM_END) {\\n if (strm.next_out > 0) {\\n this.onData(strm.output.subarray(0, strm.next_out));\\n }\\n status = zlib_deflate.deflateEnd(this.strm);\\n this.onEnd(status);\\n this.ended = true;\\n return status === Z_OK;\\n }\\n\\n // Flush if out buffer full\\n if (strm.avail_out === 0) {\\n this.onData(strm.output);\\n continue;\\n }\\n\\n // Flush if requested and has data\\n if (_flush_mode > 0 && strm.next_out > 0) {\\n this.onData(strm.output.subarray(0, strm.next_out));\\n strm.avail_out = 0;\\n continue;\\n }\\n\\n if (strm.avail_in === 0) break;\\n }\\n\\n return true;\\n};\\n\\n\\n/**\\n * Deflate#onData(chunk) -> Void\\n * - chunk (Uint8Array): output data.\\n *\\n * By default, stores data blocks in `chunks[]` property and glue\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\n **/\\nDeflate.prototype.onData = function (chunk) {\\n this.chunks.push(chunk);\\n};\\n\\n\\n/**\\n * Deflate#onEnd(status) -> Void\\n * - status (Number): deflate status. 0 (Z_OK) on success,\\n * other if not.\\n *\\n * Called once after you tell deflate that the input stream is\\n * complete (Z_FINISH). By default - join collected chunks,\\n * free memory and fill `results` / `err` properties.\\n **/\\nDeflate.prototype.onEnd = function (status) {\\n // On success - join\\n if (status === Z_OK) {\\n this.result = utils.flattenChunks(this.chunks);\\n }\\n this.chunks = [];\\n this.err = status;\\n this.msg = this.strm.msg;\\n};\\n\\n\\n/**\\n * deflate(data[, options]) -> Uint8Array\\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\\n * - options (Object): zlib deflate options.\\n *\\n * Compress `data` with deflate algorithm and `options`.\\n *\\n * Supported options are:\\n *\\n * - level\\n * - windowBits\\n * - memLevel\\n * - strategy\\n * - dictionary\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information on these.\\n *\\n * Sugar (options):\\n *\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\n * negative windowBits implicitly.\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako')\\n * const data = new Uint8Array([1,2,3,4,5,6,7,8,9]);\\n *\\n * console.log(pako.deflate(data));\\n * ```\\n **/\\nfunction deflate(input, options) {\\n const deflator = new Deflate(options);\\n\\n deflator.push(input, true);\\n\\n // That will never happens, if you don't cheat with options :)\\n if (deflator.err) { throw deflator.msg || msg[deflator.err]; }\\n\\n return deflator.result;\\n}\\n\\n\\n/**\\n * deflateRaw(data[, options]) -> Uint8Array\\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\\n * - options (Object): zlib deflate options.\\n *\\n * The same as [[deflate]], but creates raw data, without wrapper\\n * (header and adler32 crc).\\n **/\\nfunction deflateRaw(input, options) {\\n options = options || {};\\n options.raw = true;\\n return deflate(input, options);\\n}\\n\\n\\n/**\\n * gzip(data[, options]) -> Uint8Array\\n * - data (Uint8Array|ArrayBuffer|String): input data to compress.\\n * - options (Object): zlib deflate options.\\n *\\n * The same as [[deflate]], but create gzip wrapper instead of\\n * deflate one.\\n **/\\nfunction gzip(input, options) {\\n options = options || {};\\n options.gzip = true;\\n return deflate(input, options);\\n}\\n\\n\\nmodule.exports.Deflate = Deflate;\\nmodule.exports.deflate = deflate;\\nmodule.exports.deflateRaw = deflateRaw;\\nmodule.exports.gzip = gzip;\\nmodule.exports.constants = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/deflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/inflate.js\":\n/*!******************************************!*\\\n !*** ./node_modules/pako/lib/inflate.js ***!\n \\******************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n\\nconst zlib_inflate = __webpack_require__(/*! ./zlib/inflate */ \\\"./node_modules/pako/lib/zlib/inflate.js\\\");\\nconst utils = __webpack_require__(/*! ./utils/common */ \\\"./node_modules/pako/lib/utils/common.js\\\");\\nconst strings = __webpack_require__(/*! ./utils/strings */ \\\"./node_modules/pako/lib/utils/strings.js\\\");\\nconst msg = __webpack_require__(/*! ./zlib/messages */ \\\"./node_modules/pako/lib/zlib/messages.js\\\");\\nconst ZStream = __webpack_require__(/*! ./zlib/zstream */ \\\"./node_modules/pako/lib/zlib/zstream.js\\\");\\nconst GZheader = __webpack_require__(/*! ./zlib/gzheader */ \\\"./node_modules/pako/lib/zlib/gzheader.js\\\");\\n\\nconst toString = Object.prototype.toString;\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_NO_FLUSH, Z_FINISH,\\n Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR\\n} = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n/* ===========================================================================*/\\n\\n\\n/**\\n * class Inflate\\n *\\n * Generic JS-style wrapper for zlib calls. If you don't need\\n * streaming behaviour - use more simple functions: [[inflate]]\\n * and [[inflateRaw]].\\n **/\\n\\n/* internal\\n * inflate.chunks -> Array\\n *\\n * Chunks of output data, if [[Inflate#onData]] not overridden.\\n **/\\n\\n/**\\n * Inflate.result -> Uint8Array|String\\n *\\n * Uncompressed result, generated by default [[Inflate#onData]]\\n * and [[Inflate#onEnd]] handlers. Filled after you push last chunk\\n * (call [[Inflate#push]] with `Z_FINISH` / `true` param).\\n **/\\n\\n/**\\n * Inflate.err -> Number\\n *\\n * Error code after inflate finished. 0 (Z_OK) on success.\\n * Should be checked if broken data possible.\\n **/\\n\\n/**\\n * Inflate.msg -> String\\n *\\n * Error message, if [[Inflate.err]] != 0\\n **/\\n\\n\\n/**\\n * new Inflate(options)\\n * - options (Object): zlib inflate options.\\n *\\n * Creates new inflator instance with specified params. Throws exception\\n * on bad params. Supported options:\\n *\\n * - `windowBits`\\n * - `dictionary`\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information on these.\\n *\\n * Additional options, for internal needs:\\n *\\n * - `chunkSize` - size of generated data chunks (16K by default)\\n * - `raw` (Boolean) - do raw inflate\\n * - `to` (String) - if equal to 'string', then result will be converted\\n * from utf8 to utf16 (javascript) string. When string output requested,\\n * chunk length can differ from `chunkSize`, depending on content.\\n *\\n * By default, when no options set, autodetect deflate/gzip data format via\\n * wrapper header.\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako')\\n * const chunk1 = new Uint8Array([1,2,3,4,5,6,7,8,9])\\n * const chunk2 = new Uint8Array([10,11,12,13,14,15,16,17,18,19]);\\n *\\n * const inflate = new pako.Inflate({ level: 3});\\n *\\n * inflate.push(chunk1, false);\\n * inflate.push(chunk2, true); // true -> last chunk\\n *\\n * if (inflate.err) { throw new Error(inflate.err); }\\n *\\n * console.log(inflate.result);\\n * ```\\n **/\\nfunction Inflate(options) {\\n this.options = utils.assign({\\n chunkSize: 1024 * 64,\\n windowBits: 15,\\n to: ''\\n }, options || {});\\n\\n const opt = this.options;\\n\\n // Force window size for `raw` data, if not set directly,\\n // because we have no header for autodetect.\\n if (opt.raw && (opt.windowBits >= 0) && (opt.windowBits < 16)) {\\n opt.windowBits = -opt.windowBits;\\n if (opt.windowBits === 0) { opt.windowBits = -15; }\\n }\\n\\n // If `windowBits` not defined (and mode not raw) - set autodetect flag for gzip/deflate\\n if ((opt.windowBits >= 0) && (opt.windowBits < 16) &&\\n !(options && options.windowBits)) {\\n opt.windowBits += 32;\\n }\\n\\n // Gzip header has no info about windows size, we can do autodetect only\\n // for deflate. So, if window size not set, force it to max when gzip possible\\n if ((opt.windowBits > 15) && (opt.windowBits < 48)) {\\n // bit 3 (16) -> gzipped data\\n // bit 4 (32) -> autodetect gzip/deflate\\n if ((opt.windowBits & 15) === 0) {\\n opt.windowBits |= 15;\\n }\\n }\\n\\n this.err = 0; // error code, if happens (0 = Z_OK)\\n this.msg = ''; // error message\\n this.ended = false; // used to avoid multiple onEnd() calls\\n this.chunks = []; // chunks of compressed data\\n\\n this.strm = new ZStream();\\n this.strm.avail_out = 0;\\n\\n let status = zlib_inflate.inflateInit2(\\n this.strm,\\n opt.windowBits\\n );\\n\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n\\n this.header = new GZheader();\\n\\n zlib_inflate.inflateGetHeader(this.strm, this.header);\\n\\n // Setup dictionary\\n if (opt.dictionary) {\\n // Convert data if needed\\n if (typeof opt.dictionary === 'string') {\\n opt.dictionary = strings.string2buf(opt.dictionary);\\n } else if (toString.call(opt.dictionary) === '[object ArrayBuffer]') {\\n opt.dictionary = new Uint8Array(opt.dictionary);\\n }\\n if (opt.raw) { //In raw mode we need to set the dictionary early\\n status = zlib_inflate.inflateSetDictionary(this.strm, opt.dictionary);\\n if (status !== Z_OK) {\\n throw new Error(msg[status]);\\n }\\n }\\n }\\n}\\n\\n/**\\n * Inflate#push(data[, flush_mode]) -> Boolean\\n * - data (Uint8Array|ArrayBuffer): input data\\n * - flush_mode (Number|Boolean): 0..6 for corresponding Z_NO_FLUSH..Z_TREE\\n * flush modes. See constants. Skipped or `false` means Z_NO_FLUSH,\\n * `true` means Z_FINISH.\\n *\\n * Sends input data to inflate pipe, generating [[Inflate#onData]] calls with\\n * new output chunks. Returns `true` on success. If end of stream detected,\\n * [[Inflate#onEnd]] will be called.\\n *\\n * `flush_mode` is not needed for normal operation, because end of stream\\n * detected automatically. You may try to use it for advanced things, but\\n * this functionality was not tested.\\n *\\n * On fail call [[Inflate#onEnd]] with error code and return false.\\n *\\n * ##### Example\\n *\\n * ```javascript\\n * push(chunk, false); // push one of data chunks\\n * ...\\n * push(chunk, true); // push last chunk\\n * ```\\n **/\\nInflate.prototype.push = function (data, flush_mode) {\\n const strm = this.strm;\\n const chunkSize = this.options.chunkSize;\\n const dictionary = this.options.dictionary;\\n let status, _flush_mode, last_avail_out;\\n\\n if (this.ended) return false;\\n\\n if (flush_mode === ~~flush_mode) _flush_mode = flush_mode;\\n else _flush_mode = flush_mode === true ? Z_FINISH : Z_NO_FLUSH;\\n\\n // Convert data if needed\\n if (toString.call(data) === '[object ArrayBuffer]') {\\n strm.input = new Uint8Array(data);\\n } else {\\n strm.input = data;\\n }\\n\\n strm.next_in = 0;\\n strm.avail_in = strm.input.length;\\n\\n for (;;) {\\n if (strm.avail_out === 0) {\\n strm.output = new Uint8Array(chunkSize);\\n strm.next_out = 0;\\n strm.avail_out = chunkSize;\\n }\\n\\n status = zlib_inflate.inflate(strm, _flush_mode);\\n\\n if (status === Z_NEED_DICT && dictionary) {\\n status = zlib_inflate.inflateSetDictionary(strm, dictionary);\\n\\n if (status === Z_OK) {\\n status = zlib_inflate.inflate(strm, _flush_mode);\\n } else if (status === Z_DATA_ERROR) {\\n // Replace code with more verbose\\n status = Z_NEED_DICT;\\n }\\n }\\n\\n // Skip snyc markers if more data follows and not raw mode\\n while (strm.avail_in > 0 &&\\n status === Z_STREAM_END &&\\n strm.state.wrap > 0 &&\\n data[strm.next_in] !== 0)\\n {\\n zlib_inflate.inflateReset(strm);\\n status = zlib_inflate.inflate(strm, _flush_mode);\\n }\\n\\n switch (status) {\\n case Z_STREAM_ERROR:\\n case Z_DATA_ERROR:\\n case Z_NEED_DICT:\\n case Z_MEM_ERROR:\\n this.onEnd(status);\\n this.ended = true;\\n return false;\\n }\\n\\n // Remember real `avail_out` value, because we may patch out buffer content\\n // to align utf8 strings boundaries.\\n last_avail_out = strm.avail_out;\\n\\n if (strm.next_out) {\\n if (strm.avail_out === 0 || status === Z_STREAM_END) {\\n\\n if (this.options.to === 'string') {\\n\\n let next_out_utf8 = strings.utf8border(strm.output, strm.next_out);\\n\\n let tail = strm.next_out - next_out_utf8;\\n let utf8str = strings.buf2string(strm.output, next_out_utf8);\\n\\n // move tail & realign counters\\n strm.next_out = tail;\\n strm.avail_out = chunkSize - tail;\\n if (tail) strm.output.set(strm.output.subarray(next_out_utf8, next_out_utf8 + tail), 0);\\n\\n this.onData(utf8str);\\n\\n } else {\\n this.onData(strm.output.length === strm.next_out ? strm.output : strm.output.subarray(0, strm.next_out));\\n }\\n }\\n }\\n\\n // Must repeat iteration if out buffer is full\\n if (status === Z_OK && last_avail_out === 0) continue;\\n\\n // Finalize if end of stream reached.\\n if (status === Z_STREAM_END) {\\n status = zlib_inflate.inflateEnd(this.strm);\\n this.onEnd(status);\\n this.ended = true;\\n return true;\\n }\\n\\n if (strm.avail_in === 0) break;\\n }\\n\\n return true;\\n};\\n\\n\\n/**\\n * Inflate#onData(chunk) -> Void\\n * - chunk (Uint8Array|String): output data. When string output requested,\\n * each chunk will be string.\\n *\\n * By default, stores data blocks in `chunks[]` property and glue\\n * those in `onEnd`. Override this handler, if you need another behaviour.\\n **/\\nInflate.prototype.onData = function (chunk) {\\n this.chunks.push(chunk);\\n};\\n\\n\\n/**\\n * Inflate#onEnd(status) -> Void\\n * - status (Number): inflate status. 0 (Z_OK) on success,\\n * other if not.\\n *\\n * Called either after you tell inflate that the input stream is\\n * complete (Z_FINISH). By default - join collected chunks,\\n * free memory and fill `results` / `err` properties.\\n **/\\nInflate.prototype.onEnd = function (status) {\\n // On success - join\\n if (status === Z_OK) {\\n if (this.options.to === 'string') {\\n this.result = this.chunks.join('');\\n } else {\\n this.result = utils.flattenChunks(this.chunks);\\n }\\n }\\n this.chunks = [];\\n this.err = status;\\n this.msg = this.strm.msg;\\n};\\n\\n\\n/**\\n * inflate(data[, options]) -> Uint8Array|String\\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\\n * - options (Object): zlib inflate options.\\n *\\n * Decompress `data` with inflate/ungzip and `options`. Autodetect\\n * format via wrapper header by default. That's why we don't provide\\n * separate `ungzip` method.\\n *\\n * Supported options are:\\n *\\n * - windowBits\\n *\\n * [http://zlib.net/manual.html#Advanced](http://zlib.net/manual.html#Advanced)\\n * for more information.\\n *\\n * Sugar (options):\\n *\\n * - `raw` (Boolean) - say that we work with raw stream, if you don't wish to specify\\n * negative windowBits implicitly.\\n * - `to` (String) - if equal to 'string', then result will be converted\\n * from utf8 to utf16 (javascript) string. When string output requested,\\n * chunk length can differ from `chunkSize`, depending on content.\\n *\\n *\\n * ##### Example:\\n *\\n * ```javascript\\n * const pako = require('pako');\\n * const input = pako.deflate(new Uint8Array([1,2,3,4,5,6,7,8,9]));\\n * let output;\\n *\\n * try {\\n * output = pako.inflate(input);\\n * } catch (err) {\\n * console.log(err);\\n * }\\n * ```\\n **/\\nfunction inflate(input, options) {\\n const inflator = new Inflate(options);\\n\\n inflator.push(input);\\n\\n // That will never happens, if you don't cheat with options :)\\n if (inflator.err) throw inflator.msg || msg[inflator.err];\\n\\n return inflator.result;\\n}\\n\\n\\n/**\\n * inflateRaw(data[, options]) -> Uint8Array|String\\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\\n * - options (Object): zlib inflate options.\\n *\\n * The same as [[inflate]], but creates raw data, without wrapper\\n * (header and adler32 crc).\\n **/\\nfunction inflateRaw(input, options) {\\n options = options || {};\\n options.raw = true;\\n return inflate(input, options);\\n}\\n\\n\\n/**\\n * ungzip(data[, options]) -> Uint8Array|String\\n * - data (Uint8Array|ArrayBuffer): input data to decompress.\\n * - options (Object): zlib inflate options.\\n *\\n * Just shortcut to [[inflate]], because it autodetects format\\n * by header.content. Done for convenience.\\n **/\\n\\n\\nmodule.exports.Inflate = Inflate;\\nmodule.exports.inflate = inflate;\\nmodule.exports.inflateRaw = inflateRaw;\\nmodule.exports.ungzip = inflate;\\nmodule.exports.constants = __webpack_require__(/*! ./zlib/constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/inflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/utils/common.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/utils/common.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n\\nconst _has = (obj, key) => {\\n return Object.prototype.hasOwnProperty.call(obj, key);\\n};\\n\\nmodule.exports.assign = function (obj /*from1, from2, from3, ...*/) {\\n const sources = Array.prototype.slice.call(arguments, 1);\\n while (sources.length) {\\n const source = sources.shift();\\n if (!source) { continue; }\\n\\n if (typeof source !== 'object') {\\n throw new TypeError(source + 'must be non-object');\\n }\\n\\n for (const p in source) {\\n if (_has(source, p)) {\\n obj[p] = source[p];\\n }\\n }\\n }\\n\\n return obj;\\n};\\n\\n\\n// Join array of chunks to single array.\\nmodule.exports.flattenChunks = (chunks) => {\\n // calculate data length\\n let len = 0;\\n\\n for (let i = 0, l = chunks.length; i < l; i++) {\\n len += chunks[i].length;\\n }\\n\\n // join chunks\\n const result = new Uint8Array(len);\\n\\n for (let i = 0, pos = 0, l = chunks.length; i < l; i++) {\\n let chunk = chunks[i];\\n result.set(chunk, pos);\\n pos += chunk.length;\\n }\\n\\n return result;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/utils/common.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/utils/strings.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/utils/strings.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"// String encode/decode helpers\\n\\n\\n\\n// Quick check if we can use fast array to bin string conversion\\n//\\n// - apply(Array) can fail on Android 2.2\\n// - apply(Uint8Array) can fail on iOS 5.1 Safari\\n//\\nlet STR_APPLY_UIA_OK = true;\\n\\ntry { String.fromCharCode.apply(null, new Uint8Array(1)); } catch (__) { STR_APPLY_UIA_OK = false; }\\n\\n\\n// Table with utf8 lengths (calculated by first byte of sequence)\\n// Note, that 5 & 6-byte values and some 4-byte values can not be represented in JS,\\n// because max possible codepoint is 0x10ffff\\nconst _utf8len = new Uint8Array(256);\\nfor (let q = 0; q < 256; q++) {\\n _utf8len[q] = (q >= 252 ? 6 : q >= 248 ? 5 : q >= 240 ? 4 : q >= 224 ? 3 : q >= 192 ? 2 : 1);\\n}\\n_utf8len[254] = _utf8len[254] = 1; // Invalid sequence start\\n\\n\\n// convert string to array (typed, when possible)\\nmodule.exports.string2buf = (str) => {\\n if (typeof TextEncoder === 'function' && TextEncoder.prototype.encode) {\\n return new TextEncoder().encode(str);\\n }\\n\\n let buf, c, c2, m_pos, i, str_len = str.length, buf_len = 0;\\n\\n // count binary size\\n for (m_pos = 0; m_pos < str_len; m_pos++) {\\n c = str.charCodeAt(m_pos);\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\n c2 = str.charCodeAt(m_pos + 1);\\n if ((c2 & 0xfc00) === 0xdc00) {\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\n m_pos++;\\n }\\n }\\n buf_len += c < 0x80 ? 1 : c < 0x800 ? 2 : c < 0x10000 ? 3 : 4;\\n }\\n\\n // allocate buffer\\n buf = new Uint8Array(buf_len);\\n\\n // convert\\n for (i = 0, m_pos = 0; i < buf_len; m_pos++) {\\n c = str.charCodeAt(m_pos);\\n if ((c & 0xfc00) === 0xd800 && (m_pos + 1 < str_len)) {\\n c2 = str.charCodeAt(m_pos + 1);\\n if ((c2 & 0xfc00) === 0xdc00) {\\n c = 0x10000 + ((c - 0xd800) << 10) + (c2 - 0xdc00);\\n m_pos++;\\n }\\n }\\n if (c < 0x80) {\\n /* one byte */\\n buf[i++] = c;\\n } else if (c < 0x800) {\\n /* two bytes */\\n buf[i++] = 0xC0 | (c >>> 6);\\n buf[i++] = 0x80 | (c & 0x3f);\\n } else if (c < 0x10000) {\\n /* three bytes */\\n buf[i++] = 0xE0 | (c >>> 12);\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\n buf[i++] = 0x80 | (c & 0x3f);\\n } else {\\n /* four bytes */\\n buf[i++] = 0xf0 | (c >>> 18);\\n buf[i++] = 0x80 | (c >>> 12 & 0x3f);\\n buf[i++] = 0x80 | (c >>> 6 & 0x3f);\\n buf[i++] = 0x80 | (c & 0x3f);\\n }\\n }\\n\\n return buf;\\n};\\n\\n// Helper\\nconst buf2binstring = (buf, len) => {\\n // On Chrome, the arguments in a function call that are allowed is `65534`.\\n // If the length of the buffer is smaller than that, we can use this optimization,\\n // otherwise we will take a slower path.\\n if (len < 65534) {\\n if (buf.subarray && STR_APPLY_UIA_OK) {\\n return String.fromCharCode.apply(null, buf.length === len ? buf : buf.subarray(0, len));\\n }\\n }\\n\\n let result = '';\\n for (let i = 0; i < len; i++) {\\n result += String.fromCharCode(buf[i]);\\n }\\n return result;\\n};\\n\\n\\n// convert array to string\\nmodule.exports.buf2string = (buf, max) => {\\n const len = max || buf.length;\\n\\n if (typeof TextDecoder === 'function' && TextDecoder.prototype.decode) {\\n return new TextDecoder().decode(buf.subarray(0, max));\\n }\\n\\n let i, out;\\n\\n // Reserve max possible length (2 words per char)\\n // NB: by unknown reasons, Array is significantly faster for\\n // String.fromCharCode.apply than Uint16Array.\\n const utf16buf = new Array(len * 2);\\n\\n for (out = 0, i = 0; i < len;) {\\n let c = buf[i++];\\n // quick process ascii\\n if (c < 0x80) { utf16buf[out++] = c; continue; }\\n\\n let c_len = _utf8len[c];\\n // skip 5 & 6 byte codes\\n if (c_len > 4) { utf16buf[out++] = 0xfffd; i += c_len - 1; continue; }\\n\\n // apply mask on first byte\\n c &= c_len === 2 ? 0x1f : c_len === 3 ? 0x0f : 0x07;\\n // join the rest\\n while (c_len > 1 && i < len) {\\n c = (c << 6) | (buf[i++] & 0x3f);\\n c_len--;\\n }\\n\\n // terminated by end of string?\\n if (c_len > 1) { utf16buf[out++] = 0xfffd; continue; }\\n\\n if (c < 0x10000) {\\n utf16buf[out++] = c;\\n } else {\\n c -= 0x10000;\\n utf16buf[out++] = 0xd800 | ((c >> 10) & 0x3ff);\\n utf16buf[out++] = 0xdc00 | (c & 0x3ff);\\n }\\n }\\n\\n return buf2binstring(utf16buf, out);\\n};\\n\\n\\n// Calculate max possible position in utf8 buffer,\\n// that will not break sequence. If that's not possible\\n// - (very small limits) return max size as is.\\n//\\n// buf[] - utf8 bytes array\\n// max - length limit (mandatory);\\nmodule.exports.utf8border = (buf, max) => {\\n\\n max = max || buf.length;\\n if (max > buf.length) { max = buf.length; }\\n\\n // go back from last position, until start of sequence found\\n let pos = max - 1;\\n while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }\\n\\n // Very small and broken sequence,\\n // return max, because we should return something anyway.\\n if (pos < 0) { return max; }\\n\\n // If we came to start of buffer - that means buffer is too small,\\n // return max too.\\n if (pos === 0) { return max; }\\n\\n return (pos + _utf8len[buf[pos]] > max) ? pos : max;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/utils/strings.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/adler32.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/adler32.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// Note: adler32 takes 12% for level 0 and 2% for level 6.\\n// It isn't worth it to make additional optimizations as in original.\\n// Small size is preferable.\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst adler32 = (adler, buf, len, pos) => {\\n let s1 = (adler & 0xffff) |0,\\n s2 = ((adler >>> 16) & 0xffff) |0,\\n n = 0;\\n\\n while (len !== 0) {\\n // Set limit ~ twice less than 5552, to keep\\n // s2 in 31-bits, because we force signed ints.\\n // in other case %= will fail.\\n n = len > 2000 ? 2000 : len;\\n len -= n;\\n\\n do {\\n s1 = (s1 + buf[pos++]) |0;\\n s2 = (s2 + s1) |0;\\n } while (--n);\\n\\n s1 %= 65521;\\n s2 %= 65521;\\n }\\n\\n return (s1 | (s2 << 16)) |0;\\n};\\n\\n\\nmodule.exports = adler32;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/adler32.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/constants.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/constants.js ***!\n \\*************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nmodule.exports = {\\n\\n /* Allowed flush values; see deflate() and inflate() below for details */\\n Z_NO_FLUSH: 0,\\n Z_PARTIAL_FLUSH: 1,\\n Z_SYNC_FLUSH: 2,\\n Z_FULL_FLUSH: 3,\\n Z_FINISH: 4,\\n Z_BLOCK: 5,\\n Z_TREES: 6,\\n\\n /* Return codes for the compression/decompression functions. Negative values\\n * are errors, positive values are used for special but normal events.\\n */\\n Z_OK: 0,\\n Z_STREAM_END: 1,\\n Z_NEED_DICT: 2,\\n Z_ERRNO: -1,\\n Z_STREAM_ERROR: -2,\\n Z_DATA_ERROR: -3,\\n Z_MEM_ERROR: -4,\\n Z_BUF_ERROR: -5,\\n //Z_VERSION_ERROR: -6,\\n\\n /* compression levels */\\n Z_NO_COMPRESSION: 0,\\n Z_BEST_SPEED: 1,\\n Z_BEST_COMPRESSION: 9,\\n Z_DEFAULT_COMPRESSION: -1,\\n\\n\\n Z_FILTERED: 1,\\n Z_HUFFMAN_ONLY: 2,\\n Z_RLE: 3,\\n Z_FIXED: 4,\\n Z_DEFAULT_STRATEGY: 0,\\n\\n /* Possible values of the data_type field (though see inflate()) */\\n Z_BINARY: 0,\\n Z_TEXT: 1,\\n //Z_ASCII: 1, // = Z_TEXT (deprecated)\\n Z_UNKNOWN: 2,\\n\\n /* The deflate compression method */\\n Z_DEFLATED: 8\\n //Z_NULL: null // Use -1 or null inline, depending on var type\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/constants.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/crc32.js\":\n/*!*********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/crc32.js ***!\n \\*********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// Note: we can't get significant speed boost here.\\n// So write code to minimize size - no pregenerated tables\\n// and array tools dependencies.\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\n// Use ordinary array, since untyped makes no boost here\\nconst makeTable = () => {\\n let c, table = [];\\n\\n for (var n = 0; n < 256; n++) {\\n c = n;\\n for (var k = 0; k < 8; k++) {\\n c = ((c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1));\\n }\\n table[n] = c;\\n }\\n\\n return table;\\n};\\n\\n// Create table on load. Just 255 signed longs. Not a problem.\\nconst crcTable = new Uint32Array(makeTable());\\n\\n\\nconst crc32 = (crc, buf, len, pos) => {\\n const t = crcTable;\\n const end = pos + len;\\n\\n crc ^= -1;\\n\\n for (let i = pos; i < end; i++) {\\n crc = (crc >>> 8) ^ t[(crc ^ buf[i]) & 0xFF];\\n }\\n\\n return (crc ^ (-1)); // >>> 0;\\n};\\n\\n\\nmodule.exports = crc32;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/crc32.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/deflate.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/deflate.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst { _tr_init, _tr_stored_block, _tr_flush_block, _tr_tally, _tr_align } = __webpack_require__(/*! ./trees */ \\\"./node_modules/pako/lib/zlib/trees.js\\\");\\nconst adler32 = __webpack_require__(/*! ./adler32 */ \\\"./node_modules/pako/lib/zlib/adler32.js\\\");\\nconst crc32 = __webpack_require__(/*! ./crc32 */ \\\"./node_modules/pako/lib/zlib/crc32.js\\\");\\nconst msg = __webpack_require__(/*! ./messages */ \\\"./node_modules/pako/lib/zlib/messages.js\\\");\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_NO_FLUSH, Z_PARTIAL_FLUSH, Z_FULL_FLUSH, Z_FINISH, Z_BLOCK,\\n Z_OK, Z_STREAM_END, Z_STREAM_ERROR, Z_DATA_ERROR, Z_BUF_ERROR,\\n Z_DEFAULT_COMPRESSION,\\n Z_FILTERED, Z_HUFFMAN_ONLY, Z_RLE, Z_FIXED, Z_DEFAULT_STRATEGY,\\n Z_UNKNOWN,\\n Z_DEFLATED\\n} = __webpack_require__(/*! ./constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n/*============================================================================*/\\n\\n\\nconst MAX_MEM_LEVEL = 9;\\n/* Maximum value for memLevel in deflateInit2 */\\nconst MAX_WBITS = 15;\\n/* 32K LZ77 window */\\nconst DEF_MEM_LEVEL = 8;\\n\\n\\nconst LENGTH_CODES = 29;\\n/* number of length codes, not counting the special END_BLOCK code */\\nconst LITERALS = 256;\\n/* number of literal bytes 0..255 */\\nconst L_CODES = LITERALS + 1 + LENGTH_CODES;\\n/* number of Literal or Length codes, including the END_BLOCK code */\\nconst D_CODES = 30;\\n/* number of distance codes */\\nconst BL_CODES = 19;\\n/* number of codes used to transfer the bit lengths */\\nconst HEAP_SIZE = 2 * L_CODES + 1;\\n/* maximum heap size */\\nconst MAX_BITS = 15;\\n/* All codes must not exceed MAX_BITS bits */\\n\\nconst MIN_MATCH = 3;\\nconst MAX_MATCH = 258;\\nconst MIN_LOOKAHEAD = (MAX_MATCH + MIN_MATCH + 1);\\n\\nconst PRESET_DICT = 0x20;\\n\\nconst INIT_STATE = 42; /* zlib header -> BUSY_STATE */\\n//#ifdef GZIP\\nconst GZIP_STATE = 57; /* gzip header -> BUSY_STATE | EXTRA_STATE */\\n//#endif\\nconst EXTRA_STATE = 69; /* gzip extra block -> NAME_STATE */\\nconst NAME_STATE = 73; /* gzip file name -> COMMENT_STATE */\\nconst COMMENT_STATE = 91; /* gzip comment -> HCRC_STATE */\\nconst HCRC_STATE = 103; /* gzip header CRC -> BUSY_STATE */\\nconst BUSY_STATE = 113; /* deflate -> FINISH_STATE */\\nconst FINISH_STATE = 666; /* stream complete */\\n\\nconst BS_NEED_MORE = 1; /* block not completed, need more input or more output */\\nconst BS_BLOCK_DONE = 2; /* block flush performed */\\nconst BS_FINISH_STARTED = 3; /* finish started, need only more output at next deflate */\\nconst BS_FINISH_DONE = 4; /* finish done, accept no more input or output */\\n\\nconst OS_CODE = 0x03; // Unix :) . Don't detect, use this default.\\n\\nconst err = (strm, errorCode) => {\\n strm.msg = msg[errorCode];\\n return errorCode;\\n};\\n\\nconst rank = (f) => {\\n return ((f) * 2) - ((f) > 4 ? 9 : 0);\\n};\\n\\nconst zero = (buf) => {\\n let len = buf.length; while (--len >= 0) { buf[len] = 0; }\\n};\\n\\n/* ===========================================================================\\n * Slide the hash table when sliding the window down (could be avoided with 32\\n * bit values at the expense of memory usage). We slide even when level == 0 to\\n * keep the hash table consistent if we switch back to level > 0 later.\\n */\\nconst slide_hash = (s) => {\\n let n, m;\\n let p;\\n let wsize = s.w_size;\\n\\n n = s.hash_size;\\n p = n;\\n do {\\n m = s.head[--p];\\n s.head[p] = (m >= wsize ? m - wsize : 0);\\n } while (--n);\\n n = wsize;\\n//#ifndef FASTEST\\n p = n;\\n do {\\n m = s.prev[--p];\\n s.prev[p] = (m >= wsize ? m - wsize : 0);\\n /* If n is not on any hash chain, prev[n] is garbage but\\n * its value will never be used.\\n */\\n } while (--n);\\n//#endif\\n};\\n\\n/* eslint-disable new-cap */\\nlet HASH_ZLIB = (s, prev, data) => ((prev << s.hash_shift) ^ data) & s.hash_mask;\\n// This hash causes less collisions, https://github.com/nodeca/pako/issues/135\\n// But breaks binary compatibility\\n//let HASH_FAST = (s, prev, data) => ((prev << 8) + (prev >> 8) + (data << 4)) & s.hash_mask;\\nlet HASH = HASH_ZLIB;\\n\\n\\n/* =========================================================================\\n * Flush as much pending output as possible. All deflate() output, except for\\n * some deflate_stored() output, goes through this function so some\\n * applications may wish to modify it to avoid allocating a large\\n * strm->next_out buffer and copying into it. (See also read_buf()).\\n */\\nconst flush_pending = (strm) => {\\n const s = strm.state;\\n\\n //_tr_flush_bits(s);\\n let len = s.pending;\\n if (len > strm.avail_out) {\\n len = strm.avail_out;\\n }\\n if (len === 0) { return; }\\n\\n strm.output.set(s.pending_buf.subarray(s.pending_out, s.pending_out + len), strm.next_out);\\n strm.next_out += len;\\n s.pending_out += len;\\n strm.total_out += len;\\n strm.avail_out -= len;\\n s.pending -= len;\\n if (s.pending === 0) {\\n s.pending_out = 0;\\n }\\n};\\n\\n\\nconst flush_block_only = (s, last) => {\\n _tr_flush_block(s, (s.block_start >= 0 ? s.block_start : -1), s.strstart - s.block_start, last);\\n s.block_start = s.strstart;\\n flush_pending(s.strm);\\n};\\n\\n\\nconst put_byte = (s, b) => {\\n s.pending_buf[s.pending++] = b;\\n};\\n\\n\\n/* =========================================================================\\n * Put a short in the pending buffer. The 16-bit value is put in MSB order.\\n * IN assertion: the stream state is correct and there is enough room in\\n * pending_buf.\\n */\\nconst putShortMSB = (s, b) => {\\n\\n // put_byte(s, (Byte)(b >> 8));\\n// put_byte(s, (Byte)(b & 0xff));\\n s.pending_buf[s.pending++] = (b >>> 8) & 0xff;\\n s.pending_buf[s.pending++] = b & 0xff;\\n};\\n\\n\\n/* ===========================================================================\\n * Read a new buffer from the current input stream, update the adler32\\n * and total number of bytes read. All deflate() input goes through\\n * this function so some applications may wish to modify it to avoid\\n * allocating a large strm->input buffer and copying from it.\\n * (See also flush_pending()).\\n */\\nconst read_buf = (strm, buf, start, size) => {\\n\\n let len = strm.avail_in;\\n\\n if (len > size) { len = size; }\\n if (len === 0) { return 0; }\\n\\n strm.avail_in -= len;\\n\\n // zmemcpy(buf, strm->next_in, len);\\n buf.set(strm.input.subarray(strm.next_in, strm.next_in + len), start);\\n if (strm.state.wrap === 1) {\\n strm.adler = adler32(strm.adler, buf, len, start);\\n }\\n\\n else if (strm.state.wrap === 2) {\\n strm.adler = crc32(strm.adler, buf, len, start);\\n }\\n\\n strm.next_in += len;\\n strm.total_in += len;\\n\\n return len;\\n};\\n\\n\\n/* ===========================================================================\\n * Set match_start to the longest match starting at the given string and\\n * return its length. Matches shorter or equal to prev_length are discarded,\\n * in which case the result is equal to prev_length and match_start is\\n * garbage.\\n * IN assertions: cur_match is the head of the hash chain for the current\\n * string (strstart) and its distance is <= MAX_DIST, and prev_length >= 1\\n * OUT assertion: the match length is not greater than s->lookahead.\\n */\\nconst longest_match = (s, cur_match) => {\\n\\n let chain_length = s.max_chain_length; /* max hash chain length */\\n let scan = s.strstart; /* current string */\\n let match; /* matched string */\\n let len; /* length of current match */\\n let best_len = s.prev_length; /* best match length so far */\\n let nice_match = s.nice_match; /* stop if match long enough */\\n const limit = (s.strstart > (s.w_size - MIN_LOOKAHEAD)) ?\\n s.strstart - (s.w_size - MIN_LOOKAHEAD) : 0/*NIL*/;\\n\\n const _win = s.window; // shortcut\\n\\n const wmask = s.w_mask;\\n const prev = s.prev;\\n\\n /* Stop when cur_match becomes <= limit. To simplify the code,\\n * we prevent matches with the string of window index 0.\\n */\\n\\n const strend = s.strstart + MAX_MATCH;\\n let scan_end1 = _win[scan + best_len - 1];\\n let scan_end = _win[scan + best_len];\\n\\n /* The code is optimized for HASH_BITS >= 8 and MAX_MATCH-2 multiple of 16.\\n * It is easy to get rid of this optimization if necessary.\\n */\\n // Assert(s->hash_bits >= 8 && MAX_MATCH == 258, \\\"Code too clever\\\");\\n\\n /* Do not waste too much time if we already have a good match: */\\n if (s.prev_length >= s.good_match) {\\n chain_length >>= 2;\\n }\\n /* Do not look for matches beyond the end of the input. This is necessary\\n * to make deflate deterministic.\\n */\\n if (nice_match > s.lookahead) { nice_match = s.lookahead; }\\n\\n // Assert((ulg)s->strstart <= s->window_size-MIN_LOOKAHEAD, \\\"need lookahead\\\");\\n\\n do {\\n // Assert(cur_match < s->strstart, \\\"no future\\\");\\n match = cur_match;\\n\\n /* Skip to next match if the match length cannot increase\\n * or if the match length is less than 2. Note that the checks below\\n * for insufficient lookahead only occur occasionally for performance\\n * reasons. Therefore uninitialized memory will be accessed, and\\n * conditional jumps will be made that depend on those values.\\n * However the length of the match is limited to the lookahead, so\\n * the output of deflate is not affected by the uninitialized values.\\n */\\n\\n if (_win[match + best_len] !== scan_end ||\\n _win[match + best_len - 1] !== scan_end1 ||\\n _win[match] !== _win[scan] ||\\n _win[++match] !== _win[scan + 1]) {\\n continue;\\n }\\n\\n /* The check at best_len-1 can be removed because it will be made\\n * again later. (This heuristic is not always a win.)\\n * It is not necessary to compare scan[2] and match[2] since they\\n * are always equal when the other bytes match, given that\\n * the hash keys are equal and that HASH_BITS >= 8.\\n */\\n scan += 2;\\n match++;\\n // Assert(*scan == *match, \\\"match[2]?\\\");\\n\\n /* We check for insufficient lookahead only every 8th comparison;\\n * the 256th check will be made at strstart+258.\\n */\\n do {\\n /*jshint noempty:false*/\\n } while (_win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n _win[++scan] === _win[++match] && _win[++scan] === _win[++match] &&\\n scan < strend);\\n\\n // Assert(scan <= s->window+(unsigned)(s->window_size-1), \\\"wild scan\\\");\\n\\n len = MAX_MATCH - (strend - scan);\\n scan = strend - MAX_MATCH;\\n\\n if (len > best_len) {\\n s.match_start = cur_match;\\n best_len = len;\\n if (len >= nice_match) {\\n break;\\n }\\n scan_end1 = _win[scan + best_len - 1];\\n scan_end = _win[scan + best_len];\\n }\\n } while ((cur_match = prev[cur_match & wmask]) > limit && --chain_length !== 0);\\n\\n if (best_len <= s.lookahead) {\\n return best_len;\\n }\\n return s.lookahead;\\n};\\n\\n\\n/* ===========================================================================\\n * Fill the window when the lookahead becomes insufficient.\\n * Updates strstart and lookahead.\\n *\\n * IN assertion: lookahead < MIN_LOOKAHEAD\\n * OUT assertions: strstart <= window_size-MIN_LOOKAHEAD\\n * At least one byte has been read, or avail_in == 0; reads are\\n * performed for at least two bytes (required for the zip translate_eol\\n * option -- not supported here).\\n */\\nconst fill_window = (s) => {\\n\\n const _w_size = s.w_size;\\n let n, more, str;\\n\\n //Assert(s->lookahead < MIN_LOOKAHEAD, \\\"already enough lookahead\\\");\\n\\n do {\\n more = s.window_size - s.lookahead - s.strstart;\\n\\n // JS ints have 32 bit, block below not needed\\n /* Deal with !@#$% 64K limit: */\\n //if (sizeof(int) <= 2) {\\n // if (more == 0 && s->strstart == 0 && s->lookahead == 0) {\\n // more = wsize;\\n //\\n // } else if (more == (unsigned)(-1)) {\\n // /* Very unlikely, but possible on 16 bit machine if\\n // * strstart == 0 && lookahead == 1 (input done a byte at time)\\n // */\\n // more--;\\n // }\\n //}\\n\\n\\n /* If the window is almost full and there is insufficient lookahead,\\n * move the upper half to the lower one to make room in the upper half.\\n */\\n if (s.strstart >= _w_size + (_w_size - MIN_LOOKAHEAD)) {\\n\\n s.window.set(s.window.subarray(_w_size, _w_size + _w_size - more), 0);\\n s.match_start -= _w_size;\\n s.strstart -= _w_size;\\n /* we now have strstart >= MAX_DIST */\\n s.block_start -= _w_size;\\n if (s.insert > s.strstart) {\\n s.insert = s.strstart;\\n }\\n slide_hash(s);\\n more += _w_size;\\n }\\n if (s.strm.avail_in === 0) {\\n break;\\n }\\n\\n /* If there was no sliding:\\n * strstart <= WSIZE+MAX_DIST-1 && lookahead <= MIN_LOOKAHEAD - 1 &&\\n * more == window_size - lookahead - strstart\\n * => more >= window_size - (MIN_LOOKAHEAD-1 + WSIZE + MAX_DIST-1)\\n * => more >= window_size - 2*WSIZE + 2\\n * In the BIG_MEM or MMAP case (not yet supported),\\n * window_size == input_size + MIN_LOOKAHEAD &&\\n * strstart + s->lookahead <= input_size => more >= MIN_LOOKAHEAD.\\n * Otherwise, window_size == 2*WSIZE so more >= 2.\\n * If there was sliding, more >= WSIZE. So in all cases, more >= 2.\\n */\\n //Assert(more >= 2, \\\"more < 2\\\");\\n n = read_buf(s.strm, s.window, s.strstart + s.lookahead, more);\\n s.lookahead += n;\\n\\n /* Initialize the hash value now that we have some input: */\\n if (s.lookahead + s.insert >= MIN_MATCH) {\\n str = s.strstart - s.insert;\\n s.ins_h = s.window[str];\\n\\n /* UPDATE_HASH(s, s->ins_h, s->window[str + 1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[str + 1]);\\n//#if MIN_MATCH != 3\\n// Call update_hash() MIN_MATCH-3 more times\\n//#endif\\n while (s.insert) {\\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\\n\\n s.prev[str & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = str;\\n str++;\\n s.insert--;\\n if (s.lookahead + s.insert < MIN_MATCH) {\\n break;\\n }\\n }\\n }\\n /* If the whole input has less than MIN_MATCH bytes, ins_h is garbage,\\n * but this is not important since only literal bytes will be emitted.\\n */\\n\\n } while (s.lookahead < MIN_LOOKAHEAD && s.strm.avail_in !== 0);\\n\\n /* If the WIN_INIT bytes after the end of the current data have never been\\n * written, then zero those bytes in order to avoid memory check reports of\\n * the use of uninitialized (or uninitialised as Julian writes) bytes by\\n * the longest match routines. Update the high water mark for the next\\n * time through here. WIN_INIT is set to MAX_MATCH since the longest match\\n * routines allow scanning to strstart + MAX_MATCH, ignoring lookahead.\\n */\\n// if (s.high_water < s.window_size) {\\n// const curr = s.strstart + s.lookahead;\\n// let init = 0;\\n//\\n// if (s.high_water < curr) {\\n// /* Previous high water mark below current data -- zero WIN_INIT\\n// * bytes or up to end of window, whichever is less.\\n// */\\n// init = s.window_size - curr;\\n// if (init > WIN_INIT)\\n// init = WIN_INIT;\\n// zmemzero(s->window + curr, (unsigned)init);\\n// s->high_water = curr + init;\\n// }\\n// else if (s->high_water < (ulg)curr + WIN_INIT) {\\n// /* High water mark at or above current data, but below current data\\n// * plus WIN_INIT -- zero out to current data plus WIN_INIT, or up\\n// * to end of window, whichever is less.\\n// */\\n// init = (ulg)curr + WIN_INIT - s->high_water;\\n// if (init > s->window_size - s->high_water)\\n// init = s->window_size - s->high_water;\\n// zmemzero(s->window + s->high_water, (unsigned)init);\\n// s->high_water += init;\\n// }\\n// }\\n//\\n// Assert((ulg)s->strstart <= s->window_size - MIN_LOOKAHEAD,\\n// \\\"not enough room for search\\\");\\n};\\n\\n/* ===========================================================================\\n * Copy without compression as much as possible from the input stream, return\\n * the current block state.\\n *\\n * In case deflateParams() is used to later switch to a non-zero compression\\n * level, s->matches (otherwise unused when storing) keeps track of the number\\n * of hash table slides to perform. If s->matches is 1, then one hash table\\n * slide will be done when switching. If s->matches is 2, the maximum value\\n * allowed here, then the hash table will be cleared, since two or more slides\\n * is the same as a clear.\\n *\\n * deflate_stored() is written to minimize the number of times an input byte is\\n * copied. It is most efficient with large input and output buffers, which\\n * maximizes the opportunites to have a single copy from next_in to next_out.\\n */\\nconst deflate_stored = (s, flush) => {\\n\\n /* Smallest worthy block size when not flushing or finishing. By default\\n * this is 32K. This can be as small as 507 bytes for memLevel == 1. For\\n * large input and output buffers, the stored block size will be larger.\\n */\\n let min_block = s.pending_buf_size - 5 > s.w_size ? s.w_size : s.pending_buf_size - 5;\\n\\n /* Copy as many min_block or larger stored blocks directly to next_out as\\n * possible. If flushing, copy the remaining available input to next_out as\\n * stored blocks, if there is enough space.\\n */\\n let len, left, have, last = 0;\\n let used = s.strm.avail_in;\\n do {\\n /* Set len to the maximum size block that we can copy directly with the\\n * available input data and output space. Set left to how much of that\\n * would be copied from what's left in the window.\\n */\\n len = 65535/* MAX_STORED */; /* maximum deflate stored block length */\\n have = (s.bi_valid + 42) >> 3; /* number of header bytes */\\n if (s.strm.avail_out < have) { /* need room for header */\\n break;\\n }\\n /* maximum stored block length that will fit in avail_out: */\\n have = s.strm.avail_out - have;\\n left = s.strstart - s.block_start; /* bytes left in window */\\n if (len > left + s.strm.avail_in) {\\n len = left + s.strm.avail_in; /* limit len to the input */\\n }\\n if (len > have) {\\n len = have; /* limit len to the output */\\n }\\n\\n /* If the stored block would be less than min_block in length, or if\\n * unable to copy all of the available input when flushing, then try\\n * copying to the window and the pending buffer instead. Also don't\\n * write an empty block when flushing -- deflate() does that.\\n */\\n if (len < min_block && ((len === 0 && flush !== Z_FINISH) ||\\n flush === Z_NO_FLUSH ||\\n len !== left + s.strm.avail_in)) {\\n break;\\n }\\n\\n /* Make a dummy stored block in pending to get the header bytes,\\n * including any pending bits. This also updates the debugging counts.\\n */\\n last = flush === Z_FINISH && len === left + s.strm.avail_in ? 1 : 0;\\n _tr_stored_block(s, 0, 0, last);\\n\\n /* Replace the lengths in the dummy stored block with len. */\\n s.pending_buf[s.pending - 4] = len;\\n s.pending_buf[s.pending - 3] = len >> 8;\\n s.pending_buf[s.pending - 2] = ~len;\\n s.pending_buf[s.pending - 1] = ~len >> 8;\\n\\n /* Write the stored block header bytes. */\\n flush_pending(s.strm);\\n\\n//#ifdef ZLIB_DEBUG\\n// /* Update debugging counts for the data about to be copied. */\\n// s->compressed_len += len << 3;\\n// s->bits_sent += len << 3;\\n//#endif\\n\\n /* Copy uncompressed bytes from the window to next_out. */\\n if (left) {\\n if (left > len) {\\n left = len;\\n }\\n //zmemcpy(s->strm->next_out, s->window + s->block_start, left);\\n s.strm.output.set(s.window.subarray(s.block_start, s.block_start + left), s.strm.next_out);\\n s.strm.next_out += left;\\n s.strm.avail_out -= left;\\n s.strm.total_out += left;\\n s.block_start += left;\\n len -= left;\\n }\\n\\n /* Copy uncompressed bytes directly from next_in to next_out, updating\\n * the check value.\\n */\\n if (len) {\\n read_buf(s.strm, s.strm.output, s.strm.next_out, len);\\n s.strm.next_out += len;\\n s.strm.avail_out -= len;\\n s.strm.total_out += len;\\n }\\n } while (last === 0);\\n\\n /* Update the sliding window with the last s->w_size bytes of the copied\\n * data, or append all of the copied data to the existing window if less\\n * than s->w_size bytes were copied. Also update the number of bytes to\\n * insert in the hash tables, in the event that deflateParams() switches to\\n * a non-zero compression level.\\n */\\n used -= s.strm.avail_in; /* number of input bytes directly copied */\\n if (used) {\\n /* If any input was used, then no unused input remains in the window,\\n * therefore s->block_start == s->strstart.\\n */\\n if (used >= s.w_size) { /* supplant the previous history */\\n s.matches = 2; /* clear hash */\\n //zmemcpy(s->window, s->strm->next_in - s->w_size, s->w_size);\\n s.window.set(s.strm.input.subarray(s.strm.next_in - s.w_size, s.strm.next_in), 0);\\n s.strstart = s.w_size;\\n s.insert = s.strstart;\\n }\\n else {\\n if (s.window_size - s.strstart <= used) {\\n /* Slide the window down. */\\n s.strstart -= s.w_size;\\n //zmemcpy(s->window, s->window + s->w_size, s->strstart);\\n s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);\\n if (s.matches < 2) {\\n s.matches++; /* add a pending slide_hash() */\\n }\\n if (s.insert > s.strstart) {\\n s.insert = s.strstart;\\n }\\n }\\n //zmemcpy(s->window + s->strstart, s->strm->next_in - used, used);\\n s.window.set(s.strm.input.subarray(s.strm.next_in - used, s.strm.next_in), s.strstart);\\n s.strstart += used;\\n s.insert += used > s.w_size - s.insert ? s.w_size - s.insert : used;\\n }\\n s.block_start = s.strstart;\\n }\\n if (s.high_water < s.strstart) {\\n s.high_water = s.strstart;\\n }\\n\\n /* If the last block was written to next_out, then done. */\\n if (last) {\\n return BS_FINISH_DONE;\\n }\\n\\n /* If flushing and all input has been consumed, then done. */\\n if (flush !== Z_NO_FLUSH && flush !== Z_FINISH &&\\n s.strm.avail_in === 0 && s.strstart === s.block_start) {\\n return BS_BLOCK_DONE;\\n }\\n\\n /* Fill the window with any remaining input. */\\n have = s.window_size - s.strstart;\\n if (s.strm.avail_in > have && s.block_start >= s.w_size) {\\n /* Slide the window down. */\\n s.block_start -= s.w_size;\\n s.strstart -= s.w_size;\\n //zmemcpy(s->window, s->window + s->w_size, s->strstart);\\n s.window.set(s.window.subarray(s.w_size, s.w_size + s.strstart), 0);\\n if (s.matches < 2) {\\n s.matches++; /* add a pending slide_hash() */\\n }\\n have += s.w_size; /* more space now */\\n if (s.insert > s.strstart) {\\n s.insert = s.strstart;\\n }\\n }\\n if (have > s.strm.avail_in) {\\n have = s.strm.avail_in;\\n }\\n if (have) {\\n read_buf(s.strm, s.window, s.strstart, have);\\n s.strstart += have;\\n s.insert += have > s.w_size - s.insert ? s.w_size - s.insert : have;\\n }\\n if (s.high_water < s.strstart) {\\n s.high_water = s.strstart;\\n }\\n\\n /* There was not enough avail_out to write a complete worthy or flushed\\n * stored block to next_out. Write a stored block to pending instead, if we\\n * have enough input for a worthy block, or if flushing and there is enough\\n * room for the remaining input as a stored block in the pending buffer.\\n */\\n have = (s.bi_valid + 42) >> 3; /* number of header bytes */\\n /* maximum stored block length that will fit in pending: */\\n have = s.pending_buf_size - have > 65535/* MAX_STORED */ ? 65535/* MAX_STORED */ : s.pending_buf_size - have;\\n min_block = have > s.w_size ? s.w_size : have;\\n left = s.strstart - s.block_start;\\n if (left >= min_block ||\\n ((left || flush === Z_FINISH) && flush !== Z_NO_FLUSH &&\\n s.strm.avail_in === 0 && left <= have)) {\\n len = left > have ? have : left;\\n last = flush === Z_FINISH && s.strm.avail_in === 0 &&\\n len === left ? 1 : 0;\\n _tr_stored_block(s, s.block_start, len, last);\\n s.block_start += len;\\n flush_pending(s.strm);\\n }\\n\\n /* We've done all we can with the available input and output. */\\n return last ? BS_FINISH_STARTED : BS_NEED_MORE;\\n};\\n\\n\\n/* ===========================================================================\\n * Compress as much as possible from the input stream, return the current\\n * block state.\\n * This function does not perform lazy evaluation of matches and inserts\\n * new strings in the dictionary only for unmatched strings or for short\\n * matches. It is used only for the fast compression options.\\n */\\nconst deflate_fast = (s, flush) => {\\n\\n let hash_head; /* head of the hash chain */\\n let bflush; /* set if current block must be flushed */\\n\\n for (;;) {\\n /* Make sure that we always have enough lookahead, except\\n * at the end of the input file. We need MAX_MATCH bytes\\n * for the next match, plus MIN_MATCH bytes to insert the\\n * string following the next match.\\n */\\n if (s.lookahead < MIN_LOOKAHEAD) {\\n fill_window(s);\\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n if (s.lookahead === 0) {\\n break; /* flush the current block */\\n }\\n }\\n\\n /* Insert the string window[strstart .. strstart+2] in the\\n * dictionary, and set hash_head to the head of the hash chain:\\n */\\n hash_head = 0/*NIL*/;\\n if (s.lookahead >= MIN_MATCH) {\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n }\\n\\n /* Find the longest match, discarding those <= prev_length.\\n * At this point we have always match_length < MIN_MATCH\\n */\\n if (hash_head !== 0/*NIL*/ && ((s.strstart - hash_head) <= (s.w_size - MIN_LOOKAHEAD))) {\\n /* To simplify the code, we prevent matches with the string\\n * of window index 0 (in particular we have to avoid a match\\n * of the string with itself at the start of the input file).\\n */\\n s.match_length = longest_match(s, hash_head);\\n /* longest_match() sets match_start */\\n }\\n if (s.match_length >= MIN_MATCH) {\\n // check_match(s, s.strstart, s.match_start, s.match_length); // for debug only\\n\\n /*** _tr_tally_dist(s, s.strstart - s.match_start,\\n s.match_length - MIN_MATCH, bflush); ***/\\n bflush = _tr_tally(s, s.strstart - s.match_start, s.match_length - MIN_MATCH);\\n\\n s.lookahead -= s.match_length;\\n\\n /* Insert new strings in the hash table only if the match length\\n * is not too large. This saves time but degrades compression.\\n */\\n if (s.match_length <= s.max_lazy_match/*max_insert_length*/ && s.lookahead >= MIN_MATCH) {\\n s.match_length--; /* string at strstart already in table */\\n do {\\n s.strstart++;\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n /* strstart never exceeds WSIZE-MAX_MATCH, so there are\\n * always MIN_MATCH bytes ahead.\\n */\\n } while (--s.match_length !== 0);\\n s.strstart++;\\n } else\\n {\\n s.strstart += s.match_length;\\n s.match_length = 0;\\n s.ins_h = s.window[s.strstart];\\n /* UPDATE_HASH(s, s.ins_h, s.window[s.strstart+1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + 1]);\\n\\n//#if MIN_MATCH != 3\\n// Call UPDATE_HASH() MIN_MATCH-3 more times\\n//#endif\\n /* If lookahead < MIN_MATCH, ins_h is garbage, but it does not\\n * matter since it will be recomputed at next deflate call.\\n */\\n }\\n } else {\\n /* No match, output a literal byte */\\n //Tracevv((stderr,\\\"%c\\\", s.window[s.strstart]));\\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\\n\\n s.lookahead--;\\n s.strstart++;\\n }\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n }\\n s.insert = ((s.strstart < (MIN_MATCH - 1)) ? s.strstart : MIN_MATCH - 1);\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n return BS_BLOCK_DONE;\\n};\\n\\n/* ===========================================================================\\n * Same as above, but achieves better compression. We use a lazy\\n * evaluation for matches: a match is finally adopted only if there is\\n * no better match at the next window position.\\n */\\nconst deflate_slow = (s, flush) => {\\n\\n let hash_head; /* head of hash chain */\\n let bflush; /* set if current block must be flushed */\\n\\n let max_insert;\\n\\n /* Process the input block. */\\n for (;;) {\\n /* Make sure that we always have enough lookahead, except\\n * at the end of the input file. We need MAX_MATCH bytes\\n * for the next match, plus MIN_MATCH bytes to insert the\\n * string following the next match.\\n */\\n if (s.lookahead < MIN_LOOKAHEAD) {\\n fill_window(s);\\n if (s.lookahead < MIN_LOOKAHEAD && flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n if (s.lookahead === 0) { break; } /* flush the current block */\\n }\\n\\n /* Insert the string window[strstart .. strstart+2] in the\\n * dictionary, and set hash_head to the head of the hash chain:\\n */\\n hash_head = 0/*NIL*/;\\n if (s.lookahead >= MIN_MATCH) {\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n }\\n\\n /* Find the longest match, discarding those <= prev_length.\\n */\\n s.prev_length = s.match_length;\\n s.prev_match = s.match_start;\\n s.match_length = MIN_MATCH - 1;\\n\\n if (hash_head !== 0/*NIL*/ && s.prev_length < s.max_lazy_match &&\\n s.strstart - hash_head <= (s.w_size - MIN_LOOKAHEAD)/*MAX_DIST(s)*/) {\\n /* To simplify the code, we prevent matches with the string\\n * of window index 0 (in particular we have to avoid a match\\n * of the string with itself at the start of the input file).\\n */\\n s.match_length = longest_match(s, hash_head);\\n /* longest_match() sets match_start */\\n\\n if (s.match_length <= 5 &&\\n (s.strategy === Z_FILTERED || (s.match_length === MIN_MATCH && s.strstart - s.match_start > 4096/*TOO_FAR*/))) {\\n\\n /* If prev_match is also MIN_MATCH, match_start is garbage\\n * but we will ignore the current match anyway.\\n */\\n s.match_length = MIN_MATCH - 1;\\n }\\n }\\n /* If there was a match at the previous step and the current\\n * match is not better, output the previous match:\\n */\\n if (s.prev_length >= MIN_MATCH && s.match_length <= s.prev_length) {\\n max_insert = s.strstart + s.lookahead - MIN_MATCH;\\n /* Do not insert strings in hash table beyond this. */\\n\\n //check_match(s, s.strstart-1, s.prev_match, s.prev_length);\\n\\n /***_tr_tally_dist(s, s.strstart - 1 - s.prev_match,\\n s.prev_length - MIN_MATCH, bflush);***/\\n bflush = _tr_tally(s, s.strstart - 1 - s.prev_match, s.prev_length - MIN_MATCH);\\n /* Insert in hash table all strings up to the end of the match.\\n * strstart-1 and strstart are already inserted. If there is not\\n * enough lookahead, the last two strings are not inserted in\\n * the hash table.\\n */\\n s.lookahead -= s.prev_length - 1;\\n s.prev_length -= 2;\\n do {\\n if (++s.strstart <= max_insert) {\\n /*** INSERT_STRING(s, s.strstart, hash_head); ***/\\n s.ins_h = HASH(s, s.ins_h, s.window[s.strstart + MIN_MATCH - 1]);\\n hash_head = s.prev[s.strstart & s.w_mask] = s.head[s.ins_h];\\n s.head[s.ins_h] = s.strstart;\\n /***/\\n }\\n } while (--s.prev_length !== 0);\\n s.match_available = 0;\\n s.match_length = MIN_MATCH - 1;\\n s.strstart++;\\n\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n\\n } else if (s.match_available) {\\n /* If there was no match at the previous position, output a\\n * single literal. If there was a match but the current match\\n * is longer, truncate the previous match to a single literal.\\n */\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart-1]));\\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\\n\\n if (bflush) {\\n /*** FLUSH_BLOCK_ONLY(s, 0) ***/\\n flush_block_only(s, false);\\n /***/\\n }\\n s.strstart++;\\n s.lookahead--;\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n } else {\\n /* There is no previous match to compare with, wait for\\n * the next step to decide.\\n */\\n s.match_available = 1;\\n s.strstart++;\\n s.lookahead--;\\n }\\n }\\n //Assert (flush != Z_NO_FLUSH, \\\"no flush?\\\");\\n if (s.match_available) {\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart-1]));\\n /*** _tr_tally_lit(s, s.window[s.strstart-1], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart - 1]);\\n\\n s.match_available = 0;\\n }\\n s.insert = s.strstart < MIN_MATCH - 1 ? s.strstart : MIN_MATCH - 1;\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n\\n return BS_BLOCK_DONE;\\n};\\n\\n\\n/* ===========================================================================\\n * For Z_RLE, simply look for runs of bytes, generate matches only of distance\\n * one. Do not maintain a hash table. (It will be regenerated if this run of\\n * deflate switches away from Z_RLE.)\\n */\\nconst deflate_rle = (s, flush) => {\\n\\n let bflush; /* set if current block must be flushed */\\n let prev; /* byte at distance one to match */\\n let scan, strend; /* scan goes up to strend for length of run */\\n\\n const _win = s.window;\\n\\n for (;;) {\\n /* Make sure that we always have enough lookahead, except\\n * at the end of the input file. We need MAX_MATCH bytes\\n * for the longest run, plus one for the unrolled loop.\\n */\\n if (s.lookahead <= MAX_MATCH) {\\n fill_window(s);\\n if (s.lookahead <= MAX_MATCH && flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n if (s.lookahead === 0) { break; } /* flush the current block */\\n }\\n\\n /* See how many times the previous byte repeats */\\n s.match_length = 0;\\n if (s.lookahead >= MIN_MATCH && s.strstart > 0) {\\n scan = s.strstart - 1;\\n prev = _win[scan];\\n if (prev === _win[++scan] && prev === _win[++scan] && prev === _win[++scan]) {\\n strend = s.strstart + MAX_MATCH;\\n do {\\n /*jshint noempty:false*/\\n } while (prev === _win[++scan] && prev === _win[++scan] &&\\n prev === _win[++scan] && prev === _win[++scan] &&\\n prev === _win[++scan] && prev === _win[++scan] &&\\n prev === _win[++scan] && prev === _win[++scan] &&\\n scan < strend);\\n s.match_length = MAX_MATCH - (strend - scan);\\n if (s.match_length > s.lookahead) {\\n s.match_length = s.lookahead;\\n }\\n }\\n //Assert(scan <= s->window+(uInt)(s->window_size-1), \\\"wild scan\\\");\\n }\\n\\n /* Emit match if have run of MIN_MATCH or longer, else emit literal */\\n if (s.match_length >= MIN_MATCH) {\\n //check_match(s, s.strstart, s.strstart - 1, s.match_length);\\n\\n /*** _tr_tally_dist(s, 1, s.match_length - MIN_MATCH, bflush); ***/\\n bflush = _tr_tally(s, 1, s.match_length - MIN_MATCH);\\n\\n s.lookahead -= s.match_length;\\n s.strstart += s.match_length;\\n s.match_length = 0;\\n } else {\\n /* No match, output a literal byte */\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart]));\\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\\n\\n s.lookahead--;\\n s.strstart++;\\n }\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n }\\n s.insert = 0;\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n return BS_BLOCK_DONE;\\n};\\n\\n/* ===========================================================================\\n * For Z_HUFFMAN_ONLY, do not look for matches. Do not maintain a hash table.\\n * (It will be regenerated if this run of deflate switches away from Huffman.)\\n */\\nconst deflate_huff = (s, flush) => {\\n\\n let bflush; /* set if current block must be flushed */\\n\\n for (;;) {\\n /* Make sure that we have a literal to write. */\\n if (s.lookahead === 0) {\\n fill_window(s);\\n if (s.lookahead === 0) {\\n if (flush === Z_NO_FLUSH) {\\n return BS_NEED_MORE;\\n }\\n break; /* flush the current block */\\n }\\n }\\n\\n /* Output a literal byte */\\n s.match_length = 0;\\n //Tracevv((stderr,\\\"%c\\\", s->window[s->strstart]));\\n /*** _tr_tally_lit(s, s.window[s.strstart], bflush); ***/\\n bflush = _tr_tally(s, 0, s.window[s.strstart]);\\n s.lookahead--;\\n s.strstart++;\\n if (bflush) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n }\\n s.insert = 0;\\n if (flush === Z_FINISH) {\\n /*** FLUSH_BLOCK(s, 1); ***/\\n flush_block_only(s, true);\\n if (s.strm.avail_out === 0) {\\n return BS_FINISH_STARTED;\\n }\\n /***/\\n return BS_FINISH_DONE;\\n }\\n if (s.sym_next) {\\n /*** FLUSH_BLOCK(s, 0); ***/\\n flush_block_only(s, false);\\n if (s.strm.avail_out === 0) {\\n return BS_NEED_MORE;\\n }\\n /***/\\n }\\n return BS_BLOCK_DONE;\\n};\\n\\n/* Values for max_lazy_match, good_match and max_chain_length, depending on\\n * the desired pack level (0..9). The values given below have been tuned to\\n * exclude worst case performance for pathological files. Better values may be\\n * found for specific files.\\n */\\nfunction Config(good_length, max_lazy, nice_length, max_chain, func) {\\n\\n this.good_length = good_length;\\n this.max_lazy = max_lazy;\\n this.nice_length = nice_length;\\n this.max_chain = max_chain;\\n this.func = func;\\n}\\n\\nconst configuration_table = [\\n /* good lazy nice chain */\\n new Config(0, 0, 0, 0, deflate_stored), /* 0 store only */\\n new Config(4, 4, 8, 4, deflate_fast), /* 1 max speed, no lazy matches */\\n new Config(4, 5, 16, 8, deflate_fast), /* 2 */\\n new Config(4, 6, 32, 32, deflate_fast), /* 3 */\\n\\n new Config(4, 4, 16, 16, deflate_slow), /* 4 lazy matches */\\n new Config(8, 16, 32, 32, deflate_slow), /* 5 */\\n new Config(8, 16, 128, 128, deflate_slow), /* 6 */\\n new Config(8, 32, 128, 256, deflate_slow), /* 7 */\\n new Config(32, 128, 258, 1024, deflate_slow), /* 8 */\\n new Config(32, 258, 258, 4096, deflate_slow) /* 9 max compression */\\n];\\n\\n\\n/* ===========================================================================\\n * Initialize the \\\"longest match\\\" routines for a new zlib stream\\n */\\nconst lm_init = (s) => {\\n\\n s.window_size = 2 * s.w_size;\\n\\n /*** CLEAR_HASH(s); ***/\\n zero(s.head); // Fill with NIL (= 0);\\n\\n /* Set the default configuration parameters:\\n */\\n s.max_lazy_match = configuration_table[s.level].max_lazy;\\n s.good_match = configuration_table[s.level].good_length;\\n s.nice_match = configuration_table[s.level].nice_length;\\n s.max_chain_length = configuration_table[s.level].max_chain;\\n\\n s.strstart = 0;\\n s.block_start = 0;\\n s.lookahead = 0;\\n s.insert = 0;\\n s.match_length = s.prev_length = MIN_MATCH - 1;\\n s.match_available = 0;\\n s.ins_h = 0;\\n};\\n\\n\\nfunction DeflateState() {\\n this.strm = null; /* pointer back to this zlib stream */\\n this.status = 0; /* as the name implies */\\n this.pending_buf = null; /* output still pending */\\n this.pending_buf_size = 0; /* size of pending_buf */\\n this.pending_out = 0; /* next pending byte to output to the stream */\\n this.pending = 0; /* nb of bytes in the pending buffer */\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip */\\n this.gzhead = null; /* gzip header information to write */\\n this.gzindex = 0; /* where in extra, name, or comment */\\n this.method = Z_DEFLATED; /* can only be DEFLATED */\\n this.last_flush = -1; /* value of flush param for previous deflate call */\\n\\n this.w_size = 0; /* LZ77 window size (32K by default) */\\n this.w_bits = 0; /* log2(w_size) (8..16) */\\n this.w_mask = 0; /* w_size - 1 */\\n\\n this.window = null;\\n /* Sliding window. Input bytes are read into the second half of the window,\\n * and move to the first half later to keep a dictionary of at least wSize\\n * bytes. With this organization, matches are limited to a distance of\\n * wSize-MAX_MATCH bytes, but this ensures that IO is always\\n * performed with a length multiple of the block size.\\n */\\n\\n this.window_size = 0;\\n /* Actual size of window: 2*wSize, except when the user input buffer\\n * is directly used as sliding window.\\n */\\n\\n this.prev = null;\\n /* Link to older string with same hash index. To limit the size of this\\n * array to 64K, this link is maintained only for the last 32K strings.\\n * An index in this array is thus a window index modulo 32K.\\n */\\n\\n this.head = null; /* Heads of the hash chains or NIL. */\\n\\n this.ins_h = 0; /* hash index of string to be inserted */\\n this.hash_size = 0; /* number of elements in hash table */\\n this.hash_bits = 0; /* log2(hash_size) */\\n this.hash_mask = 0; /* hash_size-1 */\\n\\n this.hash_shift = 0;\\n /* Number of bits by which ins_h must be shifted at each input\\n * step. It must be such that after MIN_MATCH steps, the oldest\\n * byte no longer takes part in the hash key, that is:\\n * hash_shift * MIN_MATCH >= hash_bits\\n */\\n\\n this.block_start = 0;\\n /* Window position at the beginning of the current output block. Gets\\n * negative when the window is moved backwards.\\n */\\n\\n this.match_length = 0; /* length of best match */\\n this.prev_match = 0; /* previous match */\\n this.match_available = 0; /* set if previous match exists */\\n this.strstart = 0; /* start of string to insert */\\n this.match_start = 0; /* start of matching string */\\n this.lookahead = 0; /* number of valid bytes ahead in window */\\n\\n this.prev_length = 0;\\n /* Length of the best match at previous step. Matches not greater than this\\n * are discarded. This is used in the lazy match evaluation.\\n */\\n\\n this.max_chain_length = 0;\\n /* To speed up deflation, hash chains are never searched beyond this\\n * length. A higher limit improves compression ratio but degrades the\\n * speed.\\n */\\n\\n this.max_lazy_match = 0;\\n /* Attempt to find a better match only when the current match is strictly\\n * smaller than this value. This mechanism is used only for compression\\n * levels >= 4.\\n */\\n // That's alias to max_lazy_match, don't use directly\\n //this.max_insert_length = 0;\\n /* Insert new strings in the hash table only if the match length is not\\n * greater than this length. This saves time but degrades compression.\\n * max_insert_length is used only for compression levels <= 3.\\n */\\n\\n this.level = 0; /* compression level (1..9) */\\n this.strategy = 0; /* favor or force Huffman coding*/\\n\\n this.good_match = 0;\\n /* Use a faster search when the previous match is longer than this */\\n\\n this.nice_match = 0; /* Stop searching when current match exceeds this */\\n\\n /* used by trees.c: */\\n\\n /* Didn't use ct_data typedef below to suppress compiler warning */\\n\\n // struct ct_data_s dyn_ltree[HEAP_SIZE]; /* literal and length tree */\\n // struct ct_data_s dyn_dtree[2*D_CODES+1]; /* distance tree */\\n // struct ct_data_s bl_tree[2*BL_CODES+1]; /* Huffman tree for bit lengths */\\n\\n // Use flat array of DOUBLE size, with interleaved fata,\\n // because JS does not support effective\\n this.dyn_ltree = new Uint16Array(HEAP_SIZE * 2);\\n this.dyn_dtree = new Uint16Array((2 * D_CODES + 1) * 2);\\n this.bl_tree = new Uint16Array((2 * BL_CODES + 1) * 2);\\n zero(this.dyn_ltree);\\n zero(this.dyn_dtree);\\n zero(this.bl_tree);\\n\\n this.l_desc = null; /* desc. for literal tree */\\n this.d_desc = null; /* desc. for distance tree */\\n this.bl_desc = null; /* desc. for bit length tree */\\n\\n //ush bl_count[MAX_BITS+1];\\n this.bl_count = new Uint16Array(MAX_BITS + 1);\\n /* number of codes at each bit length for an optimal tree */\\n\\n //int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */\\n this.heap = new Uint16Array(2 * L_CODES + 1); /* heap used to build the Huffman trees */\\n zero(this.heap);\\n\\n this.heap_len = 0; /* number of elements in the heap */\\n this.heap_max = 0; /* element of largest frequency */\\n /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.\\n * The same heap array is used to build all trees.\\n */\\n\\n this.depth = new Uint16Array(2 * L_CODES + 1); //uch depth[2*L_CODES+1];\\n zero(this.depth);\\n /* Depth of each subtree used as tie breaker for trees of equal frequency\\n */\\n\\n this.sym_buf = 0; /* buffer for distances and literals/lengths */\\n\\n this.lit_bufsize = 0;\\n /* Size of match buffer for literals/lengths. There are 4 reasons for\\n * limiting lit_bufsize to 64K:\\n * - frequencies can be kept in 16 bit counters\\n * - if compression is not successful for the first block, all input\\n * data is still in the window so we can still emit a stored block even\\n * when input comes from standard input. (This can also be done for\\n * all blocks if lit_bufsize is not greater than 32K.)\\n * - if compression is not successful for a file smaller than 64K, we can\\n * even emit a stored file instead of a stored block (saving 5 bytes).\\n * This is applicable only for zip (not gzip or zlib).\\n * - creating new Huffman trees less frequently may not provide fast\\n * adaptation to changes in the input data statistics. (Take for\\n * example a binary file with poorly compressible code followed by\\n * a highly compressible string table.) Smaller buffer sizes give\\n * fast adaptation but have of course the overhead of transmitting\\n * trees more frequently.\\n * - I can't count above 4\\n */\\n\\n this.sym_next = 0; /* running index in sym_buf */\\n this.sym_end = 0; /* symbol table full when sym_next reaches this */\\n\\n this.opt_len = 0; /* bit length of current block with optimal trees */\\n this.static_len = 0; /* bit length of current block with static trees */\\n this.matches = 0; /* number of string matches in current block */\\n this.insert = 0; /* bytes at end of window left to insert */\\n\\n\\n this.bi_buf = 0;\\n /* Output buffer. bits are inserted starting at the bottom (least\\n * significant bits).\\n */\\n this.bi_valid = 0;\\n /* Number of valid bits in bi_buf. All bits above the last valid bit\\n * are always zero.\\n */\\n\\n // Used for window memory init. We safely ignore it for JS. That makes\\n // sense only for pointers and memory check tools.\\n //this.high_water = 0;\\n /* High water mark offset in window for initialized bytes -- bytes above\\n * this are set to zero in order to avoid memory check warnings when\\n * longest match routines access bytes past the input. This is then\\n * updated to the new high water mark.\\n */\\n}\\n\\n\\n/* =========================================================================\\n * Check for a valid deflate stream state. Return 0 if ok, 1 if not.\\n */\\nconst deflateStateCheck = (strm) => {\\n\\n if (!strm) {\\n return 1;\\n }\\n const s = strm.state;\\n if (!s || s.strm !== strm || (s.status !== INIT_STATE &&\\n//#ifdef GZIP\\n s.status !== GZIP_STATE &&\\n//#endif\\n s.status !== EXTRA_STATE &&\\n s.status !== NAME_STATE &&\\n s.status !== COMMENT_STATE &&\\n s.status !== HCRC_STATE &&\\n s.status !== BUSY_STATE &&\\n s.status !== FINISH_STATE)) {\\n return 1;\\n }\\n return 0;\\n};\\n\\n\\nconst deflateResetKeep = (strm) => {\\n\\n if (deflateStateCheck(strm)) {\\n return err(strm, Z_STREAM_ERROR);\\n }\\n\\n strm.total_in = strm.total_out = 0;\\n strm.data_type = Z_UNKNOWN;\\n\\n const s = strm.state;\\n s.pending = 0;\\n s.pending_out = 0;\\n\\n if (s.wrap < 0) {\\n s.wrap = -s.wrap;\\n /* was made negative by deflate(..., Z_FINISH); */\\n }\\n s.status =\\n//#ifdef GZIP\\n s.wrap === 2 ? GZIP_STATE :\\n//#endif\\n s.wrap ? INIT_STATE : BUSY_STATE;\\n strm.adler = (s.wrap === 2) ?\\n 0 // crc32(0, Z_NULL, 0)\\n :\\n 1; // adler32(0, Z_NULL, 0)\\n s.last_flush = -2;\\n _tr_init(s);\\n return Z_OK;\\n};\\n\\n\\nconst deflateReset = (strm) => {\\n\\n const ret = deflateResetKeep(strm);\\n if (ret === Z_OK) {\\n lm_init(strm.state);\\n }\\n return ret;\\n};\\n\\n\\nconst deflateSetHeader = (strm, head) => {\\n\\n if (deflateStateCheck(strm) || strm.state.wrap !== 2) {\\n return Z_STREAM_ERROR;\\n }\\n strm.state.gzhead = head;\\n return Z_OK;\\n};\\n\\n\\nconst deflateInit2 = (strm, level, method, windowBits, memLevel, strategy) => {\\n\\n if (!strm) { // === Z_NULL\\n return Z_STREAM_ERROR;\\n }\\n let wrap = 1;\\n\\n if (level === Z_DEFAULT_COMPRESSION) {\\n level = 6;\\n }\\n\\n if (windowBits < 0) { /* suppress zlib wrapper */\\n wrap = 0;\\n windowBits = -windowBits;\\n }\\n\\n else if (windowBits > 15) {\\n wrap = 2; /* write gzip wrapper instead */\\n windowBits -= 16;\\n }\\n\\n\\n if (memLevel < 1 || memLevel > MAX_MEM_LEVEL || method !== Z_DEFLATED ||\\n windowBits < 8 || windowBits > 15 || level < 0 || level > 9 ||\\n strategy < 0 || strategy > Z_FIXED || (windowBits === 8 && wrap !== 1)) {\\n return err(strm, Z_STREAM_ERROR);\\n }\\n\\n\\n if (windowBits === 8) {\\n windowBits = 9;\\n }\\n /* until 256-byte window bug fixed */\\n\\n const s = new DeflateState();\\n\\n strm.state = s;\\n s.strm = strm;\\n s.status = INIT_STATE; /* to pass state test in deflateReset() */\\n\\n s.wrap = wrap;\\n s.gzhead = null;\\n s.w_bits = windowBits;\\n s.w_size = 1 << s.w_bits;\\n s.w_mask = s.w_size - 1;\\n\\n s.hash_bits = memLevel + 7;\\n s.hash_size = 1 << s.hash_bits;\\n s.hash_mask = s.hash_size - 1;\\n s.hash_shift = ~~((s.hash_bits + MIN_MATCH - 1) / MIN_MATCH);\\n\\n s.window = new Uint8Array(s.w_size * 2);\\n s.head = new Uint16Array(s.hash_size);\\n s.prev = new Uint16Array(s.w_size);\\n\\n // Don't need mem init magic for JS.\\n //s.high_water = 0; /* nothing written to s->window yet */\\n\\n s.lit_bufsize = 1 << (memLevel + 6); /* 16K elements by default */\\n\\n /* We overlay pending_buf and sym_buf. This works since the average size\\n * for length/distance pairs over any compressed block is assured to be 31\\n * bits or less.\\n *\\n * Analysis: The longest fixed codes are a length code of 8 bits plus 5\\n * extra bits, for lengths 131 to 257. The longest fixed distance codes are\\n * 5 bits plus 13 extra bits, for distances 16385 to 32768. The longest\\n * possible fixed-codes length/distance pair is then 31 bits total.\\n *\\n * sym_buf starts one-fourth of the way into pending_buf. So there are\\n * three bytes in sym_buf for every four bytes in pending_buf. Each symbol\\n * in sym_buf is three bytes -- two for the distance and one for the\\n * literal/length. As each symbol is consumed, the pointer to the next\\n * sym_buf value to read moves forward three bytes. From that symbol, up to\\n * 31 bits are written to pending_buf. The closest the written pending_buf\\n * bits gets to the next sym_buf symbol to read is just before the last\\n * code is written. At that time, 31*(n-2) bits have been written, just\\n * after 24*(n-2) bits have been consumed from sym_buf. sym_buf starts at\\n * 8*n bits into pending_buf. (Note that the symbol buffer fills when n-1\\n * symbols are written.) The closest the writing gets to what is unread is\\n * then n+14 bits. Here n is lit_bufsize, which is 16384 by default, and\\n * can range from 128 to 32768.\\n *\\n * Therefore, at a minimum, there are 142 bits of space between what is\\n * written and what is read in the overlain buffers, so the symbols cannot\\n * be overwritten by the compressed data. That space is actually 139 bits,\\n * due to the three-bit fixed-code block header.\\n *\\n * That covers the case where either Z_FIXED is specified, forcing fixed\\n * codes, or when the use of fixed codes is chosen, because that choice\\n * results in a smaller compressed block than dynamic codes. That latter\\n * condition then assures that the above analysis also covers all dynamic\\n * blocks. A dynamic-code block will only be chosen to be emitted if it has\\n * fewer bits than a fixed-code block would for the same set of symbols.\\n * Therefore its average symbol length is assured to be less than 31. So\\n * the compressed data for a dynamic block also cannot overwrite the\\n * symbols from which it is being constructed.\\n */\\n\\n s.pending_buf_size = s.lit_bufsize * 4;\\n s.pending_buf = new Uint8Array(s.pending_buf_size);\\n\\n // It is offset from `s.pending_buf` (size is `s.lit_bufsize * 2`)\\n //s->sym_buf = s->pending_buf + s->lit_bufsize;\\n s.sym_buf = s.lit_bufsize;\\n\\n //s->sym_end = (s->lit_bufsize - 1) * 3;\\n s.sym_end = (s.lit_bufsize - 1) * 3;\\n /* We avoid equality with lit_bufsize*3 because of wraparound at 64K\\n * on 16 bit machines and because stored blocks are restricted to\\n * 64K-1 bytes.\\n */\\n\\n s.level = level;\\n s.strategy = strategy;\\n s.method = method;\\n\\n return deflateReset(strm);\\n};\\n\\nconst deflateInit = (strm, level) => {\\n\\n return deflateInit2(strm, level, Z_DEFLATED, MAX_WBITS, DEF_MEM_LEVEL, Z_DEFAULT_STRATEGY);\\n};\\n\\n\\n/* ========================================================================= */\\nconst deflate = (strm, flush) => {\\n\\n if (deflateStateCheck(strm) || flush > Z_BLOCK || flush < 0) {\\n return strm ? err(strm, Z_STREAM_ERROR) : Z_STREAM_ERROR;\\n }\\n\\n const s = strm.state;\\n\\n if (!strm.output ||\\n (strm.avail_in !== 0 && !strm.input) ||\\n (s.status === FINISH_STATE && flush !== Z_FINISH)) {\\n return err(strm, (strm.avail_out === 0) ? Z_BUF_ERROR : Z_STREAM_ERROR);\\n }\\n\\n const old_flush = s.last_flush;\\n s.last_flush = flush;\\n\\n /* Flush as much pending output as possible */\\n if (s.pending !== 0) {\\n flush_pending(strm);\\n if (strm.avail_out === 0) {\\n /* Since avail_out is 0, deflate will be called again with\\n * more output space, but possibly with both pending and\\n * avail_in equal to zero. There won't be anything to do,\\n * but this is not an error situation so make sure we\\n * return OK instead of BUF_ERROR at next call of deflate:\\n */\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n\\n /* Make sure there is something to do and avoid duplicate consecutive\\n * flushes. For repeated and useless calls with Z_FINISH, we keep\\n * returning Z_STREAM_END instead of Z_BUF_ERROR.\\n */\\n } else if (strm.avail_in === 0 && rank(flush) <= rank(old_flush) &&\\n flush !== Z_FINISH) {\\n return err(strm, Z_BUF_ERROR);\\n }\\n\\n /* User must not provide more input after the first FINISH: */\\n if (s.status === FINISH_STATE && strm.avail_in !== 0) {\\n return err(strm, Z_BUF_ERROR);\\n }\\n\\n /* Write the header */\\n if (s.status === INIT_STATE && s.wrap === 0) {\\n s.status = BUSY_STATE;\\n }\\n if (s.status === INIT_STATE) {\\n /* zlib header */\\n let header = (Z_DEFLATED + ((s.w_bits - 8) << 4)) << 8;\\n let level_flags = -1;\\n\\n if (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2) {\\n level_flags = 0;\\n } else if (s.level < 6) {\\n level_flags = 1;\\n } else if (s.level === 6) {\\n level_flags = 2;\\n } else {\\n level_flags = 3;\\n }\\n header |= (level_flags << 6);\\n if (s.strstart !== 0) { header |= PRESET_DICT; }\\n header += 31 - (header % 31);\\n\\n putShortMSB(s, header);\\n\\n /* Save the adler32 of the preset dictionary: */\\n if (s.strstart !== 0) {\\n putShortMSB(s, strm.adler >>> 16);\\n putShortMSB(s, strm.adler & 0xffff);\\n }\\n strm.adler = 1; // adler32(0L, Z_NULL, 0);\\n s.status = BUSY_STATE;\\n\\n /* Compression must start with an empty pending buffer */\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n//#ifdef GZIP\\n if (s.status === GZIP_STATE) {\\n /* gzip header */\\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\\n put_byte(s, 31);\\n put_byte(s, 139);\\n put_byte(s, 8);\\n if (!s.gzhead) { // s->gzhead == Z_NULL\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, 0);\\n put_byte(s, s.level === 9 ? 2 :\\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\\n 4 : 0));\\n put_byte(s, OS_CODE);\\n s.status = BUSY_STATE;\\n\\n /* Compression must start with an empty pending buffer */\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n else {\\n put_byte(s, (s.gzhead.text ? 1 : 0) +\\n (s.gzhead.hcrc ? 2 : 0) +\\n (!s.gzhead.extra ? 0 : 4) +\\n (!s.gzhead.name ? 0 : 8) +\\n (!s.gzhead.comment ? 0 : 16)\\n );\\n put_byte(s, s.gzhead.time & 0xff);\\n put_byte(s, (s.gzhead.time >> 8) & 0xff);\\n put_byte(s, (s.gzhead.time >> 16) & 0xff);\\n put_byte(s, (s.gzhead.time >> 24) & 0xff);\\n put_byte(s, s.level === 9 ? 2 :\\n (s.strategy >= Z_HUFFMAN_ONLY || s.level < 2 ?\\n 4 : 0));\\n put_byte(s, s.gzhead.os & 0xff);\\n if (s.gzhead.extra && s.gzhead.extra.length) {\\n put_byte(s, s.gzhead.extra.length & 0xff);\\n put_byte(s, (s.gzhead.extra.length >> 8) & 0xff);\\n }\\n if (s.gzhead.hcrc) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending, 0);\\n }\\n s.gzindex = 0;\\n s.status = EXTRA_STATE;\\n }\\n }\\n if (s.status === EXTRA_STATE) {\\n if (s.gzhead.extra/* != Z_NULL*/) {\\n let beg = s.pending; /* start of bytes to update crc */\\n let left = (s.gzhead.extra.length & 0xffff) - s.gzindex;\\n while (s.pending + left > s.pending_buf_size) {\\n let copy = s.pending_buf_size - s.pending;\\n // zmemcpy(s.pending_buf + s.pending,\\n // s.gzhead.extra + s.gzindex, copy);\\n s.pending_buf.set(s.gzhead.extra.subarray(s.gzindex, s.gzindex + copy), s.pending);\\n s.pending = s.pending_buf_size;\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n s.gzindex += copy;\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n beg = 0;\\n left -= copy;\\n }\\n // JS specific: s.gzhead.extra may be TypedArray or Array for backward compatibility\\n // TypedArray.slice and TypedArray.from don't exist in IE10-IE11\\n let gzhead_extra = new Uint8Array(s.gzhead.extra);\\n // zmemcpy(s->pending_buf + s->pending,\\n // s->gzhead->extra + s->gzindex, left);\\n s.pending_buf.set(gzhead_extra.subarray(s.gzindex, s.gzindex + left), s.pending);\\n s.pending += left;\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n s.gzindex = 0;\\n }\\n s.status = NAME_STATE;\\n }\\n if (s.status === NAME_STATE) {\\n if (s.gzhead.name/* != Z_NULL*/) {\\n let beg = s.pending; /* start of bytes to update crc */\\n let val;\\n do {\\n if (s.pending === s.pending_buf_size) {\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n beg = 0;\\n }\\n // JS specific: little magic to add zero terminator to end of string\\n if (s.gzindex < s.gzhead.name.length) {\\n val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;\\n } else {\\n val = 0;\\n }\\n put_byte(s, val);\\n } while (val !== 0);\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n s.gzindex = 0;\\n }\\n s.status = COMMENT_STATE;\\n }\\n if (s.status === COMMENT_STATE) {\\n if (s.gzhead.comment/* != Z_NULL*/) {\\n let beg = s.pending; /* start of bytes to update crc */\\n let val;\\n do {\\n if (s.pending === s.pending_buf_size) {\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n beg = 0;\\n }\\n // JS specific: little magic to add zero terminator to end of string\\n if (s.gzindex < s.gzhead.comment.length) {\\n val = s.gzhead.comment.charCodeAt(s.gzindex++) & 0xff;\\n } else {\\n val = 0;\\n }\\n put_byte(s, val);\\n } while (val !== 0);\\n //--- HCRC_UPDATE(beg) ---//\\n if (s.gzhead.hcrc && s.pending > beg) {\\n strm.adler = crc32(strm.adler, s.pending_buf, s.pending - beg, beg);\\n }\\n //---//\\n }\\n s.status = HCRC_STATE;\\n }\\n if (s.status === HCRC_STATE) {\\n if (s.gzhead.hcrc) {\\n if (s.pending + 2 > s.pending_buf_size) {\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n put_byte(s, strm.adler & 0xff);\\n put_byte(s, (strm.adler >> 8) & 0xff);\\n strm.adler = 0; //crc32(0L, Z_NULL, 0);\\n }\\n s.status = BUSY_STATE;\\n\\n /* Compression must start with an empty pending buffer */\\n flush_pending(strm);\\n if (s.pending !== 0) {\\n s.last_flush = -1;\\n return Z_OK;\\n }\\n }\\n//#endif\\n\\n /* Start a new block or continue the current one.\\n */\\n if (strm.avail_in !== 0 || s.lookahead !== 0 ||\\n (flush !== Z_NO_FLUSH && s.status !== FINISH_STATE)) {\\n let bstate = s.level === 0 ? deflate_stored(s, flush) :\\n s.strategy === Z_HUFFMAN_ONLY ? deflate_huff(s, flush) :\\n s.strategy === Z_RLE ? deflate_rle(s, flush) :\\n configuration_table[s.level].func(s, flush);\\n\\n if (bstate === BS_FINISH_STARTED || bstate === BS_FINISH_DONE) {\\n s.status = FINISH_STATE;\\n }\\n if (bstate === BS_NEED_MORE || bstate === BS_FINISH_STARTED) {\\n if (strm.avail_out === 0) {\\n s.last_flush = -1;\\n /* avoid BUF_ERROR next call, see above */\\n }\\n return Z_OK;\\n /* If flush != Z_NO_FLUSH && avail_out == 0, the next call\\n * of deflate should use the same flush parameter to make sure\\n * that the flush is complete. So we don't have to output an\\n * empty block here, this will be done at next call. This also\\n * ensures that for a very small output buffer, we emit at most\\n * one empty block.\\n */\\n }\\n if (bstate === BS_BLOCK_DONE) {\\n if (flush === Z_PARTIAL_FLUSH) {\\n _tr_align(s);\\n }\\n else if (flush !== Z_BLOCK) { /* FULL_FLUSH or SYNC_FLUSH */\\n\\n _tr_stored_block(s, 0, 0, false);\\n /* For a full flush, this empty block will be recognized\\n * as a special marker by inflate_sync().\\n */\\n if (flush === Z_FULL_FLUSH) {\\n /*** CLEAR_HASH(s); ***/ /* forget history */\\n zero(s.head); // Fill with NIL (= 0);\\n\\n if (s.lookahead === 0) {\\n s.strstart = 0;\\n s.block_start = 0;\\n s.insert = 0;\\n }\\n }\\n }\\n flush_pending(strm);\\n if (strm.avail_out === 0) {\\n s.last_flush = -1; /* avoid BUF_ERROR at next call, see above */\\n return Z_OK;\\n }\\n }\\n }\\n\\n if (flush !== Z_FINISH) { return Z_OK; }\\n if (s.wrap <= 0) { return Z_STREAM_END; }\\n\\n /* Write the trailer */\\n if (s.wrap === 2) {\\n put_byte(s, strm.adler & 0xff);\\n put_byte(s, (strm.adler >> 8) & 0xff);\\n put_byte(s, (strm.adler >> 16) & 0xff);\\n put_byte(s, (strm.adler >> 24) & 0xff);\\n put_byte(s, strm.total_in & 0xff);\\n put_byte(s, (strm.total_in >> 8) & 0xff);\\n put_byte(s, (strm.total_in >> 16) & 0xff);\\n put_byte(s, (strm.total_in >> 24) & 0xff);\\n }\\n else\\n {\\n putShortMSB(s, strm.adler >>> 16);\\n putShortMSB(s, strm.adler & 0xffff);\\n }\\n\\n flush_pending(strm);\\n /* If avail_out is zero, the application will call deflate again\\n * to flush the rest.\\n */\\n if (s.wrap > 0) { s.wrap = -s.wrap; }\\n /* write the trailer only once! */\\n return s.pending !== 0 ? Z_OK : Z_STREAM_END;\\n};\\n\\n\\nconst deflateEnd = (strm) => {\\n\\n if (deflateStateCheck(strm)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n const status = strm.state.status;\\n\\n strm.state = null;\\n\\n return status === BUSY_STATE ? err(strm, Z_DATA_ERROR) : Z_OK;\\n};\\n\\n\\n/* =========================================================================\\n * Initializes the compression dictionary from the given byte\\n * sequence without producing any compressed output.\\n */\\nconst deflateSetDictionary = (strm, dictionary) => {\\n\\n let dictLength = dictionary.length;\\n\\n if (deflateStateCheck(strm)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n const s = strm.state;\\n const wrap = s.wrap;\\n\\n if (wrap === 2 || (wrap === 1 && s.status !== INIT_STATE) || s.lookahead) {\\n return Z_STREAM_ERROR;\\n }\\n\\n /* when using zlib wrappers, compute Adler-32 for provided dictionary */\\n if (wrap === 1) {\\n /* adler32(strm->adler, dictionary, dictLength); */\\n strm.adler = adler32(strm.adler, dictionary, dictLength, 0);\\n }\\n\\n s.wrap = 0; /* avoid computing Adler-32 in read_buf */\\n\\n /* if dictionary would fill window, just replace the history */\\n if (dictLength >= s.w_size) {\\n if (wrap === 0) { /* already empty otherwise */\\n /*** CLEAR_HASH(s); ***/\\n zero(s.head); // Fill with NIL (= 0);\\n s.strstart = 0;\\n s.block_start = 0;\\n s.insert = 0;\\n }\\n /* use the tail */\\n // dictionary = dictionary.slice(dictLength - s.w_size);\\n let tmpDict = new Uint8Array(s.w_size);\\n tmpDict.set(dictionary.subarray(dictLength - s.w_size, dictLength), 0);\\n dictionary = tmpDict;\\n dictLength = s.w_size;\\n }\\n /* insert dictionary into window and hash */\\n const avail = strm.avail_in;\\n const next = strm.next_in;\\n const input = strm.input;\\n strm.avail_in = dictLength;\\n strm.next_in = 0;\\n strm.input = dictionary;\\n fill_window(s);\\n while (s.lookahead >= MIN_MATCH) {\\n let str = s.strstart;\\n let n = s.lookahead - (MIN_MATCH - 1);\\n do {\\n /* UPDATE_HASH(s, s->ins_h, s->window[str + MIN_MATCH-1]); */\\n s.ins_h = HASH(s, s.ins_h, s.window[str + MIN_MATCH - 1]);\\n\\n s.prev[str & s.w_mask] = s.head[s.ins_h];\\n\\n s.head[s.ins_h] = str;\\n str++;\\n } while (--n);\\n s.strstart = str;\\n s.lookahead = MIN_MATCH - 1;\\n fill_window(s);\\n }\\n s.strstart += s.lookahead;\\n s.block_start = s.strstart;\\n s.insert = s.lookahead;\\n s.lookahead = 0;\\n s.match_length = s.prev_length = MIN_MATCH - 1;\\n s.match_available = 0;\\n strm.next_in = next;\\n strm.input = input;\\n strm.avail_in = avail;\\n s.wrap = wrap;\\n return Z_OK;\\n};\\n\\n\\nmodule.exports.deflateInit = deflateInit;\\nmodule.exports.deflateInit2 = deflateInit2;\\nmodule.exports.deflateReset = deflateReset;\\nmodule.exports.deflateResetKeep = deflateResetKeep;\\nmodule.exports.deflateSetHeader = deflateSetHeader;\\nmodule.exports.deflate = deflate;\\nmodule.exports.deflateEnd = deflateEnd;\\nmodule.exports.deflateSetDictionary = deflateSetDictionary;\\nmodule.exports.deflateInfo = 'pako deflate (from Nodeca project)';\\n\\n/* Not implemented\\nmodule.exports.deflateBound = deflateBound;\\nmodule.exports.deflateCopy = deflateCopy;\\nmodule.exports.deflateGetDictionary = deflateGetDictionary;\\nmodule.exports.deflateParams = deflateParams;\\nmodule.exports.deflatePending = deflatePending;\\nmodule.exports.deflatePrime = deflatePrime;\\nmodule.exports.deflateTune = deflateTune;\\n*/\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/deflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/gzheader.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/gzheader.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nfunction GZheader() {\\n /* true if compressed data believed to be text */\\n this.text = 0;\\n /* modification time */\\n this.time = 0;\\n /* extra flags (not used when writing a gzip file) */\\n this.xflags = 0;\\n /* operating system */\\n this.os = 0;\\n /* pointer to extra field or Z_NULL if none */\\n this.extra = null;\\n /* extra field length (valid if extra != Z_NULL) */\\n this.extra_len = 0; // Actually, we don't need it in JS,\\n // but leave for few code modifications\\n\\n //\\n // Setup limits is not necessary because in js we should not preallocate memory\\n // for inflate use constant limit in 65536 bytes\\n //\\n\\n /* space at extra (only when reading header) */\\n // this.extra_max = 0;\\n /* pointer to zero-terminated file name or Z_NULL */\\n this.name = '';\\n /* space at name (only when reading header) */\\n // this.name_max = 0;\\n /* pointer to zero-terminated comment or Z_NULL */\\n this.comment = '';\\n /* space at comment (only when reading header) */\\n // this.comm_max = 0;\\n /* true if there was or will be a header crc */\\n this.hcrc = 0;\\n /* true when done reading gzip header (not used when writing a gzip file) */\\n this.done = false;\\n}\\n\\nmodule.exports = GZheader;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/gzheader.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/inffast.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/inffast.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\n// See state defs from inflate.js\\nconst BAD = 16209; /* got a data error -- remain here until reset */\\nconst TYPE = 16191; /* i: waiting for type bits, including last-flag bit */\\n\\n/*\\n Decode literal, length, and distance codes and write out the resulting\\n literal and match bytes until either not enough input or output is\\n available, an end-of-block is encountered, or a data error is encountered.\\n When large enough input and output buffers are supplied to inflate(), for\\n example, a 16K input buffer and a 64K output buffer, more than 95% of the\\n inflate execution time is spent in this routine.\\n\\n Entry assumptions:\\n\\n state.mode === LEN\\n strm.avail_in >= 6\\n strm.avail_out >= 258\\n start >= strm.avail_out\\n state.bits < 8\\n\\n On return, state.mode is one of:\\n\\n LEN -- ran out of enough output space or enough available input\\n TYPE -- reached end of block code, inflate() to interpret next block\\n BAD -- error in block data\\n\\n Notes:\\n\\n - The maximum input bits used by a length/distance pair is 15 bits for the\\n length code, 5 bits for the length extra, 15 bits for the distance code,\\n and 13 bits for the distance extra. This totals 48 bits, or six bytes.\\n Therefore if strm.avail_in >= 6, then there is enough input to avoid\\n checking for available input while decoding.\\n\\n - The maximum bytes that a single length/distance pair can output is 258\\n bytes, which is the maximum length that can be coded. inflate_fast()\\n requires strm.avail_out >= 258 for each loop to avoid checking for\\n output space.\\n */\\nmodule.exports = function inflate_fast(strm, start) {\\n let _in; /* local strm.input */\\n let last; /* have enough input while in < last */\\n let _out; /* local strm.output */\\n let beg; /* inflate()'s initial strm.output */\\n let end; /* while out < end, enough space available */\\n//#ifdef INFLATE_STRICT\\n let dmax; /* maximum distance from zlib header */\\n//#endif\\n let wsize; /* window size or zero if not using window */\\n let whave; /* valid bytes in the window */\\n let wnext; /* window write index */\\n // Use `s_window` instead `window`, avoid conflict with instrumentation tools\\n let s_window; /* allocated sliding window, if wsize != 0 */\\n let hold; /* local strm.hold */\\n let bits; /* local strm.bits */\\n let lcode; /* local strm.lencode */\\n let dcode; /* local strm.distcode */\\n let lmask; /* mask for first level of length codes */\\n let dmask; /* mask for first level of distance codes */\\n let here; /* retrieved table entry */\\n let op; /* code bits, operation, extra bits, or */\\n /* window position, window bytes to copy */\\n let len; /* match length, unused bytes */\\n let dist; /* match distance */\\n let from; /* where to copy match from */\\n let from_source;\\n\\n\\n let input, output; // JS specific, because we have no pointers\\n\\n /* copy state to local variables */\\n const state = strm.state;\\n //here = state.here;\\n _in = strm.next_in;\\n input = strm.input;\\n last = _in + (strm.avail_in - 5);\\n _out = strm.next_out;\\n output = strm.output;\\n beg = _out - (start - strm.avail_out);\\n end = _out + (strm.avail_out - 257);\\n//#ifdef INFLATE_STRICT\\n dmax = state.dmax;\\n//#endif\\n wsize = state.wsize;\\n whave = state.whave;\\n wnext = state.wnext;\\n s_window = state.window;\\n hold = state.hold;\\n bits = state.bits;\\n lcode = state.lencode;\\n dcode = state.distcode;\\n lmask = (1 << state.lenbits) - 1;\\n dmask = (1 << state.distbits) - 1;\\n\\n\\n /* decode literals and length/distances until end-of-block or not enough\\n input data or output space */\\n\\n top:\\n do {\\n if (bits < 15) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n\\n here = lcode[hold & lmask];\\n\\n dolen:\\n for (;;) { // Goto emulation\\n op = here >>> 24/*here.bits*/;\\n hold >>>= op;\\n bits -= op;\\n op = (here >>> 16) & 0xff/*here.op*/;\\n if (op === 0) { /* literal */\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\n // \\\"inflate: literal '%c'\\\\n\\\" :\\n // \\\"inflate: literal 0x%02x\\\\n\\\", here.val));\\n output[_out++] = here & 0xffff/*here.val*/;\\n }\\n else if (op & 16) { /* length base */\\n len = here & 0xffff/*here.val*/;\\n op &= 15; /* number of extra bits */\\n if (op) {\\n if (bits < op) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n len += hold & ((1 << op) - 1);\\n hold >>>= op;\\n bits -= op;\\n }\\n //Tracevv((stderr, \\\"inflate: length %u\\\\n\\\", len));\\n if (bits < 15) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n here = dcode[hold & dmask];\\n\\n dodist:\\n for (;;) { // goto emulation\\n op = here >>> 24/*here.bits*/;\\n hold >>>= op;\\n bits -= op;\\n op = (here >>> 16) & 0xff/*here.op*/;\\n\\n if (op & 16) { /* distance base */\\n dist = here & 0xffff/*here.val*/;\\n op &= 15; /* number of extra bits */\\n if (bits < op) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n if (bits < op) {\\n hold += input[_in++] << bits;\\n bits += 8;\\n }\\n }\\n dist += hold & ((1 << op) - 1);\\n//#ifdef INFLATE_STRICT\\n if (dist > dmax) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break top;\\n }\\n//#endif\\n hold >>>= op;\\n bits -= op;\\n //Tracevv((stderr, \\\"inflate: distance %u\\\\n\\\", dist));\\n op = _out - beg; /* max distance in output */\\n if (dist > op) { /* see if copy from window */\\n op = dist - op; /* distance back in window */\\n if (op > whave) {\\n if (state.sane) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break top;\\n }\\n\\n// (!) This block is disabled in zlib defaults,\\n// don't enable it for binary compatibility\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\n// if (len <= op - whave) {\\n// do {\\n// output[_out++] = 0;\\n// } while (--len);\\n// continue top;\\n// }\\n// len -= op - whave;\\n// do {\\n// output[_out++] = 0;\\n// } while (--op > whave);\\n// if (op === 0) {\\n// from = _out - dist;\\n// do {\\n// output[_out++] = output[from++];\\n// } while (--len);\\n// continue top;\\n// }\\n//#endif\\n }\\n from = 0; // window index\\n from_source = s_window;\\n if (wnext === 0) { /* very common case */\\n from += wsize - op;\\n if (op < len) { /* some from window */\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = _out - dist; /* rest from output */\\n from_source = output;\\n }\\n }\\n else if (wnext < op) { /* wrap around window */\\n from += wsize + wnext - op;\\n op -= wnext;\\n if (op < len) { /* some from end of window */\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = 0;\\n if (wnext < len) { /* some from start of window */\\n op = wnext;\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = _out - dist; /* rest from output */\\n from_source = output;\\n }\\n }\\n }\\n else { /* contiguous in window */\\n from += wnext - op;\\n if (op < len) { /* some from window */\\n len -= op;\\n do {\\n output[_out++] = s_window[from++];\\n } while (--op);\\n from = _out - dist; /* rest from output */\\n from_source = output;\\n }\\n }\\n while (len > 2) {\\n output[_out++] = from_source[from++];\\n output[_out++] = from_source[from++];\\n output[_out++] = from_source[from++];\\n len -= 3;\\n }\\n if (len) {\\n output[_out++] = from_source[from++];\\n if (len > 1) {\\n output[_out++] = from_source[from++];\\n }\\n }\\n }\\n else {\\n from = _out - dist; /* copy direct from output */\\n do { /* minimum length is three */\\n output[_out++] = output[from++];\\n output[_out++] = output[from++];\\n output[_out++] = output[from++];\\n len -= 3;\\n } while (len > 2);\\n if (len) {\\n output[_out++] = output[from++];\\n if (len > 1) {\\n output[_out++] = output[from++];\\n }\\n }\\n }\\n }\\n else if ((op & 64) === 0) { /* 2nd level distance code */\\n here = dcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\n continue dodist;\\n }\\n else {\\n strm.msg = 'invalid distance code';\\n state.mode = BAD;\\n break top;\\n }\\n\\n break; // need to emulate goto via \\\"continue\\\"\\n }\\n }\\n else if ((op & 64) === 0) { /* 2nd level length code */\\n here = lcode[(here & 0xffff)/*here.val*/ + (hold & ((1 << op) - 1))];\\n continue dolen;\\n }\\n else if (op & 32) { /* end-of-block */\\n //Tracevv((stderr, \\\"inflate: end of block\\\\n\\\"));\\n state.mode = TYPE;\\n break top;\\n }\\n else {\\n strm.msg = 'invalid literal/length code';\\n state.mode = BAD;\\n break top;\\n }\\n\\n break; // need to emulate goto via \\\"continue\\\"\\n }\\n } while (_in < last && _out < end);\\n\\n /* return unused bytes (on entry, bits < 8, so in won't go too far back) */\\n len = bits >> 3;\\n _in -= len;\\n bits -= len << 3;\\n hold &= (1 << bits) - 1;\\n\\n /* update state and return */\\n strm.next_in = _in;\\n strm.next_out = _out;\\n strm.avail_in = (_in < last ? 5 + (last - _in) : 5 - (_in - last));\\n strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));\\n state.hold = hold;\\n state.bits = bits;\\n return;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/inffast.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/inflate.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/inflate.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst adler32 = __webpack_require__(/*! ./adler32 */ \\\"./node_modules/pako/lib/zlib/adler32.js\\\");\\nconst crc32 = __webpack_require__(/*! ./crc32 */ \\\"./node_modules/pako/lib/zlib/crc32.js\\\");\\nconst inflate_fast = __webpack_require__(/*! ./inffast */ \\\"./node_modules/pako/lib/zlib/inffast.js\\\");\\nconst inflate_table = __webpack_require__(/*! ./inftrees */ \\\"./node_modules/pako/lib/zlib/inftrees.js\\\");\\n\\nconst CODES = 0;\\nconst LENS = 1;\\nconst DISTS = 2;\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\nconst {\\n Z_FINISH, Z_BLOCK, Z_TREES,\\n Z_OK, Z_STREAM_END, Z_NEED_DICT, Z_STREAM_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_BUF_ERROR,\\n Z_DEFLATED\\n} = __webpack_require__(/*! ./constants */ \\\"./node_modules/pako/lib/zlib/constants.js\\\");\\n\\n\\n/* STATES ====================================================================*/\\n/* ===========================================================================*/\\n\\n\\nconst HEAD = 16180; /* i: waiting for magic header */\\nconst FLAGS = 16181; /* i: waiting for method and flags (gzip) */\\nconst TIME = 16182; /* i: waiting for modification time (gzip) */\\nconst OS = 16183; /* i: waiting for extra flags and operating system (gzip) */\\nconst EXLEN = 16184; /* i: waiting for extra length (gzip) */\\nconst EXTRA = 16185; /* i: waiting for extra bytes (gzip) */\\nconst NAME = 16186; /* i: waiting for end of file name (gzip) */\\nconst COMMENT = 16187; /* i: waiting for end of comment (gzip) */\\nconst HCRC = 16188; /* i: waiting for header crc (gzip) */\\nconst DICTID = 16189; /* i: waiting for dictionary check value */\\nconst DICT = 16190; /* waiting for inflateSetDictionary() call */\\nconst TYPE = 16191; /* i: waiting for type bits, including last-flag bit */\\nconst TYPEDO = 16192; /* i: same, but skip check to exit inflate on new block */\\nconst STORED = 16193; /* i: waiting for stored size (length and complement) */\\nconst COPY_ = 16194; /* i/o: same as COPY below, but only first time in */\\nconst COPY = 16195; /* i/o: waiting for input or output to copy stored block */\\nconst TABLE = 16196; /* i: waiting for dynamic block table lengths */\\nconst LENLENS = 16197; /* i: waiting for code length code lengths */\\nconst CODELENS = 16198; /* i: waiting for length/lit and distance code lengths */\\nconst LEN_ = 16199; /* i: same as LEN below, but only first time in */\\nconst LEN = 16200; /* i: waiting for length/lit/eob code */\\nconst LENEXT = 16201; /* i: waiting for length extra bits */\\nconst DIST = 16202; /* i: waiting for distance code */\\nconst DISTEXT = 16203; /* i: waiting for distance extra bits */\\nconst MATCH = 16204; /* o: waiting for output space to copy string */\\nconst LIT = 16205; /* o: waiting for output space to write literal */\\nconst CHECK = 16206; /* i: waiting for 32-bit check value */\\nconst LENGTH = 16207; /* i: waiting for 32-bit length (gzip) */\\nconst DONE = 16208; /* finished check, done -- remain here until reset */\\nconst BAD = 16209; /* got a data error -- remain here until reset */\\nconst MEM = 16210; /* got an inflate() memory error -- remain here until reset */\\nconst SYNC = 16211; /* looking for synchronization bytes to restart inflate() */\\n\\n/* ===========================================================================*/\\n\\n\\n\\nconst ENOUGH_LENS = 852;\\nconst ENOUGH_DISTS = 592;\\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\n\\nconst MAX_WBITS = 15;\\n/* 32K LZ77 window */\\nconst DEF_WBITS = MAX_WBITS;\\n\\n\\nconst zswap32 = (q) => {\\n\\n return (((q >>> 24) & 0xff) +\\n ((q >>> 8) & 0xff00) +\\n ((q & 0xff00) << 8) +\\n ((q & 0xff) << 24));\\n};\\n\\n\\nfunction InflateState() {\\n this.strm = null; /* pointer back to this zlib stream */\\n this.mode = 0; /* current inflate mode */\\n this.last = false; /* true if processing last block */\\n this.wrap = 0; /* bit 0 true for zlib, bit 1 true for gzip,\\n bit 2 true to validate check value */\\n this.havedict = false; /* true if dictionary provided */\\n this.flags = 0; /* gzip header method and flags (0 if zlib), or\\n -1 if raw or no header yet */\\n this.dmax = 0; /* zlib header max distance (INFLATE_STRICT) */\\n this.check = 0; /* protected copy of check value */\\n this.total = 0; /* protected copy of output count */\\n // TODO: may be {}\\n this.head = null; /* where to save gzip header information */\\n\\n /* sliding window */\\n this.wbits = 0; /* log base 2 of requested window size */\\n this.wsize = 0; /* window size or zero if not using window */\\n this.whave = 0; /* valid bytes in the window */\\n this.wnext = 0; /* window write index */\\n this.window = null; /* allocated sliding window, if needed */\\n\\n /* bit accumulator */\\n this.hold = 0; /* input bit accumulator */\\n this.bits = 0; /* number of bits in \\\"in\\\" */\\n\\n /* for string and stored block copying */\\n this.length = 0; /* literal or length of data to copy */\\n this.offset = 0; /* distance back to copy string from */\\n\\n /* for table and code decoding */\\n this.extra = 0; /* extra bits needed */\\n\\n /* fixed and dynamic code tables */\\n this.lencode = null; /* starting table for length/literal codes */\\n this.distcode = null; /* starting table for distance codes */\\n this.lenbits = 0; /* index bits for lencode */\\n this.distbits = 0; /* index bits for distcode */\\n\\n /* dynamic table building */\\n this.ncode = 0; /* number of code length code lengths */\\n this.nlen = 0; /* number of length code lengths */\\n this.ndist = 0; /* number of distance code lengths */\\n this.have = 0; /* number of code lengths in lens[] */\\n this.next = null; /* next available space in codes[] */\\n\\n this.lens = new Uint16Array(320); /* temporary storage for code lengths */\\n this.work = new Uint16Array(288); /* work area for code table building */\\n\\n /*\\n because we don't have pointers in js, we use lencode and distcode directly\\n as buffers so we don't need codes\\n */\\n //this.codes = new Int32Array(ENOUGH); /* space for code tables */\\n this.lendyn = null; /* dynamic table for length/literal codes (JS specific) */\\n this.distdyn = null; /* dynamic table for distance codes (JS specific) */\\n this.sane = 0; /* if false, allow invalid distance too far */\\n this.back = 0; /* bits back of last unprocessed length/lit */\\n this.was = 0; /* initial length of match */\\n}\\n\\n\\nconst inflateStateCheck = (strm) => {\\n\\n if (!strm) {\\n return 1;\\n }\\n const state = strm.state;\\n if (!state || state.strm !== strm ||\\n state.mode < HEAD || state.mode > SYNC) {\\n return 1;\\n }\\n return 0;\\n};\\n\\n\\nconst inflateResetKeep = (strm) => {\\n\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n strm.total_in = strm.total_out = state.total = 0;\\n strm.msg = ''; /*Z_NULL*/\\n if (state.wrap) { /* to support ill-conceived Java test suite */\\n strm.adler = state.wrap & 1;\\n }\\n state.mode = HEAD;\\n state.last = 0;\\n state.havedict = 0;\\n state.flags = -1;\\n state.dmax = 32768;\\n state.head = null/*Z_NULL*/;\\n state.hold = 0;\\n state.bits = 0;\\n //state.lencode = state.distcode = state.next = state.codes;\\n state.lencode = state.lendyn = new Int32Array(ENOUGH_LENS);\\n state.distcode = state.distdyn = new Int32Array(ENOUGH_DISTS);\\n\\n state.sane = 1;\\n state.back = -1;\\n //Tracev((stderr, \\\"inflate: reset\\\\n\\\"));\\n return Z_OK;\\n};\\n\\n\\nconst inflateReset = (strm) => {\\n\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n state.wsize = 0;\\n state.whave = 0;\\n state.wnext = 0;\\n return inflateResetKeep(strm);\\n\\n};\\n\\n\\nconst inflateReset2 = (strm, windowBits) => {\\n let wrap;\\n\\n /* get the state */\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n\\n /* extract wrap request from windowBits parameter */\\n if (windowBits < 0) {\\n wrap = 0;\\n windowBits = -windowBits;\\n }\\n else {\\n wrap = (windowBits >> 4) + 5;\\n if (windowBits < 48) {\\n windowBits &= 15;\\n }\\n }\\n\\n /* set number of window bits, free window if different */\\n if (windowBits && (windowBits < 8 || windowBits > 15)) {\\n return Z_STREAM_ERROR;\\n }\\n if (state.window !== null && state.wbits !== windowBits) {\\n state.window = null;\\n }\\n\\n /* update state and reset the rest of it */\\n state.wrap = wrap;\\n state.wbits = windowBits;\\n return inflateReset(strm);\\n};\\n\\n\\nconst inflateInit2 = (strm, windowBits) => {\\n\\n if (!strm) { return Z_STREAM_ERROR; }\\n //strm.msg = Z_NULL; /* in case we return an error */\\n\\n const state = new InflateState();\\n\\n //if (state === Z_NULL) return Z_MEM_ERROR;\\n //Tracev((stderr, \\\"inflate: allocated\\\\n\\\"));\\n strm.state = state;\\n state.strm = strm;\\n state.window = null/*Z_NULL*/;\\n state.mode = HEAD; /* to pass state test in inflateReset2() */\\n const ret = inflateReset2(strm, windowBits);\\n if (ret !== Z_OK) {\\n strm.state = null/*Z_NULL*/;\\n }\\n return ret;\\n};\\n\\n\\nconst inflateInit = (strm) => {\\n\\n return inflateInit2(strm, DEF_WBITS);\\n};\\n\\n\\n/*\\n Return state with length and distance decoding tables and index sizes set to\\n fixed code decoding. Normally this returns fixed tables from inffixed.h.\\n If BUILDFIXED is defined, then instead this routine builds the tables the\\n first time it's called, and returns those tables the first time and\\n thereafter. This reduces the size of the code by about 2K bytes, in\\n exchange for a little execution time. However, BUILDFIXED should not be\\n used for threaded applications, since the rewriting of the tables and virgin\\n may not be thread-safe.\\n */\\nlet virgin = true;\\n\\nlet lenfix, distfix; // We have no pointers in JS, so keep tables separate\\n\\n\\nconst fixedtables = (state) => {\\n\\n /* build fixed huffman tables if first call (may not be thread safe) */\\n if (virgin) {\\n lenfix = new Int32Array(512);\\n distfix = new Int32Array(32);\\n\\n /* literal/length table */\\n let sym = 0;\\n while (sym < 144) { state.lens[sym++] = 8; }\\n while (sym < 256) { state.lens[sym++] = 9; }\\n while (sym < 280) { state.lens[sym++] = 7; }\\n while (sym < 288) { state.lens[sym++] = 8; }\\n\\n inflate_table(LENS, state.lens, 0, 288, lenfix, 0, state.work, { bits: 9 });\\n\\n /* distance table */\\n sym = 0;\\n while (sym < 32) { state.lens[sym++] = 5; }\\n\\n inflate_table(DISTS, state.lens, 0, 32, distfix, 0, state.work, { bits: 5 });\\n\\n /* do this just once */\\n virgin = false;\\n }\\n\\n state.lencode = lenfix;\\n state.lenbits = 9;\\n state.distcode = distfix;\\n state.distbits = 5;\\n};\\n\\n\\n/*\\n Update the window with the last wsize (normally 32K) bytes written before\\n returning. If window does not exist yet, create it. This is only called\\n when a window is already in use, or when output has been written during this\\n inflate call, but the end of the deflate stream has not been reached yet.\\n It is also called to create a window for dictionary data when a dictionary\\n is loaded.\\n\\n Providing output buffers larger than 32K to inflate() should provide a speed\\n advantage, since only the last 32K of output is copied to the sliding window\\n upon return from inflate(), and since all distances after the first 32K of\\n output will fall in the output data, making match copies simpler and faster.\\n The advantage may be dependent on the size of the processor's data caches.\\n */\\nconst updatewindow = (strm, src, end, copy) => {\\n\\n let dist;\\n const state = strm.state;\\n\\n /* if it hasn't been done already, allocate space for the window */\\n if (state.window === null) {\\n state.wsize = 1 << state.wbits;\\n state.wnext = 0;\\n state.whave = 0;\\n\\n state.window = new Uint8Array(state.wsize);\\n }\\n\\n /* copy state->wsize or less output bytes into the circular window */\\n if (copy >= state.wsize) {\\n state.window.set(src.subarray(end - state.wsize, end), 0);\\n state.wnext = 0;\\n state.whave = state.wsize;\\n }\\n else {\\n dist = state.wsize - state.wnext;\\n if (dist > copy) {\\n dist = copy;\\n }\\n //zmemcpy(state->window + state->wnext, end - copy, dist);\\n state.window.set(src.subarray(end - copy, end - copy + dist), state.wnext);\\n copy -= dist;\\n if (copy) {\\n //zmemcpy(state->window, end - copy, copy);\\n state.window.set(src.subarray(end - copy, end), 0);\\n state.wnext = copy;\\n state.whave = state.wsize;\\n }\\n else {\\n state.wnext += dist;\\n if (state.wnext === state.wsize) { state.wnext = 0; }\\n if (state.whave < state.wsize) { state.whave += dist; }\\n }\\n }\\n return 0;\\n};\\n\\n\\nconst inflate = (strm, flush) => {\\n\\n let state;\\n let input, output; // input/output buffers\\n let next; /* next input INDEX */\\n let put; /* next output INDEX */\\n let have, left; /* available input and output */\\n let hold; /* bit buffer */\\n let bits; /* bits in bit buffer */\\n let _in, _out; /* save starting available input and output */\\n let copy; /* number of stored or match bytes to copy */\\n let from; /* where to copy match bytes from */\\n let from_source;\\n let here = 0; /* current decoding table entry */\\n let here_bits, here_op, here_val; // paked \\\"here\\\" denormalized (JS specific)\\n //let last; /* parent table entry */\\n let last_bits, last_op, last_val; // paked \\\"last\\\" denormalized (JS specific)\\n let len; /* length to copy for repeats, bits to drop */\\n let ret; /* return code */\\n const hbuf = new Uint8Array(4); /* buffer for gzip header crc calculation */\\n let opts;\\n\\n let n; // temporary variable for NEED_BITS\\n\\n const order = /* permutation of code lengths */\\n new Uint8Array([ 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 ]);\\n\\n\\n if (inflateStateCheck(strm) || !strm.output ||\\n (!strm.input && strm.avail_in !== 0)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n state = strm.state;\\n if (state.mode === TYPE) { state.mode = TYPEDO; } /* skip check */\\n\\n\\n //--- LOAD() ---\\n put = strm.next_out;\\n output = strm.output;\\n left = strm.avail_out;\\n next = strm.next_in;\\n input = strm.input;\\n have = strm.avail_in;\\n hold = state.hold;\\n bits = state.bits;\\n //---\\n\\n _in = have;\\n _out = left;\\n ret = Z_OK;\\n\\n inf_leave: // goto emulation\\n for (;;) {\\n switch (state.mode) {\\n case HEAD:\\n if (state.wrap === 0) {\\n state.mode = TYPEDO;\\n break;\\n }\\n //=== NEEDBITS(16);\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((state.wrap & 2) && hold === 0x8b1f) { /* gzip header */\\n if (state.wbits === 0) {\\n state.wbits = 15;\\n }\\n state.check = 0/*crc32(0L, Z_NULL, 0)*/;\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = FLAGS;\\n break;\\n }\\n if (state.head) {\\n state.head.done = false;\\n }\\n if (!(state.wrap & 1) || /* check if zlib header allowed */\\n (((hold & 0xff)/*BITS(8)*/ << 8) + (hold >> 8)) % 31) {\\n strm.msg = 'incorrect header check';\\n state.mode = BAD;\\n break;\\n }\\n if ((hold & 0x0f)/*BITS(4)*/ !== Z_DEFLATED) {\\n strm.msg = 'unknown compression method';\\n state.mode = BAD;\\n break;\\n }\\n //--- DROPBITS(4) ---//\\n hold >>>= 4;\\n bits -= 4;\\n //---//\\n len = (hold & 0x0f)/*BITS(4)*/ + 8;\\n if (state.wbits === 0) {\\n state.wbits = len;\\n }\\n if (len > 15 || len > state.wbits) {\\n strm.msg = 'invalid window size';\\n state.mode = BAD;\\n break;\\n }\\n\\n // !!! pako patch. Force use `options.windowBits` if passed.\\n // Required to always use max window size by default.\\n state.dmax = 1 << state.wbits;\\n //state.dmax = 1 << len;\\n\\n state.flags = 0; /* indicate zlib header */\\n //Tracev((stderr, \\\"inflate: zlib header ok\\\\n\\\"));\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\n state.mode = hold & 0x200 ? DICTID : TYPE;\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n break;\\n case FLAGS:\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.flags = hold;\\n if ((state.flags & 0xff) !== Z_DEFLATED) {\\n strm.msg = 'unknown compression method';\\n state.mode = BAD;\\n break;\\n }\\n if (state.flags & 0xe000) {\\n strm.msg = 'unknown header flags set';\\n state.mode = BAD;\\n break;\\n }\\n if (state.head) {\\n state.head.text = ((hold >> 8) & 1);\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = TIME;\\n /* falls through */\\n case TIME:\\n //=== NEEDBITS(32); */\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if (state.head) {\\n state.head.time = hold;\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC4(state.check, hold)\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n hbuf[2] = (hold >>> 16) & 0xff;\\n hbuf[3] = (hold >>> 24) & 0xff;\\n state.check = crc32(state.check, hbuf, 4, 0);\\n //===\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = OS;\\n /* falls through */\\n case OS:\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if (state.head) {\\n state.head.xflags = (hold & 0xff);\\n state.head.os = (hold >> 8);\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = EXLEN;\\n /* falls through */\\n case EXLEN:\\n if (state.flags & 0x0400) {\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.length = hold;\\n if (state.head) {\\n state.head.extra_len = hold;\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n //=== CRC2(state.check, hold);\\n hbuf[0] = hold & 0xff;\\n hbuf[1] = (hold >>> 8) & 0xff;\\n state.check = crc32(state.check, hbuf, 2, 0);\\n //===//\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n }\\n else if (state.head) {\\n state.head.extra = null/*Z_NULL*/;\\n }\\n state.mode = EXTRA;\\n /* falls through */\\n case EXTRA:\\n if (state.flags & 0x0400) {\\n copy = state.length;\\n if (copy > have) { copy = have; }\\n if (copy) {\\n if (state.head) {\\n len = state.head.extra_len - state.length;\\n if (!state.head.extra) {\\n // Use untyped array for more convenient processing later\\n state.head.extra = new Uint8Array(state.head.extra_len);\\n }\\n state.head.extra.set(\\n input.subarray(\\n next,\\n // extra field is limited to 65536 bytes\\n // - no need for additional size check\\n next + copy\\n ),\\n /*len + copy > state.head.extra_max - len ? state.head.extra_max : copy,*/\\n len\\n );\\n //zmemcpy(state.head.extra + len, next,\\n // len + copy > state.head.extra_max ?\\n // state.head.extra_max - len : copy);\\n }\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n state.check = crc32(state.check, input, copy, next);\\n }\\n have -= copy;\\n next += copy;\\n state.length -= copy;\\n }\\n if (state.length) { break inf_leave; }\\n }\\n state.length = 0;\\n state.mode = NAME;\\n /* falls through */\\n case NAME:\\n if (state.flags & 0x0800) {\\n if (have === 0) { break inf_leave; }\\n copy = 0;\\n do {\\n // TODO: 2 or 1 bytes?\\n len = input[next + copy++];\\n /* use constant limit because in js we should not preallocate memory */\\n if (state.head && len &&\\n (state.length < 65536 /*state.head.name_max*/)) {\\n state.head.name += String.fromCharCode(len);\\n }\\n } while (len && copy < have);\\n\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n state.check = crc32(state.check, input, copy, next);\\n }\\n have -= copy;\\n next += copy;\\n if (len) { break inf_leave; }\\n }\\n else if (state.head) {\\n state.head.name = null;\\n }\\n state.length = 0;\\n state.mode = COMMENT;\\n /* falls through */\\n case COMMENT:\\n if (state.flags & 0x1000) {\\n if (have === 0) { break inf_leave; }\\n copy = 0;\\n do {\\n len = input[next + copy++];\\n /* use constant limit because in js we should not preallocate memory */\\n if (state.head && len &&\\n (state.length < 65536 /*state.head.comm_max*/)) {\\n state.head.comment += String.fromCharCode(len);\\n }\\n } while (len && copy < have);\\n if ((state.flags & 0x0200) && (state.wrap & 4)) {\\n state.check = crc32(state.check, input, copy, next);\\n }\\n have -= copy;\\n next += copy;\\n if (len) { break inf_leave; }\\n }\\n else if (state.head) {\\n state.head.comment = null;\\n }\\n state.mode = HCRC;\\n /* falls through */\\n case HCRC:\\n if (state.flags & 0x0200) {\\n //=== NEEDBITS(16); */\\n while (bits < 16) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((state.wrap & 4) && hold !== (state.check & 0xffff)) {\\n strm.msg = 'header crc mismatch';\\n state.mode = BAD;\\n break;\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n }\\n if (state.head) {\\n state.head.hcrc = ((state.flags >> 9) & 1);\\n state.head.done = true;\\n }\\n strm.adler = state.check = 0;\\n state.mode = TYPE;\\n break;\\n case DICTID:\\n //=== NEEDBITS(32); */\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n strm.adler = state.check = zswap32(hold);\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = DICT;\\n /* falls through */\\n case DICT:\\n if (state.havedict === 0) {\\n //--- RESTORE() ---\\n strm.next_out = put;\\n strm.avail_out = left;\\n strm.next_in = next;\\n strm.avail_in = have;\\n state.hold = hold;\\n state.bits = bits;\\n //---\\n return Z_NEED_DICT;\\n }\\n strm.adler = state.check = 1/*adler32(0L, Z_NULL, 0)*/;\\n state.mode = TYPE;\\n /* falls through */\\n case TYPE:\\n if (flush === Z_BLOCK || flush === Z_TREES) { break inf_leave; }\\n /* falls through */\\n case TYPEDO:\\n if (state.last) {\\n //--- BYTEBITS() ---//\\n hold >>>= bits & 7;\\n bits -= bits & 7;\\n //---//\\n state.mode = CHECK;\\n break;\\n }\\n //=== NEEDBITS(3); */\\n while (bits < 3) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.last = (hold & 0x01)/*BITS(1)*/;\\n //--- DROPBITS(1) ---//\\n hold >>>= 1;\\n bits -= 1;\\n //---//\\n\\n switch ((hold & 0x03)/*BITS(2)*/) {\\n case 0: /* stored block */\\n //Tracev((stderr, \\\"inflate: stored block%s\\\\n\\\",\\n // state.last ? \\\" (last)\\\" : \\\"\\\"));\\n state.mode = STORED;\\n break;\\n case 1: /* fixed block */\\n fixedtables(state);\\n //Tracev((stderr, \\\"inflate: fixed codes block%s\\\\n\\\",\\n // state.last ? \\\" (last)\\\" : \\\"\\\"));\\n state.mode = LEN_; /* decode codes */\\n if (flush === Z_TREES) {\\n //--- DROPBITS(2) ---//\\n hold >>>= 2;\\n bits -= 2;\\n //---//\\n break inf_leave;\\n }\\n break;\\n case 2: /* dynamic block */\\n //Tracev((stderr, \\\"inflate: dynamic codes block%s\\\\n\\\",\\n // state.last ? \\\" (last)\\\" : \\\"\\\"));\\n state.mode = TABLE;\\n break;\\n case 3:\\n strm.msg = 'invalid block type';\\n state.mode = BAD;\\n }\\n //--- DROPBITS(2) ---//\\n hold >>>= 2;\\n bits -= 2;\\n //---//\\n break;\\n case STORED:\\n //--- BYTEBITS() ---// /* go to byte boundary */\\n hold >>>= bits & 7;\\n bits -= bits & 7;\\n //---//\\n //=== NEEDBITS(32); */\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((hold & 0xffff) !== ((hold >>> 16) ^ 0xffff)) {\\n strm.msg = 'invalid stored block lengths';\\n state.mode = BAD;\\n break;\\n }\\n state.length = hold & 0xffff;\\n //Tracev((stderr, \\\"inflate: stored length %u\\\\n\\\",\\n // state.length));\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n state.mode = COPY_;\\n if (flush === Z_TREES) { break inf_leave; }\\n /* falls through */\\n case COPY_:\\n state.mode = COPY;\\n /* falls through */\\n case COPY:\\n copy = state.length;\\n if (copy) {\\n if (copy > have) { copy = have; }\\n if (copy > left) { copy = left; }\\n if (copy === 0) { break inf_leave; }\\n //--- zmemcpy(put, next, copy); ---\\n output.set(input.subarray(next, next + copy), put);\\n //---//\\n have -= copy;\\n next += copy;\\n left -= copy;\\n put += copy;\\n state.length -= copy;\\n break;\\n }\\n //Tracev((stderr, \\\"inflate: stored end\\\\n\\\"));\\n state.mode = TYPE;\\n break;\\n case TABLE:\\n //=== NEEDBITS(14); */\\n while (bits < 14) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.nlen = (hold & 0x1f)/*BITS(5)*/ + 257;\\n //--- DROPBITS(5) ---//\\n hold >>>= 5;\\n bits -= 5;\\n //---//\\n state.ndist = (hold & 0x1f)/*BITS(5)*/ + 1;\\n //--- DROPBITS(5) ---//\\n hold >>>= 5;\\n bits -= 5;\\n //---//\\n state.ncode = (hold & 0x0f)/*BITS(4)*/ + 4;\\n //--- DROPBITS(4) ---//\\n hold >>>= 4;\\n bits -= 4;\\n //---//\\n//#ifndef PKZIP_BUG_WORKAROUND\\n if (state.nlen > 286 || state.ndist > 30) {\\n strm.msg = 'too many length or distance symbols';\\n state.mode = BAD;\\n break;\\n }\\n//#endif\\n //Tracev((stderr, \\\"inflate: table sizes ok\\\\n\\\"));\\n state.have = 0;\\n state.mode = LENLENS;\\n /* falls through */\\n case LENLENS:\\n while (state.have < state.ncode) {\\n //=== NEEDBITS(3);\\n while (bits < 3) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.lens[order[state.have++]] = (hold & 0x07);//BITS(3);\\n //--- DROPBITS(3) ---//\\n hold >>>= 3;\\n bits -= 3;\\n //---//\\n }\\n while (state.have < 19) {\\n state.lens[order[state.have++]] = 0;\\n }\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\n //state.next = state.codes;\\n //state.lencode = state.next;\\n // Switch to use dynamic table\\n state.lencode = state.lendyn;\\n state.lenbits = 7;\\n\\n opts = { bits: state.lenbits };\\n ret = inflate_table(CODES, state.lens, 0, 19, state.lencode, 0, state.work, opts);\\n state.lenbits = opts.bits;\\n\\n if (ret) {\\n strm.msg = 'invalid code lengths set';\\n state.mode = BAD;\\n break;\\n }\\n //Tracev((stderr, \\\"inflate: code lengths ok\\\\n\\\"));\\n state.have = 0;\\n state.mode = CODELENS;\\n /* falls through */\\n case CODELENS:\\n while (state.have < state.nlen + state.ndist) {\\n for (;;) {\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)];/*BITS(state.lenbits)*/\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n if (here_val < 16) {\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n state.lens[state.have++] = here_val;\\n }\\n else {\\n if (here_val === 16) {\\n //=== NEEDBITS(here.bits + 2);\\n n = here_bits + 2;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n if (state.have === 0) {\\n strm.msg = 'invalid bit length repeat';\\n state.mode = BAD;\\n break;\\n }\\n len = state.lens[state.have - 1];\\n copy = 3 + (hold & 0x03);//BITS(2);\\n //--- DROPBITS(2) ---//\\n hold >>>= 2;\\n bits -= 2;\\n //---//\\n }\\n else if (here_val === 17) {\\n //=== NEEDBITS(here.bits + 3);\\n n = here_bits + 3;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n len = 0;\\n copy = 3 + (hold & 0x07);//BITS(3);\\n //--- DROPBITS(3) ---//\\n hold >>>= 3;\\n bits -= 3;\\n //---//\\n }\\n else {\\n //=== NEEDBITS(here.bits + 7);\\n n = here_bits + 7;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n len = 0;\\n copy = 11 + (hold & 0x7f);//BITS(7);\\n //--- DROPBITS(7) ---//\\n hold >>>= 7;\\n bits -= 7;\\n //---//\\n }\\n if (state.have + copy > state.nlen + state.ndist) {\\n strm.msg = 'invalid bit length repeat';\\n state.mode = BAD;\\n break;\\n }\\n while (copy--) {\\n state.lens[state.have++] = len;\\n }\\n }\\n }\\n\\n /* handle error breaks in while */\\n if (state.mode === BAD) { break; }\\n\\n /* check for end-of-block code (better have one) */\\n if (state.lens[256] === 0) {\\n strm.msg = 'invalid code -- missing end-of-block';\\n state.mode = BAD;\\n break;\\n }\\n\\n /* build code tables -- note: do not change the lenbits or distbits\\n values here (9 and 6) without reading the comments in inftrees.h\\n concerning the ENOUGH constants, which depend on those values */\\n state.lenbits = 9;\\n\\n opts = { bits: state.lenbits };\\n ret = inflate_table(LENS, state.lens, 0, state.nlen, state.lencode, 0, state.work, opts);\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\n // state.next_index = opts.table_index;\\n state.lenbits = opts.bits;\\n // state.lencode = state.next;\\n\\n if (ret) {\\n strm.msg = 'invalid literal/lengths set';\\n state.mode = BAD;\\n break;\\n }\\n\\n state.distbits = 6;\\n //state.distcode.copy(state.codes);\\n // Switch to use dynamic table\\n state.distcode = state.distdyn;\\n opts = { bits: state.distbits };\\n ret = inflate_table(DISTS, state.lens, state.nlen, state.ndist, state.distcode, 0, state.work, opts);\\n // We have separate tables & no pointers. 2 commented lines below not needed.\\n // state.next_index = opts.table_index;\\n state.distbits = opts.bits;\\n // state.distcode = state.next;\\n\\n if (ret) {\\n strm.msg = 'invalid distances set';\\n state.mode = BAD;\\n break;\\n }\\n //Tracev((stderr, 'inflate: codes ok\\\\n'));\\n state.mode = LEN_;\\n if (flush === Z_TREES) { break inf_leave; }\\n /* falls through */\\n case LEN_:\\n state.mode = LEN;\\n /* falls through */\\n case LEN:\\n if (have >= 6 && left >= 258) {\\n //--- RESTORE() ---\\n strm.next_out = put;\\n strm.avail_out = left;\\n strm.next_in = next;\\n strm.avail_in = have;\\n state.hold = hold;\\n state.bits = bits;\\n //---\\n inflate_fast(strm, _out);\\n //--- LOAD() ---\\n put = strm.next_out;\\n output = strm.output;\\n left = strm.avail_out;\\n next = strm.next_in;\\n input = strm.input;\\n have = strm.avail_in;\\n hold = state.hold;\\n bits = state.bits;\\n //---\\n\\n if (state.mode === TYPE) {\\n state.back = -1;\\n }\\n break;\\n }\\n state.back = 0;\\n for (;;) {\\n here = state.lencode[hold & ((1 << state.lenbits) - 1)]; /*BITS(state.lenbits)*/\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if (here_bits <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n if (here_op && (here_op & 0xf0) === 0) {\\n last_bits = here_bits;\\n last_op = here_op;\\n last_val = here_val;\\n for (;;) {\\n here = state.lencode[last_val +\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((last_bits + here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n //--- DROPBITS(last.bits) ---//\\n hold >>>= last_bits;\\n bits -= last_bits;\\n //---//\\n state.back += last_bits;\\n }\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n state.back += here_bits;\\n state.length = here_val;\\n if (here_op === 0) {\\n //Tracevv((stderr, here.val >= 0x20 && here.val < 0x7f ?\\n // \\\"inflate: literal '%c'\\\\n\\\" :\\n // \\\"inflate: literal 0x%02x\\\\n\\\", here.val));\\n state.mode = LIT;\\n break;\\n }\\n if (here_op & 32) {\\n //Tracevv((stderr, \\\"inflate: end of block\\\\n\\\"));\\n state.back = -1;\\n state.mode = TYPE;\\n break;\\n }\\n if (here_op & 64) {\\n strm.msg = 'invalid literal/length code';\\n state.mode = BAD;\\n break;\\n }\\n state.extra = here_op & 15;\\n state.mode = LENEXT;\\n /* falls through */\\n case LENEXT:\\n if (state.extra) {\\n //=== NEEDBITS(state.extra);\\n n = state.extra;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.length += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\n //--- DROPBITS(state.extra) ---//\\n hold >>>= state.extra;\\n bits -= state.extra;\\n //---//\\n state.back += state.extra;\\n }\\n //Tracevv((stderr, \\\"inflate: length %u\\\\n\\\", state.length));\\n state.was = state.length;\\n state.mode = DIST;\\n /* falls through */\\n case DIST:\\n for (;;) {\\n here = state.distcode[hold & ((1 << state.distbits) - 1)];/*BITS(state.distbits)*/\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n if ((here_op & 0xf0) === 0) {\\n last_bits = here_bits;\\n last_op = here_op;\\n last_val = here_val;\\n for (;;) {\\n here = state.distcode[last_val +\\n ((hold & ((1 << (last_bits + last_op)) - 1))/*BITS(last.bits + last.op)*/ >> last_bits)];\\n here_bits = here >>> 24;\\n here_op = (here >>> 16) & 0xff;\\n here_val = here & 0xffff;\\n\\n if ((last_bits + here_bits) <= bits) { break; }\\n //--- PULLBYTE() ---//\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n //---//\\n }\\n //--- DROPBITS(last.bits) ---//\\n hold >>>= last_bits;\\n bits -= last_bits;\\n //---//\\n state.back += last_bits;\\n }\\n //--- DROPBITS(here.bits) ---//\\n hold >>>= here_bits;\\n bits -= here_bits;\\n //---//\\n state.back += here_bits;\\n if (here_op & 64) {\\n strm.msg = 'invalid distance code';\\n state.mode = BAD;\\n break;\\n }\\n state.offset = here_val;\\n state.extra = (here_op) & 15;\\n state.mode = DISTEXT;\\n /* falls through */\\n case DISTEXT:\\n if (state.extra) {\\n //=== NEEDBITS(state.extra);\\n n = state.extra;\\n while (bits < n) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n state.offset += hold & ((1 << state.extra) - 1)/*BITS(state.extra)*/;\\n //--- DROPBITS(state.extra) ---//\\n hold >>>= state.extra;\\n bits -= state.extra;\\n //---//\\n state.back += state.extra;\\n }\\n//#ifdef INFLATE_STRICT\\n if (state.offset > state.dmax) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break;\\n }\\n//#endif\\n //Tracevv((stderr, \\\"inflate: distance %u\\\\n\\\", state.offset));\\n state.mode = MATCH;\\n /* falls through */\\n case MATCH:\\n if (left === 0) { break inf_leave; }\\n copy = _out - left;\\n if (state.offset > copy) { /* copy from window */\\n copy = state.offset - copy;\\n if (copy > state.whave) {\\n if (state.sane) {\\n strm.msg = 'invalid distance too far back';\\n state.mode = BAD;\\n break;\\n }\\n// (!) This block is disabled in zlib defaults,\\n// don't enable it for binary compatibility\\n//#ifdef INFLATE_ALLOW_INVALID_DISTANCE_TOOFAR_ARRR\\n// Trace((stderr, \\\"inflate.c too far\\\\n\\\"));\\n// copy -= state.whave;\\n// if (copy > state.length) { copy = state.length; }\\n// if (copy > left) { copy = left; }\\n// left -= copy;\\n// state.length -= copy;\\n// do {\\n// output[put++] = 0;\\n// } while (--copy);\\n// if (state.length === 0) { state.mode = LEN; }\\n// break;\\n//#endif\\n }\\n if (copy > state.wnext) {\\n copy -= state.wnext;\\n from = state.wsize - copy;\\n }\\n else {\\n from = state.wnext - copy;\\n }\\n if (copy > state.length) { copy = state.length; }\\n from_source = state.window;\\n }\\n else { /* copy from output */\\n from_source = output;\\n from = put - state.offset;\\n copy = state.length;\\n }\\n if (copy > left) { copy = left; }\\n left -= copy;\\n state.length -= copy;\\n do {\\n output[put++] = from_source[from++];\\n } while (--copy);\\n if (state.length === 0) { state.mode = LEN; }\\n break;\\n case LIT:\\n if (left === 0) { break inf_leave; }\\n output[put++] = state.length;\\n left--;\\n state.mode = LEN;\\n break;\\n case CHECK:\\n if (state.wrap) {\\n //=== NEEDBITS(32);\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n // Use '|' instead of '+' to make sure that result is signed\\n hold |= input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n _out -= left;\\n strm.total_out += _out;\\n state.total += _out;\\n if ((state.wrap & 4) && _out) {\\n strm.adler = state.check =\\n /*UPDATE_CHECK(state.check, put - _out, _out);*/\\n (state.flags ? crc32(state.check, output, _out, put - _out) : adler32(state.check, output, _out, put - _out));\\n\\n }\\n _out = left;\\n // NB: crc32 stored as signed 32-bit int, zswap32 returns signed too\\n if ((state.wrap & 4) && (state.flags ? hold : zswap32(hold)) !== state.check) {\\n strm.msg = 'incorrect data check';\\n state.mode = BAD;\\n break;\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n //Tracev((stderr, \\\"inflate: check matches trailer\\\\n\\\"));\\n }\\n state.mode = LENGTH;\\n /* falls through */\\n case LENGTH:\\n if (state.wrap && state.flags) {\\n //=== NEEDBITS(32);\\n while (bits < 32) {\\n if (have === 0) { break inf_leave; }\\n have--;\\n hold += input[next++] << bits;\\n bits += 8;\\n }\\n //===//\\n if ((state.wrap & 4) && hold !== (state.total & 0xffffffff)) {\\n strm.msg = 'incorrect length check';\\n state.mode = BAD;\\n break;\\n }\\n //=== INITBITS();\\n hold = 0;\\n bits = 0;\\n //===//\\n //Tracev((stderr, \\\"inflate: length matches trailer\\\\n\\\"));\\n }\\n state.mode = DONE;\\n /* falls through */\\n case DONE:\\n ret = Z_STREAM_END;\\n break inf_leave;\\n case BAD:\\n ret = Z_DATA_ERROR;\\n break inf_leave;\\n case MEM:\\n return Z_MEM_ERROR;\\n case SYNC:\\n /* falls through */\\n default:\\n return Z_STREAM_ERROR;\\n }\\n }\\n\\n // inf_leave <- here is real place for \\\"goto inf_leave\\\", emulated via \\\"break inf_leave\\\"\\n\\n /*\\n Return from inflate(), updating the total counts and the check value.\\n If there was no progress during the inflate() call, return a buffer\\n error. Call updatewindow() to create and/or update the window state.\\n Note: a memory error from inflate() is non-recoverable.\\n */\\n\\n //--- RESTORE() ---\\n strm.next_out = put;\\n strm.avail_out = left;\\n strm.next_in = next;\\n strm.avail_in = have;\\n state.hold = hold;\\n state.bits = bits;\\n //---\\n\\n if (state.wsize || (_out !== strm.avail_out && state.mode < BAD &&\\n (state.mode < CHECK || flush !== Z_FINISH))) {\\n if (updatewindow(strm, strm.output, strm.next_out, _out - strm.avail_out)) {\\n state.mode = MEM;\\n return Z_MEM_ERROR;\\n }\\n }\\n _in -= strm.avail_in;\\n _out -= strm.avail_out;\\n strm.total_in += _in;\\n strm.total_out += _out;\\n state.total += _out;\\n if ((state.wrap & 4) && _out) {\\n strm.adler = state.check = /*UPDATE_CHECK(state.check, strm.next_out - _out, _out);*/\\n (state.flags ? crc32(state.check, output, _out, strm.next_out - _out) : adler32(state.check, output, _out, strm.next_out - _out));\\n }\\n strm.data_type = state.bits + (state.last ? 64 : 0) +\\n (state.mode === TYPE ? 128 : 0) +\\n (state.mode === LEN_ || state.mode === COPY_ ? 256 : 0);\\n if (((_in === 0 && _out === 0) || flush === Z_FINISH) && ret === Z_OK) {\\n ret = Z_BUF_ERROR;\\n }\\n return ret;\\n};\\n\\n\\nconst inflateEnd = (strm) => {\\n\\n if (inflateStateCheck(strm)) {\\n return Z_STREAM_ERROR;\\n }\\n\\n let state = strm.state;\\n if (state.window) {\\n state.window = null;\\n }\\n strm.state = null;\\n return Z_OK;\\n};\\n\\n\\nconst inflateGetHeader = (strm, head) => {\\n\\n /* check state */\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n const state = strm.state;\\n if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; }\\n\\n /* save header structure */\\n state.head = head;\\n head.done = false;\\n return Z_OK;\\n};\\n\\n\\nconst inflateSetDictionary = (strm, dictionary) => {\\n const dictLength = dictionary.length;\\n\\n let state;\\n let dictid;\\n let ret;\\n\\n /* check state */\\n if (inflateStateCheck(strm)) { return Z_STREAM_ERROR; }\\n state = strm.state;\\n\\n if (state.wrap !== 0 && state.mode !== DICT) {\\n return Z_STREAM_ERROR;\\n }\\n\\n /* check for correct dictionary identifier */\\n if (state.mode === DICT) {\\n dictid = 1; /* adler32(0, null, 0)*/\\n /* dictid = adler32(dictid, dictionary, dictLength); */\\n dictid = adler32(dictid, dictionary, dictLength, 0);\\n if (dictid !== state.check) {\\n return Z_DATA_ERROR;\\n }\\n }\\n /* copy dictionary to window using updatewindow(), which will amend the\\n existing dictionary if appropriate */\\n ret = updatewindow(strm, dictionary, dictLength, dictLength);\\n if (ret) {\\n state.mode = MEM;\\n return Z_MEM_ERROR;\\n }\\n state.havedict = 1;\\n // Tracev((stderr, \\\"inflate: dictionary set\\\\n\\\"));\\n return Z_OK;\\n};\\n\\n\\nmodule.exports.inflateReset = inflateReset;\\nmodule.exports.inflateReset2 = inflateReset2;\\nmodule.exports.inflateResetKeep = inflateResetKeep;\\nmodule.exports.inflateInit = inflateInit;\\nmodule.exports.inflateInit2 = inflateInit2;\\nmodule.exports.inflate = inflate;\\nmodule.exports.inflateEnd = inflateEnd;\\nmodule.exports.inflateGetHeader = inflateGetHeader;\\nmodule.exports.inflateSetDictionary = inflateSetDictionary;\\nmodule.exports.inflateInfo = 'pako inflate (from Nodeca project)';\\n\\n/* Not implemented\\nmodule.exports.inflateCodesUsed = inflateCodesUsed;\\nmodule.exports.inflateCopy = inflateCopy;\\nmodule.exports.inflateGetDictionary = inflateGetDictionary;\\nmodule.exports.inflateMark = inflateMark;\\nmodule.exports.inflatePrime = inflatePrime;\\nmodule.exports.inflateSync = inflateSync;\\nmodule.exports.inflateSyncPoint = inflateSyncPoint;\\nmodule.exports.inflateUndermine = inflateUndermine;\\nmodule.exports.inflateValidate = inflateValidate;\\n*/\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/inflate.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/inftrees.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/inftrees.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nconst MAXBITS = 15;\\nconst ENOUGH_LENS = 852;\\nconst ENOUGH_DISTS = 592;\\n//const ENOUGH = (ENOUGH_LENS+ENOUGH_DISTS);\\n\\nconst CODES = 0;\\nconst LENS = 1;\\nconst DISTS = 2;\\n\\nconst lbase = new Uint16Array([ /* Length codes 257..285 base */\\n 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31,\\n 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0\\n]);\\n\\nconst lext = new Uint8Array([ /* Length codes 257..285 extra */\\n 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,\\n 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78\\n]);\\n\\nconst dbase = new Uint16Array([ /* Distance codes 0..29 base */\\n 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,\\n 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,\\n 8193, 12289, 16385, 24577, 0, 0\\n]);\\n\\nconst dext = new Uint8Array([ /* Distance codes 0..29 extra */\\n 16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22,\\n 23, 23, 24, 24, 25, 25, 26, 26, 27, 27,\\n 28, 28, 29, 29, 64, 64\\n]);\\n\\nconst inflate_table = (type, lens, lens_index, codes, table, table_index, work, opts) =>\\n{\\n const bits = opts.bits;\\n //here = opts.here; /* table entry for duplication */\\n\\n let len = 0; /* a code's length in bits */\\n let sym = 0; /* index of code symbols */\\n let min = 0, max = 0; /* minimum and maximum code lengths */\\n let root = 0; /* number of index bits for root table */\\n let curr = 0; /* number of index bits for current table */\\n let drop = 0; /* code bits to drop for sub-table */\\n let left = 0; /* number of prefix codes available */\\n let used = 0; /* code entries in table used */\\n let huff = 0; /* Huffman code */\\n let incr; /* for incrementing code, index */\\n let fill; /* index for replicating entries */\\n let low; /* low bits for current root entry */\\n let mask; /* mask for low root bits */\\n let next; /* next available space in table */\\n let base = null; /* base value table to use */\\n// let shoextra; /* extra bits table to use */\\n let match; /* use base and extra for symbol >= match */\\n const count = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* number of codes of each length */\\n const offs = new Uint16Array(MAXBITS + 1); //[MAXBITS+1]; /* offsets in table for each length */\\n let extra = null;\\n\\n let here_bits, here_op, here_val;\\n\\n /*\\n Process a set of code lengths to create a canonical Huffman code. The\\n code lengths are lens[0..codes-1]. Each length corresponds to the\\n symbols 0..codes-1. The Huffman code is generated by first sorting the\\n symbols by length from short to long, and retaining the symbol order\\n for codes with equal lengths. Then the code starts with all zero bits\\n for the first code of the shortest length, and the codes are integer\\n increments for the same length, and zeros are appended as the length\\n increases. For the deflate format, these bits are stored backwards\\n from their more natural integer increment ordering, and so when the\\n decoding tables are built in the large loop below, the integer codes\\n are incremented backwards.\\n\\n This routine assumes, but does not check, that all of the entries in\\n lens[] are in the range 0..MAXBITS. The caller must assure this.\\n 1..MAXBITS is interpreted as that code length. zero means that that\\n symbol does not occur in this code.\\n\\n The codes are sorted by computing a count of codes for each length,\\n creating from that a table of starting indices for each length in the\\n sorted table, and then entering the symbols in order in the sorted\\n table. The sorted table is work[], with that space being provided by\\n the caller.\\n\\n The length counts are used for other purposes as well, i.e. finding\\n the minimum and maximum length codes, determining if there are any\\n codes at all, checking for a valid set of lengths, and looking ahead\\n at length counts to determine sub-table sizes when building the\\n decoding tables.\\n */\\n\\n /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */\\n for (len = 0; len <= MAXBITS; len++) {\\n count[len] = 0;\\n }\\n for (sym = 0; sym < codes; sym++) {\\n count[lens[lens_index + sym]]++;\\n }\\n\\n /* bound code lengths, force root to be within code lengths */\\n root = bits;\\n for (max = MAXBITS; max >= 1; max--) {\\n if (count[max] !== 0) { break; }\\n }\\n if (root > max) {\\n root = max;\\n }\\n if (max === 0) { /* no symbols to code at all */\\n //table.op[opts.table_index] = 64; //here.op = (var char)64; /* invalid code marker */\\n //table.bits[opts.table_index] = 1; //here.bits = (var char)1;\\n //table.val[opts.table_index++] = 0; //here.val = (var short)0;\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\n\\n\\n //table.op[opts.table_index] = 64;\\n //table.bits[opts.table_index] = 1;\\n //table.val[opts.table_index++] = 0;\\n table[table_index++] = (1 << 24) | (64 << 16) | 0;\\n\\n opts.bits = 1;\\n return 0; /* no symbols, but wait for decoding to report error */\\n }\\n for (min = 1; min < max; min++) {\\n if (count[min] !== 0) { break; }\\n }\\n if (root < min) {\\n root = min;\\n }\\n\\n /* check for an over-subscribed or incomplete set of lengths */\\n left = 1;\\n for (len = 1; len <= MAXBITS; len++) {\\n left <<= 1;\\n left -= count[len];\\n if (left < 0) {\\n return -1;\\n } /* over-subscribed */\\n }\\n if (left > 0 && (type === CODES || max !== 1)) {\\n return -1; /* incomplete set */\\n }\\n\\n /* generate offsets into symbol table for each length for sorting */\\n offs[1] = 0;\\n for (len = 1; len < MAXBITS; len++) {\\n offs[len + 1] = offs[len] + count[len];\\n }\\n\\n /* sort symbols by length, by symbol order within each length */\\n for (sym = 0; sym < codes; sym++) {\\n if (lens[lens_index + sym] !== 0) {\\n work[offs[lens[lens_index + sym]]++] = sym;\\n }\\n }\\n\\n /*\\n Create and fill in decoding tables. In this loop, the table being\\n filled is at next and has curr index bits. The code being used is huff\\n with length len. That code is converted to an index by dropping drop\\n bits off of the bottom. For codes where len is less than drop + curr,\\n those top drop + curr - len bits are incremented through all values to\\n fill the table with replicated entries.\\n\\n root is the number of index bits for the root table. When len exceeds\\n root, sub-tables are created pointed to by the root entry with an index\\n of the low root bits of huff. This is saved in low to check for when a\\n new sub-table should be started. drop is zero when the root table is\\n being filled, and drop is root when sub-tables are being filled.\\n\\n When a new sub-table is needed, it is necessary to look ahead in the\\n code lengths to determine what size sub-table is needed. The length\\n counts are used for this, and so count[] is decremented as codes are\\n entered in the tables.\\n\\n used keeps track of how many table entries have been allocated from the\\n provided *table space. It is checked for LENS and DIST tables against\\n the constants ENOUGH_LENS and ENOUGH_DISTS to guard against changes in\\n the initial root table size constants. See the comments in inftrees.h\\n for more information.\\n\\n sym increments through all symbols, and the loop terminates when\\n all codes of length max, i.e. all codes, have been processed. This\\n routine permits incomplete codes, so another loop after this one fills\\n in the rest of the decoding tables with invalid code markers.\\n */\\n\\n /* set up for code type */\\n // poor man optimization - use if-else instead of switch,\\n // to avoid deopts in old v8\\n if (type === CODES) {\\n base = extra = work; /* dummy value--not used */\\n match = 20;\\n\\n } else if (type === LENS) {\\n base = lbase;\\n extra = lext;\\n match = 257;\\n\\n } else { /* DISTS */\\n base = dbase;\\n extra = dext;\\n match = 0;\\n }\\n\\n /* initialize opts for loop */\\n huff = 0; /* starting code */\\n sym = 0; /* starting code symbol */\\n len = min; /* starting code length */\\n next = table_index; /* current table to fill in */\\n curr = root; /* current table index bits */\\n drop = 0; /* current bits to drop from code for index */\\n low = -1; /* trigger new sub-table when len > root */\\n used = 1 << root; /* use root table entries */\\n mask = used - 1; /* mask for comparing low */\\n\\n /* check available table space */\\n if ((type === LENS && used > ENOUGH_LENS) ||\\n (type === DISTS && used > ENOUGH_DISTS)) {\\n return 1;\\n }\\n\\n /* process all codes and make table entries */\\n for (;;) {\\n /* create table entry */\\n here_bits = len - drop;\\n if (work[sym] + 1 < match) {\\n here_op = 0;\\n here_val = work[sym];\\n }\\n else if (work[sym] >= match) {\\n here_op = extra[work[sym] - match];\\n here_val = base[work[sym] - match];\\n }\\n else {\\n here_op = 32 + 64; /* end of block */\\n here_val = 0;\\n }\\n\\n /* replicate for those indices with low len bits equal to huff */\\n incr = 1 << (len - drop);\\n fill = 1 << curr;\\n min = fill; /* save offset to next table */\\n do {\\n fill -= incr;\\n table[next + (huff >> drop) + fill] = (here_bits << 24) | (here_op << 16) | here_val |0;\\n } while (fill !== 0);\\n\\n /* backwards increment the len-bit code huff */\\n incr = 1 << (len - 1);\\n while (huff & incr) {\\n incr >>= 1;\\n }\\n if (incr !== 0) {\\n huff &= incr - 1;\\n huff += incr;\\n } else {\\n huff = 0;\\n }\\n\\n /* go to next symbol, update count, len */\\n sym++;\\n if (--count[len] === 0) {\\n if (len === max) { break; }\\n len = lens[lens_index + work[sym]];\\n }\\n\\n /* create new sub-table if needed */\\n if (len > root && (huff & mask) !== low) {\\n /* if first time, transition to sub-tables */\\n if (drop === 0) {\\n drop = root;\\n }\\n\\n /* increment past last table */\\n next += min; /* here min is 1 << curr */\\n\\n /* determine length of next table */\\n curr = len - drop;\\n left = 1 << curr;\\n while (curr + drop < max) {\\n left -= count[curr + drop];\\n if (left <= 0) { break; }\\n curr++;\\n left <<= 1;\\n }\\n\\n /* check for enough space */\\n used += 1 << curr;\\n if ((type === LENS && used > ENOUGH_LENS) ||\\n (type === DISTS && used > ENOUGH_DISTS)) {\\n return 1;\\n }\\n\\n /* point entry in root table to sub-table */\\n low = huff & mask;\\n /*table.op[low] = curr;\\n table.bits[low] = root;\\n table.val[low] = next - opts.table_index;*/\\n table[low] = (root << 24) | (curr << 16) | (next - table_index) |0;\\n }\\n }\\n\\n /* fill in remaining table entry if code is incomplete (guaranteed to have\\n at most one remaining entry, since if the code is incomplete, the\\n maximum code length that was allowed to get this far is one bit) */\\n if (huff !== 0) {\\n //table.op[next + huff] = 64; /* invalid code marker */\\n //table.bits[next + huff] = len - drop;\\n //table.val[next + huff] = 0;\\n table[next + huff] = ((len - drop) << 24) | (64 << 16) |0;\\n }\\n\\n /* set return parameters */\\n //opts.table_index += used;\\n opts.bits = root;\\n return 0;\\n};\\n\\n\\nmodule.exports = inflate_table;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/inftrees.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/messages.js\":\n/*!************************************************!*\\\n !*** ./node_modules/pako/lib/zlib/messages.js ***!\n \\************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nmodule.exports = {\\n 2: 'need dictionary', /* Z_NEED_DICT 2 */\\n 1: 'stream end', /* Z_STREAM_END 1 */\\n 0: '', /* Z_OK 0 */\\n '-1': 'file error', /* Z_ERRNO (-1) */\\n '-2': 'stream error', /* Z_STREAM_ERROR (-2) */\\n '-3': 'data error', /* Z_DATA_ERROR (-3) */\\n '-4': 'insufficient memory', /* Z_MEM_ERROR (-4) */\\n '-5': 'buffer error', /* Z_BUF_ERROR (-5) */\\n '-6': 'incompatible version' /* Z_VERSION_ERROR (-6) */\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/messages.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/trees.js\":\n/*!*********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/trees.js ***!\n \\*********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\n/* eslint-disable space-unary-ops */\\n\\n/* Public constants ==========================================================*/\\n/* ===========================================================================*/\\n\\n\\n//const Z_FILTERED = 1;\\n//const Z_HUFFMAN_ONLY = 2;\\n//const Z_RLE = 3;\\nconst Z_FIXED = 4;\\n//const Z_DEFAULT_STRATEGY = 0;\\n\\n/* Possible values of the data_type field (though see inflate()) */\\nconst Z_BINARY = 0;\\nconst Z_TEXT = 1;\\n//const Z_ASCII = 1; // = Z_TEXT\\nconst Z_UNKNOWN = 2;\\n\\n/*============================================================================*/\\n\\n\\nfunction zero(buf) { let len = buf.length; while (--len >= 0) { buf[len] = 0; } }\\n\\n// From zutil.h\\n\\nconst STORED_BLOCK = 0;\\nconst STATIC_TREES = 1;\\nconst DYN_TREES = 2;\\n/* The three kinds of block type */\\n\\nconst MIN_MATCH = 3;\\nconst MAX_MATCH = 258;\\n/* The minimum and maximum match lengths */\\n\\n// From deflate.h\\n/* ===========================================================================\\n * Internal compression state.\\n */\\n\\nconst LENGTH_CODES = 29;\\n/* number of length codes, not counting the special END_BLOCK code */\\n\\nconst LITERALS = 256;\\n/* number of literal bytes 0..255 */\\n\\nconst L_CODES = LITERALS + 1 + LENGTH_CODES;\\n/* number of Literal or Length codes, including the END_BLOCK code */\\n\\nconst D_CODES = 30;\\n/* number of distance codes */\\n\\nconst BL_CODES = 19;\\n/* number of codes used to transfer the bit lengths */\\n\\nconst HEAP_SIZE = 2 * L_CODES + 1;\\n/* maximum heap size */\\n\\nconst MAX_BITS = 15;\\n/* All codes must not exceed MAX_BITS bits */\\n\\nconst Buf_size = 16;\\n/* size of bit buffer in bi_buf */\\n\\n\\n/* ===========================================================================\\n * Constants\\n */\\n\\nconst MAX_BL_BITS = 7;\\n/* Bit length codes must not exceed MAX_BL_BITS bits */\\n\\nconst END_BLOCK = 256;\\n/* end of block literal code */\\n\\nconst REP_3_6 = 16;\\n/* repeat previous bit length 3-6 times (2 bits of repeat count) */\\n\\nconst REPZ_3_10 = 17;\\n/* repeat a zero length 3-10 times (3 bits of repeat count) */\\n\\nconst REPZ_11_138 = 18;\\n/* repeat a zero length 11-138 times (7 bits of repeat count) */\\n\\n/* eslint-disable comma-spacing,array-bracket-spacing */\\nconst extra_lbits = /* extra bits for each length code */\\n new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]);\\n\\nconst extra_dbits = /* extra bits for each distance code */\\n new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]);\\n\\nconst extra_blbits = /* extra bits for each bit length code */\\n new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]);\\n\\nconst bl_order =\\n new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);\\n/* eslint-enable comma-spacing,array-bracket-spacing */\\n\\n/* The lengths of the bit length codes are sent in order of decreasing\\n * probability, to avoid transmitting the lengths for unused bit length codes.\\n */\\n\\n/* ===========================================================================\\n * Local data. These are initialized only once.\\n */\\n\\n// We pre-fill arrays with 0 to avoid uninitialized gaps\\n\\nconst DIST_CODE_LEN = 512; /* see definition of array dist_code below */\\n\\n// !!!! Use flat array instead of structure, Freq = i*2, Len = i*2+1\\nconst static_ltree = new Array((L_CODES + 2) * 2);\\nzero(static_ltree);\\n/* The static literal tree. Since the bit lengths are imposed, there is no\\n * need for the L_CODES extra codes used during heap construction. However\\n * The codes 286 and 287 are needed to build a canonical tree (see _tr_init\\n * below).\\n */\\n\\nconst static_dtree = new Array(D_CODES * 2);\\nzero(static_dtree);\\n/* The static distance tree. (Actually a trivial tree since all codes use\\n * 5 bits.)\\n */\\n\\nconst _dist_code = new Array(DIST_CODE_LEN);\\nzero(_dist_code);\\n/* Distance codes. The first 256 values correspond to the distances\\n * 3 .. 258, the last 256 values correspond to the top 8 bits of\\n * the 15 bit distances.\\n */\\n\\nconst _length_code = new Array(MAX_MATCH - MIN_MATCH + 1);\\nzero(_length_code);\\n/* length code for each normalized match length (0 == MIN_MATCH) */\\n\\nconst base_length = new Array(LENGTH_CODES);\\nzero(base_length);\\n/* First normalized length for each code (0 = MIN_MATCH) */\\n\\nconst base_dist = new Array(D_CODES);\\nzero(base_dist);\\n/* First normalized distance for each code (0 = distance of 1) */\\n\\n\\nfunction StaticTreeDesc(static_tree, extra_bits, extra_base, elems, max_length) {\\n\\n this.static_tree = static_tree; /* static tree or NULL */\\n this.extra_bits = extra_bits; /* extra bits for each code or NULL */\\n this.extra_base = extra_base; /* base index for extra_bits */\\n this.elems = elems; /* max number of elements in the tree */\\n this.max_length = max_length; /* max bit length for the codes */\\n\\n // show if `static_tree` has data or dummy - needed for monomorphic objects\\n this.has_stree = static_tree && static_tree.length;\\n}\\n\\n\\nlet static_l_desc;\\nlet static_d_desc;\\nlet static_bl_desc;\\n\\n\\nfunction TreeDesc(dyn_tree, stat_desc) {\\n this.dyn_tree = dyn_tree; /* the dynamic tree */\\n this.max_code = 0; /* largest code with non zero frequency */\\n this.stat_desc = stat_desc; /* the corresponding static tree */\\n}\\n\\n\\n\\nconst d_code = (dist) => {\\n\\n return dist < 256 ? _dist_code[dist] : _dist_code[256 + (dist >>> 7)];\\n};\\n\\n\\n/* ===========================================================================\\n * Output a short LSB first on the stream.\\n * IN assertion: there is enough room in pendingBuf.\\n */\\nconst put_short = (s, w) => {\\n// put_byte(s, (uch)((w) & 0xff));\\n// put_byte(s, (uch)((ush)(w) >> 8));\\n s.pending_buf[s.pending++] = (w) & 0xff;\\n s.pending_buf[s.pending++] = (w >>> 8) & 0xff;\\n};\\n\\n\\n/* ===========================================================================\\n * Send a value on a given number of bits.\\n * IN assertion: length <= 16 and value fits in length bits.\\n */\\nconst send_bits = (s, value, length) => {\\n\\n if (s.bi_valid > (Buf_size - length)) {\\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\\n put_short(s, s.bi_buf);\\n s.bi_buf = value >> (Buf_size - s.bi_valid);\\n s.bi_valid += length - Buf_size;\\n } else {\\n s.bi_buf |= (value << s.bi_valid) & 0xffff;\\n s.bi_valid += length;\\n }\\n};\\n\\n\\nconst send_code = (s, c, tree) => {\\n\\n send_bits(s, tree[c * 2]/*.Code*/, tree[c * 2 + 1]/*.Len*/);\\n};\\n\\n\\n/* ===========================================================================\\n * Reverse the first len bits of a code, using straightforward code (a faster\\n * method would use a table)\\n * IN assertion: 1 <= len <= 15\\n */\\nconst bi_reverse = (code, len) => {\\n\\n let res = 0;\\n do {\\n res |= code & 1;\\n code >>>= 1;\\n res <<= 1;\\n } while (--len > 0);\\n return res >>> 1;\\n};\\n\\n\\n/* ===========================================================================\\n * Flush the bit buffer, keeping at most 7 bits in it.\\n */\\nconst bi_flush = (s) => {\\n\\n if (s.bi_valid === 16) {\\n put_short(s, s.bi_buf);\\n s.bi_buf = 0;\\n s.bi_valid = 0;\\n\\n } else if (s.bi_valid >= 8) {\\n s.pending_buf[s.pending++] = s.bi_buf & 0xff;\\n s.bi_buf >>= 8;\\n s.bi_valid -= 8;\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Compute the optimal bit lengths for a tree and update the total bit length\\n * for the current block.\\n * IN assertion: the fields freq and dad are set, heap[heap_max] and\\n * above are the tree nodes sorted by increasing frequency.\\n * OUT assertions: the field len is set to the optimal bit length, the\\n * array bl_count contains the frequencies for each bit length.\\n * The length opt_len is updated; static_len is also updated if stree is\\n * not null.\\n */\\nconst gen_bitlen = (s, desc) => {\\n// deflate_state *s;\\n// tree_desc *desc; /* the tree descriptor */\\n\\n const tree = desc.dyn_tree;\\n const max_code = desc.max_code;\\n const stree = desc.stat_desc.static_tree;\\n const has_stree = desc.stat_desc.has_stree;\\n const extra = desc.stat_desc.extra_bits;\\n const base = desc.stat_desc.extra_base;\\n const max_length = desc.stat_desc.max_length;\\n let h; /* heap index */\\n let n, m; /* iterate over the tree elements */\\n let bits; /* bit length */\\n let xbits; /* extra bits */\\n let f; /* frequency */\\n let overflow = 0; /* number of elements with bit length too large */\\n\\n for (bits = 0; bits <= MAX_BITS; bits++) {\\n s.bl_count[bits] = 0;\\n }\\n\\n /* In a first pass, compute the optimal bit lengths (which may\\n * overflow in the case of the bit length tree).\\n */\\n tree[s.heap[s.heap_max] * 2 + 1]/*.Len*/ = 0; /* root of the heap */\\n\\n for (h = s.heap_max + 1; h < HEAP_SIZE; h++) {\\n n = s.heap[h];\\n bits = tree[tree[n * 2 + 1]/*.Dad*/ * 2 + 1]/*.Len*/ + 1;\\n if (bits > max_length) {\\n bits = max_length;\\n overflow++;\\n }\\n tree[n * 2 + 1]/*.Len*/ = bits;\\n /* We overwrite tree[n].Dad which is no longer needed */\\n\\n if (n > max_code) { continue; } /* not a leaf node */\\n\\n s.bl_count[bits]++;\\n xbits = 0;\\n if (n >= base) {\\n xbits = extra[n - base];\\n }\\n f = tree[n * 2]/*.Freq*/;\\n s.opt_len += f * (bits + xbits);\\n if (has_stree) {\\n s.static_len += f * (stree[n * 2 + 1]/*.Len*/ + xbits);\\n }\\n }\\n if (overflow === 0) { return; }\\n\\n // Tracev((stderr,\\\"\\\\nbit length overflow\\\\n\\\"));\\n /* This happens for example on obj2 and pic of the Calgary corpus */\\n\\n /* Find the first bit length which could increase: */\\n do {\\n bits = max_length - 1;\\n while (s.bl_count[bits] === 0) { bits--; }\\n s.bl_count[bits]--; /* move one leaf down the tree */\\n s.bl_count[bits + 1] += 2; /* move one overflow item as its brother */\\n s.bl_count[max_length]--;\\n /* The brother of the overflow item also moves one step up,\\n * but this does not affect bl_count[max_length]\\n */\\n overflow -= 2;\\n } while (overflow > 0);\\n\\n /* Now recompute all bit lengths, scanning in increasing frequency.\\n * h is still equal to HEAP_SIZE. (It is simpler to reconstruct all\\n * lengths instead of fixing only the wrong ones. This idea is taken\\n * from 'ar' written by Haruhiko Okumura.)\\n */\\n for (bits = max_length; bits !== 0; bits--) {\\n n = s.bl_count[bits];\\n while (n !== 0) {\\n m = s.heap[--h];\\n if (m > max_code) { continue; }\\n if (tree[m * 2 + 1]/*.Len*/ !== bits) {\\n // Tracev((stderr,\\\"code %d bits %d->%d\\\\n\\\", m, tree[m].Len, bits));\\n s.opt_len += (bits - tree[m * 2 + 1]/*.Len*/) * tree[m * 2]/*.Freq*/;\\n tree[m * 2 + 1]/*.Len*/ = bits;\\n }\\n n--;\\n }\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Generate the codes for a given tree and bit counts (which need not be\\n * optimal).\\n * IN assertion: the array bl_count contains the bit length statistics for\\n * the given tree and the field len is set for all tree elements.\\n * OUT assertion: the field code is set for all tree elements of non\\n * zero code length.\\n */\\nconst gen_codes = (tree, max_code, bl_count) => {\\n// ct_data *tree; /* the tree to decorate */\\n// int max_code; /* largest code with non zero frequency */\\n// ushf *bl_count; /* number of codes at each bit length */\\n\\n const next_code = new Array(MAX_BITS + 1); /* next code value for each bit length */\\n let code = 0; /* running code value */\\n let bits; /* bit index */\\n let n; /* code index */\\n\\n /* The distribution counts are first used to generate the code values\\n * without bit reversal.\\n */\\n for (bits = 1; bits <= MAX_BITS; bits++) {\\n code = (code + bl_count[bits - 1]) << 1;\\n next_code[bits] = code;\\n }\\n /* Check that the bit counts in bl_count are consistent. The last code\\n * must be all ones.\\n */\\n //Assert (code + bl_count[MAX_BITS]-1 == (1< {\\n\\n let n; /* iterates over tree elements */\\n let bits; /* bit counter */\\n let length; /* length value */\\n let code; /* code value */\\n let dist; /* distance index */\\n const bl_count = new Array(MAX_BITS + 1);\\n /* number of codes at each bit length for an optimal tree */\\n\\n // do check in _tr_init()\\n //if (static_init_done) return;\\n\\n /* For some embedded targets, global variables are not initialized: */\\n/*#ifdef NO_INIT_GLOBAL_POINTERS\\n static_l_desc.static_tree = static_ltree;\\n static_l_desc.extra_bits = extra_lbits;\\n static_d_desc.static_tree = static_dtree;\\n static_d_desc.extra_bits = extra_dbits;\\n static_bl_desc.extra_bits = extra_blbits;\\n#endif*/\\n\\n /* Initialize the mapping length (0..255) -> length code (0..28) */\\n length = 0;\\n for (code = 0; code < LENGTH_CODES - 1; code++) {\\n base_length[code] = length;\\n for (n = 0; n < (1 << extra_lbits[code]); n++) {\\n _length_code[length++] = code;\\n }\\n }\\n //Assert (length == 256, \\\"tr_static_init: length != 256\\\");\\n /* Note that the length 255 (match length 258) can be represented\\n * in two different ways: code 284 + 5 bits or code 285, so we\\n * overwrite length_code[255] to use the best encoding:\\n */\\n _length_code[length - 1] = code;\\n\\n /* Initialize the mapping dist (0..32K) -> dist code (0..29) */\\n dist = 0;\\n for (code = 0; code < 16; code++) {\\n base_dist[code] = dist;\\n for (n = 0; n < (1 << extra_dbits[code]); n++) {\\n _dist_code[dist++] = code;\\n }\\n }\\n //Assert (dist == 256, \\\"tr_static_init: dist != 256\\\");\\n dist >>= 7; /* from now on, all distances are divided by 128 */\\n for (; code < D_CODES; code++) {\\n base_dist[code] = dist << 7;\\n for (n = 0; n < (1 << (extra_dbits[code] - 7)); n++) {\\n _dist_code[256 + dist++] = code;\\n }\\n }\\n //Assert (dist == 256, \\\"tr_static_init: 256+dist != 512\\\");\\n\\n /* Construct the codes of the static literal tree */\\n for (bits = 0; bits <= MAX_BITS; bits++) {\\n bl_count[bits] = 0;\\n }\\n\\n n = 0;\\n while (n <= 143) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\\n n++;\\n bl_count[8]++;\\n }\\n while (n <= 255) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 9;\\n n++;\\n bl_count[9]++;\\n }\\n while (n <= 279) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 7;\\n n++;\\n bl_count[7]++;\\n }\\n while (n <= 287) {\\n static_ltree[n * 2 + 1]/*.Len*/ = 8;\\n n++;\\n bl_count[8]++;\\n }\\n /* Codes 286 and 287 do not exist, but we must include them in the\\n * tree construction to get a canonical Huffman tree (longest code\\n * all ones)\\n */\\n gen_codes(static_ltree, L_CODES + 1, bl_count);\\n\\n /* The static distance tree is trivial: */\\n for (n = 0; n < D_CODES; n++) {\\n static_dtree[n * 2 + 1]/*.Len*/ = 5;\\n static_dtree[n * 2]/*.Code*/ = bi_reverse(n, 5);\\n }\\n\\n // Now data ready and we can init static trees\\n static_l_desc = new StaticTreeDesc(static_ltree, extra_lbits, LITERALS + 1, L_CODES, MAX_BITS);\\n static_d_desc = new StaticTreeDesc(static_dtree, extra_dbits, 0, D_CODES, MAX_BITS);\\n static_bl_desc = new StaticTreeDesc(new Array(0), extra_blbits, 0, BL_CODES, MAX_BL_BITS);\\n\\n //static_init_done = true;\\n};\\n\\n\\n/* ===========================================================================\\n * Initialize a new block.\\n */\\nconst init_block = (s) => {\\n\\n let n; /* iterates over tree elements */\\n\\n /* Initialize the trees. */\\n for (n = 0; n < L_CODES; n++) { s.dyn_ltree[n * 2]/*.Freq*/ = 0; }\\n for (n = 0; n < D_CODES; n++) { s.dyn_dtree[n * 2]/*.Freq*/ = 0; }\\n for (n = 0; n < BL_CODES; n++) { s.bl_tree[n * 2]/*.Freq*/ = 0; }\\n\\n s.dyn_ltree[END_BLOCK * 2]/*.Freq*/ = 1;\\n s.opt_len = s.static_len = 0;\\n s.sym_next = s.matches = 0;\\n};\\n\\n\\n/* ===========================================================================\\n * Flush the bit buffer and align the output on a byte boundary\\n */\\nconst bi_windup = (s) =>\\n{\\n if (s.bi_valid > 8) {\\n put_short(s, s.bi_buf);\\n } else if (s.bi_valid > 0) {\\n //put_byte(s, (Byte)s->bi_buf);\\n s.pending_buf[s.pending++] = s.bi_buf;\\n }\\n s.bi_buf = 0;\\n s.bi_valid = 0;\\n};\\n\\n/* ===========================================================================\\n * Compares to subtrees, using the tree depth as tie breaker when\\n * the subtrees have equal frequency. This minimizes the worst case length.\\n */\\nconst smaller = (tree, n, m, depth) => {\\n\\n const _n2 = n * 2;\\n const _m2 = m * 2;\\n return (tree[_n2]/*.Freq*/ < tree[_m2]/*.Freq*/ ||\\n (tree[_n2]/*.Freq*/ === tree[_m2]/*.Freq*/ && depth[n] <= depth[m]));\\n};\\n\\n/* ===========================================================================\\n * Restore the heap property by moving down the tree starting at node k,\\n * exchanging a node with the smallest of its two sons if necessary, stopping\\n * when the heap property is re-established (each father smaller than its\\n * two sons).\\n */\\nconst pqdownheap = (s, tree, k) => {\\n// deflate_state *s;\\n// ct_data *tree; /* the tree to restore */\\n// int k; /* node to move down */\\n\\n const v = s.heap[k];\\n let j = k << 1; /* left son of k */\\n while (j <= s.heap_len) {\\n /* Set j to the smallest of the two sons: */\\n if (j < s.heap_len &&\\n smaller(tree, s.heap[j + 1], s.heap[j], s.depth)) {\\n j++;\\n }\\n /* Exit if v is smaller than both sons */\\n if (smaller(tree, v, s.heap[j], s.depth)) { break; }\\n\\n /* Exchange v with the smallest son */\\n s.heap[k] = s.heap[j];\\n k = j;\\n\\n /* And continue down the tree, setting j to the left son of k */\\n j <<= 1;\\n }\\n s.heap[k] = v;\\n};\\n\\n\\n// inlined manually\\n// const SMALLEST = 1;\\n\\n/* ===========================================================================\\n * Send the block data compressed using the given Huffman trees\\n */\\nconst compress_block = (s, ltree, dtree) => {\\n// deflate_state *s;\\n// const ct_data *ltree; /* literal tree */\\n// const ct_data *dtree; /* distance tree */\\n\\n let dist; /* distance of matched string */\\n let lc; /* match length or unmatched char (if dist == 0) */\\n let sx = 0; /* running index in sym_buf */\\n let code; /* the code to send */\\n let extra; /* number of extra bits to send */\\n\\n if (s.sym_next !== 0) {\\n do {\\n dist = s.pending_buf[s.sym_buf + sx++] & 0xff;\\n dist += (s.pending_buf[s.sym_buf + sx++] & 0xff) << 8;\\n lc = s.pending_buf[s.sym_buf + sx++];\\n if (dist === 0) {\\n send_code(s, lc, ltree); /* send a literal byte */\\n //Tracecv(isgraph(lc), (stderr,\\\" '%c' \\\", lc));\\n } else {\\n /* Here, lc is the match length - MIN_MATCH */\\n code = _length_code[lc];\\n send_code(s, code + LITERALS + 1, ltree); /* send the length code */\\n extra = extra_lbits[code];\\n if (extra !== 0) {\\n lc -= base_length[code];\\n send_bits(s, lc, extra); /* send the extra length bits */\\n }\\n dist--; /* dist is now the match distance - 1 */\\n code = d_code(dist);\\n //Assert (code < D_CODES, \\\"bad d_code\\\");\\n\\n send_code(s, code, dtree); /* send the distance code */\\n extra = extra_dbits[code];\\n if (extra !== 0) {\\n dist -= base_dist[code];\\n send_bits(s, dist, extra); /* send the extra distance bits */\\n }\\n } /* literal or match pair ? */\\n\\n /* Check that the overlay between pending_buf and sym_buf is ok: */\\n //Assert(s->pending < s->lit_bufsize + sx, \\\"pendingBuf overflow\\\");\\n\\n } while (sx < s.sym_next);\\n }\\n\\n send_code(s, END_BLOCK, ltree);\\n};\\n\\n\\n/* ===========================================================================\\n * Construct one Huffman tree and assigns the code bit strings and lengths.\\n * Update the total bit length for the current block.\\n * IN assertion: the field freq is set for all tree elements.\\n * OUT assertions: the fields len and code are set to the optimal bit length\\n * and corresponding code. The length opt_len is updated; static_len is\\n * also updated if stree is not null. The field max_code is set.\\n */\\nconst build_tree = (s, desc) => {\\n// deflate_state *s;\\n// tree_desc *desc; /* the tree descriptor */\\n\\n const tree = desc.dyn_tree;\\n const stree = desc.stat_desc.static_tree;\\n const has_stree = desc.stat_desc.has_stree;\\n const elems = desc.stat_desc.elems;\\n let n, m; /* iterate over heap elements */\\n let max_code = -1; /* largest code with non zero frequency */\\n let node; /* new node being created */\\n\\n /* Construct the initial heap, with least frequent element in\\n * heap[SMALLEST]. The sons of heap[n] are heap[2*n] and heap[2*n+1].\\n * heap[0] is not used.\\n */\\n s.heap_len = 0;\\n s.heap_max = HEAP_SIZE;\\n\\n for (n = 0; n < elems; n++) {\\n if (tree[n * 2]/*.Freq*/ !== 0) {\\n s.heap[++s.heap_len] = max_code = n;\\n s.depth[n] = 0;\\n\\n } else {\\n tree[n * 2 + 1]/*.Len*/ = 0;\\n }\\n }\\n\\n /* The pkzip format requires that at least one distance code exists,\\n * and that at least one bit should be sent even if there is only one\\n * possible code. So to avoid special checks later on we force at least\\n * two codes of non zero frequency.\\n */\\n while (s.heap_len < 2) {\\n node = s.heap[++s.heap_len] = (max_code < 2 ? ++max_code : 0);\\n tree[node * 2]/*.Freq*/ = 1;\\n s.depth[node] = 0;\\n s.opt_len--;\\n\\n if (has_stree) {\\n s.static_len -= stree[node * 2 + 1]/*.Len*/;\\n }\\n /* node is 0 or 1 so it does not have extra bits */\\n }\\n desc.max_code = max_code;\\n\\n /* The elements heap[heap_len/2+1 .. heap_len] are leaves of the tree,\\n * establish sub-heaps of increasing lengths:\\n */\\n for (n = (s.heap_len >> 1/*int /2*/); n >= 1; n--) { pqdownheap(s, tree, n); }\\n\\n /* Construct the Huffman tree by repeatedly combining the least two\\n * frequent nodes.\\n */\\n node = elems; /* next internal node of the tree */\\n do {\\n //pqremove(s, tree, n); /* n = node of least frequency */\\n /*** pqremove ***/\\n n = s.heap[1/*SMALLEST*/];\\n s.heap[1/*SMALLEST*/] = s.heap[s.heap_len--];\\n pqdownheap(s, tree, 1/*SMALLEST*/);\\n /***/\\n\\n m = s.heap[1/*SMALLEST*/]; /* m = node of next least frequency */\\n\\n s.heap[--s.heap_max] = n; /* keep the nodes sorted by frequency */\\n s.heap[--s.heap_max] = m;\\n\\n /* Create a new node father of n and m */\\n tree[node * 2]/*.Freq*/ = tree[n * 2]/*.Freq*/ + tree[m * 2]/*.Freq*/;\\n s.depth[node] = (s.depth[n] >= s.depth[m] ? s.depth[n] : s.depth[m]) + 1;\\n tree[n * 2 + 1]/*.Dad*/ = tree[m * 2 + 1]/*.Dad*/ = node;\\n\\n /* and insert the new node in the heap */\\n s.heap[1/*SMALLEST*/] = node++;\\n pqdownheap(s, tree, 1/*SMALLEST*/);\\n\\n } while (s.heap_len >= 2);\\n\\n s.heap[--s.heap_max] = s.heap[1/*SMALLEST*/];\\n\\n /* At this point, the fields freq and dad are set. We can now\\n * generate the bit lengths.\\n */\\n gen_bitlen(s, desc);\\n\\n /* The field len is now set, we can generate the bit codes */\\n gen_codes(tree, max_code, s.bl_count);\\n};\\n\\n\\n/* ===========================================================================\\n * Scan a literal or distance tree to determine the frequencies of the codes\\n * in the bit length tree.\\n */\\nconst scan_tree = (s, tree, max_code) => {\\n// deflate_state *s;\\n// ct_data *tree; /* the tree to be scanned */\\n// int max_code; /* and its largest code of non zero frequency */\\n\\n let n; /* iterates over all tree elements */\\n let prevlen = -1; /* last emitted length */\\n let curlen; /* length of current code */\\n\\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\\n\\n let count = 0; /* repeat count of the current code */\\n let max_count = 7; /* max repeat count */\\n let min_count = 4; /* min repeat count */\\n\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n }\\n tree[(max_code + 1) * 2 + 1]/*.Len*/ = 0xffff; /* guard */\\n\\n for (n = 0; n <= max_code; n++) {\\n curlen = nextlen;\\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\\n\\n if (++count < max_count && curlen === nextlen) {\\n continue;\\n\\n } else if (count < min_count) {\\n s.bl_tree[curlen * 2]/*.Freq*/ += count;\\n\\n } else if (curlen !== 0) {\\n\\n if (curlen !== prevlen) { s.bl_tree[curlen * 2]/*.Freq*/++; }\\n s.bl_tree[REP_3_6 * 2]/*.Freq*/++;\\n\\n } else if (count <= 10) {\\n s.bl_tree[REPZ_3_10 * 2]/*.Freq*/++;\\n\\n } else {\\n s.bl_tree[REPZ_11_138 * 2]/*.Freq*/++;\\n }\\n\\n count = 0;\\n prevlen = curlen;\\n\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n\\n } else if (curlen === nextlen) {\\n max_count = 6;\\n min_count = 3;\\n\\n } else {\\n max_count = 7;\\n min_count = 4;\\n }\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Send a literal or distance tree in compressed form, using the codes in\\n * bl_tree.\\n */\\nconst send_tree = (s, tree, max_code) => {\\n// deflate_state *s;\\n// ct_data *tree; /* the tree to be scanned */\\n// int max_code; /* and its largest code of non zero frequency */\\n\\n let n; /* iterates over all tree elements */\\n let prevlen = -1; /* last emitted length */\\n let curlen; /* length of current code */\\n\\n let nextlen = tree[0 * 2 + 1]/*.Len*/; /* length of next code */\\n\\n let count = 0; /* repeat count of the current code */\\n let max_count = 7; /* max repeat count */\\n let min_count = 4; /* min repeat count */\\n\\n /* tree[max_code+1].Len = -1; */ /* guard already set */\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n }\\n\\n for (n = 0; n <= max_code; n++) {\\n curlen = nextlen;\\n nextlen = tree[(n + 1) * 2 + 1]/*.Len*/;\\n\\n if (++count < max_count && curlen === nextlen) {\\n continue;\\n\\n } else if (count < min_count) {\\n do { send_code(s, curlen, s.bl_tree); } while (--count !== 0);\\n\\n } else if (curlen !== 0) {\\n if (curlen !== prevlen) {\\n send_code(s, curlen, s.bl_tree);\\n count--;\\n }\\n //Assert(count >= 3 && count <= 6, \\\" 3_6?\\\");\\n send_code(s, REP_3_6, s.bl_tree);\\n send_bits(s, count - 3, 2);\\n\\n } else if (count <= 10) {\\n send_code(s, REPZ_3_10, s.bl_tree);\\n send_bits(s, count - 3, 3);\\n\\n } else {\\n send_code(s, REPZ_11_138, s.bl_tree);\\n send_bits(s, count - 11, 7);\\n }\\n\\n count = 0;\\n prevlen = curlen;\\n if (nextlen === 0) {\\n max_count = 138;\\n min_count = 3;\\n\\n } else if (curlen === nextlen) {\\n max_count = 6;\\n min_count = 3;\\n\\n } else {\\n max_count = 7;\\n min_count = 4;\\n }\\n }\\n};\\n\\n\\n/* ===========================================================================\\n * Construct the Huffman tree for the bit lengths and return the index in\\n * bl_order of the last bit length code to send.\\n */\\nconst build_bl_tree = (s) => {\\n\\n let max_blindex; /* index of last bit length code of non zero freq */\\n\\n /* Determine the bit length frequencies for literal and distance trees */\\n scan_tree(s, s.dyn_ltree, s.l_desc.max_code);\\n scan_tree(s, s.dyn_dtree, s.d_desc.max_code);\\n\\n /* Build the bit length tree: */\\n build_tree(s, s.bl_desc);\\n /* opt_len now includes the length of the tree representations, except\\n * the lengths of the bit lengths codes and the 5+5+4 bits for the counts.\\n */\\n\\n /* Determine the number of bit length codes to send. The pkzip format\\n * requires that at least 4 bit length codes be sent. (appnote.txt says\\n * 3 but the actual value used is 4.)\\n */\\n for (max_blindex = BL_CODES - 1; max_blindex >= 3; max_blindex--) {\\n if (s.bl_tree[bl_order[max_blindex] * 2 + 1]/*.Len*/ !== 0) {\\n break;\\n }\\n }\\n /* Update opt_len to include the bit length tree and counts */\\n s.opt_len += 3 * (max_blindex + 1) + 5 + 5 + 4;\\n //Tracev((stderr, \\\"\\\\ndyn trees: dyn %ld, stat %ld\\\",\\n // s->opt_len, s->static_len));\\n\\n return max_blindex;\\n};\\n\\n\\n/* ===========================================================================\\n * Send the header for a block using dynamic Huffman trees: the counts, the\\n * lengths of the bit length codes, the literal tree and the distance tree.\\n * IN assertion: lcodes >= 257, dcodes >= 1, blcodes >= 4.\\n */\\nconst send_all_trees = (s, lcodes, dcodes, blcodes) => {\\n// deflate_state *s;\\n// int lcodes, dcodes, blcodes; /* number of codes for each tree */\\n\\n let rank; /* index in bl_order */\\n\\n //Assert (lcodes >= 257 && dcodes >= 1 && blcodes >= 4, \\\"not enough codes\\\");\\n //Assert (lcodes <= L_CODES && dcodes <= D_CODES && blcodes <= BL_CODES,\\n // \\\"too many codes\\\");\\n //Tracev((stderr, \\\"\\\\nbl counts: \\\"));\\n send_bits(s, lcodes - 257, 5); /* not +255 as stated in appnote.txt */\\n send_bits(s, dcodes - 1, 5);\\n send_bits(s, blcodes - 4, 4); /* not -3 as stated in appnote.txt */\\n for (rank = 0; rank < blcodes; rank++) {\\n //Tracev((stderr, \\\"\\\\nbl code %2d \\\", bl_order[rank]));\\n send_bits(s, s.bl_tree[bl_order[rank] * 2 + 1]/*.Len*/, 3);\\n }\\n //Tracev((stderr, \\\"\\\\nbl tree: sent %ld\\\", s->bits_sent));\\n\\n send_tree(s, s.dyn_ltree, lcodes - 1); /* literal tree */\\n //Tracev((stderr, \\\"\\\\nlit tree: sent %ld\\\", s->bits_sent));\\n\\n send_tree(s, s.dyn_dtree, dcodes - 1); /* distance tree */\\n //Tracev((stderr, \\\"\\\\ndist tree: sent %ld\\\", s->bits_sent));\\n};\\n\\n\\n/* ===========================================================================\\n * Check if the data type is TEXT or BINARY, using the following algorithm:\\n * - TEXT if the two conditions below are satisfied:\\n * a) There are no non-portable control characters belonging to the\\n * \\\"block list\\\" (0..6, 14..25, 28..31).\\n * b) There is at least one printable character belonging to the\\n * \\\"allow list\\\" (9 {TAB}, 10 {LF}, 13 {CR}, 32..255).\\n * - BINARY otherwise.\\n * - The following partially-portable control characters form a\\n * \\\"gray list\\\" that is ignored in this detection algorithm:\\n * (7 {BEL}, 8 {BS}, 11 {VT}, 12 {FF}, 26 {SUB}, 27 {ESC}).\\n * IN assertion: the fields Freq of dyn_ltree are set.\\n */\\nconst detect_data_type = (s) => {\\n /* block_mask is the bit mask of block-listed bytes\\n * set bits 0..6, 14..25, and 28..31\\n * 0xf3ffc07f = binary 11110011111111111100000001111111\\n */\\n let block_mask = 0xf3ffc07f;\\n let n;\\n\\n /* Check for non-textual (\\\"block-listed\\\") bytes. */\\n for (n = 0; n <= 31; n++, block_mask >>>= 1) {\\n if ((block_mask & 1) && (s.dyn_ltree[n * 2]/*.Freq*/ !== 0)) {\\n return Z_BINARY;\\n }\\n }\\n\\n /* Check for textual (\\\"allow-listed\\\") bytes. */\\n if (s.dyn_ltree[9 * 2]/*.Freq*/ !== 0 || s.dyn_ltree[10 * 2]/*.Freq*/ !== 0 ||\\n s.dyn_ltree[13 * 2]/*.Freq*/ !== 0) {\\n return Z_TEXT;\\n }\\n for (n = 32; n < LITERALS; n++) {\\n if (s.dyn_ltree[n * 2]/*.Freq*/ !== 0) {\\n return Z_TEXT;\\n }\\n }\\n\\n /* There are no \\\"block-listed\\\" or \\\"allow-listed\\\" bytes:\\n * this stream either is empty or has tolerated (\\\"gray-listed\\\") bytes only.\\n */\\n return Z_BINARY;\\n};\\n\\n\\nlet static_init_done = false;\\n\\n/* ===========================================================================\\n * Initialize the tree data structures for a new zlib stream.\\n */\\nconst _tr_init = (s) =>\\n{\\n\\n if (!static_init_done) {\\n tr_static_init();\\n static_init_done = true;\\n }\\n\\n s.l_desc = new TreeDesc(s.dyn_ltree, static_l_desc);\\n s.d_desc = new TreeDesc(s.dyn_dtree, static_d_desc);\\n s.bl_desc = new TreeDesc(s.bl_tree, static_bl_desc);\\n\\n s.bi_buf = 0;\\n s.bi_valid = 0;\\n\\n /* Initialize the first block of the first file: */\\n init_block(s);\\n};\\n\\n\\n/* ===========================================================================\\n * Send a stored block\\n */\\nconst _tr_stored_block = (s, buf, stored_len, last) => {\\n//DeflateState *s;\\n//charf *buf; /* input block */\\n//ulg stored_len; /* length of input block */\\n//int last; /* one if this is the last block for a file */\\n\\n send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */\\n bi_windup(s); /* align on byte boundary */\\n put_short(s, stored_len);\\n put_short(s, ~stored_len);\\n if (stored_len) {\\n s.pending_buf.set(s.window.subarray(buf, buf + stored_len), s.pending);\\n }\\n s.pending += stored_len;\\n};\\n\\n\\n/* ===========================================================================\\n * Send one empty static block to give enough lookahead for inflate.\\n * This takes 10 bits, of which 7 may remain in the bit buffer.\\n */\\nconst _tr_align = (s) => {\\n send_bits(s, STATIC_TREES << 1, 3);\\n send_code(s, END_BLOCK, static_ltree);\\n bi_flush(s);\\n};\\n\\n\\n/* ===========================================================================\\n * Determine the best encoding for the current block: dynamic trees, static\\n * trees or store, and write out the encoded block.\\n */\\nconst _tr_flush_block = (s, buf, stored_len, last) => {\\n//DeflateState *s;\\n//charf *buf; /* input block, or NULL if too old */\\n//ulg stored_len; /* length of input block */\\n//int last; /* one if this is the last block for a file */\\n\\n let opt_lenb, static_lenb; /* opt_len and static_len in bytes */\\n let max_blindex = 0; /* index of last bit length code of non zero freq */\\n\\n /* Build the Huffman trees unless a stored block is forced */\\n if (s.level > 0) {\\n\\n /* Check if the file is binary or text */\\n if (s.strm.data_type === Z_UNKNOWN) {\\n s.strm.data_type = detect_data_type(s);\\n }\\n\\n /* Construct the literal and distance trees */\\n build_tree(s, s.l_desc);\\n // Tracev((stderr, \\\"\\\\nlit data: dyn %ld, stat %ld\\\", s->opt_len,\\n // s->static_len));\\n\\n build_tree(s, s.d_desc);\\n // Tracev((stderr, \\\"\\\\ndist data: dyn %ld, stat %ld\\\", s->opt_len,\\n // s->static_len));\\n /* At this point, opt_len and static_len are the total bit lengths of\\n * the compressed block data, excluding the tree representations.\\n */\\n\\n /* Build the bit length tree for the above two trees, and get the index\\n * in bl_order of the last bit length code to send.\\n */\\n max_blindex = build_bl_tree(s);\\n\\n /* Determine the best encoding. Compute the block lengths in bytes. */\\n opt_lenb = (s.opt_len + 3 + 7) >>> 3;\\n static_lenb = (s.static_len + 3 + 7) >>> 3;\\n\\n // Tracev((stderr, \\\"\\\\nopt %lu(%lu) stat %lu(%lu) stored %lu lit %u \\\",\\n // opt_lenb, s->opt_len, static_lenb, s->static_len, stored_len,\\n // s->sym_next / 3));\\n\\n if (static_lenb <= opt_lenb) { opt_lenb = static_lenb; }\\n\\n } else {\\n // Assert(buf != (char*)0, \\\"lost buf\\\");\\n opt_lenb = static_lenb = stored_len + 5; /* force a stored block */\\n }\\n\\n if ((stored_len + 4 <= opt_lenb) && (buf !== -1)) {\\n /* 4: two words for the lengths */\\n\\n /* The test buf != NULL is only necessary if LIT_BUFSIZE > WSIZE.\\n * Otherwise we can't have processed more than WSIZE input bytes since\\n * the last block flush, because compression would have been\\n * successful. If LIT_BUFSIZE <= WSIZE, it is never too late to\\n * transform a block into a stored block.\\n */\\n _tr_stored_block(s, buf, stored_len, last);\\n\\n } else if (s.strategy === Z_FIXED || static_lenb === opt_lenb) {\\n\\n send_bits(s, (STATIC_TREES << 1) + (last ? 1 : 0), 3);\\n compress_block(s, static_ltree, static_dtree);\\n\\n } else {\\n send_bits(s, (DYN_TREES << 1) + (last ? 1 : 0), 3);\\n send_all_trees(s, s.l_desc.max_code + 1, s.d_desc.max_code + 1, max_blindex + 1);\\n compress_block(s, s.dyn_ltree, s.dyn_dtree);\\n }\\n // Assert (s->compressed_len == s->bits_sent, \\\"bad compressed size\\\");\\n /* The above check is made mod 2^32, for files larger than 512 MB\\n * and uLong implemented on 32 bits.\\n */\\n init_block(s);\\n\\n if (last) {\\n bi_windup(s);\\n }\\n // Tracev((stderr,\\\"\\\\ncomprlen %lu(%lu) \\\", s->compressed_len>>3,\\n // s->compressed_len-7*last));\\n};\\n\\n/* ===========================================================================\\n * Save the match info and tally the frequency counts. Return true if\\n * the current block must be flushed.\\n */\\nconst _tr_tally = (s, dist, lc) => {\\n// deflate_state *s;\\n// unsigned dist; /* distance of matched string */\\n// unsigned lc; /* match length-MIN_MATCH or unmatched char (if dist==0) */\\n\\n s.pending_buf[s.sym_buf + s.sym_next++] = dist;\\n s.pending_buf[s.sym_buf + s.sym_next++] = dist >> 8;\\n s.pending_buf[s.sym_buf + s.sym_next++] = lc;\\n if (dist === 0) {\\n /* lc is the unmatched char */\\n s.dyn_ltree[lc * 2]/*.Freq*/++;\\n } else {\\n s.matches++;\\n /* Here, lc is the match length - MIN_MATCH */\\n dist--; /* dist = match distance - 1 */\\n //Assert((ush)dist < (ush)MAX_DIST(s) &&\\n // (ush)lc <= (ush)(MAX_MATCH-MIN_MATCH) &&\\n // (ush)d_code(dist) < (ush)D_CODES, \\\"_tr_tally: bad match\\\");\\n\\n s.dyn_ltree[(_length_code[lc] + LITERALS + 1) * 2]/*.Freq*/++;\\n s.dyn_dtree[d_code(dist) * 2]/*.Freq*/++;\\n }\\n\\n return (s.sym_next === s.sym_end);\\n};\\n\\nmodule.exports._tr_init = _tr_init;\\nmodule.exports._tr_stored_block = _tr_stored_block;\\nmodule.exports._tr_flush_block = _tr_flush_block;\\nmodule.exports._tr_tally = _tr_tally;\\nmodule.exports._tr_align = _tr_align;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/trees.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/pako/lib/zlib/zstream.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/pako/lib/zlib/zstream.js ***!\n \\***********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\n\\n// (C) 1995-2013 Jean-loup Gailly and Mark Adler\\n// (C) 2014-2017 Vitaly Puzrin and Andrey Tupitsin\\n//\\n// This software is provided 'as-is', without any express or implied\\n// warranty. In no event will the authors be held liable for any damages\\n// arising from the use of this software.\\n//\\n// Permission is granted to anyone to use this software for any purpose,\\n// including commercial applications, and to alter it and redistribute it\\n// freely, subject to the following restrictions:\\n//\\n// 1. The origin of this software must not be misrepresented; you must not\\n// claim that you wrote the original software. If you use this software\\n// in a product, an acknowledgment in the product documentation would be\\n// appreciated but is not required.\\n// 2. Altered source versions must be plainly marked as such, and must not be\\n// misrepresented as being the original software.\\n// 3. This notice may not be removed or altered from any source distribution.\\n\\nfunction ZStream() {\\n /* next input byte */\\n this.input = null; // JS specific, because we have no pointers\\n this.next_in = 0;\\n /* number of bytes available at input */\\n this.avail_in = 0;\\n /* total number of input bytes read so far */\\n this.total_in = 0;\\n /* next output byte should be put there */\\n this.output = null; // JS specific, because we have no pointers\\n this.next_out = 0;\\n /* remaining free space at output */\\n this.avail_out = 0;\\n /* total number of bytes output so far */\\n this.total_out = 0;\\n /* last error message, NULL if no error */\\n this.msg = ''/*Z_NULL*/;\\n /* not visible by applications */\\n this.state = null;\\n /* best guess about the data type: binary or text */\\n this.data_type = 2/*Z_UNKNOWN*/;\\n /* adler32 value of the uncompressed data */\\n this.adler = 0;\\n}\\n\\nmodule.exports = ZStream;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/pako/lib/zlib/zstream.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/minimal.js\":\n/*!********************************************!*\\\n !*** ./node_modules/protobufjs/minimal.js ***!\n \\********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"// minimal library entry point.\\n\\n\\nmodule.exports = __webpack_require__(/*! ./src/index-minimal */ \\\"./node_modules/protobufjs/src/index-minimal.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/minimal.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/index-minimal.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/index-minimal.js ***!\n \\******************************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nvar protobuf = exports;\\n\\n/**\\n * Build type, one of `\\\"full\\\"`, `\\\"light\\\"` or `\\\"minimal\\\"`.\\n * @name build\\n * @type {string}\\n * @const\\n */\\nprotobuf.build = \\\"minimal\\\";\\n\\n// Serialization\\nprotobuf.Writer = __webpack_require__(/*! ./writer */ \\\"./node_modules/protobufjs/src/writer.js\\\");\\nprotobuf.BufferWriter = __webpack_require__(/*! ./writer_buffer */ \\\"./node_modules/protobufjs/src/writer_buffer.js\\\");\\nprotobuf.Reader = __webpack_require__(/*! ./reader */ \\\"./node_modules/protobufjs/src/reader.js\\\");\\nprotobuf.BufferReader = __webpack_require__(/*! ./reader_buffer */ \\\"./node_modules/protobufjs/src/reader_buffer.js\\\");\\n\\n// Utility\\nprotobuf.util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\nprotobuf.rpc = __webpack_require__(/*! ./rpc */ \\\"./node_modules/protobufjs/src/rpc.js\\\");\\nprotobuf.roots = __webpack_require__(/*! ./roots */ \\\"./node_modules/protobufjs/src/roots.js\\\");\\nprotobuf.configure = configure;\\n\\n/* istanbul ignore next */\\n/**\\n * Reconfigures the library according to the environment.\\n * @returns {undefined}\\n */\\nfunction configure() {\\n protobuf.util._configure();\\n protobuf.Writer._configure(protobuf.BufferWriter);\\n protobuf.Reader._configure(protobuf.BufferReader);\\n}\\n\\n// Set up buffer utility according to the environment\\nconfigure();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/index-minimal.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/reader.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/protobufjs/src/reader.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = Reader;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\nvar BufferReader; // cyclic\\n\\nvar LongBits = util.LongBits,\\n utf8 = util.utf8;\\n\\n/* istanbul ignore next */\\nfunction indexOutOfRange(reader, writeLength) {\\n return RangeError(\\\"index out of range: \\\" + reader.pos + \\\" + \\\" + (writeLength || 1) + \\\" > \\\" + reader.len);\\n}\\n\\n/**\\n * Constructs a new reader instance using the specified buffer.\\n * @classdesc Wire format reader using `Uint8Array` if available, otherwise `Array`.\\n * @constructor\\n * @param {Uint8Array} buffer Buffer to read from\\n */\\nfunction Reader(buffer) {\\n\\n /**\\n * Read buffer.\\n * @type {Uint8Array}\\n */\\n this.buf = buffer;\\n\\n /**\\n * Read buffer position.\\n * @type {number}\\n */\\n this.pos = 0;\\n\\n /**\\n * Read buffer length.\\n * @type {number}\\n */\\n this.len = buffer.length;\\n}\\n\\nvar create_array = typeof Uint8Array !== \\\"undefined\\\"\\n ? function create_typed_array(buffer) {\\n if (buffer instanceof Uint8Array || Array.isArray(buffer))\\n return new Reader(buffer);\\n throw Error(\\\"illegal buffer\\\");\\n }\\n /* istanbul ignore next */\\n : function create_array(buffer) {\\n if (Array.isArray(buffer))\\n return new Reader(buffer);\\n throw Error(\\\"illegal buffer\\\");\\n };\\n\\nvar create = function create() {\\n return util.Buffer\\n ? function create_buffer_setup(buffer) {\\n return (Reader.create = function create_buffer(buffer) {\\n return util.Buffer.isBuffer(buffer)\\n ? new BufferReader(buffer)\\n /* istanbul ignore next */\\n : create_array(buffer);\\n })(buffer);\\n }\\n /* istanbul ignore next */\\n : create_array;\\n};\\n\\n/**\\n * Creates a new reader using the specified buffer.\\n * @function\\n * @param {Uint8Array|Buffer} buffer Buffer to read from\\n * @returns {Reader|BufferReader} A {@link BufferReader} if `buffer` is a Buffer, otherwise a {@link Reader}\\n * @throws {Error} If `buffer` is not a valid buffer\\n */\\nReader.create = create();\\n\\nReader.prototype._slice = util.Array.prototype.subarray || /* istanbul ignore next */ util.Array.prototype.slice;\\n\\n/**\\n * Reads a varint as an unsigned 32 bit value.\\n * @function\\n * @returns {number} Value read\\n */\\nReader.prototype.uint32 = (function read_uint32_setup() {\\n var value = 4294967295; // optimizer type-hint, tends to deopt otherwise (?!)\\n return function read_uint32() {\\n value = ( this.buf[this.pos] & 127 ) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 127) << 7) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 127) << 14) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 127) << 21) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n value = (value | (this.buf[this.pos] & 15) << 28) >>> 0; if (this.buf[this.pos++] < 128) return value;\\n\\n /* istanbul ignore if */\\n if ((this.pos += 5) > this.len) {\\n this.pos = this.len;\\n throw indexOutOfRange(this, 10);\\n }\\n return value;\\n };\\n})();\\n\\n/**\\n * Reads a varint as a signed 32 bit value.\\n * @returns {number} Value read\\n */\\nReader.prototype.int32 = function read_int32() {\\n return this.uint32() | 0;\\n};\\n\\n/**\\n * Reads a zig-zag encoded varint as a signed 32 bit value.\\n * @returns {number} Value read\\n */\\nReader.prototype.sint32 = function read_sint32() {\\n var value = this.uint32();\\n return value >>> 1 ^ -(value & 1) | 0;\\n};\\n\\n/* eslint-disable no-invalid-this */\\n\\nfunction readLongVarint() {\\n // tends to deopt with local vars for octet etc.\\n var bits = new LongBits(0, 0);\\n var i = 0;\\n if (this.len - this.pos > 4) { // fast route (lo)\\n for (; i < 4; ++i) {\\n // 1st..4th\\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i * 7) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n // 5th\\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << 28) >>> 0;\\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) >> 4) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n i = 0;\\n } else {\\n for (; i < 3; ++i) {\\n /* istanbul ignore if */\\n if (this.pos >= this.len)\\n throw indexOutOfRange(this);\\n // 1st..3th\\n bits.lo = (bits.lo | (this.buf[this.pos] & 127) << i * 7) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n // 4th\\n bits.lo = (bits.lo | (this.buf[this.pos++] & 127) << i * 7) >>> 0;\\n return bits;\\n }\\n if (this.len - this.pos > 4) { // fast route (hi)\\n for (; i < 5; ++i) {\\n // 6th..10th\\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i * 7 + 3) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n } else {\\n for (; i < 5; ++i) {\\n /* istanbul ignore if */\\n if (this.pos >= this.len)\\n throw indexOutOfRange(this);\\n // 6th..10th\\n bits.hi = (bits.hi | (this.buf[this.pos] & 127) << i * 7 + 3) >>> 0;\\n if (this.buf[this.pos++] < 128)\\n return bits;\\n }\\n }\\n /* istanbul ignore next */\\n throw Error(\\\"invalid varint encoding\\\");\\n}\\n\\n/* eslint-enable no-invalid-this */\\n\\n/**\\n * Reads a varint as a signed 64 bit value.\\n * @name Reader#int64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a varint as an unsigned 64 bit value.\\n * @name Reader#uint64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a zig-zag encoded varint as a signed 64 bit value.\\n * @name Reader#sint64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a varint as a boolean.\\n * @returns {boolean} Value read\\n */\\nReader.prototype.bool = function read_bool() {\\n return this.uint32() !== 0;\\n};\\n\\nfunction readFixed32_end(buf, end) { // note that this uses `end`, not `pos`\\n return (buf[end - 4]\\n | buf[end - 3] << 8\\n | buf[end - 2] << 16\\n | buf[end - 1] << 24) >>> 0;\\n}\\n\\n/**\\n * Reads fixed 32 bits as an unsigned 32 bit integer.\\n * @returns {number} Value read\\n */\\nReader.prototype.fixed32 = function read_fixed32() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 4 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n return readFixed32_end(this.buf, this.pos += 4);\\n};\\n\\n/**\\n * Reads fixed 32 bits as a signed 32 bit integer.\\n * @returns {number} Value read\\n */\\nReader.prototype.sfixed32 = function read_sfixed32() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 4 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n return readFixed32_end(this.buf, this.pos += 4) | 0;\\n};\\n\\n/* eslint-disable no-invalid-this */\\n\\nfunction readFixed64(/* this: Reader */) {\\n\\n /* istanbul ignore if */\\n if (this.pos + 8 > this.len)\\n throw indexOutOfRange(this, 8);\\n\\n return new LongBits(readFixed32_end(this.buf, this.pos += 4), readFixed32_end(this.buf, this.pos += 4));\\n}\\n\\n/* eslint-enable no-invalid-this */\\n\\n/**\\n * Reads fixed 64 bits.\\n * @name Reader#fixed64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads zig-zag encoded fixed 64 bits.\\n * @name Reader#sfixed64\\n * @function\\n * @returns {Long} Value read\\n */\\n\\n/**\\n * Reads a float (32 bit) as a number.\\n * @function\\n * @returns {number} Value read\\n */\\nReader.prototype.float = function read_float() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 4 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n var value = util.float.readFloatLE(this.buf, this.pos);\\n this.pos += 4;\\n return value;\\n};\\n\\n/**\\n * Reads a double (64 bit float) as a number.\\n * @function\\n * @returns {number} Value read\\n */\\nReader.prototype.double = function read_double() {\\n\\n /* istanbul ignore if */\\n if (this.pos + 8 > this.len)\\n throw indexOutOfRange(this, 4);\\n\\n var value = util.float.readDoubleLE(this.buf, this.pos);\\n this.pos += 8;\\n return value;\\n};\\n\\n/**\\n * Reads a sequence of bytes preceeded by its length as a varint.\\n * @returns {Uint8Array} Value read\\n */\\nReader.prototype.bytes = function read_bytes() {\\n var length = this.uint32(),\\n start = this.pos,\\n end = this.pos + length;\\n\\n /* istanbul ignore if */\\n if (end > this.len)\\n throw indexOutOfRange(this, length);\\n\\n this.pos += length;\\n if (Array.isArray(this.buf)) // plain array\\n return this.buf.slice(start, end);\\n return start === end // fix for IE 10/Win8 and others' subarray returning array of size 1\\n ? new this.buf.constructor(0)\\n : this._slice.call(this.buf, start, end);\\n};\\n\\n/**\\n * Reads a string preceeded by its byte length as a varint.\\n * @returns {string} Value read\\n */\\nReader.prototype.string = function read_string() {\\n var bytes = this.bytes();\\n return utf8.read(bytes, 0, bytes.length);\\n};\\n\\n/**\\n * Skips the specified number of bytes if specified, otherwise skips a varint.\\n * @param {number} [length] Length if known, otherwise a varint is assumed\\n * @returns {Reader} `this`\\n */\\nReader.prototype.skip = function skip(length) {\\n if (typeof length === \\\"number\\\") {\\n /* istanbul ignore if */\\n if (this.pos + length > this.len)\\n throw indexOutOfRange(this, length);\\n this.pos += length;\\n } else {\\n do {\\n /* istanbul ignore if */\\n if (this.pos >= this.len)\\n throw indexOutOfRange(this);\\n } while (this.buf[this.pos++] & 128);\\n }\\n return this;\\n};\\n\\n/**\\n * Skips the next element of the specified wire type.\\n * @param {number} wireType Wire type received\\n * @returns {Reader} `this`\\n */\\nReader.prototype.skipType = function(wireType) {\\n switch (wireType) {\\n case 0:\\n this.skip();\\n break;\\n case 1:\\n this.skip(8);\\n break;\\n case 2:\\n this.skip(this.uint32());\\n break;\\n case 3:\\n while ((wireType = this.uint32() & 7) !== 4) {\\n this.skipType(wireType);\\n }\\n break;\\n case 5:\\n this.skip(4);\\n break;\\n\\n /* istanbul ignore next */\\n default:\\n throw Error(\\\"invalid wire type \\\" + wireType + \\\" at offset \\\" + this.pos);\\n }\\n return this;\\n};\\n\\nReader._configure = function(BufferReader_) {\\n BufferReader = BufferReader_;\\n Reader.create = create();\\n BufferReader._configure();\\n\\n var fn = util.Long ? \\\"toLong\\\" : /* istanbul ignore next */ \\\"toNumber\\\";\\n util.merge(Reader.prototype, {\\n\\n int64: function read_int64() {\\n return readLongVarint.call(this)[fn](false);\\n },\\n\\n uint64: function read_uint64() {\\n return readLongVarint.call(this)[fn](true);\\n },\\n\\n sint64: function read_sint64() {\\n return readLongVarint.call(this).zzDecode()[fn](false);\\n },\\n\\n fixed64: function read_fixed64() {\\n return readFixed64.call(this)[fn](true);\\n },\\n\\n sfixed64: function read_sfixed64() {\\n return readFixed64.call(this)[fn](false);\\n }\\n\\n });\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/reader.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/reader_buffer.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/reader_buffer.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = BufferReader;\\n\\n// extends Reader\\nvar Reader = __webpack_require__(/*! ./reader */ \\\"./node_modules/protobufjs/src/reader.js\\\");\\n(BufferReader.prototype = Object.create(Reader.prototype)).constructor = BufferReader;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n/**\\n * Constructs a new buffer reader instance.\\n * @classdesc Wire format reader using node buffers.\\n * @extends Reader\\n * @constructor\\n * @param {Buffer} buffer Buffer to read from\\n */\\nfunction BufferReader(buffer) {\\n Reader.call(this, buffer);\\n\\n /**\\n * Read buffer.\\n * @name BufferReader#buf\\n * @type {Buffer}\\n */\\n}\\n\\nBufferReader._configure = function () {\\n /* istanbul ignore else */\\n if (util.Buffer)\\n BufferReader.prototype._slice = util.Buffer.prototype.slice;\\n};\\n\\n\\n/**\\n * @override\\n */\\nBufferReader.prototype.string = function read_string_buffer() {\\n var len = this.uint32(); // modifies pos\\n return this.buf.utf8Slice\\n ? this.buf.utf8Slice(this.pos, this.pos = Math.min(this.pos + len, this.len))\\n : this.buf.toString(\\\"utf-8\\\", this.pos, this.pos = Math.min(this.pos + len, this.len));\\n};\\n\\n/**\\n * Reads a sequence of bytes preceeded by its length as a varint.\\n * @name BufferReader#bytes\\n * @function\\n * @returns {Buffer} Value read\\n */\\n\\nBufferReader._configure();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/reader_buffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/roots.js\":\n/*!**********************************************!*\\\n !*** ./node_modules/protobufjs/src/roots.js ***!\n \\**********************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = {};\\n\\n/**\\n * Named roots.\\n * This is where pbjs stores generated structures (the option `-r, --root` specifies a name).\\n * Can also be used manually to make roots available accross modules.\\n * @name roots\\n * @type {Object.}\\n * @example\\n * // pbjs -r myroot -o compiled.js ...\\n *\\n * // in another module:\\n * require(\\\"./compiled.js\\\");\\n *\\n * // in any subsequent module:\\n * var root = protobuf.roots[\\\"myroot\\\"];\\n */\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/roots.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/rpc.js\":\n/*!********************************************!*\\\n !*** ./node_modules/protobufjs/src/rpc.js ***!\n \\********************************************/\n/***/ ((__unused_webpack_module, exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\n\\n/**\\n * Streaming RPC helpers.\\n * @namespace\\n */\\nvar rpc = exports;\\n\\n/**\\n * RPC implementation passed to {@link Service#create} performing a service request on network level, i.e. by utilizing http requests or websockets.\\n * @typedef RPCImpl\\n * @type {function}\\n * @param {Method|rpc.ServiceMethod,Message<{}>>} method Reflected or static method being called\\n * @param {Uint8Array} requestData Request data\\n * @param {RPCImplCallback} callback Callback function\\n * @returns {undefined}\\n * @example\\n * function rpcImpl(method, requestData, callback) {\\n * if (protobuf.util.lcFirst(method.name) !== \\\"myMethod\\\") // compatible with static code\\n * throw Error(\\\"no such method\\\");\\n * asynchronouslyObtainAResponse(requestData, function(err, responseData) {\\n * callback(err, responseData);\\n * });\\n * }\\n */\\n\\n/**\\n * Node-style callback as used by {@link RPCImpl}.\\n * @typedef RPCImplCallback\\n * @type {function}\\n * @param {Error|null} error Error, if any, otherwise `null`\\n * @param {Uint8Array|null} [response] Response data or `null` to signal end of stream, if there hasn't been an error\\n * @returns {undefined}\\n */\\n\\nrpc.Service = __webpack_require__(/*! ./rpc/service */ \\\"./node_modules/protobufjs/src/rpc/service.js\\\");\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/rpc.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/rpc/service.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/protobufjs/src/rpc/service.js ***!\n \\****************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = Service;\\n\\nvar util = __webpack_require__(/*! ../util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n// Extends EventEmitter\\n(Service.prototype = Object.create(util.EventEmitter.prototype)).constructor = Service;\\n\\n/**\\n * A service method callback as used by {@link rpc.ServiceMethod|ServiceMethod}.\\n *\\n * Differs from {@link RPCImplCallback} in that it is an actual callback of a service method which may not return `response = null`.\\n * @typedef rpc.ServiceMethodCallback\\n * @template TRes extends Message\\n * @type {function}\\n * @param {Error|null} error Error, if any\\n * @param {TRes} [response] Response message\\n * @returns {undefined}\\n */\\n\\n/**\\n * A service method part of a {@link rpc.Service} as created by {@link Service.create}.\\n * @typedef rpc.ServiceMethod\\n * @template TReq extends Message\\n * @template TRes extends Message\\n * @type {function}\\n * @param {TReq|Properties} request Request message or plain object\\n * @param {rpc.ServiceMethodCallback} [callback] Node-style callback called with the error, if any, and the response message\\n * @returns {Promise>} Promise if `callback` has been omitted, otherwise `undefined`\\n */\\n\\n/**\\n * Constructs a new RPC service instance.\\n * @classdesc An RPC service as returned by {@link Service#create}.\\n * @exports rpc.Service\\n * @extends util.EventEmitter\\n * @constructor\\n * @param {RPCImpl} rpcImpl RPC implementation\\n * @param {boolean} [requestDelimited=false] Whether requests are length-delimited\\n * @param {boolean} [responseDelimited=false] Whether responses are length-delimited\\n */\\nfunction Service(rpcImpl, requestDelimited, responseDelimited) {\\n\\n if (typeof rpcImpl !== \\\"function\\\")\\n throw TypeError(\\\"rpcImpl must be a function\\\");\\n\\n util.EventEmitter.call(this);\\n\\n /**\\n * RPC implementation. Becomes `null` once the service is ended.\\n * @type {RPCImpl|null}\\n */\\n this.rpcImpl = rpcImpl;\\n\\n /**\\n * Whether requests are length-delimited.\\n * @type {boolean}\\n */\\n this.requestDelimited = Boolean(requestDelimited);\\n\\n /**\\n * Whether responses are length-delimited.\\n * @type {boolean}\\n */\\n this.responseDelimited = Boolean(responseDelimited);\\n}\\n\\n/**\\n * Calls a service method through {@link rpc.Service#rpcImpl|rpcImpl}.\\n * @param {Method|rpc.ServiceMethod} method Reflected or static method\\n * @param {Constructor} requestCtor Request constructor\\n * @param {Constructor} responseCtor Response constructor\\n * @param {TReq|Properties} request Request message or plain object\\n * @param {rpc.ServiceMethodCallback} callback Service callback\\n * @returns {undefined}\\n * @template TReq extends Message\\n * @template TRes extends Message\\n */\\nService.prototype.rpcCall = function rpcCall(method, requestCtor, responseCtor, request, callback) {\\n\\n if (!request)\\n throw TypeError(\\\"request must be specified\\\");\\n\\n var self = this;\\n if (!callback)\\n return util.asPromise(rpcCall, self, method, requestCtor, responseCtor, request);\\n\\n if (!self.rpcImpl) {\\n setTimeout(function() { callback(Error(\\\"already ended\\\")); }, 0);\\n return undefined;\\n }\\n\\n try {\\n return self.rpcImpl(\\n method,\\n requestCtor[self.requestDelimited ? \\\"encodeDelimited\\\" : \\\"encode\\\"](request).finish(),\\n function rpcCallback(err, response) {\\n\\n if (err) {\\n self.emit(\\\"error\\\", err, method);\\n return callback(err);\\n }\\n\\n if (response === null) {\\n self.end(/* endedByRPC */ true);\\n return undefined;\\n }\\n\\n if (!(response instanceof responseCtor)) {\\n try {\\n response = responseCtor[self.responseDelimited ? \\\"decodeDelimited\\\" : \\\"decode\\\"](response);\\n } catch (err) {\\n self.emit(\\\"error\\\", err, method);\\n return callback(err);\\n }\\n }\\n\\n self.emit(\\\"data\\\", response, method);\\n return callback(null, response);\\n }\\n );\\n } catch (err) {\\n self.emit(\\\"error\\\", err, method);\\n setTimeout(function() { callback(err); }, 0);\\n return undefined;\\n }\\n};\\n\\n/**\\n * Ends this service and emits the `end` event.\\n * @param {boolean} [endedByRPC=false] Whether the service has been ended by the RPC implementation.\\n * @returns {rpc.Service} `this`\\n */\\nService.prototype.end = function end(endedByRPC) {\\n if (this.rpcImpl) {\\n if (!endedByRPC) // signal end to rpcImpl\\n this.rpcImpl(null, null, null);\\n this.rpcImpl = null;\\n this.emit(\\\"end\\\").off();\\n }\\n return this;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/rpc/service.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/util/longbits.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/util/longbits.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = LongBits;\\n\\nvar util = __webpack_require__(/*! ../util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n/**\\n * Constructs new long bits.\\n * @classdesc Helper class for working with the low and high bits of a 64 bit value.\\n * @memberof util\\n * @constructor\\n * @param {number} lo Low 32 bits, unsigned\\n * @param {number} hi High 32 bits, unsigned\\n */\\nfunction LongBits(lo, hi) {\\n\\n // note that the casts below are theoretically unnecessary as of today, but older statically\\n // generated converter code might still call the ctor with signed 32bits. kept for compat.\\n\\n /**\\n * Low bits.\\n * @type {number}\\n */\\n this.lo = lo >>> 0;\\n\\n /**\\n * High bits.\\n * @type {number}\\n */\\n this.hi = hi >>> 0;\\n}\\n\\n/**\\n * Zero bits.\\n * @memberof util.LongBits\\n * @type {util.LongBits}\\n */\\nvar zero = LongBits.zero = new LongBits(0, 0);\\n\\nzero.toNumber = function() { return 0; };\\nzero.zzEncode = zero.zzDecode = function() { return this; };\\nzero.length = function() { return 1; };\\n\\n/**\\n * Zero hash.\\n * @memberof util.LongBits\\n * @type {string}\\n */\\nvar zeroHash = LongBits.zeroHash = \\\"\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\\0\\\";\\n\\n/**\\n * Constructs new long bits from the specified number.\\n * @param {number} value Value\\n * @returns {util.LongBits} Instance\\n */\\nLongBits.fromNumber = function fromNumber(value) {\\n if (value === 0)\\n return zero;\\n var sign = value < 0;\\n if (sign)\\n value = -value;\\n var lo = value >>> 0,\\n hi = (value - lo) / 4294967296 >>> 0;\\n if (sign) {\\n hi = ~hi >>> 0;\\n lo = ~lo >>> 0;\\n if (++lo > 4294967295) {\\n lo = 0;\\n if (++hi > 4294967295)\\n hi = 0;\\n }\\n }\\n return new LongBits(lo, hi);\\n};\\n\\n/**\\n * Constructs new long bits from a number, long or string.\\n * @param {Long|number|string} value Value\\n * @returns {util.LongBits} Instance\\n */\\nLongBits.from = function from(value) {\\n if (typeof value === \\\"number\\\")\\n return LongBits.fromNumber(value);\\n if (util.isString(value)) {\\n /* istanbul ignore else */\\n if (util.Long)\\n value = util.Long.fromString(value);\\n else\\n return LongBits.fromNumber(parseInt(value, 10));\\n }\\n return value.low || value.high ? new LongBits(value.low >>> 0, value.high >>> 0) : zero;\\n};\\n\\n/**\\n * Converts this long bits to a possibly unsafe JavaScript number.\\n * @param {boolean} [unsigned=false] Whether unsigned or not\\n * @returns {number} Possibly unsafe number\\n */\\nLongBits.prototype.toNumber = function toNumber(unsigned) {\\n if (!unsigned && this.hi >>> 31) {\\n var lo = ~this.lo + 1 >>> 0,\\n hi = ~this.hi >>> 0;\\n if (!lo)\\n hi = hi + 1 >>> 0;\\n return -(lo + hi * 4294967296);\\n }\\n return this.lo + this.hi * 4294967296;\\n};\\n\\n/**\\n * Converts this long bits to a long.\\n * @param {boolean} [unsigned=false] Whether unsigned or not\\n * @returns {Long} Long\\n */\\nLongBits.prototype.toLong = function toLong(unsigned) {\\n return util.Long\\n ? new util.Long(this.lo | 0, this.hi | 0, Boolean(unsigned))\\n /* istanbul ignore next */\\n : { low: this.lo | 0, high: this.hi | 0, unsigned: Boolean(unsigned) };\\n};\\n\\nvar charCodeAt = String.prototype.charCodeAt;\\n\\n/**\\n * Constructs new long bits from the specified 8 characters long hash.\\n * @param {string} hash Hash\\n * @returns {util.LongBits} Bits\\n */\\nLongBits.fromHash = function fromHash(hash) {\\n if (hash === zeroHash)\\n return zero;\\n return new LongBits(\\n ( charCodeAt.call(hash, 0)\\n | charCodeAt.call(hash, 1) << 8\\n | charCodeAt.call(hash, 2) << 16\\n | charCodeAt.call(hash, 3) << 24) >>> 0\\n ,\\n ( charCodeAt.call(hash, 4)\\n | charCodeAt.call(hash, 5) << 8\\n | charCodeAt.call(hash, 6) << 16\\n | charCodeAt.call(hash, 7) << 24) >>> 0\\n );\\n};\\n\\n/**\\n * Converts this long bits to a 8 characters long hash.\\n * @returns {string} Hash\\n */\\nLongBits.prototype.toHash = function toHash() {\\n return String.fromCharCode(\\n this.lo & 255,\\n this.lo >>> 8 & 255,\\n this.lo >>> 16 & 255,\\n this.lo >>> 24 ,\\n this.hi & 255,\\n this.hi >>> 8 & 255,\\n this.hi >>> 16 & 255,\\n this.hi >>> 24\\n );\\n};\\n\\n/**\\n * Zig-zag encodes this long bits.\\n * @returns {util.LongBits} `this`\\n */\\nLongBits.prototype.zzEncode = function zzEncode() {\\n var mask = this.hi >> 31;\\n this.hi = ((this.hi << 1 | this.lo >>> 31) ^ mask) >>> 0;\\n this.lo = ( this.lo << 1 ^ mask) >>> 0;\\n return this;\\n};\\n\\n/**\\n * Zig-zag decodes this long bits.\\n * @returns {util.LongBits} `this`\\n */\\nLongBits.prototype.zzDecode = function zzDecode() {\\n var mask = -(this.lo & 1);\\n this.lo = ((this.lo >>> 1 | this.hi << 31) ^ mask) >>> 0;\\n this.hi = ( this.hi >>> 1 ^ mask) >>> 0;\\n return this;\\n};\\n\\n/**\\n * Calculates the length of this longbits when encoded as a varint.\\n * @returns {number} Length\\n */\\nLongBits.prototype.length = function length() {\\n var part0 = this.lo,\\n part1 = (this.lo >>> 28 | this.hi << 4) >>> 0,\\n part2 = this.hi >>> 24;\\n return part2 === 0\\n ? part1 === 0\\n ? part0 < 16384\\n ? part0 < 128 ? 1 : 2\\n : part0 < 2097152 ? 3 : 4\\n : part1 < 16384\\n ? part1 < 128 ? 5 : 6\\n : part1 < 2097152 ? 7 : 8\\n : part2 < 128 ? 9 : 10;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/util/longbits.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/util/minimal.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/protobufjs/src/util/minimal.js ***!\n \\*****************************************************/\n/***/ (function(__unused_webpack_module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"\\nvar util = exports;\\n\\n// used to return a Promise where callback is omitted\\nutil.asPromise = __webpack_require__(/*! @protobufjs/aspromise */ \\\"./node_modules/@protobufjs/aspromise/index.js\\\");\\n\\n// converts to / from base64 encoded strings\\nutil.base64 = __webpack_require__(/*! @protobufjs/base64 */ \\\"./node_modules/@protobufjs/base64/index.js\\\");\\n\\n// base class of rpc.Service\\nutil.EventEmitter = __webpack_require__(/*! @protobufjs/eventemitter */ \\\"./node_modules/@protobufjs/eventemitter/index.js\\\");\\n\\n// float handling accross browsers\\nutil.float = __webpack_require__(/*! @protobufjs/float */ \\\"./node_modules/@protobufjs/float/index.js\\\");\\n\\n// requires modules optionally and hides the call from bundlers\\nutil.inquire = __webpack_require__(/*! @protobufjs/inquire */ \\\"./node_modules/@protobufjs/inquire/index.js\\\");\\n\\n// converts to / from utf8 encoded strings\\nutil.utf8 = __webpack_require__(/*! @protobufjs/utf8 */ \\\"./node_modules/@protobufjs/utf8/index.js\\\");\\n\\n// provides a node-like buffer pool in the browser\\nutil.pool = __webpack_require__(/*! @protobufjs/pool */ \\\"./node_modules/@protobufjs/pool/index.js\\\");\\n\\n// utility to work with the low and high bits of a 64 bit value\\nutil.LongBits = __webpack_require__(/*! ./longbits */ \\\"./node_modules/protobufjs/src/util/longbits.js\\\");\\n\\n/**\\n * Whether running within node or not.\\n * @memberof util\\n * @type {boolean}\\n */\\nutil.isNode = Boolean(typeof __webpack_require__.g !== \\\"undefined\\\"\\n && __webpack_require__.g\\n && __webpack_require__.g.process\\n && __webpack_require__.g.process.versions\\n && __webpack_require__.g.process.versions.node);\\n\\n/**\\n * Global object reference.\\n * @memberof util\\n * @type {Object}\\n */\\nutil.global = util.isNode && __webpack_require__.g\\n || typeof window !== \\\"undefined\\\" && window\\n || typeof self !== \\\"undefined\\\" && self\\n || this; // eslint-disable-line no-invalid-this\\n\\n/**\\n * An immuable empty array.\\n * @memberof util\\n * @type {Array.<*>}\\n * @const\\n */\\nutil.emptyArray = Object.freeze ? Object.freeze([]) : /* istanbul ignore next */ []; // used on prototypes\\n\\n/**\\n * An immutable empty object.\\n * @type {Object}\\n * @const\\n */\\nutil.emptyObject = Object.freeze ? Object.freeze({}) : /* istanbul ignore next */ {}; // used on prototypes\\n\\n/**\\n * Tests if the specified value is an integer.\\n * @function\\n * @param {*} value Value to test\\n * @returns {boolean} `true` if the value is an integer\\n */\\nutil.isInteger = Number.isInteger || /* istanbul ignore next */ function isInteger(value) {\\n return typeof value === \\\"number\\\" && isFinite(value) && Math.floor(value) === value;\\n};\\n\\n/**\\n * Tests if the specified value is a string.\\n * @param {*} value Value to test\\n * @returns {boolean} `true` if the value is a string\\n */\\nutil.isString = function isString(value) {\\n return typeof value === \\\"string\\\" || value instanceof String;\\n};\\n\\n/**\\n * Tests if the specified value is a non-null object.\\n * @param {*} value Value to test\\n * @returns {boolean} `true` if the value is a non-null object\\n */\\nutil.isObject = function isObject(value) {\\n return value && typeof value === \\\"object\\\";\\n};\\n\\n/**\\n * Checks if a property on a message is considered to be present.\\n * This is an alias of {@link util.isSet}.\\n * @function\\n * @param {Object} obj Plain object or message instance\\n * @param {string} prop Property name\\n * @returns {boolean} `true` if considered to be present, otherwise `false`\\n */\\nutil.isset =\\n\\n/**\\n * Checks if a property on a message is considered to be present.\\n * @param {Object} obj Plain object or message instance\\n * @param {string} prop Property name\\n * @returns {boolean} `true` if considered to be present, otherwise `false`\\n */\\nutil.isSet = function isSet(obj, prop) {\\n var value = obj[prop];\\n if (value != null && obj.hasOwnProperty(prop)) // eslint-disable-line eqeqeq, no-prototype-builtins\\n return typeof value !== \\\"object\\\" || (Array.isArray(value) ? value.length : Object.keys(value).length) > 0;\\n return false;\\n};\\n\\n/**\\n * Any compatible Buffer instance.\\n * This is a minimal stand-alone definition of a Buffer instance. The actual type is that exported by node's typings.\\n * @interface Buffer\\n * @extends Uint8Array\\n */\\n\\n/**\\n * Node's Buffer class if available.\\n * @type {Constructor}\\n */\\nutil.Buffer = (function() {\\n try {\\n var Buffer = util.inquire(\\\"buffer\\\").Buffer;\\n // refuse to use non-node buffers if not explicitly assigned (perf reasons):\\n return Buffer.prototype.utf8Write ? Buffer : /* istanbul ignore next */ null;\\n } catch (e) {\\n /* istanbul ignore next */\\n return null;\\n }\\n})();\\n\\n// Internal alias of or polyfull for Buffer.from.\\nutil._Buffer_from = null;\\n\\n// Internal alias of or polyfill for Buffer.allocUnsafe.\\nutil._Buffer_allocUnsafe = null;\\n\\n/**\\n * Creates a new buffer of whatever type supported by the environment.\\n * @param {number|number[]} [sizeOrArray=0] Buffer size or number array\\n * @returns {Uint8Array|Buffer} Buffer\\n */\\nutil.newBuffer = function newBuffer(sizeOrArray) {\\n /* istanbul ignore next */\\n return typeof sizeOrArray === \\\"number\\\"\\n ? util.Buffer\\n ? util._Buffer_allocUnsafe(sizeOrArray)\\n : new util.Array(sizeOrArray)\\n : util.Buffer\\n ? util._Buffer_from(sizeOrArray)\\n : typeof Uint8Array === \\\"undefined\\\"\\n ? sizeOrArray\\n : new Uint8Array(sizeOrArray);\\n};\\n\\n/**\\n * Array implementation used in the browser. `Uint8Array` if supported, otherwise `Array`.\\n * @type {Constructor}\\n */\\nutil.Array = typeof Uint8Array !== \\\"undefined\\\" ? Uint8Array /* istanbul ignore next */ : Array;\\n\\n/**\\n * Any compatible Long instance.\\n * This is a minimal stand-alone definition of a Long instance. The actual type is that exported by long.js.\\n * @interface Long\\n * @property {number} low Low bits\\n * @property {number} high High bits\\n * @property {boolean} unsigned Whether unsigned or not\\n */\\n\\n/**\\n * Long.js's Long class if available.\\n * @type {Constructor}\\n */\\nutil.Long = /* istanbul ignore next */ util.global.dcodeIO && /* istanbul ignore next */ util.global.dcodeIO.Long\\n || /* istanbul ignore next */ util.global.Long\\n || util.inquire(\\\"long\\\");\\n\\n/**\\n * Regular expression used to verify 2 bit (`bool`) map keys.\\n * @type {RegExp}\\n * @const\\n */\\nutil.key2Re = /^true|false|0|1$/;\\n\\n/**\\n * Regular expression used to verify 32 bit (`int32` etc.) map keys.\\n * @type {RegExp}\\n * @const\\n */\\nutil.key32Re = /^-?(?:0|[1-9][0-9]*)$/;\\n\\n/**\\n * Regular expression used to verify 64 bit (`int64` etc.) map keys.\\n * @type {RegExp}\\n * @const\\n */\\nutil.key64Re = /^(?:[\\\\\\\\x00-\\\\\\\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;\\n\\n/**\\n * Converts a number or long to an 8 characters long hash string.\\n * @param {Long|number} value Value to convert\\n * @returns {string} Hash\\n */\\nutil.longToHash = function longToHash(value) {\\n return value\\n ? util.LongBits.from(value).toHash()\\n : util.LongBits.zeroHash;\\n};\\n\\n/**\\n * Converts an 8 characters long hash string to a long or number.\\n * @param {string} hash Hash\\n * @param {boolean} [unsigned=false] Whether unsigned or not\\n * @returns {Long|number} Original value\\n */\\nutil.longFromHash = function longFromHash(hash, unsigned) {\\n var bits = util.LongBits.fromHash(hash);\\n if (util.Long)\\n return util.Long.fromBits(bits.lo, bits.hi, unsigned);\\n return bits.toNumber(Boolean(unsigned));\\n};\\n\\n/**\\n * Merges the properties of the source object into the destination object.\\n * @memberof util\\n * @param {Object.} dst Destination object\\n * @param {Object.} src Source object\\n * @param {boolean} [ifNotSet=false] Merges only if the key is not already set\\n * @returns {Object.} Destination object\\n */\\nfunction merge(dst, src, ifNotSet) { // used by converters\\n for (var keys = Object.keys(src), i = 0; i < keys.length; ++i)\\n if (dst[keys[i]] === undefined || !ifNotSet)\\n dst[keys[i]] = src[keys[i]];\\n return dst;\\n}\\n\\nutil.merge = merge;\\n\\n/**\\n * Converts the first character of a string to lower case.\\n * @param {string} str String to convert\\n * @returns {string} Converted string\\n */\\nutil.lcFirst = function lcFirst(str) {\\n return str.charAt(0).toLowerCase() + str.substring(1);\\n};\\n\\n/**\\n * Creates a custom error constructor.\\n * @memberof util\\n * @param {string} name Error name\\n * @returns {Constructor} Custom error constructor\\n */\\nfunction newError(name) {\\n\\n function CustomError(message, properties) {\\n\\n if (!(this instanceof CustomError))\\n return new CustomError(message, properties);\\n\\n // Error.call(this, message);\\n // ^ just returns a new error instance because the ctor can be called as a function\\n\\n Object.defineProperty(this, \\\"message\\\", { get: function() { return message; } });\\n\\n /* istanbul ignore next */\\n if (Error.captureStackTrace) // node\\n Error.captureStackTrace(this, CustomError);\\n else\\n Object.defineProperty(this, \\\"stack\\\", { value: new Error().stack || \\\"\\\" });\\n\\n if (properties)\\n merge(this, properties);\\n }\\n\\n (CustomError.prototype = Object.create(Error.prototype)).constructor = CustomError;\\n\\n Object.defineProperty(CustomError.prototype, \\\"name\\\", { get: function() { return name; } });\\n\\n CustomError.prototype.toString = function toString() {\\n return this.name + \\\": \\\" + this.message;\\n };\\n\\n return CustomError;\\n}\\n\\nutil.newError = newError;\\n\\n/**\\n * Constructs a new protocol error.\\n * @classdesc Error subclass indicating a protocol specifc error.\\n * @memberof util\\n * @extends Error\\n * @template T extends Message\\n * @constructor\\n * @param {string} message Error message\\n * @param {Object.} [properties] Additional properties\\n * @example\\n * try {\\n * MyMessage.decode(someBuffer); // throws if required fields are missing\\n * } catch (e) {\\n * if (e instanceof ProtocolError && e.instance)\\n * console.log(\\\"decoded so far: \\\" + JSON.stringify(e.instance));\\n * }\\n */\\nutil.ProtocolError = newError(\\\"ProtocolError\\\");\\n\\n/**\\n * So far decoded message instance.\\n * @name util.ProtocolError#instance\\n * @type {Message}\\n */\\n\\n/**\\n * A OneOf getter as returned by {@link util.oneOfGetter}.\\n * @typedef OneOfGetter\\n * @type {function}\\n * @returns {string|undefined} Set field name, if any\\n */\\n\\n/**\\n * Builds a getter for a oneof's present field name.\\n * @param {string[]} fieldNames Field names\\n * @returns {OneOfGetter} Unbound getter\\n */\\nutil.oneOfGetter = function getOneOf(fieldNames) {\\n var fieldMap = {};\\n for (var i = 0; i < fieldNames.length; ++i)\\n fieldMap[fieldNames[i]] = 1;\\n\\n /**\\n * @returns {string|undefined} Set field name, if any\\n * @this Object\\n * @ignore\\n */\\n return function() { // eslint-disable-line consistent-return\\n for (var keys = Object.keys(this), i = keys.length - 1; i > -1; --i)\\n if (fieldMap[keys[i]] === 1 && this[keys[i]] !== undefined && this[keys[i]] !== null)\\n return keys[i];\\n };\\n};\\n\\n/**\\n * A OneOf setter as returned by {@link util.oneOfSetter}.\\n * @typedef OneOfSetter\\n * @type {function}\\n * @param {string|undefined} value Field name\\n * @returns {undefined}\\n */\\n\\n/**\\n * Builds a setter for a oneof's present field name.\\n * @param {string[]} fieldNames Field names\\n * @returns {OneOfSetter} Unbound setter\\n */\\nutil.oneOfSetter = function setOneOf(fieldNames) {\\n\\n /**\\n * @param {string} name Field name\\n * @returns {undefined}\\n * @this Object\\n * @ignore\\n */\\n return function(name) {\\n for (var i = 0; i < fieldNames.length; ++i)\\n if (fieldNames[i] !== name)\\n delete this[fieldNames[i]];\\n };\\n};\\n\\n/**\\n * Default conversion options used for {@link Message#toJSON} implementations.\\n *\\n * These options are close to proto3's JSON mapping with the exception that internal types like Any are handled just like messages. More precisely:\\n *\\n * - Longs become strings\\n * - Enums become string keys\\n * - Bytes become base64 encoded strings\\n * - (Sub-)Messages become plain objects\\n * - Maps become plain objects with all string keys\\n * - Repeated fields become arrays\\n * - NaN and Infinity for float and double fields become strings\\n *\\n * @type {IConversionOptions}\\n * @see https://developers.google.com/protocol-buffers/docs/proto3?hl=en#json\\n */\\nutil.toJSONOptions = {\\n longs: String,\\n enums: String,\\n bytes: String,\\n json: true\\n};\\n\\n// Sets up buffer utility according to the environment (called in index-minimal)\\nutil._configure = function() {\\n var Buffer = util.Buffer;\\n /* istanbul ignore if */\\n if (!Buffer) {\\n util._Buffer_from = util._Buffer_allocUnsafe = null;\\n return;\\n }\\n // because node 4.x buffers are incompatible & immutable\\n // see: https://github.com/dcodeIO/protobuf.js/pull/665\\n util._Buffer_from = Buffer.from !== Uint8Array.from && Buffer.from ||\\n /* istanbul ignore next */\\n function Buffer_from(value, encoding) {\\n return new Buffer(value, encoding);\\n };\\n util._Buffer_allocUnsafe = Buffer.allocUnsafe ||\\n /* istanbul ignore next */\\n function Buffer_allocUnsafe(size) {\\n return new Buffer(size);\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/util/minimal.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/writer.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/protobufjs/src/writer.js ***!\n \\***********************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = Writer;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\nvar BufferWriter; // cyclic\\n\\nvar LongBits = util.LongBits,\\n base64 = util.base64,\\n utf8 = util.utf8;\\n\\n/**\\n * Constructs a new writer operation instance.\\n * @classdesc Scheduled writer operation.\\n * @constructor\\n * @param {function(*, Uint8Array, number)} fn Function to call\\n * @param {number} len Value byte length\\n * @param {*} val Value to write\\n * @ignore\\n */\\nfunction Op(fn, len, val) {\\n\\n /**\\n * Function to call.\\n * @type {function(Uint8Array, number, *)}\\n */\\n this.fn = fn;\\n\\n /**\\n * Value byte length.\\n * @type {number}\\n */\\n this.len = len;\\n\\n /**\\n * Next operation.\\n * @type {Writer.Op|undefined}\\n */\\n this.next = undefined;\\n\\n /**\\n * Value to write.\\n * @type {*}\\n */\\n this.val = val; // type varies\\n}\\n\\n/* istanbul ignore next */\\nfunction noop() {} // eslint-disable-line no-empty-function\\n\\n/**\\n * Constructs a new writer state instance.\\n * @classdesc Copied writer state.\\n * @memberof Writer\\n * @constructor\\n * @param {Writer} writer Writer to copy state from\\n * @ignore\\n */\\nfunction State(writer) {\\n\\n /**\\n * Current head.\\n * @type {Writer.Op}\\n */\\n this.head = writer.head;\\n\\n /**\\n * Current tail.\\n * @type {Writer.Op}\\n */\\n this.tail = writer.tail;\\n\\n /**\\n * Current buffer length.\\n * @type {number}\\n */\\n this.len = writer.len;\\n\\n /**\\n * Next state.\\n * @type {State|null}\\n */\\n this.next = writer.states;\\n}\\n\\n/**\\n * Constructs a new writer instance.\\n * @classdesc Wire format writer using `Uint8Array` if available, otherwise `Array`.\\n * @constructor\\n */\\nfunction Writer() {\\n\\n /**\\n * Current length.\\n * @type {number}\\n */\\n this.len = 0;\\n\\n /**\\n * Operations head.\\n * @type {Object}\\n */\\n this.head = new Op(noop, 0, 0);\\n\\n /**\\n * Operations tail\\n * @type {Object}\\n */\\n this.tail = this.head;\\n\\n /**\\n * Linked forked states.\\n * @type {Object|null}\\n */\\n this.states = null;\\n\\n // When a value is written, the writer calculates its byte length and puts it into a linked\\n // list of operations to perform when finish() is called. This both allows us to allocate\\n // buffers of the exact required size and reduces the amount of work we have to do compared\\n // to first calculating over objects and then encoding over objects. In our case, the encoding\\n // part is just a linked list walk calling operations with already prepared values.\\n}\\n\\nvar create = function create() {\\n return util.Buffer\\n ? function create_buffer_setup() {\\n return (Writer.create = function create_buffer() {\\n return new BufferWriter();\\n })();\\n }\\n /* istanbul ignore next */\\n : function create_array() {\\n return new Writer();\\n };\\n};\\n\\n/**\\n * Creates a new writer.\\n * @function\\n * @returns {BufferWriter|Writer} A {@link BufferWriter} when Buffers are supported, otherwise a {@link Writer}\\n */\\nWriter.create = create();\\n\\n/**\\n * Allocates a buffer of the specified size.\\n * @param {number} size Buffer size\\n * @returns {Uint8Array} Buffer\\n */\\nWriter.alloc = function alloc(size) {\\n return new util.Array(size);\\n};\\n\\n// Use Uint8Array buffer pool in the browser, just like node does with buffers\\n/* istanbul ignore else */\\nif (util.Array !== Array)\\n Writer.alloc = util.pool(Writer.alloc, util.Array.prototype.subarray);\\n\\n/**\\n * Pushes a new operation to the queue.\\n * @param {function(Uint8Array, number, *)} fn Function to call\\n * @param {number} len Value byte length\\n * @param {number} val Value to write\\n * @returns {Writer} `this`\\n * @private\\n */\\nWriter.prototype._push = function push(fn, len, val) {\\n this.tail = this.tail.next = new Op(fn, len, val);\\n this.len += len;\\n return this;\\n};\\n\\nfunction writeByte(val, buf, pos) {\\n buf[pos] = val & 255;\\n}\\n\\nfunction writeVarint32(val, buf, pos) {\\n while (val > 127) {\\n buf[pos++] = val & 127 | 128;\\n val >>>= 7;\\n }\\n buf[pos] = val;\\n}\\n\\n/**\\n * Constructs a new varint writer operation instance.\\n * @classdesc Scheduled varint writer operation.\\n * @extends Op\\n * @constructor\\n * @param {number} len Value byte length\\n * @param {number} val Value to write\\n * @ignore\\n */\\nfunction VarintOp(len, val) {\\n this.len = len;\\n this.next = undefined;\\n this.val = val;\\n}\\n\\nVarintOp.prototype = Object.create(Op.prototype);\\nVarintOp.prototype.fn = writeVarint32;\\n\\n/**\\n * Writes an unsigned 32 bit value as a varint.\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.uint32 = function write_uint32(value) {\\n // here, the call to this.push has been inlined and a varint specific Op subclass is used.\\n // uint32 is by far the most frequently used operation and benefits significantly from this.\\n this.len += (this.tail = this.tail.next = new VarintOp(\\n (value = value >>> 0)\\n < 128 ? 1\\n : value < 16384 ? 2\\n : value < 2097152 ? 3\\n : value < 268435456 ? 4\\n : 5,\\n value)).len;\\n return this;\\n};\\n\\n/**\\n * Writes a signed 32 bit value as a varint.\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.int32 = function write_int32(value) {\\n return value < 0\\n ? this._push(writeVarint64, 10, LongBits.fromNumber(value)) // 10 bytes per spec\\n : this.uint32(value);\\n};\\n\\n/**\\n * Writes a 32 bit value as a varint, zig-zag encoded.\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.sint32 = function write_sint32(value) {\\n return this.uint32((value << 1 ^ value >> 31) >>> 0);\\n};\\n\\nfunction writeVarint64(val, buf, pos) {\\n while (val.hi) {\\n buf[pos++] = val.lo & 127 | 128;\\n val.lo = (val.lo >>> 7 | val.hi << 25) >>> 0;\\n val.hi >>>= 7;\\n }\\n while (val.lo > 127) {\\n buf[pos++] = val.lo & 127 | 128;\\n val.lo = val.lo >>> 7;\\n }\\n buf[pos++] = val.lo;\\n}\\n\\n/**\\n * Writes an unsigned 64 bit value as a varint.\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.uint64 = function write_uint64(value) {\\n var bits = LongBits.from(value);\\n return this._push(writeVarint64, bits.length(), bits);\\n};\\n\\n/**\\n * Writes a signed 64 bit value as a varint.\\n * @function\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.int64 = Writer.prototype.uint64;\\n\\n/**\\n * Writes a signed 64 bit value as a varint, zig-zag encoded.\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.sint64 = function write_sint64(value) {\\n var bits = LongBits.from(value).zzEncode();\\n return this._push(writeVarint64, bits.length(), bits);\\n};\\n\\n/**\\n * Writes a boolish value as a varint.\\n * @param {boolean} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.bool = function write_bool(value) {\\n return this._push(writeByte, 1, value ? 1 : 0);\\n};\\n\\nfunction writeFixed32(val, buf, pos) {\\n buf[pos ] = val & 255;\\n buf[pos + 1] = val >>> 8 & 255;\\n buf[pos + 2] = val >>> 16 & 255;\\n buf[pos + 3] = val >>> 24;\\n}\\n\\n/**\\n * Writes an unsigned 32 bit value as fixed 32 bits.\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.fixed32 = function write_fixed32(value) {\\n return this._push(writeFixed32, 4, value >>> 0);\\n};\\n\\n/**\\n * Writes a signed 32 bit value as fixed 32 bits.\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.sfixed32 = Writer.prototype.fixed32;\\n\\n/**\\n * Writes an unsigned 64 bit value as fixed 64 bits.\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.fixed64 = function write_fixed64(value) {\\n var bits = LongBits.from(value);\\n return this._push(writeFixed32, 4, bits.lo)._push(writeFixed32, 4, bits.hi);\\n};\\n\\n/**\\n * Writes a signed 64 bit value as fixed 64 bits.\\n * @function\\n * @param {Long|number|string} value Value to write\\n * @returns {Writer} `this`\\n * @throws {TypeError} If `value` is a string and no long library is present.\\n */\\nWriter.prototype.sfixed64 = Writer.prototype.fixed64;\\n\\n/**\\n * Writes a float (32 bit).\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.float = function write_float(value) {\\n return this._push(util.float.writeFloatLE, 4, value);\\n};\\n\\n/**\\n * Writes a double (64 bit float).\\n * @function\\n * @param {number} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.double = function write_double(value) {\\n return this._push(util.float.writeDoubleLE, 8, value);\\n};\\n\\nvar writeBytes = util.Array.prototype.set\\n ? function writeBytes_set(val, buf, pos) {\\n buf.set(val, pos); // also works for plain array values\\n }\\n /* istanbul ignore next */\\n : function writeBytes_for(val, buf, pos) {\\n for (var i = 0; i < val.length; ++i)\\n buf[pos + i] = val[i];\\n };\\n\\n/**\\n * Writes a sequence of bytes.\\n * @param {Uint8Array|string} value Buffer or base64 encoded string to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.bytes = function write_bytes(value) {\\n var len = value.length >>> 0;\\n if (!len)\\n return this._push(writeByte, 1, 0);\\n if (util.isString(value)) {\\n var buf = Writer.alloc(len = base64.length(value));\\n base64.decode(value, buf, 0);\\n value = buf;\\n }\\n return this.uint32(len)._push(writeBytes, len, value);\\n};\\n\\n/**\\n * Writes a string.\\n * @param {string} value Value to write\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.string = function write_string(value) {\\n var len = utf8.length(value);\\n return len\\n ? this.uint32(len)._push(utf8.write, len, value)\\n : this._push(writeByte, 1, 0);\\n};\\n\\n/**\\n * Forks this writer's state by pushing it to a stack.\\n * Calling {@link Writer#reset|reset} or {@link Writer#ldelim|ldelim} resets the writer to the previous state.\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.fork = function fork() {\\n this.states = new State(this);\\n this.head = this.tail = new Op(noop, 0, 0);\\n this.len = 0;\\n return this;\\n};\\n\\n/**\\n * Resets this instance to the last state.\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.reset = function reset() {\\n if (this.states) {\\n this.head = this.states.head;\\n this.tail = this.states.tail;\\n this.len = this.states.len;\\n this.states = this.states.next;\\n } else {\\n this.head = this.tail = new Op(noop, 0, 0);\\n this.len = 0;\\n }\\n return this;\\n};\\n\\n/**\\n * Resets to the last state and appends the fork state's current write length as a varint followed by its operations.\\n * @returns {Writer} `this`\\n */\\nWriter.prototype.ldelim = function ldelim() {\\n var head = this.head,\\n tail = this.tail,\\n len = this.len;\\n this.reset().uint32(len);\\n if (len) {\\n this.tail.next = head.next; // skip noop\\n this.tail = tail;\\n this.len += len;\\n }\\n return this;\\n};\\n\\n/**\\n * Finishes the write operation.\\n * @returns {Uint8Array} Finished buffer\\n */\\nWriter.prototype.finish = function finish() {\\n var head = this.head.next, // skip noop\\n buf = this.constructor.alloc(this.len),\\n pos = 0;\\n while (head) {\\n head.fn(head.val, buf, pos);\\n pos += head.len;\\n head = head.next;\\n }\\n // this.head = this.tail = null;\\n return buf;\\n};\\n\\nWriter._configure = function(BufferWriter_) {\\n BufferWriter = BufferWriter_;\\n Writer.create = create();\\n BufferWriter._configure();\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/writer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/protobufjs/src/writer_buffer.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/protobufjs/src/writer_buffer.js ***!\n \\******************************************************/\n/***/ ((module, __unused_webpack_exports, __webpack_require__) => {\n\n\"use strict\";\neval(\"\\nmodule.exports = BufferWriter;\\n\\n// extends Writer\\nvar Writer = __webpack_require__(/*! ./writer */ \\\"./node_modules/protobufjs/src/writer.js\\\");\\n(BufferWriter.prototype = Object.create(Writer.prototype)).constructor = BufferWriter;\\n\\nvar util = __webpack_require__(/*! ./util/minimal */ \\\"./node_modules/protobufjs/src/util/minimal.js\\\");\\n\\n/**\\n * Constructs a new buffer writer instance.\\n * @classdesc Wire format writer using node buffers.\\n * @extends Writer\\n * @constructor\\n */\\nfunction BufferWriter() {\\n Writer.call(this);\\n}\\n\\nBufferWriter._configure = function () {\\n /**\\n * Allocates a buffer of the specified size.\\n * @function\\n * @param {number} size Buffer size\\n * @returns {Buffer} Buffer\\n */\\n BufferWriter.alloc = util._Buffer_allocUnsafe;\\n\\n BufferWriter.writeBytesBuffer = util.Buffer && util.Buffer.prototype instanceof Uint8Array && util.Buffer.prototype.set.name === \\\"set\\\"\\n ? function writeBytesBuffer_set(val, buf, pos) {\\n buf.set(val, pos); // faster than copy (requires node >= 4 where Buffers extend Uint8Array and set is properly inherited)\\n // also works for plain array values\\n }\\n /* istanbul ignore next */\\n : function writeBytesBuffer_copy(val, buf, pos) {\\n if (val.copy) // Buffer values\\n val.copy(buf, pos, 0, val.length);\\n else for (var i = 0; i < val.length;) // plain array values\\n buf[pos++] = val[i++];\\n };\\n};\\n\\n\\n/**\\n * @override\\n */\\nBufferWriter.prototype.bytes = function write_bytes_buffer(value) {\\n if (util.isString(value))\\n value = util._Buffer_from(value, \\\"base64\\\");\\n var len = value.length >>> 0;\\n this.uint32(len);\\n if (len)\\n this._push(BufferWriter.writeBytesBuffer, len, value);\\n return this;\\n};\\n\\nfunction writeStringBuffer(val, buf, pos) {\\n if (val.length < 40) // plain js is faster for short strings (probably due to redundant assertions)\\n util.utf8.write(val, buf, pos);\\n else if (buf.utf8Write)\\n buf.utf8Write(val, pos);\\n else\\n buf.write(val, pos);\\n}\\n\\n/**\\n * @override\\n */\\nBufferWriter.prototype.string = function write_string_buffer(value) {\\n var len = util.Buffer.byteLength(value);\\n this.uint32(len);\\n if (len)\\n this._push(writeStringBuffer, len, value);\\n return this;\\n};\\n\\n\\n/**\\n * Finishes the write operation.\\n * @name BufferWriter#finish\\n * @function\\n * @returns {Buffer} Finished buffer\\n */\\n\\nBufferWriter._configure();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/protobufjs/src/writer_buffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/raw-loader/dist/cjs.js!./worklet/dist/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/raw-loader/dist/cjs.js!./worklet/dist/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\\\"/*\\\\n * ATTENTION: The \\\\\\\"eval\\\\\\\" devtool has been used (maybe by default in mode: \\\\\\\"development\\\\\\\").\\\\n * This devtool is neither made for production nor for readable output files.\\\\n * It uses \\\\\\\"eval()\\\\\\\" calls to create a separate source file in the browser devtools.\\\\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\\\\n * or disable the default devtool with \\\\\\\"devtool: false\\\\\\\".\\\\n * If you are looking for production-ready output files, see mode: \\\\\\\"production\\\\\\\" (https://webpack.js.org/configuration/mode/).\\\\n */\\\\n/******/ (() => { // webpackBootstrap\\\\n/******/ \\\\t\\\\\\\"use strict\\\\\\\";\\\\n/******/ \\\\tvar __webpack_modules__ = ({\\\\n\\\\n/***/ \\\\\\\"./worklet/src/voice-changer-worklet-processor.ts\\\\\\\":\\\\n/*!********************************************************!*\\\\\\\\\\\\n !*** ./worklet/src/voice-changer-worklet-processor.ts ***!\\\\n \\\\\\\\********************************************************/\\\\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\\\\n\\\\neval(\\\\\\\"__webpack_require__.r(__webpack_exports__);\\\\\\\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\\\\\\\n/* harmony export */ RequestType: () => (/* binding */ RequestType),\\\\\\\\n/* harmony export */ ResponseType: () => (/* binding */ ResponseType)\\\\\\\\n/* harmony export */ });\\\\\\\\nconst RequestType = {\\\\\\\\n \\\\\\\\\\\\\\\"voice\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"voice\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"config\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"config\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"start\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"start\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"stop\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"stop\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"trancateBuffer\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"trancateBuffer\\\\\\\\\\\\\\\",\\\\\\\\n};\\\\\\\\nconst ResponseType = {\\\\\\\\n \\\\\\\\\\\\\\\"volume\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"volume\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"inputData\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"inputData\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"start_ok\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"start_ok\\\\\\\\\\\\\\\",\\\\\\\\n \\\\\\\\\\\\\\\"stop_ok\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"stop_ok\\\\\\\\\\\\\\\",\\\\\\\\n};\\\\\\\\nclass VoiceChangerWorkletProcessor extends AudioWorkletProcessor {\\\\\\\\n /**\\\\\\\\n * @constructor\\\\\\\\n */\\\\\\\\n constructor() {\\\\\\\\n super();\\\\\\\\n this.BLOCK_SIZE = 128;\\\\\\\\n this.initialized = false;\\\\\\\\n this.volume = 0;\\\\\\\\n this.numTrancateTreshold = 150;\\\\\\\\n // private volTrancateThreshold = 0.0005\\\\\\\\n // private volTrancateLength = 32\\\\\\\\n // private volTrancateCount = 0\\\\\\\\n this.isRecording = false;\\\\\\\\n this.playBuffer = [];\\\\\\\\n this.calcVol = (data, prevVol) => {\\\\\\\\n const sum = data.reduce((prev, cur) => {\\\\\\\\n return prev + cur * cur;\\\\\\\\n }, 0);\\\\\\\\n const rms = Math.sqrt(sum / data.length);\\\\\\\\n return Math.max(rms, prevVol * 0.95);\\\\\\\\n };\\\\\\\\n this.trancateBuffer = () => {\\\\\\\\n console.log(\\\\\\\\\\\\\\\"[worklet] Buffer truncated\\\\\\\\\\\\\\\");\\\\\\\\n while (this.playBuffer.length > 2) {\\\\\\\\n this.playBuffer.shift();\\\\\\\\n }\\\\\\\\n };\\\\\\\\n this.pushData = (inputData) => {\\\\\\\\n const volumeResponse = {\\\\\\\\n responseType: ResponseType.inputData,\\\\\\\\n inputData: inputData\\\\\\\\n };\\\\\\\\n this.port.postMessage(volumeResponse);\\\\\\\\n };\\\\\\\\n this.initialized = true;\\\\\\\\n this.port.onmessage = this.handleMessage.bind(this);\\\\\\\\n }\\\\\\\\n handleMessage(event) {\\\\\\\\n const request = event.data;\\\\\\\\n if (request.requestType === \\\\\\\\\\\\\\\"config\\\\\\\\\\\\\\\") {\\\\\\\\n this.numTrancateTreshold = request.numTrancateTreshold;\\\\\\\\n // this.volTrancateLength = request.volTrancateLength\\\\\\\\n // this.volTrancateThreshold = request.volTrancateThreshold\\\\\\\\n console.log(\\\\\\\\\\\\\\\"[worklet] worklet configured\\\\\\\\\\\\\\\", request);\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n else if (request.requestType === \\\\\\\\\\\\\\\"start\\\\\\\\\\\\\\\") {\\\\\\\\n if (this.isRecording) {\\\\\\\\n console.warn(\\\\\\\\\\\\\\\"[worklet] recoring is already started\\\\\\\\\\\\\\\");\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n this.isRecording = true;\\\\\\\\n const startResponse = {\\\\\\\\n responseType: \\\\\\\\\\\\\\\"start_ok\\\\\\\\\\\\\\\",\\\\\\\\n };\\\\\\\\n this.port.postMessage(startResponse);\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n else if (request.requestType === \\\\\\\\\\\\\\\"stop\\\\\\\\\\\\\\\") {\\\\\\\\n if (!this.isRecording) {\\\\\\\\n console.warn(\\\\\\\\\\\\\\\"[worklet] recoring is not started\\\\\\\\\\\\\\\");\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n this.isRecording = false;\\\\\\\\n const stopResponse = {\\\\\\\\n responseType: \\\\\\\\\\\\\\\"stop_ok\\\\\\\\\\\\\\\",\\\\\\\\n };\\\\\\\\n this.port.postMessage(stopResponse);\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n else if (request.requestType === \\\\\\\\\\\\\\\"trancateBuffer\\\\\\\\\\\\\\\") {\\\\\\\\n this.trancateBuffer();\\\\\\\\n return;\\\\\\\\n }\\\\\\\\n if (this.playBuffer.length > this.numTrancateTreshold) {\\\\\\\\n this.trancateBuffer();\\\\\\\\n }\\\\\\\\n const f32Data = request.voice;\\\\\\\\n const chunkNum = f32Data.length / this.BLOCK_SIZE;\\\\\\\\n for (let i = 0; i < chunkNum; i++) {\\\\\\\\n const block = f32Data.slice(i * this.BLOCK_SIZE, (i + 1) * this.BLOCK_SIZE);\\\\\\\\n this.playBuffer.push(block);\\\\\\\\n }\\\\\\\\n }\\\\\\\\n process(_inputs, outputs, _parameters) {\\\\\\\\n if (!this.initialized) {\\\\\\\\n console.warn(\\\\\\\\\\\\\\\"[worklet] worklet_process not ready\\\\\\\\\\\\\\\");\\\\\\\\n return true;\\\\\\\\n }\\\\\\\\n if (this.isRecording) {\\\\\\\\n if (_inputs.length > 0 && _inputs[0].length > 0) {\\\\\\\\n this.pushData(_inputs[0][0]);\\\\\\\\n }\\\\\\\\n }\\\\\\\\n if (this.playBuffer.length === 0) {\\\\\\\\n // console.log(\\\\\\\\\\\\\\\"[worklet] no play buffer\\\\\\\\\\\\\\\")\\\\\\\\n return true;\\\\\\\\n }\\\\\\\\n //// 一定期間無音状態が続いている場合はスキップ。\\\\\\\\n // let voice: Float32Array | undefined\\\\\\\\n // while (true) {\\\\\\\\n // voice = this.playBuffer.shift()\\\\\\\\n // if (!voice) {\\\\\\\\n // break\\\\\\\\n // }\\\\\\\\n // this.volume = this.calcVol(voice, this.volume)\\\\\\\\n // if (this.volume < this.volTrancateThreshold) {\\\\\\\\n // this.volTrancateCount += 1\\\\\\\\n // } else {\\\\\\\\n // this.volTrancateCount = 0\\\\\\\\n // }\\\\\\\\n // // V.1.5.0よりsilent skipで音飛びするようになったので無効化\\\\\\\\n // if (this.volTrancateCount < this.volTrancateLength || this.volTrancateLength < 0) {\\\\\\\\n // break\\\\\\\\n // } else {\\\\\\\\n // break\\\\\\\\n // // console.log(\\\\\\\\\\\\\\\"silent...skip\\\\\\\\\\\\\\\")\\\\\\\\n // }\\\\\\\\n // }\\\\\\\\n let voice = this.playBuffer.shift();\\\\\\\\n if (voice) {\\\\\\\\n this.volume = this.calcVol(voice, this.volume);\\\\\\\\n const volumeResponse = {\\\\\\\\n responseType: ResponseType.volume,\\\\\\\\n volume: this.volume\\\\\\\\n };\\\\\\\\n this.port.postMessage(volumeResponse);\\\\\\\\n outputs[0][0].set(voice);\\\\\\\\n if (outputs[0].length == 2) {\\\\\\\\n outputs[0][1].set(voice);\\\\\\\\n }\\\\\\\\n }\\\\\\\\n return true;\\\\\\\\n }\\\\\\\\n}\\\\\\\\nregisterProcessor(\\\\\\\\\\\\\\\"voice-changer-worklet-processor\\\\\\\\\\\\\\\", VoiceChangerWorkletProcessor);\\\\\\\\n\\\\\\\\n\\\\\\\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./worklet/src/voice-changer-worklet-processor.ts?\\\\\\\");\\\\n\\\\n/***/ })\\\\n\\\\n/******/ \\\\t});\\\\n/************************************************************************/\\\\n/******/ \\\\t// The require scope\\\\n/******/ \\\\tvar __webpack_require__ = {};\\\\n/******/ \\\\t\\\\n/************************************************************************/\\\\n/******/ \\\\t/* webpack/runtime/define property getters */\\\\n/******/ \\\\t(() => {\\\\n/******/ \\\\t\\\\t// define getter functions for harmony exports\\\\n/******/ \\\\t\\\\t__webpack_require__.d = (exports, definition) => {\\\\n/******/ \\\\t\\\\t\\\\tfor(var key in definition) {\\\\n/******/ \\\\t\\\\t\\\\t\\\\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\\\\n/******/ \\\\t\\\\t\\\\t\\\\t\\\\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\\\\n/******/ \\\\t\\\\t\\\\t\\\\t}\\\\n/******/ \\\\t\\\\t\\\\t}\\\\n/******/ \\\\t\\\\t};\\\\n/******/ \\\\t})();\\\\n/******/ \\\\t\\\\n/******/ \\\\t/* webpack/runtime/hasOwnProperty shorthand */\\\\n/******/ \\\\t(() => {\\\\n/******/ \\\\t\\\\t__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\\\\n/******/ \\\\t})();\\\\n/******/ \\\\t\\\\n/******/ \\\\t/* webpack/runtime/make namespace object */\\\\n/******/ \\\\t(() => {\\\\n/******/ \\\\t\\\\t// define __esModule on exports\\\\n/******/ \\\\t\\\\t__webpack_require__.r = (exports) => {\\\\n/******/ \\\\t\\\\t\\\\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\\\\n/******/ \\\\t\\\\t\\\\t\\\\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\\\\n/******/ \\\\t\\\\t\\\\t}\\\\n/******/ \\\\t\\\\t\\\\tObject.defineProperty(exports, '__esModule', { value: true });\\\\n/******/ \\\\t\\\\t};\\\\n/******/ \\\\t})();\\\\n/******/ \\\\t\\\\n/************************************************************************/\\\\n/******/ \\\\t\\\\n/******/ \\\\t// startup\\\\n/******/ \\\\t// Load entry module and return exports\\\\n/******/ \\\\t// This entry module can't be inlined because the eval devtool is used.\\\\n/******/ \\\\tvar __webpack_exports__ = {};\\\\n/******/ \\\\t__webpack_modules__[\\\\\\\"./worklet/src/voice-changer-worklet-processor.ts\\\\\\\"](0, __webpack_exports__, __webpack_require__);\\\\n/******/ \\\\t\\\\n/******/ })()\\\\n;\\\");\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./worklet/dist/index.js?./node_modules/raw-loader/dist/cjs.js\");\n\n/***/ }),\n\n/***/ \"./src/License.ts\":\n/*!************************!*\\\n !*** ./src/License.ts ***!\n \\************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ getLicenceInfo: () => (/* binding */ getLicenceInfo)\\n/* harmony export */ });\\nconst getLicenceInfo = () => {\\n return [\\n {\\n name: \\\"VC Helper\\\",\\n url: \\\"https://github.com/w-okada/voice-changer\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://raw.githubusercontent.com/w-okada/voice-changer/master/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n {\\n name: \\\"MMVC\\\",\\n url: \\\"https://github.com/isletennos/MMVC_Trainer\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://raw.githubusercontent.com/isletennos/MMVC_Trainer/main/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n {\\n name: \\\"so-vits-svc\\\",\\n url: \\\"https://github.com/svc-develop-team/so-vits-svc\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://github.com/svc-develop-team/so-vits-svc/blob/4.0/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n {\\n name: \\\"ContentVec\\\",\\n url: \\\"https://github.com/auspicious3000/contentvec\\\",\\n license: \\\"MIT\\\",\\n licenseUrl: \\\"https://raw.githubusercontent.com/auspicious3000/contentvec/main/LICENSE\\\",\\n description: \\\"\\\"\\n },\\n ];\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/License.ts?\");\n\n/***/ }),\n\n/***/ \"./src/ServerConfigurator.ts\":\n/*!***********************************!*\\\n !*** ./src/ServerConfigurator.ts ***!\n \\***********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ServerConfigurator: () => (/* binding */ ServerConfigurator)\\n/* harmony export */ });\\nclass ServerConfigurator {\\n constructor() {\\n this.serverUrl = \\\"\\\";\\n this.setServerUrl = (serverUrl) => {\\n this.serverUrl = serverUrl;\\n console.log(`[ServerConfigurator] Server URL: ${this.serverUrl}`);\\n };\\n this.getSettings = async () => {\\n const url = this.serverUrl + \\\"/info\\\";\\n const info = await new Promise((resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n fetch(request).then(async (response) => {\\n const json = await response.json();\\n resolve(json);\\n });\\n });\\n return info;\\n };\\n this.getPerformance = async () => {\\n const url = this.serverUrl + \\\"/performance\\\";\\n const info = await new Promise((resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n fetch(request).then(async (response) => {\\n const json = await response.json();\\n resolve(json);\\n });\\n });\\n return info;\\n };\\n this.updateSettings = async (key, val) => {\\n const url = this.serverUrl + \\\"/update_settings\\\";\\n const info = await new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"key\\\", key);\\n formData.append(\\\"val\\\", val);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return info;\\n };\\n this.uploadFile2 = async (dir, file, onprogress) => {\\n const url = this.serverUrl + \\\"/upload_file\\\";\\n onprogress(0, false);\\n const size = 1024 * 1024;\\n let index = 0; // index値\\n const fileLength = file.size;\\n const filename = dir + file.name;\\n const fileChunkNum = Math.ceil(fileLength / size);\\n while (true) {\\n const promises = [];\\n for (let i = 0; i < 10; i++) {\\n if (index * size >= fileLength) {\\n break;\\n }\\n const chunk = file.slice(index * size, (index + 1) * size);\\n const p = new Promise((resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"file\\\", new Blob([chunk]));\\n formData.append(\\\"filename\\\", `${filename}_${index}`);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n fetch(request).then(async (_response) => {\\n // console.log(await response.text())\\n resolve();\\n });\\n });\\n index += 1;\\n promises.push(p);\\n }\\n await Promise.all(promises);\\n if (index * size >= fileLength) {\\n break;\\n }\\n onprogress(Math.floor(((index) / (fileChunkNum + 1)) * 100), false);\\n }\\n return fileChunkNum;\\n };\\n this.uploadFile = async (buf, filename, onprogress) => {\\n const url = this.serverUrl + \\\"/upload_file\\\";\\n onprogress(0, false);\\n const size = 1024 * 1024;\\n const fileChunks = [];\\n let index = 0; // index値\\n for (let cur = 0; cur < buf.byteLength; cur += size) {\\n fileChunks.push({\\n hash: index++,\\n chunk: buf.slice(cur, cur + size),\\n });\\n }\\n const chunkNum = fileChunks.length;\\n // console.log(\\\"FILE_CHUNKS:\\\", chunkNum, fileChunks)\\n while (true) {\\n const promises = [];\\n for (let i = 0; i < 10; i++) {\\n const chunk = fileChunks.shift();\\n if (!chunk) {\\n break;\\n }\\n const p = new Promise((resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"file\\\", new Blob([chunk.chunk]));\\n formData.append(\\\"filename\\\", `${filename}_${chunk.hash}`);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n fetch(request).then(async (_response) => {\\n // console.log(await response.text())\\n resolve();\\n });\\n });\\n promises.push(p);\\n }\\n await Promise.all(promises);\\n if (fileChunks.length == 0) {\\n break;\\n }\\n onprogress(Math.floor(((chunkNum - fileChunks.length) / (chunkNum + 1)) * 100), false);\\n }\\n return chunkNum;\\n };\\n this.concatUploadedFile = async (filename, chunkNum) => {\\n const url = this.serverUrl + \\\"/concat_uploaded_file\\\";\\n await new Promise((resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"filename\\\", filename);\\n formData.append(\\\"filenameChunkNum\\\", \\\"\\\" + chunkNum);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n fetch(request).then(async (response) => {\\n console.log(await response.text());\\n resolve();\\n });\\n });\\n };\\n this.loadModel = async (slot, isHalf, params = \\\"{}\\\") => {\\n if (isHalf == undefined || isHalf == null) {\\n console.warn(\\\"isHalf is invalid value\\\", isHalf);\\n isHalf = false;\\n }\\n const url = this.serverUrl + \\\"/load_model\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"slot\\\", \\\"\\\" + slot);\\n formData.append(\\\"isHalf\\\", \\\"\\\" + isHalf);\\n formData.append(\\\"params\\\", params);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.uploadAssets = async (params) => {\\n const url = this.serverUrl + \\\"/upload_model_assets\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"params\\\", params);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.switchModelType = async (clinetType) => {\\n const url = this.serverUrl + \\\"/model_type\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"modelType\\\", clinetType);\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.getModelType = async () => {\\n const url = this.serverUrl + \\\"/model_type\\\";\\n const info = new Promise(async (resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.export2onnx = async () => {\\n const url = this.serverUrl + \\\"/onnx\\\";\\n const info = new Promise(async (resolve) => {\\n const request = new Request(url, {\\n method: 'GET',\\n });\\n const res = await (await fetch(request)).json();\\n resolve(res);\\n });\\n return await info;\\n };\\n this.mergeModel = async (req) => {\\n const url = this.serverUrl + \\\"/merge_model\\\";\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"request\\\", JSON.stringify(req));\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n console.log(\\\"RESPONSE\\\", res);\\n resolve(res);\\n });\\n return await info;\\n };\\n this.updateModelDefault = async () => {\\n const url = this.serverUrl + \\\"/update_model_default\\\";\\n const info = new Promise(async (resolve) => {\\n const request = new Request(url, {\\n method: 'POST',\\n });\\n const res = await (await fetch(request)).json();\\n console.log(\\\"RESPONSE\\\", res);\\n resolve(res);\\n });\\n return await info;\\n };\\n this.updateModelInfo = async (slot, key, val) => {\\n const url = this.serverUrl + \\\"/update_model_info\\\";\\n const newData = { slot, key, val };\\n const info = new Promise(async (resolve) => {\\n const formData = new FormData();\\n formData.append(\\\"newData\\\", JSON.stringify(newData));\\n const request = new Request(url, {\\n method: 'POST',\\n body: formData,\\n });\\n const res = await (await fetch(request)).json();\\n console.log(\\\"RESPONSE\\\", res);\\n resolve(res);\\n });\\n return await info;\\n };\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/ServerConfigurator.ts?\");\n\n/***/ }),\n\n/***/ \"./src/VoiceChangerClient.ts\":\n/*!***********************************!*\\\n !*** ./src/VoiceChangerClient.ts ***!\n \\***********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ VoiceChangerClient: () => (/* binding */ VoiceChangerClient)\\n/* harmony export */ });\\n/* harmony import */ var _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./VoiceChangerWorkletNode */ \\\"./src/VoiceChangerWorkletNode.ts\\\");\\n/* harmony import */ var raw_loader_worklet_dist_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! raw-loader!../worklet/dist/index.js */ \\\"./node_modules/raw-loader/dist/cjs.js!./worklet/dist/index.js\\\");\\n/* harmony import */ var amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! amazon-chime-sdk-js */ \\\"./node_modules/amazon-chime-sdk-js/build/index.js\\\");\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ \\\"./src/util.ts\\\");\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _ServerConfigurator__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./ServerConfigurator */ \\\"./src/ServerConfigurator.ts\\\");\\n/* harmony import */ var _utils_BlockingQueue__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./utils/BlockingQueue */ \\\"./src/utils/BlockingQueue.ts\\\");\\n\\n// @ts-ignore\\n\\n\\n\\n\\n\\n// オーディオデータの流れ\\n// input node(mic or MediaStream) -> [vf node] -> [vc node] -> \\n// sio/rest server -> [vc node] -> output node\\n\\nclass VoiceChangerClient {\\n constructor(ctx, vfEnable, voiceChangerWorkletListener) {\\n this.vfEnable = false;\\n this.vf = null;\\n this.currentDevice = null;\\n this.currentMediaStream = null;\\n this.currentMediaStreamAudioSourceNode = null;\\n this.inputGainNode = null;\\n this.outputGainNode = null;\\n this._isVoiceChanging = false;\\n this.setting = _const__WEBPACK_IMPORTED_MODULE_4__.DefaultVoiceChangerClientSetting;\\n this.sslCertified = [];\\n this.sem = new _utils_BlockingQueue__WEBPACK_IMPORTED_MODULE_6__.BlockingQueue();\\n this.lock = async () => {\\n const num = await this.sem.dequeue();\\n return num;\\n };\\n this.unlock = (num) => {\\n this.sem.enqueue(num + 1);\\n };\\n this.isInitialized = async () => {\\n if (this.promiseForInitialize) {\\n await this.promiseForInitialize;\\n }\\n return true;\\n };\\n /////////////////////////////////////////////////////\\n // オペレーション\\n /////////////////////////////////////////////////////\\n /// Operations ///\\n this.setup = async () => {\\n const lockNum = await this.lock();\\n console.log(`Input Setup=> echo: ${this.setting.echoCancel}, noise1: ${this.setting.noiseSuppression}, noise2: ${this.setting.noiseSuppression2}`);\\n // condition check\\n if (!this.vcInNode) {\\n console.warn(\\\"vc node is not initialized.\\\");\\n throw \\\"vc node is not initialized.\\\";\\n }\\n // Main Process\\n //// shutdown & re-generate mediastream\\n if (this.currentMediaStream) {\\n this.currentMediaStream.getTracks().forEach(x => { x.stop(); });\\n this.currentMediaStream = null;\\n }\\n //// Input デバイスがnullの時はmicStreamを止めてリターン\\n if (!this.setting.audioInput) {\\n console.log(`Input Setup=> client mic is disabled. ${this.setting.audioInput}`);\\n this.vcInNode.stop();\\n await this.unlock(lockNum);\\n return;\\n }\\n if (typeof this.setting.audioInput == \\\"string\\\") {\\n try {\\n if (this.setting.audioInput == \\\"none\\\") {\\n this.currentMediaStream = (0,_util__WEBPACK_IMPORTED_MODULE_3__.createDummyMediaStream)(this.ctx);\\n }\\n else {\\n this.currentMediaStream = await navigator.mediaDevices.getUserMedia({\\n audio: {\\n deviceId: this.setting.audioInput,\\n channelCount: 1,\\n sampleRate: this.setting.sampleRate,\\n sampleSize: 16,\\n autoGainControl: false,\\n echoCancellation: this.setting.echoCancel,\\n noiseSuppression: this.setting.noiseSuppression\\n }\\n });\\n }\\n }\\n catch (e) {\\n console.warn(e);\\n this.vcInNode.stop();\\n await this.unlock(lockNum);\\n throw e;\\n }\\n // this.currentMediaStream.getAudioTracks().forEach((x) => {\\n // console.log(\\\"MIC Setting(cap)\\\", x.getCapabilities())\\n // console.log(\\\"MIC Setting(const)\\\", x.getConstraints())\\n // console.log(\\\"MIC Setting(setting)\\\", x.getSettings())\\n // })\\n }\\n else {\\n this.currentMediaStream = this.setting.audioInput;\\n }\\n // connect nodes.\\n this.currentMediaStreamAudioSourceNode = this.ctx.createMediaStreamSource(this.currentMediaStream);\\n this.inputGainNode = this.ctx.createGain();\\n this.inputGainNode.gain.value = this.setting.inputGain;\\n this.currentMediaStreamAudioSourceNode.connect(this.inputGainNode);\\n if (this.currentDevice && this.setting.noiseSuppression2) {\\n this.currentDevice.chooseNewInnerDevice(this.currentMediaStream);\\n const voiceFocusNode = await this.currentDevice.createAudioNode(this.ctx); // vf node\\n this.inputGainNode.connect(voiceFocusNode.start); // input node -> vf node\\n voiceFocusNode.end.connect(this.vcInNode);\\n }\\n else {\\n // console.log(\\\"input___ media stream\\\", this.currentMediaStream)\\n // this.currentMediaStream.getTracks().forEach(x => {\\n // console.log(\\\"input___ media stream set\\\", x.getSettings())\\n // console.log(\\\"input___ media stream con\\\", x.getConstraints())\\n // console.log(\\\"input___ media stream cap\\\", x.getCapabilities())\\n // })\\n // console.log(\\\"input___ media node\\\", this.currentMediaStreamAudioSourceNode)\\n // console.log(\\\"input___ gain node\\\", this.inputGainNode.channelCount, this.inputGainNode)\\n this.inputGainNode.connect(this.vcInNode);\\n }\\n this.vcInNode.setOutputNode(this.vcOutNode);\\n console.log(\\\"Input Setup=> success\\\");\\n await this.unlock(lockNum);\\n };\\n this.start = async () => {\\n await this.vcInNode.start();\\n this._isVoiceChanging = true;\\n };\\n this.stop = async () => {\\n await this.vcInNode.stop();\\n this._isVoiceChanging = false;\\n };\\n ////////////////////////\\n /// 設定\\n //////////////////////////////\\n this.setServerUrl = (serverUrl, openTab = false) => {\\n const url = (0,_util__WEBPACK_IMPORTED_MODULE_3__.validateUrl)(serverUrl);\\n const pageUrl = `${location.protocol}//${location.host}`;\\n if (url != pageUrl && url.length != 0 && location.protocol == \\\"https:\\\" && this.sslCertified.includes(url) == false) {\\n if (openTab) {\\n const value = window.confirm(\\\"MMVC Server is different from this page's origin. Open tab to open ssl connection. OK? (You can close the opened tab after ssl connection succeed.)\\\");\\n if (value) {\\n window.open(url, '_blank');\\n this.sslCertified.push(url);\\n }\\n else {\\n alert(\\\"Your voice conversion may fail...\\\");\\n }\\n }\\n }\\n this.vcInNode.updateSetting({ ...this.vcInNode.getSettings(), serverUrl: url });\\n this.configurator.setServerUrl(url);\\n };\\n this.updateClientSetting = async (setting) => {\\n let reconstructInputRequired = false;\\n if (this.setting.audioInput != setting.audioInput ||\\n this.setting.echoCancel != setting.echoCancel ||\\n this.setting.noiseSuppression != setting.noiseSuppression ||\\n this.setting.noiseSuppression2 != setting.noiseSuppression2 ||\\n this.setting.sampleRate != setting.sampleRate) {\\n reconstructInputRequired = true;\\n }\\n if (this.setting.inputGain != setting.inputGain) {\\n this.setInputGain(setting.inputGain);\\n }\\n if (this.setting.outputGain != setting.outputGain) {\\n this.setOutputGain(setting.outputGain);\\n }\\n this.setting = setting;\\n if (reconstructInputRequired) {\\n await this.setup();\\n }\\n };\\n this.setInputGain = (val) => {\\n this.setting.inputGain = val;\\n if (!this.inputGainNode) {\\n return;\\n }\\n this.inputGainNode.gain.value = val;\\n };\\n this.setOutputGain = (val) => {\\n if (!this.outputGainNode) {\\n return;\\n }\\n this.outputGainNode.gain.value = val;\\n };\\n /////////////////////////////////////////////////////\\n // コンポーネント設定、操作\\n /////////////////////////////////////////////////////\\n //## Server ##//\\n this.switchModelType = (clientType) => {\\n return this.configurator.switchModelType(clientType);\\n };\\n this.getModelType = () => {\\n return this.configurator.getModelType();\\n };\\n this.getOnnx = async () => {\\n return this.configurator.export2onnx();\\n };\\n this.mergeModel = async (req) => {\\n return this.configurator.mergeModel(req);\\n };\\n this.updateModelDefault = async () => {\\n return this.configurator.updateModelDefault();\\n };\\n this.updateModelInfo = async (slot, key, val) => {\\n return this.configurator.updateModelInfo(slot, key, val);\\n };\\n this.updateServerSettings = (key, val) => {\\n return this.configurator.updateSettings(key, val);\\n };\\n this.uploadFile = (buf, filename, onprogress) => {\\n return this.configurator.uploadFile(buf, filename, onprogress);\\n };\\n this.uploadFile2 = (dir, file, onprogress) => {\\n return this.configurator.uploadFile2(dir, file, onprogress);\\n };\\n this.concatUploadedFile = (filename, chunkNum) => {\\n return this.configurator.concatUploadedFile(filename, chunkNum);\\n };\\n this.loadModel = (slot, isHalf, params) => {\\n return this.configurator.loadModel(slot, isHalf, params);\\n };\\n this.uploadAssets = (params) => {\\n return this.configurator.uploadAssets(params);\\n };\\n //## Worklet ##//\\n this.configureWorklet = (setting) => {\\n this.vcInNode.configure(setting);\\n this.vcOutNode.configure(setting);\\n };\\n this.startOutputRecording = () => {\\n this.vcOutNode.startOutputRecording();\\n };\\n this.stopOutputRecording = () => {\\n return this.vcOutNode.stopOutputRecording();\\n };\\n this.trancateBuffer = () => {\\n this.vcOutNode.trancateBuffer();\\n };\\n //## Worklet Node ##//\\n this.updateWorkletNodeSetting = (setting) => {\\n this.vcInNode.updateSetting(setting);\\n this.vcOutNode.updateSetting(setting);\\n };\\n /////////////////////////////////////////////////////\\n // 情報取得\\n /////////////////////////////////////////////////////\\n // Information\\n this.getClientSettings = () => {\\n return this.vcInNode.getSettings();\\n };\\n this.getServerSettings = () => {\\n return this.configurator.getSettings();\\n };\\n this.getPerformance = () => {\\n return this.configurator.getPerformance();\\n };\\n this.getSocketId = () => {\\n return this.vcInNode.getSocketId();\\n };\\n this.sem.enqueue(0);\\n this.configurator = new _ServerConfigurator__WEBPACK_IMPORTED_MODULE_5__.ServerConfigurator();\\n this.ctx = ctx;\\n this.vfEnable = vfEnable;\\n this.promiseForInitialize = new Promise(async (resolve) => {\\n const scriptUrl = URL.createObjectURL(new Blob([raw_loader_worklet_dist_index_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"]], { type: \\\"text/javascript\\\" }));\\n // await this.ctx.audioWorklet.addModule(scriptUrl)\\n // this.vcInNode = new VoiceChangerWorkletNode(this.ctx, voiceChangerWorkletListener); // vc node \\n try {\\n this.vcInNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(this.ctx, voiceChangerWorkletListener); // vc node \\n }\\n catch (err) {\\n await this.ctx.audioWorklet.addModule(scriptUrl);\\n this.vcInNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(this.ctx, voiceChangerWorkletListener); // vc node \\n }\\n // const ctx44k = new AudioContext({ sampleRate: 44100 }) // これでもプチプチが残る\\n const ctx44k = new AudioContext({ sampleRate: 48000 }); // 結局これが一番まし。\\n console.log(\\\"audio out:\\\", ctx44k);\\n try {\\n this.vcOutNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(ctx44k, voiceChangerWorkletListener); // vc node \\n }\\n catch (err) {\\n await ctx44k.audioWorklet.addModule(scriptUrl);\\n this.vcOutNode = new _VoiceChangerWorkletNode__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerWorkletNode(ctx44k, voiceChangerWorkletListener); // vc node \\n }\\n this.currentMediaStreamAudioDestinationNode = ctx44k.createMediaStreamDestination(); // output node\\n this.outputGainNode = ctx44k.createGain();\\n this.outputGainNode.gain.value = this.setting.outputGain;\\n this.vcOutNode.connect(this.outputGainNode); // vc node -> output node\\n this.outputGainNode.connect(this.currentMediaStreamAudioDestinationNode);\\n if (this.vfEnable) {\\n this.vf = await amazon_chime_sdk_js__WEBPACK_IMPORTED_MODULE_2__.VoiceFocusDeviceTransformer.create({ variant: 'c20' });\\n const dummyMediaStream = (0,_util__WEBPACK_IMPORTED_MODULE_3__.createDummyMediaStream)(this.ctx);\\n this.currentDevice = (await this.vf.createTransformDevice(dummyMediaStream)) || null;\\n }\\n resolve();\\n });\\n }\\n get stream() {\\n return this.currentMediaStreamAudioDestinationNode.stream;\\n }\\n get isVoiceChanging() {\\n return this._isVoiceChanging;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/VoiceChangerClient.ts?\");\n\n/***/ }),\n\n/***/ \"./src/VoiceChangerWorkletNode.ts\":\n/*!****************************************!*\\\n !*** ./src/VoiceChangerWorkletNode.ts ***!\n \\****************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ VoiceChangerWorkletNode: () => (/* binding */ VoiceChangerWorkletNode),\\n/* harmony export */ postVoice: () => (/* binding */ postVoice)\\n/* harmony export */ });\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var socket_io_client__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! socket.io-client */ \\\"./node_modules/socket.io-client/build/esm/index.js\\\");\\n/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \\\"./node_modules/buffer/index.js\\\")[\\\"Buffer\\\"];\\n\\n\\nclass VoiceChangerWorkletNode extends AudioWorkletNode {\\n constructor(context, listener) {\\n super(context, \\\"voice-changer-worklet-processor\\\");\\n this.setting = _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting;\\n this.requestChunks = [];\\n this.socket = null;\\n // performance monitor\\n this.bufferStart = 0;\\n this.isOutputRecording = false;\\n this.recordingOutputChunk = [];\\n this.outputNode = null;\\n // Promises\\n this.startPromiseResolve = null;\\n this.stopPromiseResolve = null;\\n this.setOutputNode = (outputNode) => {\\n this.outputNode = outputNode;\\n };\\n // 設定\\n this.updateSetting = (setting) => {\\n console.log(`[WorkletNode] Updating WorkletNode Setting,`, this.setting, setting);\\n let recreateSocketIoRequired = false;\\n if (this.setting.serverUrl != setting.serverUrl || this.setting.protocol != setting.protocol) {\\n recreateSocketIoRequired = true;\\n }\\n this.setting = setting;\\n if (recreateSocketIoRequired) {\\n this.createSocketIO();\\n }\\n };\\n this.getSettings = () => {\\n return this.setting;\\n };\\n this.getSocketId = () => {\\n return this.socket?.id;\\n };\\n // 処理\\n this.createSocketIO = () => {\\n if (this.socket) {\\n this.socket.close();\\n }\\n if (this.setting.protocol === \\\"sio\\\") {\\n this.socket = (0,socket_io_client__WEBPACK_IMPORTED_MODULE_1__.io)(this.setting.serverUrl + \\\"/test\\\");\\n this.socket.on('connect_error', (err) => {\\n this.listener.notifyException(_const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION.ERR_SIO_CONNECT_FAILED, `[SIO] rconnection failed ${err}`);\\n });\\n this.socket.on('connect', () => {\\n console.log(`[SIO] connect to ${this.setting.serverUrl}`);\\n console.log(`[SIO] ${this.socket?.id}`);\\n });\\n this.socket.on('close', function (socket) {\\n console.log(`[SIO] close ${socket.id}`);\\n });\\n this.socket.on('message', (response) => {\\n console.log(\\\"message:\\\", response);\\n });\\n this.socket.on('response', (response) => {\\n const cur = Date.now();\\n const responseTime = cur - response[0];\\n const result = response[1];\\n const perf = response[2];\\n // Quick hack for server device mode\\n if (response[0] == 0) {\\n this.listener.notifyResponseTime(Math.round(perf[0] * 1000), perf.slice(1, 4));\\n return;\\n }\\n if (result.byteLength < 128 * 2) {\\n this.listener.notifyException(_const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION.ERR_SIO_INVALID_RESPONSE, `[SIO] recevied data is too short ${result.byteLength}`);\\n }\\n else {\\n if (this.outputNode != null) {\\n this.outputNode.postReceivedVoice(response[1]);\\n }\\n else {\\n this.postReceivedVoice(response[1]);\\n }\\n this.listener.notifyResponseTime(responseTime, perf);\\n }\\n });\\n }\\n };\\n this.postReceivedVoice = (data) => {\\n // Int16 to Float\\n const i16Data = new Int16Array(data);\\n const f32Data = new Float32Array(i16Data.length);\\n // console.log(`[worklet] f32DataLength${f32Data.length} i16DataLength${i16Data.length}`)\\n i16Data.forEach((x, i) => {\\n const float = (x >= 0x8000) ? -(0x10000 - x) / 0x8000 : x / 0x7FFF;\\n f32Data[i] = float;\\n });\\n // アップサンプリング\\n let upSampledBuffer = null;\\n if (this.setting.sendingSampleRate == 48000) {\\n upSampledBuffer = f32Data;\\n }\\n else {\\n upSampledBuffer = new Float32Array(f32Data.length * 2);\\n for (let i = 0; i < f32Data.length; i++) {\\n const currentFrame = f32Data[i];\\n const nextFrame = i + 1 < f32Data.length ? f32Data[i + 1] : f32Data[i];\\n upSampledBuffer[i * 2] = currentFrame;\\n upSampledBuffer[i * 2 + 1] = (currentFrame + nextFrame) / 2;\\n }\\n }\\n const req = {\\n requestType: \\\"voice\\\",\\n voice: upSampledBuffer,\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n if (this.isOutputRecording) {\\n this.recordingOutputChunk.push(upSampledBuffer);\\n }\\n };\\n this.sendBuffer = async (newBuffer) => {\\n const timestamp = Date.now();\\n if (this.setting.protocol === \\\"sio\\\") {\\n if (!this.socket) {\\n console.warn(`sio is not initialized`);\\n return;\\n }\\n // console.log(\\\"emit!\\\")\\n this.socket.emit('request_message', [\\n timestamp,\\n newBuffer.buffer\\n ]);\\n }\\n else {\\n const res = await postVoice(this.setting.serverUrl + \\\"/test\\\", timestamp, newBuffer.buffer);\\n if (res.byteLength < 128 * 2) {\\n this.listener.notifyException(_const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION.ERR_REST_INVALID_RESPONSE, `[REST] recevied data is too short ${res.byteLength}`);\\n }\\n else {\\n if (this.outputNode != null) {\\n this.outputNode.postReceivedVoice(res);\\n }\\n else {\\n this.postReceivedVoice(res);\\n }\\n this.listener.notifyResponseTime(Date.now() - timestamp);\\n }\\n }\\n };\\n this.configure = (setting) => {\\n const req = {\\n requestType: \\\"config\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: setting.numTrancateTreshold,\\n volTrancateThreshold: setting.volTrancateThreshold,\\n volTrancateLength: setting.volTrancateLength\\n };\\n this.port.postMessage(req);\\n };\\n this.start = async () => {\\n const p = new Promise((resolve) => {\\n this.startPromiseResolve = resolve;\\n });\\n const req = {\\n requestType: \\\"start\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n await p;\\n };\\n this.stop = async () => {\\n const p = new Promise((resolve) => {\\n this.stopPromiseResolve = resolve;\\n });\\n const req = {\\n requestType: \\\"stop\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n await p;\\n };\\n this.trancateBuffer = () => {\\n const req = {\\n requestType: \\\"trancateBuffer\\\",\\n voice: new Float32Array(1),\\n numTrancateTreshold: 0,\\n volTrancateThreshold: 0,\\n volTrancateLength: 0\\n };\\n this.port.postMessage(req);\\n };\\n this.startOutputRecording = () => {\\n this.recordingOutputChunk = [];\\n this.isOutputRecording = true;\\n };\\n this.stopOutputRecording = () => {\\n this.isOutputRecording = false;\\n const dataSize = this.recordingOutputChunk.reduce((prev, cur) => {\\n return prev + cur.length;\\n }, 0);\\n const samples = new Float32Array(dataSize);\\n let sampleIndex = 0;\\n for (let i = 0; i < this.recordingOutputChunk.length; i++) {\\n for (let j = 0; j < this.recordingOutputChunk[i].length; j++) {\\n samples[sampleIndex] = this.recordingOutputChunk[i][j];\\n sampleIndex++;\\n }\\n }\\n return samples;\\n };\\n this.port.onmessage = this.handleMessage.bind(this);\\n this.listener = listener;\\n this.createSocketIO();\\n console.log(`[worklet_node][voice-changer-worklet-processor] created.`);\\n }\\n _averageDownsampleBuffer(buffer, originalSampleRate, destinationSamplerate) {\\n if (originalSampleRate == destinationSamplerate) {\\n return buffer;\\n }\\n if (destinationSamplerate > originalSampleRate) {\\n throw \\\"downsampling rate show be smaller than original sample rate\\\";\\n }\\n const sampleRateRatio = originalSampleRate / destinationSamplerate;\\n const newLength = Math.round(buffer.length / sampleRateRatio);\\n const result = new Float32Array(newLength);\\n let offsetResult = 0;\\n let offsetBuffer = 0;\\n while (offsetResult < result.length) {\\n var nextOffsetBuffer = Math.round((offsetResult + 1) * sampleRateRatio);\\n // Use average value of skipped samples\\n var accum = 0, count = 0;\\n for (var i = offsetBuffer; i < nextOffsetBuffer && i < buffer.length; i++) {\\n accum += buffer[i];\\n count++;\\n }\\n result[offsetResult] = accum / count;\\n // Or you can simply get rid of the skipped samples:\\n // result[offsetResult] = buffer[nextOffsetBuffer];\\n offsetResult++;\\n offsetBuffer = nextOffsetBuffer;\\n }\\n return result;\\n }\\n handleMessage(event) {\\n // console.log(`[Node:handleMessage_] `, event.data.volume);\\n if (event.data.responseType === \\\"start_ok\\\") {\\n if (this.startPromiseResolve) {\\n this.startPromiseResolve();\\n this.startPromiseResolve = null;\\n }\\n }\\n else if (event.data.responseType === \\\"stop_ok\\\") {\\n if (this.stopPromiseResolve) {\\n this.stopPromiseResolve();\\n this.stopPromiseResolve = null;\\n }\\n }\\n else if (event.data.responseType === \\\"volume\\\") {\\n this.listener.notifyVolume(event.data.volume);\\n }\\n else if (event.data.responseType === \\\"inputData\\\") {\\n const inputData = event.data.inputData;\\n // console.log(\\\"receive input data\\\", inputData)\\n // ダウンサンプリング\\n let downsampledBuffer = null;\\n if (this.setting.sendingSampleRate == 48000) {\\n downsampledBuffer = inputData;\\n }\\n else if (this.setting.downSamplingMode == _const__WEBPACK_IMPORTED_MODULE_0__.DownSamplingMode.decimate) {\\n //////// (Kind 1) 間引き //////////\\n //// 48000Hz で入ってくるので間引いて24000Hzに変換する。\\n downsampledBuffer = new Float32Array(inputData.length / 2);\\n for (let i = 0; i < inputData.length; i++) {\\n if (i % 2 == 0) {\\n downsampledBuffer[i / 2] = inputData[i];\\n }\\n }\\n }\\n else {\\n //////// (Kind 2) 平均 //////////\\n // downsampledBuffer = this._averageDownsampleBuffer(buffer, 48000, 24000)\\n downsampledBuffer = this._averageDownsampleBuffer(inputData, 48000, this.setting.sendingSampleRate);\\n }\\n // Float to Int16\\n const arrayBuffer = new ArrayBuffer(downsampledBuffer.length * 2);\\n const dataView = new DataView(arrayBuffer);\\n for (let i = 0; i < downsampledBuffer.length; i++) {\\n let s = Math.max(-1, Math.min(1, downsampledBuffer[i]));\\n s = s < 0 ? s * 0x8000 : s * 0x7FFF;\\n dataView.setInt16(i * 2, s, true);\\n }\\n // バッファリング\\n this.requestChunks.push(arrayBuffer);\\n //// リクエストバッファの中身が、リクエスト送信数と違う場合は処理終了。\\n if (this.requestChunks.length < this.setting.inputChunkNum) {\\n return;\\n }\\n // リクエスト用の入れ物を作成\\n const windowByteLength = this.requestChunks.reduce((prev, cur) => {\\n return prev + cur.byteLength;\\n }, 0);\\n const newBuffer = new Uint8Array(windowByteLength);\\n // リクエストのデータをセット\\n this.requestChunks.reduce((prev, cur) => {\\n newBuffer.set(new Uint8Array(cur), prev);\\n return prev + cur.byteLength;\\n }, 0);\\n this.sendBuffer(newBuffer);\\n this.requestChunks = [];\\n this.listener.notifySendBufferingTime(Date.now() - this.bufferStart);\\n this.bufferStart = Date.now();\\n }\\n else {\\n console.warn(`[worklet_node][voice-changer-worklet-processor] unknown response ${event.data.responseType}`, event.data);\\n }\\n }\\n}\\nconst postVoice = async (url, timestamp, buffer) => {\\n const obj = {\\n timestamp,\\n buffer: Buffer.from(buffer).toString('base64')\\n };\\n const body = JSON.stringify(obj);\\n const res = await fetch(`${url}`, {\\n method: \\\"POST\\\",\\n headers: {\\n 'Accept': 'application/json',\\n 'Content-Type': 'application/json'\\n },\\n body: body\\n });\\n try {\\n const receivedJson = await res.json();\\n const changedVoiceBase64 = receivedJson[\\\"changedVoiceBase64\\\"];\\n const buf = Buffer.from(changedVoiceBase64, \\\"base64\\\");\\n const ab = new ArrayBuffer(buf.length);\\n const view = new Uint8Array(ab);\\n for (let i = 0; i < buf.length; ++i) {\\n view[i] = buf[i];\\n }\\n return ab;\\n }\\n catch (e) {\\n console.log(\\\"Exception:\\\", e);\\n return new ArrayBuffer(10);\\n }\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/VoiceChangerWorkletNode.ts?\");\n\n/***/ }),\n\n/***/ \"./src/const.ts\":\n/*!**********************!*\\\n !*** ./src/const.ts ***!\n \\**********************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ClientType: () => (/* binding */ ClientType),\\n/* harmony export */ CrossFadeOverlapSize: () => (/* binding */ CrossFadeOverlapSize),\\n/* harmony export */ DefaultServerSetting: () => (/* binding */ DefaultServerSetting),\\n/* harmony export */ DefaultServerSetting_DDSP_SVC: () => (/* binding */ DefaultServerSetting_DDSP_SVC),\\n/* harmony export */ DefaultServerSetting_MMVCv13: () => (/* binding */ DefaultServerSetting_MMVCv13),\\n/* harmony export */ DefaultServerSetting_MMVCv15: () => (/* binding */ DefaultServerSetting_MMVCv15),\\n/* harmony export */ DefaultServerSetting_RVC: () => (/* binding */ DefaultServerSetting_RVC),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40: () => (/* binding */ DefaultServerSetting_so_vits_svc_40),\\n/* harmony export */ DefaultVoiceChangerClientSetting: () => (/* binding */ DefaultVoiceChangerClientSetting),\\n/* harmony export */ DefaultWorkletNodeSetting: () => (/* binding */ DefaultWorkletNodeSetting),\\n/* harmony export */ DefaultWorkletNodeSetting_DDSP_SVC: () => (/* binding */ DefaultWorkletNodeSetting_DDSP_SVC),\\n/* harmony export */ DefaultWorkletNodeSetting_RVC: () => (/* binding */ DefaultWorkletNodeSetting_RVC),\\n/* harmony export */ DefaultWorkletNodeSetting_so_vits_svc_40: () => (/* binding */ DefaultWorkletNodeSetting_so_vits_svc_40),\\n/* harmony export */ DefaultWorkletSetting: () => (/* binding */ DefaultWorkletSetting),\\n/* harmony export */ DiffMethod: () => (/* binding */ DiffMethod),\\n/* harmony export */ DownSamplingMode: () => (/* binding */ DownSamplingMode),\\n/* harmony export */ F0Detector: () => (/* binding */ F0Detector),\\n/* harmony export */ Framework: () => (/* binding */ Framework),\\n/* harmony export */ INDEXEDDB_DB_APP_NAME: () => (/* binding */ INDEXEDDB_DB_APP_NAME),\\n/* harmony export */ INDEXEDDB_DB_NAME: () => (/* binding */ INDEXEDDB_DB_NAME),\\n/* harmony export */ INDEXEDDB_KEY_CLIENT: () => (/* binding */ INDEXEDDB_KEY_CLIENT),\\n/* harmony export */ INDEXEDDB_KEY_MODEL_DATA: () => (/* binding */ INDEXEDDB_KEY_MODEL_DATA),\\n/* harmony export */ INDEXEDDB_KEY_SERVER: () => (/* binding */ INDEXEDDB_KEY_SERVER),\\n/* harmony export */ INDEXEDDB_KEY_WORKLET: () => (/* binding */ INDEXEDDB_KEY_WORKLET),\\n/* harmony export */ INDEXEDDB_KEY_WORKLETNODE: () => (/* binding */ INDEXEDDB_KEY_WORKLETNODE),\\n/* harmony export */ InputSampleRate: () => (/* binding */ InputSampleRate),\\n/* harmony export */ MAX_MODEL_SLOT_NUM: () => (/* binding */ MAX_MODEL_SLOT_NUM),\\n/* harmony export */ ModelSamplingRate: () => (/* binding */ ModelSamplingRate),\\n/* harmony export */ OnnxExecutionProvider: () => (/* binding */ OnnxExecutionProvider),\\n/* harmony export */ Protocol: () => (/* binding */ Protocol),\\n/* harmony export */ RVCModelType: () => (/* binding */ RVCModelType),\\n/* harmony export */ SampleRate: () => (/* binding */ SampleRate),\\n/* harmony export */ SendingSampleRate: () => (/* binding */ SendingSampleRate),\\n/* harmony export */ ServerSettingKey: () => (/* binding */ ServerSettingKey),\\n/* harmony export */ VOICE_CHANGER_CLIENT_EXCEPTION: () => (/* binding */ VOICE_CHANGER_CLIENT_EXCEPTION),\\n/* harmony export */ VoiceChangerType: () => (/* binding */ VoiceChangerType)\\n/* harmony export */ });\\n// (★1) chunk sizeは 128サンプル, 256byte(int16)と定義。\\n// (★2) 256byte(最低バッファサイズ256から間引いた個数x2byte)をchunkとして管理。\\n// 24000sample -> 1sec, 128sample(1chunk) -> 5.333msec\\n// 187.5chunk -> 1sec\\nconst ClientType = {\\n \\\"MMVCv15\\\": \\\"MMVCv15\\\",\\n \\\"MMVCv13\\\": \\\"MMVCv13\\\",\\n \\\"so-vits-svc-40\\\": \\\"so-vits-svc-40\\\",\\n \\\"DDSP-SVC\\\": \\\"DDSP-SVC\\\",\\n \\\"RVC\\\": \\\"RVC\\\"\\n};\\nconst VoiceChangerType = {\\n \\\"MMVCv15\\\": \\\"MMVCv15\\\",\\n \\\"MMVCv13\\\": \\\"MMVCv13\\\",\\n \\\"so-vits-svc-40\\\": \\\"so-vits-svc-40\\\",\\n \\\"DDSP-SVC\\\": \\\"DDSP-SVC\\\",\\n \\\"RVC\\\": \\\"RVC\\\"\\n};\\n///////////////////////\\n// サーバセッティング\\n///////////////////////\\nconst InputSampleRate = {\\n \\\"48000\\\": 48000,\\n \\\"44100\\\": 44100,\\n \\\"24000\\\": 24000\\n};\\nconst ModelSamplingRate = {\\n \\\"48000\\\": 48000,\\n \\\"40000\\\": 40000,\\n \\\"32000\\\": 32000\\n};\\nconst CrossFadeOverlapSize = {\\n \\\"1024\\\": 1024,\\n \\\"2048\\\": 2048,\\n \\\"4096\\\": 4096,\\n};\\nconst OnnxExecutionProvider = {\\n \\\"CPUExecutionProvider\\\": \\\"CPUExecutionProvider\\\",\\n \\\"CUDAExecutionProvider\\\": \\\"CUDAExecutionProvider\\\",\\n \\\"DmlExecutionProvider\\\": \\\"DmlExecutionProvider\\\",\\n \\\"OpenVINOExecutionProvider\\\": \\\"OpenVINOExecutionProvider\\\",\\n};\\nconst Framework = {\\n \\\"PyTorch\\\": \\\"PyTorch\\\",\\n \\\"ONNX\\\": \\\"ONNX\\\",\\n};\\nconst F0Detector = {\\n \\\"dio\\\": \\\"dio\\\",\\n \\\"harvest\\\": \\\"harvest\\\",\\n // \\\"parselmouth\\\": \\\"parselmouth\\\",\\n \\\"crepe\\\": \\\"crepe\\\",\\n};\\nconst DiffMethod = {\\n \\\"pndm\\\": \\\"pndm\\\",\\n \\\"dpm-solver\\\": \\\"dpm-solver\\\",\\n};\\nconst RVCModelType = {\\n \\\"pyTorchRVC\\\": \\\"pyTorchRVC\\\",\\n \\\"pyTorchRVCNono\\\": \\\"pyTorchRVCNono\\\",\\n \\\"pyTorchRVCv2\\\": \\\"pyTorchRVCv2\\\",\\n \\\"pyTorchRVCv2Nono\\\": \\\"pyTorchRVCv2Nono\\\",\\n \\\"pyTorchWebUI\\\": \\\"pyTorchWebUI\\\",\\n \\\"pyTorchWebUINono\\\": \\\"pyTorchWebUINono\\\",\\n \\\"onnxRVC\\\": \\\"onnxRVC\\\",\\n \\\"onnxRVCNono\\\": \\\"onnxRVCNono\\\",\\n};\\nconst ServerSettingKey = {\\n \\\"srcId\\\": \\\"srcId\\\",\\n \\\"dstId\\\": \\\"dstId\\\",\\n \\\"gpu\\\": \\\"gpu\\\",\\n \\\"crossFadeOffsetRate\\\": \\\"crossFadeOffsetRate\\\",\\n \\\"crossFadeEndRate\\\": \\\"crossFadeEndRate\\\",\\n \\\"crossFadeOverlapSize\\\": \\\"crossFadeOverlapSize\\\",\\n \\\"framework\\\": \\\"framework\\\",\\n \\\"onnxExecutionProvider\\\": \\\"onnxExecutionProvider\\\",\\n \\\"f0Factor\\\": \\\"f0Factor\\\",\\n \\\"f0Detector\\\": \\\"f0Detector\\\",\\n \\\"recordIO\\\": \\\"recordIO\\\",\\n \\\"enableServerAudio\\\": \\\"enableServerAudio\\\",\\n \\\"serverAudioStated\\\": \\\"serverAudioStated\\\",\\n \\\"serverInputAudioSampleRate\\\": \\\"serverInputAudioSampleRate\\\",\\n \\\"serverOutputAudioSampleRate\\\": \\\"serverOutputAudioSampleRate\\\",\\n \\\"serverInputAudioBufferSize\\\": \\\"serverInputAudioBufferSize\\\",\\n \\\"serverOutputAudioBufferSize\\\": \\\"serverOutputAudioBufferSize\\\",\\n \\\"serverInputDeviceId\\\": \\\"serverInputDeviceId\\\",\\n \\\"serverOutputDeviceId\\\": \\\"serverOutputDeviceId\\\",\\n \\\"serverReadChunkSize\\\": \\\"serverReadChunkSize\\\",\\n \\\"serverInputAudioGain\\\": \\\"serverInputAudioGain\\\",\\n \\\"serverOutputAudioGain\\\": \\\"serverOutputAudioGain\\\",\\n \\\"tran\\\": \\\"tran\\\",\\n \\\"noiseScale\\\": \\\"noiseScale\\\",\\n \\\"predictF0\\\": \\\"predictF0\\\",\\n \\\"silentThreshold\\\": \\\"silentThreshold\\\",\\n \\\"extraConvertSize\\\": \\\"extraConvertSize\\\",\\n \\\"clusterInferRatio\\\": \\\"clusterInferRatio\\\",\\n \\\"indexRatio\\\": \\\"indexRatio\\\",\\n \\\"protect\\\": \\\"protect\\\",\\n \\\"rvcQuality\\\": \\\"rvcQuality\\\",\\n \\\"modelSamplingRate\\\": \\\"modelSamplingRate\\\",\\n \\\"silenceFront\\\": \\\"silenceFront\\\",\\n \\\"modelSlotIndex\\\": \\\"modelSlotIndex\\\",\\n \\\"useEnhancer\\\": \\\"useEnhancer\\\",\\n \\\"useDiff\\\": \\\"useDiff\\\",\\n // \\\"useDiffDpm\\\": \\\"useDiffDpm\\\",\\n \\\"diffMethod\\\": \\\"diffMethod\\\",\\n \\\"useDiffSilence\\\": \\\"useDiffSilence\\\",\\n \\\"diffAcc\\\": \\\"diffAcc\\\",\\n \\\"diffSpkId\\\": \\\"diffSpkId\\\",\\n \\\"kStep\\\": \\\"kStep\\\",\\n \\\"threshold\\\": \\\"threshold\\\",\\n \\\"inputSampleRate\\\": \\\"inputSampleRate\\\",\\n \\\"enableDirectML\\\": \\\"enableDirectML\\\",\\n};\\nconst DefaultServerSetting = {\\n // VC Common \\n inputSampleRate: 48000,\\n crossFadeOffsetRate: 0.0,\\n crossFadeEndRate: 1.0,\\n crossFadeOverlapSize: CrossFadeOverlapSize[1024],\\n recordIO: 0,\\n enableServerAudio: 0,\\n serverAudioStated: 0,\\n serverInputAudioSampleRate: 48000,\\n serverOutputAudioSampleRate: 48000,\\n serverInputAudioBufferSize: 1024 * 24,\\n serverOutputAudioBufferSize: 1024 * 24,\\n serverInputDeviceId: -1,\\n serverOutputDeviceId: -1,\\n serverReadChunkSize: 256,\\n serverInputAudioGain: 1.0,\\n serverOutputAudioGain: 1.0,\\n // VC Specific\\n srcId: 0,\\n dstId: 1,\\n gpu: 0,\\n framework: Framework.PyTorch,\\n f0Factor: 1.0,\\n onnxExecutionProvider: OnnxExecutionProvider.CPUExecutionProvider,\\n f0Detector: F0Detector.dio,\\n tran: 0,\\n noiseScale: 0,\\n predictF0: 0,\\n silentThreshold: 0,\\n extraConvertSize: 0,\\n clusterInferRatio: 0,\\n indexRatio: 0,\\n protect: 0.5,\\n rvcQuality: 0,\\n modelSamplingRate: 48000,\\n silenceFront: 1,\\n modelSlotIndex: 0,\\n sampleModels: [],\\n gpus: [],\\n useEnhancer: 0,\\n useDiff: 1,\\n diffMethod: \\\"dpm-solver\\\",\\n useDiffSilence: 0,\\n diffAcc: 20,\\n diffSpkId: 1,\\n kStep: 120,\\n threshold: -45,\\n enableDirectML: 0,\\n // \\n status: \\\"ok\\\",\\n configFile: \\\"\\\",\\n pyTorchModelFile: \\\"\\\",\\n onnxModelFile: \\\"\\\",\\n onnxExecutionProviders: [],\\n modelSlots: [],\\n serverAudioInputDevices: [],\\n serverAudioOutputDevices: []\\n};\\nconst DefaultServerSetting_MMVCv15 = {\\n ...DefaultServerSetting, dstId: 101,\\n};\\nconst DefaultServerSetting_MMVCv13 = {\\n ...DefaultServerSetting, srcId: 107, dstId: 100,\\n};\\nconst DefaultServerSetting_so_vits_svc_40 = {\\n ...DefaultServerSetting, tran: 10, noiseScale: 0.3, extraConvertSize: 1024 * 8, clusterInferRatio: 0.1,\\n};\\nconst DefaultServerSetting_DDSP_SVC = {\\n ...DefaultServerSetting, dstId: 1, tran: 10, extraConvertSize: 1024 * 8\\n};\\nconst DefaultServerSetting_RVC = {\\n ...DefaultServerSetting, tran: 10, extraConvertSize: 1024 * 4, f0Detector: F0Detector.harvest\\n};\\nconst DefaultWorkletSetting = {\\n numTrancateTreshold: 100,\\n volTrancateThreshold: 0.0005,\\n volTrancateLength: 32\\n};\\n///////////////////////\\n// Worklet Nodeセッティング\\n///////////////////////\\nconst Protocol = {\\n \\\"sio\\\": \\\"sio\\\",\\n \\\"rest\\\": \\\"rest\\\",\\n};\\nconst SendingSampleRate = {\\n \\\"48000\\\": 48000,\\n \\\"44100\\\": 44100,\\n \\\"24000\\\": 24000\\n};\\nconst DownSamplingMode = {\\n \\\"decimate\\\": \\\"decimate\\\",\\n \\\"average\\\": \\\"average\\\"\\n};\\nconst DefaultWorkletNodeSetting = {\\n serverUrl: \\\"\\\",\\n protocol: \\\"sio\\\",\\n sendingSampleRate: 48000,\\n inputChunkNum: 48,\\n downSamplingMode: \\\"average\\\"\\n};\\nconst DefaultWorkletNodeSetting_so_vits_svc_40 = {\\n ...DefaultWorkletNodeSetting, inputChunkNum: 128,\\n};\\nconst DefaultWorkletNodeSetting_DDSP_SVC = {\\n ...DefaultWorkletNodeSetting, inputChunkNum: 256,\\n};\\nconst DefaultWorkletNodeSetting_RVC = {\\n ...DefaultWorkletNodeSetting, inputChunkNum: 256,\\n};\\n///////////////////////\\n// クライアントセッティング\\n///////////////////////\\nconst SampleRate = {\\n \\\"48000\\\": 48000,\\n};\\nconst DefaultVoiceChangerClientSetting = {\\n audioInput: null,\\n sampleRate: 48000,\\n speakers: [\\n {\\n \\\"id\\\": 0,\\n \\\"name\\\": \\\"user\\\"\\n },\\n {\\n \\\"id\\\": 101,\\n \\\"name\\\": \\\"ずんだもん\\\"\\n },\\n {\\n \\\"id\\\": 102,\\n \\\"name\\\": \\\"そら\\\"\\n },\\n {\\n \\\"id\\\": 103,\\n \\\"name\\\": \\\"めたん\\\"\\n },\\n {\\n \\\"id\\\": 104,\\n \\\"name\\\": \\\"つむぎ\\\"\\n }\\n ],\\n correspondences: [],\\n echoCancel: false,\\n noiseSuppression: false,\\n noiseSuppression2: false,\\n inputGain: 1.0,\\n outputGain: 1.0\\n};\\n////////////////////////////////////\\n// Exceptions\\n////////////////////////////////////\\nconst VOICE_CHANGER_CLIENT_EXCEPTION = {\\n ERR_SIO_CONNECT_FAILED: \\\"ERR_SIO_CONNECT_FAILED\\\",\\n ERR_SIO_INVALID_RESPONSE: \\\"ERR_SIO_INVALID_RESPONSE\\\",\\n ERR_REST_INVALID_RESPONSE: \\\"ERR_REST_INVALID_RESPONSE\\\",\\n ERR_MIC_STREAM_NOT_INITIALIZED: \\\"ERR_MIC_STREAM_NOT_INITIALIZED\\\"\\n};\\n////////////////////////////////////\\n// indexedDB\\n////////////////////////////////////\\nconst INDEXEDDB_DB_APP_NAME = \\\"INDEXEDDB_KEY_VOICE_CHANGER\\\";\\nconst INDEXEDDB_DB_NAME = \\\"INDEXEDDB_KEY_VOICE_CHANGER_DB\\\";\\nconst INDEXEDDB_KEY_CLIENT = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_CLIENT\\\";\\nconst INDEXEDDB_KEY_SERVER = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_SERVER\\\";\\nconst INDEXEDDB_KEY_WORKLETNODE = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_WORKLETNODE\\\";\\nconst INDEXEDDB_KEY_MODEL_DATA = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_MODEL_DATA\\\";\\nconst INDEXEDDB_KEY_WORKLET = \\\"INDEXEDDB_KEY_VOICE_CHANGER_LIB_WORKLET\\\";\\nconst MAX_MODEL_SLOT_NUM = 4;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/const.ts?\");\n\n/***/ }),\n\n/***/ \"./src/exceptions.ts\":\n/*!***************************!*\\\n !*** ./src/exceptions.ts ***!\n \\***************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ModelLoadException: () => (/* binding */ ModelLoadException)\\n/* harmony export */ });\\nclass ModelLoadException extends Error {\\n constructor(causeFileType) {\\n super(`Model Load Exception:${causeFileType}`);\\n this.causeFileType = \\\"\\\";\\n this.causeFileType = causeFileType;\\n this.name = this.constructor.name;\\n Error.captureStackTrace(this);\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/exceptions.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useClient.ts\":\n/*!********************************!*\\\n !*** ./src/hooks/useClient.ts ***!\n \\********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useClient: () => (/* binding */ useClient)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../VoiceChangerClient */ \\\"./src/VoiceChangerClient.ts\\\");\\n/* harmony import */ var _useClientSetting__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useClientSetting */ \\\"./src/hooks/useClientSetting.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n/* harmony import */ var _useServerSetting__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./useServerSetting */ \\\"./src/hooks/useServerSetting.ts\\\");\\n/* harmony import */ var _useWorkletNodeSetting__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./useWorkletNodeSetting */ \\\"./src/hooks/useWorkletNodeSetting.ts\\\");\\n/* harmony import */ var _useWorkletSetting__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./useWorkletSetting */ \\\"./src/hooks/useWorkletSetting.ts\\\");\\n\\n\\n\\n\\n\\n\\n\\nconst InitialPerformanceData = {\\n responseTime: 0,\\n preprocessTime: 0,\\n mainprocessTime: 0,\\n postprocessTime: 0\\n};\\nconst useClient = (props) => {\\n const [initialized, setInitialized] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);\\n // const [clientType, setClientType] = useState(null)\\n // (1-1) クライアント \\n const voiceChangerClientRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(null);\\n const [voiceChangerClient, setVoiceChangerClient] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(voiceChangerClientRef.current);\\n //// クライアント初期化待ち用フラグ\\n const initializedResolveRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)();\\n const initializedPromise = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return new Promise((resolve) => {\\n initializedResolveRef.current = resolve;\\n });\\n }, []);\\n // (1-2) 各種設定I/F\\n const clientSetting = (0,_useClientSetting__WEBPACK_IMPORTED_MODULE_2__.useClientSetting)({ clientType: props.clientType, voiceChangerClient, audioContext: props.audioContext });\\n const workletNodeSetting = (0,_useWorkletNodeSetting__WEBPACK_IMPORTED_MODULE_5__.useWorkletNodeSetting)({ clientType: props.clientType, voiceChangerClient });\\n const workletSetting = (0,_useWorkletSetting__WEBPACK_IMPORTED_MODULE_6__.useWorkletSetting)({ clientType: props.clientType, voiceChangerClient });\\n const serverSetting = (0,_useServerSetting__WEBPACK_IMPORTED_MODULE_4__.useServerSetting)({ clientType: props.clientType, voiceChangerClient });\\n const indexedDBState = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_3__.useIndexedDB)({ clientType: props.clientType });\\n // (1-3) モニタリングデータ\\n const [bufferingTime, setBufferingTime] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n const [performance, setPerformance] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(InitialPerformanceData);\\n const [volume, setVolume] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n const [ioErrorCount, setIoErrorCount] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n //// Server Audio Deviceを使うとき、モニタリングデータはpolling\\n const updatePerformance = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n if (!voiceChangerClientRef.current) {\\n return null;\\n }\\n return async () => {\\n if (voiceChangerClientRef.current) {\\n const performance = await voiceChangerClientRef.current.getPerformance();\\n const responseTime = performance[0];\\n const preprocessTime = performance[1];\\n const mainprocessTime = performance[2];\\n const postprocessTime = performance[3];\\n setPerformance({ responseTime, preprocessTime, mainprocessTime, postprocessTime });\\n }\\n else {\\n const responseTime = 0;\\n const preprocessTime = 0;\\n const mainprocessTime = 0;\\n const postprocessTime = 0;\\n setPerformance({ responseTime, preprocessTime, mainprocessTime, postprocessTime });\\n }\\n };\\n }, [voiceChangerClientRef.current]);\\n // (1-4) エラーステータス\\n const ioErrorCountRef = (0,react__WEBPACK_IMPORTED_MODULE_0__.useRef)(0);\\n const resetIoErrorCount = () => {\\n ioErrorCountRef.current = 0;\\n setIoErrorCount(ioErrorCountRef.current);\\n };\\n // (2-1) 初期化処理\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const initialized = async () => {\\n if (!props.audioContext) {\\n return;\\n }\\n const voiceChangerClient = new _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_1__.VoiceChangerClient(props.audioContext, true, {\\n notifySendBufferingTime: (val) => {\\n setBufferingTime(val);\\n },\\n notifyResponseTime: (val, perf) => {\\n const responseTime = val;\\n const preprocessTime = perf ? Math.ceil(perf[0] * 1000) : 0;\\n const mainprocessTime = perf ? Math.ceil(perf[1] * 1000) : 0;\\n const postprocessTime = perf ? Math.ceil(perf[2] * 1000) : 0;\\n setPerformance({ responseTime, preprocessTime, mainprocessTime, postprocessTime });\\n },\\n notifyException: (mes) => {\\n if (mes.length > 0) {\\n console.log(`error:${mes}`);\\n ioErrorCountRef.current += 1;\\n setIoErrorCount(ioErrorCountRef.current);\\n }\\n },\\n notifyVolume: (vol) => {\\n setVolume(vol);\\n }\\n });\\n await voiceChangerClient.isInitialized();\\n voiceChangerClientRef.current = voiceChangerClient;\\n setVoiceChangerClient(voiceChangerClientRef.current);\\n console.log(\\\"[useClient] client initialized\\\");\\n // const audio = document.getElementById(props.audioOutputElementId) as HTMLAudioElement\\n // audio.srcObject = voiceChangerClientRef.current.stream\\n // audio.play()\\n initializedResolveRef.current();\\n setInitialized(true);\\n };\\n initialized();\\n }, [props.audioContext]);\\n const setAudioOutputElementId = (elemId) => {\\n if (!voiceChangerClientRef.current) {\\n console.warn(\\\"[voiceChangerClient] is not ready for set audio output.\\\");\\n return;\\n }\\n const audio = document.getElementById(elemId);\\n if (audio.paused) {\\n audio.srcObject = voiceChangerClientRef.current.stream;\\n audio.play();\\n }\\n };\\n // (2-2) 情報リロード\\n const getInfo = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n await initializedPromise;\\n await clientSetting.reloadClientSetting(); // 実質的な処理の意味はない\\n await serverSetting.reloadServerInfo();\\n };\\n }, [clientSetting.reloadClientSetting, serverSetting.reloadServerInfo]);\\n const clearSetting = async () => {\\n await clientSetting.clearSetting();\\n await workletNodeSetting.clearSetting();\\n await workletSetting.clearSetting();\\n await serverSetting.clearSetting();\\n };\\n return {\\n initialized,\\n // 各種設定I/Fへの参照\\n clientSetting,\\n workletNodeSetting,\\n workletSetting,\\n serverSetting,\\n indexedDBState,\\n // モニタリングデータ\\n bufferingTime,\\n volume,\\n performance,\\n updatePerformance,\\n // setClientType,\\n // 情報取得\\n getInfo,\\n // 設定クリア\\n clearSetting,\\n // AudioOutputElement 設定\\n setAudioOutputElementId,\\n ioErrorCount,\\n resetIoErrorCount\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useClient.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useClientSetting.ts\":\n/*!***************************************!*\\\n !*** ./src/hooks/useClientSetting.ts ***!\n \\***************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useClientSetting: () => (/* binding */ useClientSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n\\n\\n\\nconst useClientSetting = (props) => {\\n const [clientSetting, setClientSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_const__WEBPACK_IMPORTED_MODULE_1__.DefaultVoiceChangerClientSetting);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // 初期化 その1 DBから取得\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const loadCache = async () => {\\n const setting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_CLIENT);\\n if (!setting) {\\n return;\\n }\\n console.log(\\\"[ClientSetting] Load Setting from db\\\", setting);\\n if (setting.audioInput == \\\"null\\\") {\\n setting.audioInput = null;\\n }\\n if (setting) {\\n setClientSetting({ ...setting });\\n }\\n };\\n loadCache();\\n }, []);\\n // 初期化 その2 クライアントに設定\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const initialSetup = async () => {\\n if (!props.voiceChangerClient)\\n return;\\n try {\\n await props.voiceChangerClient.updateClientSetting(clientSetting);\\n }\\n catch (e) {\\n console.error(e);\\n }\\n };\\n initialSetup();\\n }, [props.voiceChangerClient]);\\n const storeSetting = async (setting) => {\\n const storeData = { ...setting };\\n if (typeof storeData.audioInput != \\\"string\\\") {\\n storeData.audioInput = null;\\n }\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_CLIENT, storeData);\\n setClientSetting(setting);\\n };\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_CLIENT);\\n };\\n //////////////\\n // 設定\\n /////////////\\n const updateClientSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (_clientSetting) => {\\n if (!props.voiceChangerClient)\\n return;\\n for (let k in _clientSetting) {\\n const cur_v = clientSetting[k];\\n const new_v = _clientSetting[k];\\n if (cur_v != new_v) {\\n storeSetting(_clientSetting);\\n await props.voiceChangerClient.updateClientSetting(_clientSetting);\\n break;\\n }\\n }\\n };\\n }, [props.voiceChangerClient, clientSetting]);\\n const setServerUrl = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return (url) => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.setServerUrl(url, true);\\n };\\n }, [props.voiceChangerClient]);\\n //////////////\\n // 操作\\n /////////////\\n // (1) start\\n const start = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n // props.voiceChangerClient.setServerUrl(setting.mmvcServerUrl, true)\\n await props.voiceChangerClient.start();\\n };\\n }, [props.voiceChangerClient]);\\n // (2) stop\\n const stop = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n await props.voiceChangerClient.stop();\\n };\\n }, [props.voiceChangerClient]);\\n const reloadClientSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n await props.voiceChangerClient.getClientSettings();\\n };\\n }, [props.voiceChangerClient]);\\n return {\\n clientSetting,\\n clearSetting,\\n setServerUrl,\\n updateClientSetting,\\n start,\\n stop,\\n reloadClientSetting\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useClientSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useIndexedDB.ts\":\n/*!***********************************!*\\\n !*** ./src/hooks/useIndexedDB.ts ***!\n \\***********************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useIndexedDB: () => (/* binding */ useIndexedDB)\\n/* harmony export */ });\\n/* harmony import */ var localforage__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! localforage */ \\\"./node_modules/localforage/dist/localforage.js\\\");\\n/* harmony import */ var localforage__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(localforage__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n\\n\\n\\nconst useIndexedDB = (props) => {\\n const clientType = props.clientType || \\\"default\\\";\\n localforage__WEBPACK_IMPORTED_MODULE_0___default().config({\\n driver: (localforage__WEBPACK_IMPORTED_MODULE_0___default().INDEXEDDB),\\n name: _const__WEBPACK_IMPORTED_MODULE_2__.INDEXEDDB_DB_APP_NAME,\\n version: 1.0,\\n storeName: `${_const__WEBPACK_IMPORTED_MODULE_2__.INDEXEDDB_DB_NAME}`,\\n description: 'appStorage'\\n });\\n const setItem = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async (key, value) => {\\n const clientKey = `${clientType}_${key}`;\\n await localforage__WEBPACK_IMPORTED_MODULE_0___default().setItem(clientKey, value);\\n };\\n }, [props.clientType]);\\n const getItem = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async (key) => {\\n const clientKey = `${clientType}_${key}`;\\n return await localforage__WEBPACK_IMPORTED_MODULE_0___default().getItem(clientKey);\\n };\\n }, [props.clientType]);\\n const removeItem = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async (key) => {\\n const clientKey = `${clientType}_${key}`;\\n console.log(\\\"remove key:\\\", clientKey);\\n return await localforage__WEBPACK_IMPORTED_MODULE_0___default().removeItem(clientKey);\\n };\\n }, [props.clientType]);\\n const removeDB = (0,react__WEBPACK_IMPORTED_MODULE_1__.useMemo)(() => {\\n return async () => {\\n const keys = await localforage__WEBPACK_IMPORTED_MODULE_0___default().keys();\\n for (const key of keys) {\\n console.log(\\\"remove key:\\\", key);\\n await localforage__WEBPACK_IMPORTED_MODULE_0___default().removeItem(key);\\n }\\n };\\n }, [props.clientType]);\\n return {\\n dummy: \\\"\\\",\\n setItem,\\n getItem,\\n removeItem,\\n removeDB\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useIndexedDB.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useServerSetting.ts\":\n/*!***************************************!*\\\n !*** ./src/hooks/useServerSetting.ts ***!\n \\***************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ InitialFileUploadSetting: () => (/* binding */ InitialFileUploadSetting),\\n/* harmony export */ ModelAssetName: () => (/* binding */ ModelAssetName),\\n/* harmony export */ ModelFileKind: () => (/* binding */ ModelFileKind),\\n/* harmony export */ useServerSetting: () => (/* binding */ useServerSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n\\n\\n\\nconst ModelAssetName = {\\n iconFile: \\\"iconFile\\\"\\n};\\nconst ModelFileKind = {\\n \\\"mmvcv13Config\\\": \\\"mmvcv13Config\\\",\\n \\\"mmvcv13Model\\\": \\\"mmvcv13Model\\\",\\n \\\"mmvcv15Config\\\": \\\"mmvcv15Config\\\",\\n \\\"mmvcv15Model\\\": \\\"mmvcv15Model\\\",\\n \\\"soVitsSvc40Config\\\": \\\"soVitsSvc40Config\\\",\\n \\\"soVitsSvc40Model\\\": \\\"soVitsSvc40Model\\\",\\n \\\"soVitsSvc40Cluster\\\": \\\"soVitsSvc40Cluster\\\",\\n \\\"rvcModel\\\": \\\"rvcModel\\\",\\n \\\"rvcIndex\\\": \\\"rvcIndex\\\",\\n \\\"ddspSvcModel\\\": \\\"ddspSvcModel\\\",\\n \\\"ddspSvcModelConfig\\\": \\\"ddspSvcModelConfig\\\",\\n \\\"ddspSvcDiffusion\\\": \\\"ddspSvcDiffusion\\\",\\n \\\"ddspSvcDiffusionConfig\\\": \\\"ddspSvcDiffusionConfig\\\",\\n};\\nconst InitialFileUploadSetting = {\\n isHalf: true,\\n uploaded: false,\\n defaultTune: 0,\\n defaultIndexRatio: 1,\\n defaultProtect: 0.5,\\n framework: _const__WEBPACK_IMPORTED_MODULE_1__.Framework.PyTorch,\\n params: \\\"{}\\\",\\n mmvcv13Config: null,\\n mmvcv13Model: null,\\n mmvcv15Config: null,\\n mmvcv15Model: null,\\n soVitsSvc40Config: null,\\n soVitsSvc40Model: null,\\n soVitsSvc40Cluster: null,\\n rvcModel: null,\\n rvcFeature: null,\\n rvcIndex: null,\\n isSampleMode: false,\\n sampleId: null,\\n rvcIndexDownload: true,\\n ddspSvcModel: null,\\n ddspSvcModelConfig: null,\\n ddspSvcDiffusion: null,\\n ddspSvcDiffusionConfig: null,\\n};\\nconst useServerSetting = (props) => {\\n // const settingRef = useRef(DefaultVoiceChangerServerSetting)\\n const getDefaultServerSetting = () => {\\n if (props.clientType == \\\"MMVCv13\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_MMVCv13;\\n }\\n else if (props.clientType == \\\"MMVCv15\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_MMVCv15;\\n }\\n else if (props.clientType == \\\"so-vits-svc-40\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_so_vits_svc_40;\\n }\\n else if (props.clientType == \\\"DDSP-SVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_DDSP_SVC;\\n }\\n else if (props.clientType == \\\"RVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_RVC;\\n }\\n else {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultServerSetting_MMVCv15;\\n }\\n };\\n const [serverSetting, setServerSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(getDefaultServerSetting());\\n const [fileUploadSettings, setFileUploadSettings] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)([]);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // clientTypeが新しく設定されたときに、serverのmodelType動作を変更+設定反映\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n if (!props.voiceChangerClient)\\n return;\\n if (!props.clientType)\\n return;\\n const setInitialSetting = async () => {\\n // Set Model Type\\n await props.voiceChangerClient.switchModelType(props.clientType);\\n // Load Default (and Cache) and set\\n const defaultServerSetting = getDefaultServerSetting();\\n const cachedServerSetting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER);\\n let initialSetting;\\n if (cachedServerSetting) {\\n initialSetting = {\\n ...defaultServerSetting, ...cachedServerSetting,\\n serverAudioStated: 0,\\n inputSampleRate: 48000\\n }; // sample rateは時限措置\\n }\\n else {\\n initialSetting = { ...defaultServerSetting };\\n }\\n setServerSetting(initialSetting);\\n // upload setting\\n for (let i = 0; i < Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey).length; i++) {\\n const k = Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey)[i];\\n const v = initialSetting[k];\\n if (v) {\\n props.voiceChangerClient.updateServerSettings(k, \\\"\\\" + v);\\n }\\n }\\n // Load file upload cache\\n const loadedFileUploadSettings = [];\\n for (let i = 0; i < _const__WEBPACK_IMPORTED_MODULE_1__.MAX_MODEL_SLOT_NUM; i++) {\\n const modleKey = `${_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_MODEL_DATA}_${i}`;\\n const fileuploadSetting = await getItem(modleKey);\\n if (!fileuploadSetting) {\\n loadedFileUploadSettings.push(InitialFileUploadSetting);\\n }\\n else {\\n loadedFileUploadSettings.push(fileuploadSetting);\\n }\\n }\\n setFileUploadSettings(loadedFileUploadSettings);\\n reloadServerInfo();\\n };\\n setInitialSetting();\\n }, [props.voiceChangerClient, props.clientType]);\\n //////////////\\n // 設定\\n /////////////\\n const updateServerSettings = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (setting) => {\\n if (!props.voiceChangerClient)\\n return;\\n for (let i = 0; i < Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey).length; i++) {\\n const k = Object.values(_const__WEBPACK_IMPORTED_MODULE_1__.ServerSettingKey)[i];\\n const cur_v = serverSetting[k];\\n const new_v = setting[k];\\n if (cur_v != new_v) {\\n const res = await props.voiceChangerClient.updateServerSettings(k, \\\"\\\" + new_v);\\n if (res.onnxExecutionProviders && res.onnxExecutionProviders.length > 0) {\\n res.onnxExecutionProvider = res.onnxExecutionProviders[0];\\n }\\n else {\\n res.onnxExecutionProvider = \\\"CPUExecutionProvider\\\";\\n }\\n setServerSetting(res);\\n const storeData = { ...res };\\n storeData.recordIO = 0;\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER, storeData);\\n }\\n }\\n };\\n }, [props.voiceChangerClient, serverSetting]);\\n const setFileUploadSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (slot, fileUploadSetting) => {\\n fileUploadSetting.uploaded = false;\\n fileUploadSettings[slot] = fileUploadSetting;\\n setFileUploadSettings([...fileUploadSettings]);\\n };\\n }, [fileUploadSettings]);\\n //////////////\\n // 操作\\n /////////////\\n const [uploadProgress, setUploadProgress] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(0);\\n const [isUploading, setIsUploading] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(false);\\n // (e) モデルアップロード\\n const _uploadFile2 = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (file, onprogress, dir = \\\"\\\") => {\\n if (!props.voiceChangerClient)\\n return;\\n console.log(\\\"uploading..1.\\\", file);\\n console.log(\\\"uploading..2.\\\", file.name);\\n const num = await props.voiceChangerClient.uploadFile2(dir, file, onprogress);\\n const res = await props.voiceChangerClient.concatUploadedFile(dir + file.name, num);\\n console.log(\\\"uploaded\\\", num, res);\\n };\\n }, [props.voiceChangerClient]);\\n // 新しいアップローダ\\n const uploadModel = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (setting) => {\\n if (!props.voiceChangerClient) {\\n return;\\n }\\n setUploadProgress(0);\\n setIsUploading(true);\\n if (setting.isSampleMode == false) {\\n const progRate = 1 / setting.files.length;\\n for (let i = 0; i < setting.files.length; i++) {\\n const progOffset = 100 * i * progRate;\\n await _uploadFile2(setting.files[i].file, (progress, _end) => {\\n setUploadProgress(progress * progRate + progOffset);\\n }, setting.files[i].dir);\\n }\\n }\\n const params = {\\n ...setting, files: setting.files.map((f) => { return { name: f.file.name, kind: f.kind, dir: f.dir }; })\\n };\\n const loadPromise = props.voiceChangerClient.loadModel(0, false, JSON.stringify(params));\\n await loadPromise;\\n setUploadProgress(0);\\n setIsUploading(false);\\n reloadServerInfo();\\n };\\n }, [props.voiceChangerClient]);\\n const uploadAssets = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async (slot, name, file) => {\\n if (!props.voiceChangerClient)\\n return;\\n await _uploadFile2(file, (progress, _end) => {\\n console.log(progress, _end);\\n });\\n const assetUploadSetting = {\\n slot,\\n name,\\n file: file.name\\n };\\n await props.voiceChangerClient.uploadAssets(JSON.stringify(assetUploadSetting));\\n reloadServerInfo();\\n };\\n }, [fileUploadSettings, props.voiceChangerClient, props.clientType]);\\n const reloadServerInfo = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n const res = await props.voiceChangerClient.getServerSettings();\\n setServerSetting(res);\\n const storeData = { ...res };\\n storeData.recordIO = 0;\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER, storeData);\\n };\\n }, [props.voiceChangerClient]);\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_SERVER);\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_MODEL_DATA);\\n for (let i = 0; i < _const__WEBPACK_IMPORTED_MODULE_1__.MAX_MODEL_SLOT_NUM; i++) {\\n const modleKey = `${_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_MODEL_DATA}_${i}`;\\n await removeItem(modleKey);\\n }\\n };\\n const getOnnx = async () => {\\n return props.voiceChangerClient.getOnnx();\\n };\\n const mergeModel = async (request) => {\\n const serverInfo = await props.voiceChangerClient.mergeModel(request);\\n setServerSetting(serverInfo);\\n return serverInfo;\\n };\\n const updateModelDefault = async () => {\\n const serverInfo = await props.voiceChangerClient.updateModelDefault();\\n setServerSetting(serverInfo);\\n return serverInfo;\\n };\\n const updateModelInfo = async (slot, key, val) => {\\n const serverInfo = await props.voiceChangerClient.updateModelInfo(slot, key, val);\\n setServerSetting(serverInfo);\\n return serverInfo;\\n };\\n return {\\n serverSetting,\\n updateServerSettings,\\n clearSetting,\\n reloadServerInfo,\\n fileUploadSettings,\\n setFileUploadSetting,\\n uploadModel,\\n uploadProgress,\\n isUploading,\\n getOnnx,\\n mergeModel,\\n updateModelDefault,\\n updateModelInfo,\\n uploadAssets\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useServerSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useWorkletNodeSetting.ts\":\n/*!********************************************!*\\\n !*** ./src/hooks/useWorkletNodeSetting.ts ***!\n \\********************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useWorkletNodeSetting: () => (/* binding */ useWorkletNodeSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n\\n\\n\\nconst useWorkletNodeSetting = (props) => {\\n const defaultWorkletNodeSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n if (props.clientType == \\\"MMVCv13\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting;\\n }\\n else if (props.clientType == \\\"MMVCv15\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting;\\n }\\n else if (props.clientType == \\\"so-vits-svc-40\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting_so_vits_svc_40;\\n }\\n else if (props.clientType == \\\"DDSP-SVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting_DDSP_SVC;\\n }\\n else if (props.clientType == \\\"RVC\\\") {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting_RVC;\\n }\\n else {\\n return _const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletNodeSetting;\\n }\\n }, []);\\n const [workletNodeSetting, _setWorkletNodeSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(defaultWorkletNodeSetting);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // 初期化 その1 DBから取得\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const loadCache = async () => {\\n const setting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLETNODE);\\n if (setting) {\\n _setWorkletNodeSetting({ ...setting, sendingSampleRate: 48000 }); // sample rateは時限措置\\n }\\n };\\n loadCache();\\n }, []);\\n // 初期化 その2 クライアントに設定\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.setServerUrl(workletNodeSetting.serverUrl);\\n props.voiceChangerClient.updateWorkletNodeSetting(workletNodeSetting);\\n }, [props.voiceChangerClient]);\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLETNODE);\\n };\\n //////////////\\n // 設定\\n /////////////\\n const updateWorkletNodeSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return (_workletNodeSetting) => {\\n if (!props.voiceChangerClient)\\n return;\\n for (let k in _workletNodeSetting) {\\n const cur_v = workletNodeSetting[k];\\n const new_v = _workletNodeSetting[k];\\n if (cur_v != new_v) {\\n _setWorkletNodeSetting(_workletNodeSetting);\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLETNODE, _workletNodeSetting);\\n props.voiceChangerClient.updateWorkletNodeSetting(_workletNodeSetting);\\n break;\\n }\\n }\\n };\\n }, [props.voiceChangerClient, workletNodeSetting]);\\n const startOutputRecording = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return () => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.startOutputRecording();\\n };\\n }, [props.voiceChangerClient]);\\n const stopOutputRecording = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return new Float32Array();\\n return props.voiceChangerClient.stopOutputRecording();\\n };\\n }, [props.voiceChangerClient]);\\n const trancateBuffer = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return async () => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.trancateBuffer();\\n };\\n }, [props.voiceChangerClient]);\\n return {\\n workletNodeSetting,\\n clearSetting,\\n updateWorkletNodeSetting,\\n startOutputRecording,\\n stopOutputRecording,\\n trancateBuffer\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useWorkletNodeSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/hooks/useWorkletSetting.ts\":\n/*!****************************************!*\\\n !*** ./src/hooks/useWorkletSetting.ts ***!\n \\****************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ useWorkletSetting: () => (/* binding */ useWorkletSetting)\\n/* harmony export */ });\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \\\"react\\\");\\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _useIndexedDB__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n\\n\\n\\nconst useWorkletSetting = (props) => {\\n const [setting, _setSetting] = (0,react__WEBPACK_IMPORTED_MODULE_0__.useState)(_const__WEBPACK_IMPORTED_MODULE_1__.DefaultWorkletSetting);\\n const { setItem, getItem, removeItem } = (0,_useIndexedDB__WEBPACK_IMPORTED_MODULE_2__.useIndexedDB)({ clientType: props.clientType });\\n // DBから設定取得(キャッシュによる初期化)\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n const loadCache = async () => {\\n const setting = await getItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLET);\\n if (!setting) {\\n // デフォルト設定\\n const params = new URLSearchParams(location.search);\\n const colab = params.get(\\\"colab\\\");\\n if (colab == \\\"true\\\") {\\n _setSetting({\\n numTrancateTreshold: 300,\\n volTrancateThreshold: 0.0005,\\n volTrancateLength: 32,\\n });\\n }\\n else {\\n _setSetting({\\n numTrancateTreshold: 100,\\n volTrancateThreshold: 0.0005,\\n volTrancateLength: 32,\\n });\\n }\\n }\\n else {\\n _setSetting({\\n ...setting\\n });\\n }\\n };\\n loadCache();\\n }, []);\\n // クライアントへ設定反映 初期化, 設定変更\\n (0,react__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {\\n if (!props.voiceChangerClient)\\n return;\\n props.voiceChangerClient.configureWorklet(setting);\\n }, [props.voiceChangerClient, setting]);\\n // 設定 _setSettingがトリガでuseEffectが呼ばれて、workletに設定が飛ぶ\\n const setSetting = (0,react__WEBPACK_IMPORTED_MODULE_0__.useMemo)(() => {\\n return (setting) => {\\n if (!props.voiceChangerClient)\\n return;\\n _setSetting(setting);\\n setItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLET, setting);\\n };\\n }, [props.voiceChangerClient]);\\n // その他 オペレーション\\n const clearSetting = async () => {\\n await removeItem(_const__WEBPACK_IMPORTED_MODULE_1__.INDEXEDDB_KEY_WORKLET);\\n };\\n return {\\n setting,\\n clearSetting,\\n setSetting,\\n };\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/hooks/useWorkletSetting.ts?\");\n\n/***/ }),\n\n/***/ \"./src/index.ts\":\n/*!**********************!*\\\n !*** ./src/index.ts ***!\n \\**********************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ClientType: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.ClientType),\\n/* harmony export */ CrossFadeOverlapSize: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.CrossFadeOverlapSize),\\n/* harmony export */ DefaultServerSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting),\\n/* harmony export */ DefaultServerSetting_DDSP_SVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_DDSP_SVC),\\n/* harmony export */ DefaultServerSetting_MMVCv13: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_MMVCv13),\\n/* harmony export */ DefaultServerSetting_MMVCv15: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_MMVCv15),\\n/* harmony export */ DefaultServerSetting_RVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_RVC),\\n/* harmony export */ DefaultServerSetting_so_vits_svc_40: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultServerSetting_so_vits_svc_40),\\n/* harmony export */ DefaultVoiceChangerClientSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultVoiceChangerClientSetting),\\n/* harmony export */ DefaultWorkletNodeSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting),\\n/* harmony export */ DefaultWorkletNodeSetting_DDSP_SVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting_DDSP_SVC),\\n/* harmony export */ DefaultWorkletNodeSetting_RVC: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting_RVC),\\n/* harmony export */ DefaultWorkletNodeSetting_so_vits_svc_40: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletNodeSetting_so_vits_svc_40),\\n/* harmony export */ DefaultWorkletSetting: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DefaultWorkletSetting),\\n/* harmony export */ DiffMethod: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DiffMethod),\\n/* harmony export */ DownSamplingMode: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.DownSamplingMode),\\n/* harmony export */ F0Detector: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.F0Detector),\\n/* harmony export */ Framework: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.Framework),\\n/* harmony export */ INDEXEDDB_DB_APP_NAME: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_DB_APP_NAME),\\n/* harmony export */ INDEXEDDB_DB_NAME: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_DB_NAME),\\n/* harmony export */ INDEXEDDB_KEY_CLIENT: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_CLIENT),\\n/* harmony export */ INDEXEDDB_KEY_MODEL_DATA: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_MODEL_DATA),\\n/* harmony export */ INDEXEDDB_KEY_SERVER: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_SERVER),\\n/* harmony export */ INDEXEDDB_KEY_WORKLET: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_WORKLET),\\n/* harmony export */ INDEXEDDB_KEY_WORKLETNODE: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.INDEXEDDB_KEY_WORKLETNODE),\\n/* harmony export */ InitialFileUploadSetting: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.InitialFileUploadSetting),\\n/* harmony export */ InputSampleRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.InputSampleRate),\\n/* harmony export */ MAX_MODEL_SLOT_NUM: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.MAX_MODEL_SLOT_NUM),\\n/* harmony export */ ModelAssetName: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.ModelAssetName),\\n/* harmony export */ ModelFileKind: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.ModelFileKind),\\n/* harmony export */ ModelLoadException: () => (/* reexport safe */ _exceptions__WEBPACK_IMPORTED_MODULE_1__.ModelLoadException),\\n/* harmony export */ ModelSamplingRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.ModelSamplingRate),\\n/* harmony export */ OnnxExecutionProvider: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.OnnxExecutionProvider),\\n/* harmony export */ Protocol: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.Protocol),\\n/* harmony export */ RVCModelType: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.RVCModelType),\\n/* harmony export */ SampleRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.SampleRate),\\n/* harmony export */ SendingSampleRate: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.SendingSampleRate),\\n/* harmony export */ ServerSettingKey: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.ServerSettingKey),\\n/* harmony export */ VOICE_CHANGER_CLIENT_EXCEPTION: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.VOICE_CHANGER_CLIENT_EXCEPTION),\\n/* harmony export */ VoiceChangerClient: () => (/* reexport safe */ _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_2__.VoiceChangerClient),\\n/* harmony export */ VoiceChangerType: () => (/* reexport safe */ _const__WEBPACK_IMPORTED_MODULE_0__.VoiceChangerType),\\n/* harmony export */ createDummyMediaStream: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.createDummyMediaStream),\\n/* harmony export */ fileSelector: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.fileSelector),\\n/* harmony export */ fileSelectorAsDataURL: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.fileSelectorAsDataURL),\\n/* harmony export */ getLicenceInfo: () => (/* reexport safe */ _License__WEBPACK_IMPORTED_MODULE_6__.getLicenceInfo),\\n/* harmony export */ useClient: () => (/* reexport safe */ _hooks_useClient__WEBPACK_IMPORTED_MODULE_4__.useClient),\\n/* harmony export */ useIndexedDB: () => (/* reexport safe */ _hooks_useIndexedDB__WEBPACK_IMPORTED_MODULE_5__.useIndexedDB),\\n/* harmony export */ useServerSetting: () => (/* reexport safe */ _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__.useServerSetting),\\n/* harmony export */ validateUrl: () => (/* reexport safe */ _util__WEBPACK_IMPORTED_MODULE_3__.validateUrl)\\n/* harmony export */ });\\n/* harmony import */ var _const__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./const */ \\\"./src/const.ts\\\");\\n/* harmony import */ var _exceptions__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./exceptions */ \\\"./src/exceptions.ts\\\");\\n/* harmony import */ var _VoiceChangerClient__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./VoiceChangerClient */ \\\"./src/VoiceChangerClient.ts\\\");\\n/* harmony import */ var _util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util */ \\\"./src/util.ts\\\");\\n/* harmony import */ var _hooks_useClient__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hooks/useClient */ \\\"./src/hooks/useClient.ts\\\");\\n/* harmony import */ var _hooks_useIndexedDB__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./hooks/useIndexedDB */ \\\"./src/hooks/useIndexedDB.ts\\\");\\n/* harmony import */ var _License__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./License */ \\\"./src/License.ts\\\");\\n/* harmony import */ var _hooks_useServerSetting__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./hooks/useServerSetting */ \\\"./src/hooks/useServerSetting.ts\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/index.ts?\");\n\n/***/ }),\n\n/***/ \"./src/util.ts\":\n/*!*********************!*\\\n !*** ./src/util.ts ***!\n \\*********************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ createDummyMediaStream: () => (/* binding */ createDummyMediaStream),\\n/* harmony export */ fileSelector: () => (/* binding */ fileSelector),\\n/* harmony export */ fileSelectorAsDataURL: () => (/* binding */ fileSelectorAsDataURL),\\n/* harmony export */ validateUrl: () => (/* binding */ validateUrl)\\n/* harmony export */ });\\nconst createDummyMediaStream = (audioContext) => {\\n const dummyOutputNode = audioContext.createMediaStreamDestination();\\n const gainNode = audioContext.createGain();\\n gainNode.gain.value = 0.0;\\n gainNode.connect(dummyOutputNode);\\n const oscillatorNode = audioContext.createOscillator();\\n oscillatorNode.frequency.value = 440;\\n oscillatorNode.connect(gainNode);\\n oscillatorNode.start();\\n return dummyOutputNode.stream;\\n};\\nconst fileSelector = async (regex) => {\\n const fileInput = document.createElement(\\\"input\\\");\\n fileInput.type = \\\"file\\\";\\n const p = new Promise((resolve, reject) => {\\n fileInput.onchange = (e) => {\\n if (e.target instanceof HTMLInputElement == false) {\\n console.log(\\\"invalid target!\\\", e.target);\\n reject(\\\"invalid target\\\");\\n return null;\\n }\\n const target = e.target;\\n if (!target.files || target.files.length == 0) {\\n reject(\\\"no file selected\\\");\\n return null;\\n }\\n if (regex != \\\"\\\" && target.files[0].type.match(regex)) {\\n reject(`not target file type ${target.files[0].type}`);\\n return null;\\n }\\n resolve(target.files[0]);\\n return null;\\n };\\n fileInput.click();\\n });\\n return await p;\\n};\\nconst fileSelectorAsDataURL = async (regex) => {\\n const f = await fileSelector(regex);\\n if (!f) {\\n return f;\\n }\\n const url = await new Promise((resolve) => {\\n const reader = new FileReader();\\n reader.onload = () => {\\n console.log(\\\"load data\\\", reader.result);\\n resolve(reader.result);\\n };\\n reader.readAsDataURL(f);\\n });\\n return url;\\n};\\nconst validateUrl = (url) => {\\n if (url?.endsWith(\\\"/\\\")) {\\n return url.substring(0, url.length - 1);\\n }\\n return url;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/util.ts?\");\n\n/***/ }),\n\n/***/ \"./src/utils/BlockingQueue.ts\":\n/*!************************************!*\\\n !*** ./src/utils/BlockingQueue.ts ***!\n \\************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ BlockingQueue: () => (/* binding */ BlockingQueue)\\n/* harmony export */ });\\nclass BlockingQueue {\\n constructor() {\\n this._resolvers = [];\\n this._promises = [];\\n }\\n _add() {\\n this._promises.push(new Promise((resolve) => {\\n this._resolvers.push(resolve);\\n }));\\n }\\n enqueue(t) {\\n if (this._resolvers.length == 0)\\n this._add();\\n const resolve = this._resolvers.shift();\\n resolve(t);\\n }\\n dequeue() {\\n if (this._promises.length == 0)\\n this._add();\\n const promise = this._promises.shift();\\n return promise;\\n }\\n isEmpty() {\\n return this._promises.length == 0;\\n }\\n isBlocked() {\\n return this._resolvers.length != 0;\\n }\\n get length() {\\n return this._promises.length - this._resolvers.length;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./src/utils/BlockingQueue.ts?\");\n\n/***/ }),\n\n/***/ \"./node_modules/tslib/tslib.es6.js\":\n/*!*****************************************!*\\\n !*** ./node_modules/tslib/tslib.es6.js ***!\n \\*****************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ __assign: () => (/* binding */ __assign),\\n/* harmony export */ __asyncDelegator: () => (/* binding */ __asyncDelegator),\\n/* harmony export */ __asyncGenerator: () => (/* binding */ __asyncGenerator),\\n/* harmony export */ __asyncValues: () => (/* binding */ __asyncValues),\\n/* harmony export */ __await: () => (/* binding */ __await),\\n/* harmony export */ __awaiter: () => (/* binding */ __awaiter),\\n/* harmony export */ __classPrivateFieldGet: () => (/* binding */ __classPrivateFieldGet),\\n/* harmony export */ __classPrivateFieldSet: () => (/* binding */ __classPrivateFieldSet),\\n/* harmony export */ __createBinding: () => (/* binding */ __createBinding),\\n/* harmony export */ __decorate: () => (/* binding */ __decorate),\\n/* harmony export */ __exportStar: () => (/* binding */ __exportStar),\\n/* harmony export */ __extends: () => (/* binding */ __extends),\\n/* harmony export */ __generator: () => (/* binding */ __generator),\\n/* harmony export */ __importDefault: () => (/* binding */ __importDefault),\\n/* harmony export */ __importStar: () => (/* binding */ __importStar),\\n/* harmony export */ __makeTemplateObject: () => (/* binding */ __makeTemplateObject),\\n/* harmony export */ __metadata: () => (/* binding */ __metadata),\\n/* harmony export */ __param: () => (/* binding */ __param),\\n/* harmony export */ __read: () => (/* binding */ __read),\\n/* harmony export */ __rest: () => (/* binding */ __rest),\\n/* harmony export */ __spread: () => (/* binding */ __spread),\\n/* harmony export */ __spreadArrays: () => (/* binding */ __spreadArrays),\\n/* harmony export */ __values: () => (/* binding */ __values)\\n/* harmony export */ });\\n/*! *****************************************************************************\\r\\nCopyright (c) Microsoft Corporation.\\r\\n\\r\\nPermission to use, copy, modify, and/or distribute this software for any\\r\\npurpose with or without fee is hereby granted.\\r\\n\\r\\nTHE SOFTWARE IS PROVIDED \\\"AS IS\\\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\\r\\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\\r\\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\\r\\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\\r\\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\\r\\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\\r\\nPERFORMANCE OF THIS SOFTWARE.\\r\\n***************************************************************************** */\\r\\n/* global Reflect, Promise */\\r\\n\\r\\nvar extendStatics = function(d, b) {\\r\\n extendStatics = Object.setPrototypeOf ||\\r\\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\\r\\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\\r\\n return extendStatics(d, b);\\r\\n};\\r\\n\\r\\nfunction __extends(d, b) {\\r\\n extendStatics(d, b);\\r\\n function __() { this.constructor = d; }\\r\\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\\r\\n}\\r\\n\\r\\nvar __assign = function() {\\r\\n __assign = Object.assign || function __assign(t) {\\r\\n for (var s, i = 1, n = arguments.length; i < n; i++) {\\r\\n s = arguments[i];\\r\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\\r\\n }\\r\\n return t;\\r\\n }\\r\\n return __assign.apply(this, arguments);\\r\\n}\\r\\n\\r\\nfunction __rest(s, e) {\\r\\n var t = {};\\r\\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\\r\\n t[p] = s[p];\\r\\n if (s != null && typeof Object.getOwnPropertySymbols === \\\"function\\\")\\r\\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\\r\\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\\r\\n t[p[i]] = s[p[i]];\\r\\n }\\r\\n return t;\\r\\n}\\r\\n\\r\\nfunction __decorate(decorators, target, key, desc) {\\r\\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\\r\\n if (typeof Reflect === \\\"object\\\" && typeof Reflect.decorate === \\\"function\\\") r = Reflect.decorate(decorators, target, key, desc);\\r\\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\\r\\n return c > 3 && r && Object.defineProperty(target, key, r), r;\\r\\n}\\r\\n\\r\\nfunction __param(paramIndex, decorator) {\\r\\n return function (target, key) { decorator(target, key, paramIndex); }\\r\\n}\\r\\n\\r\\nfunction __metadata(metadataKey, metadataValue) {\\r\\n if (typeof Reflect === \\\"object\\\" && typeof Reflect.metadata === \\\"function\\\") return Reflect.metadata(metadataKey, metadataValue);\\r\\n}\\r\\n\\r\\nfunction __awaiter(thisArg, _arguments, P, generator) {\\r\\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\\r\\n return new (P || (P = Promise))(function (resolve, reject) {\\r\\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\\r\\n function rejected(value) { try { step(generator[\\\"throw\\\"](value)); } catch (e) { reject(e); } }\\r\\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\\r\\n step((generator = generator.apply(thisArg, _arguments || [])).next());\\r\\n });\\r\\n}\\r\\n\\r\\nfunction __generator(thisArg, body) {\\r\\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\\r\\n return g = { next: verb(0), \\\"throw\\\": verb(1), \\\"return\\\": verb(2) }, typeof Symbol === \\\"function\\\" && (g[Symbol.iterator] = function() { return this; }), g;\\r\\n function verb(n) { return function (v) { return step([n, v]); }; }\\r\\n function step(op) {\\r\\n if (f) throw new TypeError(\\\"Generator is already executing.\\\");\\r\\n while (_) try {\\r\\n if (f = 1, y && (t = op[0] & 2 ? y[\\\"return\\\"] : op[0] ? y[\\\"throw\\\"] || ((t = y[\\\"return\\\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\\r\\n if (y = 0, t) op = [op[0] & 2, t.value];\\r\\n switch (op[0]) {\\r\\n case 0: case 1: t = op; break;\\r\\n case 4: _.label++; return { value: op[1], done: false };\\r\\n case 5: _.label++; y = op[1]; op = [0]; continue;\\r\\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\\r\\n default:\\r\\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\\r\\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\\r\\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\\r\\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\\r\\n if (t[2]) _.ops.pop();\\r\\n _.trys.pop(); continue;\\r\\n }\\r\\n op = body.call(thisArg, _);\\r\\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\\r\\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\\r\\n }\\r\\n}\\r\\n\\r\\nfunction __createBinding(o, m, k, k2) {\\r\\n if (k2 === undefined) k2 = k;\\r\\n o[k2] = m[k];\\r\\n}\\r\\n\\r\\nfunction __exportStar(m, exports) {\\r\\n for (var p in m) if (p !== \\\"default\\\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\\r\\n}\\r\\n\\r\\nfunction __values(o) {\\r\\n var s = typeof Symbol === \\\"function\\\" && Symbol.iterator, m = s && o[s], i = 0;\\r\\n if (m) return m.call(o);\\r\\n if (o && typeof o.length === \\\"number\\\") return {\\r\\n next: function () {\\r\\n if (o && i >= o.length) o = void 0;\\r\\n return { value: o && o[i++], done: !o };\\r\\n }\\r\\n };\\r\\n throw new TypeError(s ? \\\"Object is not iterable.\\\" : \\\"Symbol.iterator is not defined.\\\");\\r\\n}\\r\\n\\r\\nfunction __read(o, n) {\\r\\n var m = typeof Symbol === \\\"function\\\" && o[Symbol.iterator];\\r\\n if (!m) return o;\\r\\n var i = m.call(o), r, ar = [], e;\\r\\n try {\\r\\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\\r\\n }\\r\\n catch (error) { e = { error: error }; }\\r\\n finally {\\r\\n try {\\r\\n if (r && !r.done && (m = i[\\\"return\\\"])) m.call(i);\\r\\n }\\r\\n finally { if (e) throw e.error; }\\r\\n }\\r\\n return ar;\\r\\n}\\r\\n\\r\\nfunction __spread() {\\r\\n for (var ar = [], i = 0; i < arguments.length; i++)\\r\\n ar = ar.concat(__read(arguments[i]));\\r\\n return ar;\\r\\n}\\r\\n\\r\\nfunction __spreadArrays() {\\r\\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\\r\\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\\r\\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\\r\\n r[k] = a[j];\\r\\n return r;\\r\\n};\\r\\n\\r\\nfunction __await(v) {\\r\\n return this instanceof __await ? (this.v = v, this) : new __await(v);\\r\\n}\\r\\n\\r\\nfunction __asyncGenerator(thisArg, _arguments, generator) {\\r\\n if (!Symbol.asyncIterator) throw new TypeError(\\\"Symbol.asyncIterator is not defined.\\\");\\r\\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\\r\\n return i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\"), verb(\\\"return\\\"), i[Symbol.asyncIterator] = function () { return this; }, i;\\r\\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\\r\\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\\r\\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\\r\\n function fulfill(value) { resume(\\\"next\\\", value); }\\r\\n function reject(value) { resume(\\\"throw\\\", value); }\\r\\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\\r\\n}\\r\\n\\r\\nfunction __asyncDelegator(o) {\\r\\n var i, p;\\r\\n return i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\", function (e) { throw e; }), verb(\\\"return\\\"), i[Symbol.iterator] = function () { return this; }, i;\\r\\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \\\"return\\\" } : f ? f(v) : v; } : f; }\\r\\n}\\r\\n\\r\\nfunction __asyncValues(o) {\\r\\n if (!Symbol.asyncIterator) throw new TypeError(\\\"Symbol.asyncIterator is not defined.\\\");\\r\\n var m = o[Symbol.asyncIterator], i;\\r\\n return m ? m.call(o) : (o = typeof __values === \\\"function\\\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\\\"next\\\"), verb(\\\"throw\\\"), verb(\\\"return\\\"), i[Symbol.asyncIterator] = function () { return this; }, i);\\r\\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\\r\\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\\r\\n}\\r\\n\\r\\nfunction __makeTemplateObject(cooked, raw) {\\r\\n if (Object.defineProperty) { Object.defineProperty(cooked, \\\"raw\\\", { value: raw }); } else { cooked.raw = raw; }\\r\\n return cooked;\\r\\n};\\r\\n\\r\\nfunction __importStar(mod) {\\r\\n if (mod && mod.__esModule) return mod;\\r\\n var result = {};\\r\\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\\r\\n result.default = mod;\\r\\n return result;\\r\\n}\\r\\n\\r\\nfunction __importDefault(mod) {\\r\\n return (mod && mod.__esModule) ? mod : { default: mod };\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldGet(receiver, privateMap) {\\r\\n if (!privateMap.has(receiver)) {\\r\\n throw new TypeError(\\\"attempted to get private field on non-instance\\\");\\r\\n }\\r\\n return privateMap.get(receiver);\\r\\n}\\r\\n\\r\\nfunction __classPrivateFieldSet(receiver, privateMap, value) {\\r\\n if (!privateMap.has(receiver)) {\\r\\n throw new TypeError(\\\"attempted to set private field on non-instance\\\");\\r\\n }\\r\\n privateMap.set(receiver, value);\\r\\n return value;\\r\\n}\\r\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/tslib/tslib.es6.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/ua-parser-js/src/ua-parser.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/ua-parser-js/src/ua-parser.js ***!\n \\****************************************************/\n/***/ (function(module, exports, __webpack_require__) {\n\neval(\"var __WEBPACK_AMD_DEFINE_RESULT__;/////////////////////////////////////////////////////////////////////////////////\\n/* UAParser.js v1.0.35\\n Copyright © 2012-2021 Faisal Salman \\n MIT License *//*\\n Detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data.\\n Supports browser & node.js environment. \\n Demo : https://faisalman.github.io/ua-parser-js\\n Source : https://github.com/faisalman/ua-parser-js */\\n/////////////////////////////////////////////////////////////////////////////////\\n\\n(function (window, undefined) {\\n\\n 'use strict';\\n\\n //////////////\\n // Constants\\n /////////////\\n\\n\\n var LIBVERSION = '1.0.35',\\n EMPTY = '',\\n UNKNOWN = '?',\\n FUNC_TYPE = 'function',\\n UNDEF_TYPE = 'undefined',\\n OBJ_TYPE = 'object',\\n STR_TYPE = 'string',\\n MAJOR = 'major',\\n MODEL = 'model',\\n NAME = 'name',\\n TYPE = 'type',\\n VENDOR = 'vendor',\\n VERSION = 'version',\\n ARCHITECTURE= 'architecture',\\n CONSOLE = 'console',\\n MOBILE = 'mobile',\\n TABLET = 'tablet',\\n SMARTTV = 'smarttv',\\n WEARABLE = 'wearable',\\n EMBEDDED = 'embedded',\\n UA_MAX_LENGTH = 350;\\n\\n var AMAZON = 'Amazon',\\n APPLE = 'Apple',\\n ASUS = 'ASUS',\\n BLACKBERRY = 'BlackBerry',\\n BROWSER = 'Browser',\\n CHROME = 'Chrome',\\n EDGE = 'Edge',\\n FIREFOX = 'Firefox',\\n GOOGLE = 'Google',\\n HUAWEI = 'Huawei',\\n LG = 'LG',\\n MICROSOFT = 'Microsoft',\\n MOTOROLA = 'Motorola',\\n OPERA = 'Opera',\\n SAMSUNG = 'Samsung',\\n SHARP = 'Sharp',\\n SONY = 'Sony',\\n VIERA = 'Viera',\\n XIAOMI = 'Xiaomi',\\n ZEBRA = 'Zebra',\\n FACEBOOK = 'Facebook',\\n CHROMIUM_OS = 'Chromium OS',\\n MAC_OS = 'Mac OS';\\n\\n ///////////\\n // Helper\\n //////////\\n\\n var extend = function (regexes, extensions) {\\n var mergedRegexes = {};\\n for (var i in regexes) {\\n if (extensions[i] && extensions[i].length % 2 === 0) {\\n mergedRegexes[i] = extensions[i].concat(regexes[i]);\\n } else {\\n mergedRegexes[i] = regexes[i];\\n }\\n }\\n return mergedRegexes;\\n },\\n enumerize = function (arr) {\\n var enums = {};\\n for (var i=0; i 0) {\\n if (q.length === 2) {\\n if (typeof q[1] == FUNC_TYPE) {\\n // assign modified match\\n this[q[0]] = q[1].call(this, match);\\n } else {\\n // assign given value, ignore regex match\\n this[q[0]] = q[1];\\n }\\n } else if (q.length === 3) {\\n // check whether function or regex\\n if (typeof q[1] === FUNC_TYPE && !(q[1].exec && q[1].test)) {\\n // call function (usually string mapper)\\n this[q[0]] = match ? q[1].call(this, match, q[2]) : undefined;\\n } else {\\n // sanitize match using given regex\\n this[q[0]] = match ? match.replace(q[1], q[2]) : undefined;\\n }\\n } else if (q.length === 4) {\\n this[q[0]] = match ? q[3].call(this, match.replace(q[1], q[2])) : undefined;\\n }\\n } else {\\n this[q] = match ? match : undefined;\\n }\\n }\\n }\\n }\\n i += 2;\\n }\\n },\\n\\n strMapper = function (str, map) {\\n\\n for (var i in map) {\\n // check if current value is array\\n if (typeof map[i] === OBJ_TYPE && map[i].length > 0) {\\n for (var j = 0; j < map[i].length; j++) {\\n if (has(map[i][j], str)) {\\n return (i === UNKNOWN) ? undefined : i;\\n }\\n }\\n } else if (has(map[i], str)) {\\n return (i === UNKNOWN) ? undefined : i;\\n }\\n }\\n return str;\\n };\\n\\n ///////////////\\n // String map\\n //////////////\\n\\n // Safari < 3.0\\n var oldSafariMap = {\\n '1.0' : '/8',\\n '1.2' : '/1',\\n '1.3' : '/3',\\n '2.0' : '/412',\\n '2.0.2' : '/416',\\n '2.0.3' : '/417',\\n '2.0.4' : '/419',\\n '?' : '/'\\n },\\n windowsVersionMap = {\\n 'ME' : '4.90',\\n 'NT 3.11' : 'NT3.51',\\n 'NT 4.0' : 'NT4.0',\\n '2000' : 'NT 5.0',\\n 'XP' : ['NT 5.1', 'NT 5.2'],\\n 'Vista' : 'NT 6.0',\\n '7' : 'NT 6.1',\\n '8' : 'NT 6.2',\\n '8.1' : 'NT 6.3',\\n '10' : ['NT 6.4', 'NT 10.0'],\\n 'RT' : 'ARM'\\n };\\n\\n //////////////\\n // Regex map\\n /////////////\\n\\n var regexes = {\\n\\n browser : [[\\n\\n /\\\\b(?:crmo|crios)\\\\/([\\\\w\\\\.]+)/i // Chrome for Android/iOS\\n ], [VERSION, [NAME, 'Chrome']], [\\n /edg(?:e|ios|a)?\\\\/([\\\\w\\\\.]+)/i // Microsoft Edge\\n ], [VERSION, [NAME, 'Edge']], [\\n\\n // Presto based\\n /(opera mini)\\\\/([-\\\\w\\\\.]+)/i, // Opera Mini\\n /(opera [mobiletab]{3,6})\\\\b.+version\\\\/([-\\\\w\\\\.]+)/i, // Opera Mobi/Tablet\\n /(opera)(?:.+version\\\\/|[\\\\/ ]+)([\\\\w\\\\.]+)/i // Opera\\n ], [NAME, VERSION], [\\n /opios[\\\\/ ]+([\\\\w\\\\.]+)/i // Opera mini on iphone >= 8.0\\n ], [VERSION, [NAME, OPERA+' Mini']], [\\n /\\\\bopr\\\\/([\\\\w\\\\.]+)/i // Opera Webkit\\n ], [VERSION, [NAME, OPERA]], [\\n\\n // Mixed\\n /(kindle)\\\\/([\\\\w\\\\.]+)/i, // Kindle\\n /(lunascape|maxthon|netfront|jasmine|blazer)[\\\\/ ]?([\\\\w\\\\.]*)/i, // Lunascape/Maxthon/Netfront/Jasmine/Blazer\\n // Trident based\\n /(avant |iemobile|slim)(?:browser)?[\\\\/ ]?([\\\\w\\\\.]*)/i, // Avant/IEMobile/SlimBrowser\\n /(ba?idubrowser)[\\\\/ ]?([\\\\w\\\\.]+)/i, // Baidu Browser\\n /(?:ms|\\\\()(ie) ([\\\\w\\\\.]+)/i, // Internet Explorer\\n\\n // Webkit/KHTML based // Flock/RockMelt/Midori/Epiphany/Silk/Skyfire/Bolt/Iron/Iridium/PhantomJS/Bowser/QupZilla/Falkon\\n /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\\\\/([-\\\\w\\\\.]+)/i,\\n // Rekonq/Puffin/Brave/Whale/QQBrowserLite/QQ, aka ShouQ\\n /(heytap|ovi)browser\\\\/([\\\\d\\\\.]+)/i, // Heytap/Ovi\\n /(weibo)__([\\\\d\\\\.]+)/i // Weibo\\n ], [NAME, VERSION], [\\n /(?:\\\\buc? ?browser|(?:juc.+)ucweb)[\\\\/ ]?([\\\\w\\\\.]+)/i // UCBrowser\\n ], [VERSION, [NAME, 'UC'+BROWSER]], [\\n /microm.+\\\\bqbcore\\\\/([\\\\w\\\\.]+)/i, // WeChat Desktop for Windows Built-in Browser\\n /\\\\bqbcore\\\\/([\\\\w\\\\.]+).+microm/i\\n ], [VERSION, [NAME, 'WeChat(Win) Desktop']], [\\n /micromessenger\\\\/([\\\\w\\\\.]+)/i // WeChat\\n ], [VERSION, [NAME, 'WeChat']], [\\n /konqueror\\\\/([\\\\w\\\\.]+)/i // Konqueror\\n ], [VERSION, [NAME, 'Konqueror']], [\\n /trident.+rv[: ]([\\\\w\\\\.]{1,9})\\\\b.+like gecko/i // IE11\\n ], [VERSION, [NAME, 'IE']], [\\n /ya(?:search)?browser\\\\/([\\\\w\\\\.]+)/i // Yandex\\n ], [VERSION, [NAME, 'Yandex']], [\\n /(avast|avg)\\\\/([\\\\w\\\\.]+)/i // Avast/AVG Secure Browser\\n ], [[NAME, /(.+)/, '$1 Secure '+BROWSER], VERSION], [\\n /\\\\bfocus\\\\/([\\\\w\\\\.]+)/i // Firefox Focus\\n ], [VERSION, [NAME, FIREFOX+' Focus']], [\\n /\\\\bopt\\\\/([\\\\w\\\\.]+)/i // Opera Touch\\n ], [VERSION, [NAME, OPERA+' Touch']], [\\n /coc_coc\\\\w+\\\\/([\\\\w\\\\.]+)/i // Coc Coc Browser\\n ], [VERSION, [NAME, 'Coc Coc']], [\\n /dolfin\\\\/([\\\\w\\\\.]+)/i // Dolphin\\n ], [VERSION, [NAME, 'Dolphin']], [\\n /coast\\\\/([\\\\w\\\\.]+)/i // Opera Coast\\n ], [VERSION, [NAME, OPERA+' Coast']], [\\n /miuibrowser\\\\/([\\\\w\\\\.]+)/i // MIUI Browser\\n ], [VERSION, [NAME, 'MIUI '+BROWSER]], [\\n /fxios\\\\/([-\\\\w\\\\.]+)/i // Firefox for iOS\\n ], [VERSION, [NAME, FIREFOX]], [\\n /\\\\bqihu|(qi?ho?o?|360)browser/i // 360\\n ], [[NAME, '360 '+BROWSER]], [\\n /(oculus|samsung|sailfish|huawei)browser\\\\/([\\\\w\\\\.]+)/i\\n ], [[NAME, /(.+)/, '$1 '+BROWSER], VERSION], [ // Oculus/Samsung/Sailfish/Huawei Browser\\n /(comodo_dragon)\\\\/([\\\\w\\\\.]+)/i // Comodo Dragon\\n ], [[NAME, /_/g, ' '], VERSION], [\\n /(electron)\\\\/([\\\\w\\\\.]+) safari/i, // Electron-based App\\n /(tesla)(?: qtcarbrowser|\\\\/(20\\\\d\\\\d\\\\.[-\\\\w\\\\.]+))/i, // Tesla\\n /m?(qqbrowser|baiduboxapp|2345Explorer)[\\\\/ ]?([\\\\w\\\\.]+)/i // QQBrowser/Baidu App/2345 Browser\\n ], [NAME, VERSION], [\\n /(metasr)[\\\\/ ]?([\\\\w\\\\.]+)/i, // SouGouBrowser\\n /(lbbrowser)/i, // LieBao Browser\\n /\\\\[(linkedin)app\\\\]/i // LinkedIn App for iOS & Android\\n ], [NAME], [\\n\\n // WebView\\n /((?:fban\\\\/fbios|fb_iab\\\\/fb4a)(?!.+fbav)|;fbav\\\\/([\\\\w\\\\.]+);)/i // Facebook App for iOS & Android\\n ], [[NAME, FACEBOOK], VERSION], [\\n /(kakao(?:talk|story))[\\\\/ ]([\\\\w\\\\.]+)/i, // Kakao App\\n /(naver)\\\\(.*?(\\\\d+\\\\.[\\\\w\\\\.]+).*\\\\)/i, // Naver InApp\\n /safari (line)\\\\/([\\\\w\\\\.]+)/i, // Line App for iOS\\n /\\\\b(line)\\\\/([\\\\w\\\\.]+)\\\\/iab/i, // Line App for Android\\n /(chromium|instagram)[\\\\/ ]([-\\\\w\\\\.]+)/i // Chromium/Instagram\\n ], [NAME, VERSION], [\\n /\\\\bgsa\\\\/([\\\\w\\\\.]+) .*safari\\\\//i // Google Search Appliance on iOS\\n ], [VERSION, [NAME, 'GSA']], [\\n /musical_ly(?:.+app_?version\\\\/|_)([\\\\w\\\\.]+)/i // TikTok\\n ], [VERSION, [NAME, 'TikTok']], [\\n\\n /headlesschrome(?:\\\\/([\\\\w\\\\.]+)| )/i // Chrome Headless\\n ], [VERSION, [NAME, CHROME+' Headless']], [\\n\\n / wv\\\\).+(chrome)\\\\/([\\\\w\\\\.]+)/i // Chrome WebView\\n ], [[NAME, CHROME+' WebView'], VERSION], [\\n\\n /droid.+ version\\\\/([\\\\w\\\\.]+)\\\\b.+(?:mobile safari|safari)/i // Android Browser\\n ], [VERSION, [NAME, 'Android '+BROWSER]], [\\n\\n /(chrome|omniweb|arora|[tizenoka]{5} ?browser)\\\\/v?([\\\\w\\\\.]+)/i // Chrome/OmniWeb/Arora/Tizen/Nokia\\n ], [NAME, VERSION], [\\n\\n /version\\\\/([\\\\w\\\\.\\\\,]+) .*mobile\\\\/\\\\w+ (safari)/i // Mobile Safari\\n ], [VERSION, [NAME, 'Mobile Safari']], [\\n /version\\\\/([\\\\w(\\\\.|\\\\,)]+) .*(mobile ?safari|safari)/i // Safari & Safari Mobile\\n ], [VERSION, NAME], [\\n /webkit.+?(mobile ?safari|safari)(\\\\/[\\\\w\\\\.]+)/i // Safari < 3.0\\n ], [NAME, [VERSION, strMapper, oldSafariMap]], [\\n\\n /(webkit|khtml)\\\\/([\\\\w\\\\.]+)/i\\n ], [NAME, VERSION], [\\n\\n // Gecko based\\n /(navigator|netscape\\\\d?)\\\\/([-\\\\w\\\\.]+)/i // Netscape\\n ], [[NAME, 'Netscape'], VERSION], [\\n /mobile vr; rv:([\\\\w\\\\.]+)\\\\).+firefox/i // Firefox Reality\\n ], [VERSION, [NAME, FIREFOX+' Reality']], [\\n /ekiohf.+(flow)\\\\/([\\\\w\\\\.]+)/i, // Flow\\n /(swiftfox)/i, // Swiftfox\\n /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\\\\/ ]?([\\\\w\\\\.\\\\+]+)/i,\\n // IceDragon/Iceweasel/Camino/Chimera/Fennec/Maemo/Minimo/Conkeror/Klar\\n /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\\\\/([-\\\\w\\\\.]+)$/i,\\n // Firefox/SeaMonkey/K-Meleon/IceCat/IceApe/Firebird/Phoenix\\n /(firefox)\\\\/([\\\\w\\\\.]+)/i, // Other Firefox-based\\n /(mozilla)\\\\/([\\\\w\\\\.]+) .+rv\\\\:.+gecko\\\\/\\\\d+/i, // Mozilla\\n\\n // Other\\n /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\\\\. ]?browser)[-\\\\/ ]?v?([\\\\w\\\\.]+)/i,\\n // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Sleipnir/Obigo/Mosaic/Go/ICE/UP.Browser\\n /(links) \\\\(([\\\\w\\\\.]+)/i, // Links\\n /panasonic;(viera)/i // Panasonic Viera\\n ], [NAME, VERSION], [\\n \\n /(cobalt)\\\\/([\\\\w\\\\.]+)/i // Cobalt\\n ], [NAME, [VERSION, /master.|lts./, \\\"\\\"]]\\n ],\\n\\n cpu : [[\\n\\n /(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\\\\)]/i // AMD64 (x64)\\n ], [[ARCHITECTURE, 'amd64']], [\\n\\n /(ia32(?=;))/i // IA32 (quicktime)\\n ], [[ARCHITECTURE, lowerize]], [\\n\\n /((?:i[346]|x)86)[;\\\\)]/i // IA32 (x86)\\n ], [[ARCHITECTURE, 'ia32']], [\\n\\n /\\\\b(aarch64|arm(v?8e?l?|_?64))\\\\b/i // ARM64\\n ], [[ARCHITECTURE, 'arm64']], [\\n\\n /\\\\b(arm(?:v[67])?ht?n?[fl]p?)\\\\b/i // ARMHF\\n ], [[ARCHITECTURE, 'armhf']], [\\n\\n // PocketPC mistakenly identified as PowerPC\\n /windows (ce|mobile); ppc;/i\\n ], [[ARCHITECTURE, 'arm']], [\\n\\n /((?:ppc|powerpc)(?:64)?)(?: mac|;|\\\\))/i // PowerPC\\n ], [[ARCHITECTURE, /ower/, EMPTY, lowerize]], [\\n\\n /(sun4\\\\w)[;\\\\)]/i // SPARC\\n ], [[ARCHITECTURE, 'sparc']], [\\n\\n /((?:avr32|ia64(?=;))|68k(?=\\\\))|\\\\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\\\\b|pa-risc)/i\\n // IA64, 68K, ARM/64, AVR/32, IRIX/64, MIPS/64, SPARC/64, PA-RISC\\n ], [[ARCHITECTURE, lowerize]]\\n ],\\n\\n device : [[\\n\\n //////////////////////////\\n // MOBILES & TABLETS\\n /////////////////////////\\n\\n // Samsung\\n /\\\\b(sch-i[89]0\\\\d|shw-m380s|sm-[ptx]\\\\w{2,4}|gt-[pn]\\\\d{2,4}|sgh-t8[56]9|nexus 10)/i\\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, TABLET]], [\\n /\\\\b((?:s[cgp]h|gt|sm)-\\\\w+|sc[g-]?[\\\\d]+a?|galaxy nexus)/i,\\n /samsung[- ]([-\\\\w]+)/i,\\n /sec-(sgh\\\\w+)/i\\n ], [MODEL, [VENDOR, SAMSUNG], [TYPE, MOBILE]], [\\n\\n // Apple\\n /(?:\\\\/|\\\\()(ip(?:hone|od)[\\\\w, ]*)(?:\\\\/|;)/i // iPod/iPhone\\n ], [MODEL, [VENDOR, APPLE], [TYPE, MOBILE]], [\\n /\\\\((ipad);[-\\\\w\\\\),; ]+apple/i, // iPad\\n /applecoremedia\\\\/[\\\\w\\\\.]+ \\\\((ipad)/i,\\n /\\\\b(ipad)\\\\d\\\\d?,\\\\d\\\\d?[;\\\\]].+ios/i\\n ], [MODEL, [VENDOR, APPLE], [TYPE, TABLET]], [\\n /(macintosh);/i\\n ], [MODEL, [VENDOR, APPLE]], [\\n\\n // Sharp\\n /\\\\b(sh-?[altvz]?\\\\d\\\\d[a-ekm]?)/i\\n ], [MODEL, [VENDOR, SHARP], [TYPE, MOBILE]], [\\n\\n // Huawei\\n /\\\\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\\\\d{2})\\\\b(?!.+d\\\\/s)/i\\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, TABLET]], [\\n /(?:huawei|honor)([-\\\\w ]+)[;\\\\)]/i,\\n /\\\\b(nexus 6p|\\\\w{2,4}e?-[atu]?[ln][\\\\dx][012359c][adn]?)\\\\b(?!.+d\\\\/s)/i\\n ], [MODEL, [VENDOR, HUAWEI], [TYPE, MOBILE]], [\\n\\n // Xiaomi\\n /\\\\b(poco[\\\\w ]+)(?: bui|\\\\))/i, // Xiaomi POCO\\n /\\\\b; (\\\\w+) build\\\\/hm\\\\1/i, // Xiaomi Hongmi 'numeric' models\\n /\\\\b(hm[-_ ]?note?[_ ]?(?:\\\\d\\\\w)?) bui/i, // Xiaomi Hongmi\\n /\\\\b(redmi[\\\\-_ ]?(?:note|k)?[\\\\w_ ]+)(?: bui|\\\\))/i, // Xiaomi Redmi\\n /\\\\b(mi[-_ ]?(?:a\\\\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\\\\d?\\\\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\\\\))/i // Xiaomi Mi\\n ], [[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, MOBILE]], [\\n /\\\\b(mi[-_ ]?(?:pad)(?:[\\\\w_ ]+))(?: bui|\\\\))/i // Mi Pad tablets\\n ],[[MODEL, /_/g, ' '], [VENDOR, XIAOMI], [TYPE, TABLET]], [\\n\\n // OPPO\\n /; (\\\\w+) bui.+ oppo/i,\\n /\\\\b(cph[12]\\\\d{3}|p(?:af|c[al]|d\\\\w|e[ar])[mt]\\\\d0|x9007|a101op)\\\\b/i\\n ], [MODEL, [VENDOR, 'OPPO'], [TYPE, MOBILE]], [\\n\\n // Vivo\\n /vivo (\\\\w+)(?: bui|\\\\))/i,\\n /\\\\b(v[12]\\\\d{3}\\\\w?[at])(?: bui|;)/i\\n ], [MODEL, [VENDOR, 'Vivo'], [TYPE, MOBILE]], [\\n\\n // Realme\\n /\\\\b(rmx[12]\\\\d{3})(?: bui|;|\\\\))/i\\n ], [MODEL, [VENDOR, 'Realme'], [TYPE, MOBILE]], [\\n\\n // Motorola\\n /\\\\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\\\\b[\\\\w ]+build\\\\//i,\\n /\\\\bmot(?:orola)?[- ](\\\\w*)/i,\\n /((?:moto[\\\\w\\\\(\\\\) ]+|xt\\\\d{3,4}|nexus 6)(?= bui|\\\\)))/i\\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, MOBILE]], [\\n /\\\\b(mz60\\\\d|xoom[2 ]{0,2}) build\\\\//i\\n ], [MODEL, [VENDOR, MOTOROLA], [TYPE, TABLET]], [\\n\\n // LG\\n /((?=lg)?[vl]k\\\\-?\\\\d{3}) bui| 3\\\\.[-\\\\w; ]{10}lg?-([06cv9]{3,4})/i\\n ], [MODEL, [VENDOR, LG], [TYPE, TABLET]], [\\n /(lm(?:-?f100[nv]?|-[\\\\w\\\\.]+)(?= bui|\\\\))|nexus [45])/i,\\n /\\\\blg[-e;\\\\/ ]+((?!browser|netcast|android tv)\\\\w+)/i,\\n /\\\\blg-?([\\\\d\\\\w]+) bui/i\\n ], [MODEL, [VENDOR, LG], [TYPE, MOBILE]], [\\n\\n // Lenovo\\n /(ideatab[-\\\\w ]+)/i,\\n /lenovo ?(s[56]000[-\\\\w]+|tab(?:[\\\\w ]+)|yt[-\\\\d\\\\w]{6}|tb[-\\\\d\\\\w]{6})/i\\n ], [MODEL, [VENDOR, 'Lenovo'], [TYPE, TABLET]], [\\n\\n // Nokia\\n /(?:maemo|nokia).*(n900|lumia \\\\d+)/i,\\n /nokia[-_ ]?([-\\\\w\\\\.]*)/i\\n ], [[MODEL, /_/g, ' '], [VENDOR, 'Nokia'], [TYPE, MOBILE]], [\\n\\n // Google\\n /(pixel c)\\\\b/i // Google Pixel C\\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, TABLET]], [\\n /droid.+; (pixel[\\\\daxl ]{0,6})(?: bui|\\\\))/i // Google Pixel\\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, MOBILE]], [\\n\\n // Sony\\n /droid.+ (a?\\\\d[0-2]{2}so|[c-g]\\\\d{4}|so[-gl]\\\\w+|xq-a\\\\w[4-7][12])(?= bui|\\\\).+chrome\\\\/(?![1-6]{0,1}\\\\d\\\\.))/i\\n ], [MODEL, [VENDOR, SONY], [TYPE, MOBILE]], [\\n /sony tablet [ps]/i,\\n /\\\\b(?:sony)?sgp\\\\w+(?: bui|\\\\))/i\\n ], [[MODEL, 'Xperia Tablet'], [VENDOR, SONY], [TYPE, TABLET]], [\\n\\n // OnePlus\\n / (kb2005|in20[12]5|be20[12][59])\\\\b/i,\\n /(?:one)?(?:plus)? (a\\\\d0\\\\d\\\\d)(?: b|\\\\))/i\\n ], [MODEL, [VENDOR, 'OnePlus'], [TYPE, MOBILE]], [\\n\\n // Amazon\\n /(alexa)webm/i,\\n /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\\\\))/i, // Kindle Fire without Silk / Echo Show\\n /(kf[a-z]+)( bui|\\\\)).+silk\\\\//i // Kindle Fire HD\\n ], [MODEL, [VENDOR, AMAZON], [TYPE, TABLET]], [\\n /((?:sd|kf)[0349hijorstuw]+)( bui|\\\\)).+silk\\\\//i // Fire Phone\\n ], [[MODEL, /(.+)/g, 'Fire Phone $1'], [VENDOR, AMAZON], [TYPE, MOBILE]], [\\n\\n // BlackBerry\\n /(playbook);[-\\\\w\\\\),; ]+(rim)/i // BlackBerry PlayBook\\n ], [MODEL, VENDOR, [TYPE, TABLET]], [\\n /\\\\b((?:bb[a-f]|st[hv])100-\\\\d)/i,\\n /\\\\(bb10; (\\\\w+)/i // BlackBerry 10\\n ], [MODEL, [VENDOR, BLACKBERRY], [TYPE, MOBILE]], [\\n\\n // Asus\\n /(?:\\\\b|asus_)(transfo[prime ]{4,10} \\\\w+|eeepc|slider \\\\w+|nexus 7|padfone|p00[cj])/i\\n ], [MODEL, [VENDOR, ASUS], [TYPE, TABLET]], [\\n / (z[bes]6[027][012][km][ls]|zenfone \\\\d\\\\w?)\\\\b/i\\n ], [MODEL, [VENDOR, ASUS], [TYPE, MOBILE]], [\\n\\n // HTC\\n /(nexus 9)/i // HTC Nexus 9\\n ], [MODEL, [VENDOR, 'HTC'], [TYPE, TABLET]], [\\n /(htc)[-;_ ]{1,2}([\\\\w ]+(?=\\\\)| bui)|\\\\w+)/i, // HTC\\n\\n // ZTE\\n /(zte)[- ]([\\\\w ]+?)(?: bui|\\\\/|\\\\))/i,\\n /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\\\\.))|sony(?!-bra))[-_ ]?([-\\\\w]*)/i // Alcatel/GeeksPhone/Nexian/Panasonic/Sony\\n ], [VENDOR, [MODEL, /_/g, ' '], [TYPE, MOBILE]], [\\n\\n // Acer\\n /droid.+; ([ab][1-7]-?[0178a]\\\\d\\\\d?)/i\\n ], [MODEL, [VENDOR, 'Acer'], [TYPE, TABLET]], [\\n\\n // Meizu\\n /droid.+; (m[1-5] note) bui/i,\\n /\\\\bmz-([-\\\\w]{2,})/i\\n ], [MODEL, [VENDOR, 'Meizu'], [TYPE, MOBILE]], [\\n\\n // MIXED\\n /(blackberry|benq|palm(?=\\\\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\\\\w]*)/i,\\n // BlackBerry/BenQ/Palm/Sony-Ericsson/Acer/Asus/Dell/Meizu/Motorola/Polytron\\n /(hp) ([\\\\w ]+\\\\w)/i, // HP iPAQ\\n /(asus)-?(\\\\w+)/i, // Asus\\n /(microsoft); (lumia[\\\\w ]+)/i, // Microsoft Lumia\\n /(lenovo)[-_ ]?([-\\\\w]+)/i, // Lenovo\\n /(jolla)/i, // Jolla\\n /(oppo) ?([\\\\w ]+) bui/i // OPPO\\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\\n\\n /(kobo)\\\\s(ereader|touch)/i, // Kobo\\n /(archos) (gamepad2?)/i, // Archos\\n /(hp).+(touchpad(?!.+tablet)|tablet)/i, // HP TouchPad\\n /(kindle)\\\\/([\\\\w\\\\.]+)/i, // Kindle\\n /(nook)[\\\\w ]+build\\\\/(\\\\w+)/i, // Nook\\n /(dell) (strea[kpr\\\\d ]*[\\\\dko])/i, // Dell Streak\\n /(le[- ]+pan)[- ]+(\\\\w{1,9}) bui/i, // Le Pan Tablets\\n /(trinity)[- ]*(t\\\\d{3}) bui/i, // Trinity Tablets\\n /(gigaset)[- ]+(q\\\\w{1,9}) bui/i, // Gigaset Tablets\\n /(vodafone) ([\\\\w ]+)(?:\\\\)| bui)/i // Vodafone\\n ], [VENDOR, MODEL, [TYPE, TABLET]], [\\n\\n /(surface duo)/i // Surface Duo\\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, TABLET]], [\\n /droid [\\\\d\\\\.]+; (fp\\\\du?)(?: b|\\\\))/i // Fairphone\\n ], [MODEL, [VENDOR, 'Fairphone'], [TYPE, MOBILE]], [\\n /(u304aa)/i // AT&T\\n ], [MODEL, [VENDOR, 'AT&T'], [TYPE, MOBILE]], [\\n /\\\\bsie-(\\\\w*)/i // Siemens\\n ], [MODEL, [VENDOR, 'Siemens'], [TYPE, MOBILE]], [\\n /\\\\b(rct\\\\w+) b/i // RCA Tablets\\n ], [MODEL, [VENDOR, 'RCA'], [TYPE, TABLET]], [\\n /\\\\b(venue[\\\\d ]{2,7}) b/i // Dell Venue Tablets\\n ], [MODEL, [VENDOR, 'Dell'], [TYPE, TABLET]], [\\n /\\\\b(q(?:mv|ta)\\\\w+) b/i // Verizon Tablet\\n ], [MODEL, [VENDOR, 'Verizon'], [TYPE, TABLET]], [\\n /\\\\b(?:barnes[& ]+noble |bn[rt])([\\\\w\\\\+ ]*) b/i // Barnes & Noble Tablet\\n ], [MODEL, [VENDOR, 'Barnes & Noble'], [TYPE, TABLET]], [\\n /\\\\b(tm\\\\d{3}\\\\w+) b/i\\n ], [MODEL, [VENDOR, 'NuVision'], [TYPE, TABLET]], [\\n /\\\\b(k88) b/i // ZTE K Series Tablet\\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, TABLET]], [\\n /\\\\b(nx\\\\d{3}j) b/i // ZTE Nubia\\n ], [MODEL, [VENDOR, 'ZTE'], [TYPE, MOBILE]], [\\n /\\\\b(gen\\\\d{3}) b.+49h/i // Swiss GEN Mobile\\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, MOBILE]], [\\n /\\\\b(zur\\\\d{3}) b/i // Swiss ZUR Tablet\\n ], [MODEL, [VENDOR, 'Swiss'], [TYPE, TABLET]], [\\n /\\\\b((zeki)?tb.*\\\\b) b/i // Zeki Tablets\\n ], [MODEL, [VENDOR, 'Zeki'], [TYPE, TABLET]], [\\n /\\\\b([yr]\\\\d{2}) b/i,\\n /\\\\b(dragon[- ]+touch |dt)(\\\\w{5}) b/i // Dragon Touch Tablet\\n ], [[VENDOR, 'Dragon Touch'], MODEL, [TYPE, TABLET]], [\\n /\\\\b(ns-?\\\\w{0,9}) b/i // Insignia Tablets\\n ], [MODEL, [VENDOR, 'Insignia'], [TYPE, TABLET]], [\\n /\\\\b((nxa|next)-?\\\\w{0,9}) b/i // NextBook Tablets\\n ], [MODEL, [VENDOR, 'NextBook'], [TYPE, TABLET]], [\\n /\\\\b(xtreme\\\\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i // Voice Xtreme Phones\\n ], [[VENDOR, 'Voice'], MODEL, [TYPE, MOBILE]], [\\n /\\\\b(lvtel\\\\-)?(v1[12]) b/i // LvTel Phones\\n ], [[VENDOR, 'LvTel'], MODEL, [TYPE, MOBILE]], [\\n /\\\\b(ph-1) /i // Essential PH-1\\n ], [MODEL, [VENDOR, 'Essential'], [TYPE, MOBILE]], [\\n /\\\\b(v(100md|700na|7011|917g).*\\\\b) b/i // Envizen Tablets\\n ], [MODEL, [VENDOR, 'Envizen'], [TYPE, TABLET]], [\\n /\\\\b(trio[-\\\\w\\\\. ]+) b/i // MachSpeed Tablets\\n ], [MODEL, [VENDOR, 'MachSpeed'], [TYPE, TABLET]], [\\n /\\\\btu_(1491) b/i // Rotor Tablets\\n ], [MODEL, [VENDOR, 'Rotor'], [TYPE, TABLET]], [\\n /(shield[\\\\w ]+) b/i // Nvidia Shield Tablets\\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, TABLET]], [\\n /(sprint) (\\\\w+)/i // Sprint Phones\\n ], [VENDOR, MODEL, [TYPE, MOBILE]], [\\n /(kin\\\\.[onetw]{3})/i // Microsoft Kin\\n ], [[MODEL, /\\\\./g, ' '], [VENDOR, MICROSOFT], [TYPE, MOBILE]], [\\n /droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\\\\)/i // Zebra\\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, TABLET]], [\\n /droid.+; (ec30|ps20|tc[2-8]\\\\d[kx])\\\\)/i\\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, MOBILE]], [\\n\\n ///////////////////\\n // SMARTTVS\\n ///////////////////\\n\\n /smart-tv.+(samsung)/i // Samsung\\n ], [VENDOR, [TYPE, SMARTTV]], [\\n /hbbtv.+maple;(\\\\d+)/i\\n ], [[MODEL, /^/, 'SmartTV'], [VENDOR, SAMSUNG], [TYPE, SMARTTV]], [\\n /(nux; netcast.+smarttv|lg (netcast\\\\.tv-201\\\\d|android tv))/i // LG SmartTV\\n ], [[VENDOR, LG], [TYPE, SMARTTV]], [\\n /(apple) ?tv/i // Apple TV\\n ], [VENDOR, [MODEL, APPLE+' TV'], [TYPE, SMARTTV]], [\\n /crkey/i // Google Chromecast\\n ], [[MODEL, CHROME+'cast'], [VENDOR, GOOGLE], [TYPE, SMARTTV]], [\\n /droid.+aft(\\\\w)( bui|\\\\))/i // Fire TV\\n ], [MODEL, [VENDOR, AMAZON], [TYPE, SMARTTV]], [\\n /\\\\(dtv[\\\\);].+(aquos)/i,\\n /(aquos-tv[\\\\w ]+)\\\\)/i // Sharp\\n ], [MODEL, [VENDOR, SHARP], [TYPE, SMARTTV]],[\\n /(bravia[\\\\w ]+)( bui|\\\\))/i // Sony\\n ], [MODEL, [VENDOR, SONY], [TYPE, SMARTTV]], [\\n /(mitv-\\\\w{5}) bui/i // Xiaomi\\n ], [MODEL, [VENDOR, XIAOMI], [TYPE, SMARTTV]], [\\n /Hbbtv.*(technisat) (.*);/i // TechniSAT\\n ], [VENDOR, MODEL, [TYPE, SMARTTV]], [\\n /\\\\b(roku)[\\\\dx]*[\\\\)\\\\/]((?:dvp-)?[\\\\d\\\\.]*)/i, // Roku\\n /hbbtv\\\\/\\\\d+\\\\.\\\\d+\\\\.\\\\d+ +\\\\([\\\\w\\\\+ ]*; *([\\\\w\\\\d][^;]*);([^;]*)/i // HbbTV devices\\n ], [[VENDOR, trim], [MODEL, trim], [TYPE, SMARTTV]], [\\n /\\\\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\\\\b/i // SmartTV from Unidentified Vendors\\n ], [[TYPE, SMARTTV]], [\\n\\n ///////////////////\\n // CONSOLES\\n ///////////////////\\n\\n /(ouya)/i, // Ouya\\n /(nintendo) ([wids3utch]+)/i // Nintendo\\n ], [VENDOR, MODEL, [TYPE, CONSOLE]], [\\n /droid.+; (shield) bui/i // Nvidia\\n ], [MODEL, [VENDOR, 'Nvidia'], [TYPE, CONSOLE]], [\\n /(playstation [345portablevi]+)/i // Playstation\\n ], [MODEL, [VENDOR, SONY], [TYPE, CONSOLE]], [\\n /\\\\b(xbox(?: one)?(?!; xbox))[\\\\); ]/i // Microsoft Xbox\\n ], [MODEL, [VENDOR, MICROSOFT], [TYPE, CONSOLE]], [\\n\\n ///////////////////\\n // WEARABLES\\n ///////////////////\\n\\n /((pebble))app/i // Pebble\\n ], [VENDOR, MODEL, [TYPE, WEARABLE]], [\\n /(watch)(?: ?os[,\\\\/]|\\\\d,\\\\d\\\\/)[\\\\d\\\\.]+/i // Apple Watch\\n ], [MODEL, [VENDOR, APPLE], [TYPE, WEARABLE]], [\\n /droid.+; (glass) \\\\d/i // Google Glass\\n ], [MODEL, [VENDOR, GOOGLE], [TYPE, WEARABLE]], [\\n /droid.+; (wt63?0{2,3})\\\\)/i\\n ], [MODEL, [VENDOR, ZEBRA], [TYPE, WEARABLE]], [\\n /(quest( 2| pro)?)/i // Oculus Quest\\n ], [MODEL, [VENDOR, FACEBOOK], [TYPE, WEARABLE]], [\\n\\n ///////////////////\\n // EMBEDDED\\n ///////////////////\\n\\n /(tesla)(?: qtcarbrowser|\\\\/[-\\\\w\\\\.]+)/i // Tesla\\n ], [VENDOR, [TYPE, EMBEDDED]], [\\n /(aeobc)\\\\b/i // Echo Dot\\n ], [MODEL, [VENDOR, AMAZON], [TYPE, EMBEDDED]], [\\n\\n ////////////////////\\n // MIXED (GENERIC)\\n ///////////////////\\n\\n /droid .+?; ([^;]+?)(?: bui|\\\\) applew).+? mobile safari/i // Android Phones from Unidentified Vendors\\n ], [MODEL, [TYPE, MOBILE]], [\\n /droid .+?; ([^;]+?)(?: bui|\\\\) applew).+?(?! mobile) safari/i // Android Tablets from Unidentified Vendors\\n ], [MODEL, [TYPE, TABLET]], [\\n /\\\\b((tablet|tab)[;\\\\/]|focus\\\\/\\\\d(?!.+mobile))/i // Unidentifiable Tablet\\n ], [[TYPE, TABLET]], [\\n /(phone|mobile(?:[;\\\\/]| [ \\\\w\\\\/\\\\.]*safari)|pda(?=.+windows ce))/i // Unidentifiable Mobile\\n ], [[TYPE, MOBILE]], [\\n /(android[-\\\\w\\\\. ]{0,9});.+buil/i // Generic Android Device\\n ], [MODEL, [VENDOR, 'Generic']]\\n ],\\n\\n engine : [[\\n\\n /windows.+ edge\\\\/([\\\\w\\\\.]+)/i // EdgeHTML\\n ], [VERSION, [NAME, EDGE+'HTML']], [\\n\\n /webkit\\\\/537\\\\.36.+chrome\\\\/(?!27)([\\\\w\\\\.]+)/i // Blink\\n ], [VERSION, [NAME, 'Blink']], [\\n\\n /(presto)\\\\/([\\\\w\\\\.]+)/i, // Presto\\n /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\\\\/([\\\\w\\\\.]+)/i, // WebKit/Trident/NetFront/NetSurf/Amaya/Lynx/w3m/Goanna\\n /ekioh(flow)\\\\/([\\\\w\\\\.]+)/i, // Flow\\n /(khtml|tasman|links)[\\\\/ ]\\\\(?([\\\\w\\\\.]+)/i, // KHTML/Tasman/Links\\n /(icab)[\\\\/ ]([23]\\\\.[\\\\d\\\\.]+)/i, // iCab\\n /\\\\b(libweb)/i\\n ], [NAME, VERSION], [\\n\\n /rv\\\\:([\\\\w\\\\.]{1,9})\\\\b.+(gecko)/i // Gecko\\n ], [VERSION, NAME]\\n ],\\n\\n os : [[\\n\\n // Windows\\n /microsoft (windows) (vista|xp)/i // Windows (iTunes)\\n ], [NAME, VERSION], [\\n /(windows) nt 6\\\\.2; (arm)/i, // Windows RT\\n /(windows (?:phone(?: os)?|mobile))[\\\\/ ]?([\\\\d\\\\.\\\\w ]*)/i, // Windows Phone\\n /(windows)[\\\\/ ]?([ntce\\\\d\\\\. ]+\\\\w)(?!.+xbox)/i\\n ], [NAME, [VERSION, strMapper, windowsVersionMap]], [\\n /(win(?=3|9|n)|win 9x )([nt\\\\d\\\\.]+)/i\\n ], [[NAME, 'Windows'], [VERSION, strMapper, windowsVersionMap]], [\\n\\n // iOS/macOS\\n /ip[honead]{2,4}\\\\b(?:.*os ([\\\\w]+) like mac|; opera)/i, // iOS\\n /ios;fbsv\\\\/([\\\\d\\\\.]+)/i,\\n /cfnetwork\\\\/.+darwin/i\\n ], [[VERSION, /_/g, '.'], [NAME, 'iOS']], [\\n /(mac os x) ?([\\\\w\\\\. ]*)/i,\\n /(macintosh|mac_powerpc\\\\b)(?!.+haiku)/i // Mac OS\\n ], [[NAME, MAC_OS], [VERSION, /_/g, '.']], [\\n\\n // Mobile OSes\\n /droid ([\\\\w\\\\.]+)\\\\b.+(android[- ]x86|harmonyos)/i // Android-x86/HarmonyOS\\n ], [VERSION, NAME], [ // Android/WebOS/QNX/Bada/RIM/Maemo/MeeGo/Sailfish OS\\n /(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\\\\/ ]?([\\\\w\\\\.]*)/i,\\n /(blackberry)\\\\w*\\\\/([\\\\w\\\\.]*)/i, // Blackberry\\n /(tizen|kaios)[\\\\/ ]([\\\\w\\\\.]+)/i, // Tizen/KaiOS\\n /\\\\((series40);/i // Series 40\\n ], [NAME, VERSION], [\\n /\\\\(bb(10);/i // BlackBerry 10\\n ], [VERSION, [NAME, BLACKBERRY]], [\\n /(?:symbian ?os|symbos|s60(?=;)|series60)[-\\\\/ ]?([\\\\w\\\\.]*)/i // Symbian\\n ], [VERSION, [NAME, 'Symbian']], [\\n /mozilla\\\\/[\\\\d\\\\.]+ \\\\((?:mobile|tablet|tv|mobile; [\\\\w ]+); rv:.+ gecko\\\\/([\\\\w\\\\.]+)/i // Firefox OS\\n ], [VERSION, [NAME, FIREFOX+' OS']], [\\n /web0s;.+rt(tv)/i,\\n /\\\\b(?:hp)?wos(?:browser)?\\\\/([\\\\w\\\\.]+)/i // WebOS\\n ], [VERSION, [NAME, 'webOS']], [\\n /watch(?: ?os[,\\\\/]|\\\\d,\\\\d\\\\/)([\\\\d\\\\.]+)/i // watchOS\\n ], [VERSION, [NAME, 'watchOS']], [\\n\\n // Google Chromecast\\n /crkey\\\\/([\\\\d\\\\.]+)/i // Google Chromecast\\n ], [VERSION, [NAME, CHROME+'cast']], [\\n /(cros) [\\\\w]+(?:\\\\)| ([\\\\w\\\\.]+)\\\\b)/i // Chromium OS\\n ], [[NAME, CHROMIUM_OS], VERSION],[\\n\\n // Smart TVs\\n /panasonic;(viera)/i, // Panasonic Viera\\n /(netrange)mmh/i, // Netrange\\n /(nettv)\\\\/(\\\\d+\\\\.[\\\\w\\\\.]+)/i, // NetTV\\n\\n // Console\\n /(nintendo|playstation) ([wids345portablevuch]+)/i, // Nintendo/Playstation\\n /(xbox); +xbox ([^\\\\);]+)/i, // Microsoft Xbox (360, One, X, S, Series X, Series S)\\n\\n // Other\\n /\\\\b(joli|palm)\\\\b ?(?:os)?\\\\/?([\\\\w\\\\.]*)/i, // Joli/Palm\\n /(mint)[\\\\/\\\\(\\\\) ]?(\\\\w*)/i, // Mint\\n /(mageia|vectorlinux)[; ]/i, // Mageia/VectorLinux\\n /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\\\\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\\\\/ ]?(?!chrom|package)([-\\\\w\\\\.]*)/i,\\n // Ubuntu/Debian/SUSE/Gentoo/Arch/Slackware/Fedora/Mandriva/CentOS/PCLinuxOS/RedHat/Zenwalk/Linpus/Raspbian/Plan9/Minix/RISCOS/Contiki/Deepin/Manjaro/elementary/Sabayon/Linspire\\n /(hurd|linux) ?([\\\\w\\\\.]*)/i, // Hurd/Linux\\n /(gnu) ?([\\\\w\\\\.]*)/i, // GNU\\n /\\\\b([-frentopcghs]{0,5}bsd|dragonfly)[\\\\/ ]?(?!amd|[ix346]{1,2}86)([\\\\w\\\\.]*)/i, // FreeBSD/NetBSD/OpenBSD/PC-BSD/GhostBSD/DragonFly\\n /(haiku) (\\\\w+)/i // Haiku\\n ], [NAME, VERSION], [\\n /(sunos) ?([\\\\w\\\\.\\\\d]*)/i // Solaris\\n ], [[NAME, 'Solaris'], VERSION], [\\n /((?:open)?solaris)[-\\\\/ ]?([\\\\w\\\\.]*)/i, // Solaris\\n /(aix) ((\\\\d)(?=\\\\.|\\\\)| )[\\\\w\\\\.])*/i, // AIX\\n /\\\\b(beos|os\\\\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, // BeOS/OS2/AmigaOS/MorphOS/OpenVMS/Fuchsia/HP-UX/SerenityOS\\n /(unix) ?([\\\\w\\\\.]*)/i // UNIX\\n ], [NAME, VERSION]\\n ]\\n };\\n\\n /////////////////\\n // Constructor\\n ////////////////\\n\\n var UAParser = function (ua, extensions) {\\n\\n if (typeof ua === OBJ_TYPE) {\\n extensions = ua;\\n ua = undefined;\\n }\\n\\n if (!(this instanceof UAParser)) {\\n return new UAParser(ua, extensions).getResult();\\n }\\n\\n var _navigator = (typeof window !== UNDEF_TYPE && window.navigator) ? window.navigator : undefined;\\n var _ua = ua || ((_navigator && _navigator.userAgent) ? _navigator.userAgent : EMPTY);\\n var _uach = (_navigator && _navigator.userAgentData) ? _navigator.userAgentData : undefined;\\n var _rgxmap = extensions ? extend(regexes, extensions) : regexes;\\n var _isSelfNav = _navigator && _navigator.userAgent == _ua;\\n\\n this.getBrowser = function () {\\n var _browser = {};\\n _browser[NAME] = undefined;\\n _browser[VERSION] = undefined;\\n rgxMapper.call(_browser, _ua, _rgxmap.browser);\\n _browser[MAJOR] = majorize(_browser[VERSION]);\\n // Brave-specific detection\\n if (_isSelfNav && _navigator && _navigator.brave && typeof _navigator.brave.isBrave == FUNC_TYPE) {\\n _browser[NAME] = 'Brave';\\n }\\n return _browser;\\n };\\n this.getCPU = function () {\\n var _cpu = {};\\n _cpu[ARCHITECTURE] = undefined;\\n rgxMapper.call(_cpu, _ua, _rgxmap.cpu);\\n return _cpu;\\n };\\n this.getDevice = function () {\\n var _device = {};\\n _device[VENDOR] = undefined;\\n _device[MODEL] = undefined;\\n _device[TYPE] = undefined;\\n rgxMapper.call(_device, _ua, _rgxmap.device);\\n if (_isSelfNav && !_device[TYPE] && _uach && _uach.mobile) {\\n _device[TYPE] = MOBILE;\\n }\\n // iPadOS-specific detection: identified as Mac, but has some iOS-only properties\\n if (_isSelfNav && _device[MODEL] == 'Macintosh' && _navigator && typeof _navigator.standalone !== UNDEF_TYPE && _navigator.maxTouchPoints && _navigator.maxTouchPoints > 2) {\\n _device[MODEL] = 'iPad';\\n _device[TYPE] = TABLET;\\n }\\n return _device;\\n };\\n this.getEngine = function () {\\n var _engine = {};\\n _engine[NAME] = undefined;\\n _engine[VERSION] = undefined;\\n rgxMapper.call(_engine, _ua, _rgxmap.engine);\\n return _engine;\\n };\\n this.getOS = function () {\\n var _os = {};\\n _os[NAME] = undefined;\\n _os[VERSION] = undefined;\\n rgxMapper.call(_os, _ua, _rgxmap.os);\\n if (_isSelfNav && !_os[NAME] && _uach && _uach.platform != 'Unknown') {\\n _os[NAME] = _uach.platform \\n .replace(/chrome os/i, CHROMIUM_OS)\\n .replace(/macos/i, MAC_OS); // backward compatibility\\n }\\n return _os;\\n };\\n this.getResult = function () {\\n return {\\n ua : this.getUA(),\\n browser : this.getBrowser(),\\n engine : this.getEngine(),\\n os : this.getOS(),\\n device : this.getDevice(),\\n cpu : this.getCPU()\\n };\\n };\\n this.getUA = function () {\\n return _ua;\\n };\\n this.setUA = function (ua) {\\n _ua = (typeof ua === STR_TYPE && ua.length > UA_MAX_LENGTH) ? trim(ua, UA_MAX_LENGTH) : ua;\\n return this;\\n };\\n this.setUA(_ua);\\n return this;\\n };\\n\\n UAParser.VERSION = LIBVERSION;\\n UAParser.BROWSER = enumerize([NAME, VERSION, MAJOR]);\\n UAParser.CPU = enumerize([ARCHITECTURE]);\\n UAParser.DEVICE = enumerize([MODEL, VENDOR, TYPE, CONSOLE, MOBILE, SMARTTV, TABLET, WEARABLE, EMBEDDED]);\\n UAParser.ENGINE = UAParser.OS = enumerize([NAME, VERSION]);\\n\\n ///////////\\n // Export\\n //////////\\n\\n // check js environment\\n if (typeof(exports) !== UNDEF_TYPE) {\\n // nodejs env\\n if (\\\"object\\\" !== UNDEF_TYPE && module.exports) {\\n exports = module.exports = UAParser;\\n }\\n exports.UAParser = UAParser;\\n } else {\\n // requirejs env (optional)\\n if (\\\"function\\\" === FUNC_TYPE && __webpack_require__.amdO) {\\n !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {\\n return UAParser;\\n }).call(exports, __webpack_require__, exports, module),\\n\\t\\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\\n } else if (typeof window !== UNDEF_TYPE) {\\n // browser env\\n window.UAParser = UAParser;\\n }\\n }\\n\\n // jQuery/Zepto specific (optional)\\n // Note:\\n // In AMD env the global scope should be kept clean, but jQuery is an exception.\\n // jQuery always exports to global scope, unless jQuery.noConflict(true) is used,\\n // and we should catch that.\\n var $ = typeof window !== UNDEF_TYPE && (window.jQuery || window.Zepto);\\n if ($ && !$.ua) {\\n var parser = new UAParser();\\n $.ua = parser.getResult();\\n $.ua.get = function () {\\n return parser.getUA();\\n };\\n $.ua.set = function (ua) {\\n parser.setUA(ua);\\n var result = parser.getResult();\\n for (var prop in result) {\\n $.ua[prop] = result[prop];\\n }\\n };\\n }\\n\\n})(typeof window === 'object' ? window : this);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/ua-parser-js/src/ua-parser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/regex.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/regex.js ***!\n \\*****************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/regex.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/rng.js\":\n/*!***************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/rng.js ***!\n \\***************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (/* binding */ rng)\\n/* harmony export */ });\\n// Unique ID creation requires a high quality random # generator. In the browser we therefore\\n// require the crypto API and do not support built-in fallback to lower quality random number\\n// generators (like Math.random()).\\nvar getRandomValues;\\nvar rnds8 = new Uint8Array(16);\\nfunction rng() {\\n // lazy load so that environments that need to polyfill have a chance to do so\\n if (!getRandomValues) {\\n // getRandomValues needs to be invoked in a context where \\\"this\\\" is a Crypto implementation. Also,\\n // find the complete implementation of crypto (msCrypto) on IE11.\\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);\\n\\n if (!getRandomValues) {\\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\\n }\\n }\\n\\n return getRandomValues(rnds8);\\n}\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/rng.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/stringify.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/stringify.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _validate_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./validate.js */ \\\"./node_modules/uuid/dist/esm-browser/validate.js\\\");\\n\\n/**\\n * Convert array of 16 byte values to UUID string format of the form:\\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\\n */\\n\\nvar byteToHex = [];\\n\\nfor (var i = 0; i < 256; ++i) {\\n byteToHex.push((i + 0x100).toString(16).substr(1));\\n}\\n\\nfunction stringify(arr) {\\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\\n // Note: Be careful editing this code! It's been tuned for performance\\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\\n var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\\n // of the following:\\n // - One or more input array values don't map to a hex octet (leading to\\n // \\\"undefined\\\" in the uuid)\\n // - Invalid input values for the RFC `version` or `variant` fields\\n\\n if (!(0,_validate_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"])(uuid)) {\\n throw TypeError('Stringified UUID is invalid');\\n }\\n\\n return uuid;\\n}\\n\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (stringify);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/stringify.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/v4.js\":\n/*!**************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/v4.js ***!\n \\**************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _rng_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./rng.js */ \\\"./node_modules/uuid/dist/esm-browser/rng.js\\\");\\n/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ \\\"./node_modules/uuid/dist/esm-browser/stringify.js\\\");\\n\\n\\n\\nfunction v4(options, buf, offset) {\\n options = options || {};\\n var rnds = options.random || (options.rng || _rng_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"])(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\\n\\n rnds[6] = rnds[6] & 0x0f | 0x40;\\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\\n\\n if (buf) {\\n offset = offset || 0;\\n\\n for (var i = 0; i < 16; ++i) {\\n buf[offset + i] = rnds[i];\\n }\\n\\n return buf;\\n }\\n\\n return (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"])(rnds);\\n}\\n\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (v4);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/v4.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/uuid/dist/esm-browser/validate.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/uuid/dist/esm-browser/validate.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./regex.js */ \\\"./node_modules/uuid/dist/esm-browser/regex.js\\\");\\n\\n\\nfunction validate(uuid) {\\n return typeof uuid === 'string' && _regex_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"].test(uuid);\\n}\\n\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (validate);\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/uuid/dist/esm-browser/validate.js?\");\n\n/***/ }),\n\n/***/ \"react\":\n/*!************************!*\\\n !*** external \"react\" ***!\n \\************************/\n/***/ ((module) => {\n\n\"use strict\";\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_react__;\n\n/***/ }),\n\n/***/ \"./node_modules/@socket.io/component-emitter/index.mjs\":\n/*!*************************************************************!*\\\n !*** ./node_modules/@socket.io/component-emitter/index.mjs ***!\n \\*************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Emitter: () => (/* binding */ Emitter)\\n/* harmony export */ });\\n/**\\n * Initialize a new `Emitter`.\\n *\\n * @api public\\n */\\n\\nfunction Emitter(obj) {\\n if (obj) return mixin(obj);\\n}\\n\\n/**\\n * Mixin the emitter properties.\\n *\\n * @param {Object} obj\\n * @return {Object}\\n * @api private\\n */\\n\\nfunction mixin(obj) {\\n for (var key in Emitter.prototype) {\\n obj[key] = Emitter.prototype[key];\\n }\\n return obj;\\n}\\n\\n/**\\n * Listen on the given `event` with `fn`.\\n *\\n * @param {String} event\\n * @param {Function} fn\\n * @return {Emitter}\\n * @api public\\n */\\n\\nEmitter.prototype.on =\\nEmitter.prototype.addEventListener = function(event, fn){\\n this._callbacks = this._callbacks || {};\\n (this._callbacks['$' + event] = this._callbacks['$' + event] || [])\\n .push(fn);\\n return this;\\n};\\n\\n/**\\n * Adds an `event` listener that will be invoked a single\\n * time then automatically removed.\\n *\\n * @param {String} event\\n * @param {Function} fn\\n * @return {Emitter}\\n * @api public\\n */\\n\\nEmitter.prototype.once = function(event, fn){\\n function on() {\\n this.off(event, on);\\n fn.apply(this, arguments);\\n }\\n\\n on.fn = fn;\\n this.on(event, on);\\n return this;\\n};\\n\\n/**\\n * Remove the given callback for `event` or all\\n * registered callbacks.\\n *\\n * @param {String} event\\n * @param {Function} fn\\n * @return {Emitter}\\n * @api public\\n */\\n\\nEmitter.prototype.off =\\nEmitter.prototype.removeListener =\\nEmitter.prototype.removeAllListeners =\\nEmitter.prototype.removeEventListener = function(event, fn){\\n this._callbacks = this._callbacks || {};\\n\\n // all\\n if (0 == arguments.length) {\\n this._callbacks = {};\\n return this;\\n }\\n\\n // specific event\\n var callbacks = this._callbacks['$' + event];\\n if (!callbacks) return this;\\n\\n // remove all handlers\\n if (1 == arguments.length) {\\n delete this._callbacks['$' + event];\\n return this;\\n }\\n\\n // remove specific handler\\n var cb;\\n for (var i = 0; i < callbacks.length; i++) {\\n cb = callbacks[i];\\n if (cb === fn || cb.fn === fn) {\\n callbacks.splice(i, 1);\\n break;\\n }\\n }\\n\\n // Remove event specific arrays for event types that no\\n // one is subscribed for to avoid memory leak.\\n if (callbacks.length === 0) {\\n delete this._callbacks['$' + event];\\n }\\n\\n return this;\\n};\\n\\n/**\\n * Emit `event` with the given args.\\n *\\n * @param {String} event\\n * @param {Mixed} ...\\n * @return {Emitter}\\n */\\n\\nEmitter.prototype.emit = function(event){\\n this._callbacks = this._callbacks || {};\\n\\n var args = new Array(arguments.length - 1)\\n , callbacks = this._callbacks['$' + event];\\n\\n for (var i = 1; i < arguments.length; i++) {\\n args[i - 1] = arguments[i];\\n }\\n\\n if (callbacks) {\\n callbacks = callbacks.slice(0);\\n for (var i = 0, len = callbacks.length; i < len; ++i) {\\n callbacks[i].apply(this, args);\\n }\\n }\\n\\n return this;\\n};\\n\\n// alias used for reserved events (protected method)\\nEmitter.prototype.emitReserved = Emitter.prototype.emit;\\n\\n/**\\n * Return array of callbacks for `event`.\\n *\\n * @param {String} event\\n * @return {Array}\\n * @api public\\n */\\n\\nEmitter.prototype.listeners = function(event){\\n this._callbacks = this._callbacks || {};\\n return this._callbacks['$' + event] || [];\\n};\\n\\n/**\\n * Check if this emitter has `event` handlers.\\n *\\n * @param {String} event\\n * @return {Boolean}\\n * @api public\\n */\\n\\nEmitter.prototype.hasListeners = function(event){\\n return !! this.listeners(event).length;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@socket.io/component-emitter/index.mjs?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/has-cors.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/has-cors.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ hasCORS: () => (/* binding */ hasCORS)\\n/* harmony export */ });\\n// imported from https://github.com/component/has-cors\\nlet value = false;\\ntry {\\n value = typeof XMLHttpRequest !== 'undefined' &&\\n 'withCredentials' in new XMLHttpRequest();\\n}\\ncatch (err) {\\n // if XMLHttp support is disabled in IE then it will throw\\n // when trying to create\\n}\\nconst hasCORS = value;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/has-cors.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/parseqs.js ***!\n \\********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decode: () => (/* binding */ decode),\\n/* harmony export */ encode: () => (/* binding */ encode)\\n/* harmony export */ });\\n// imported from https://github.com/galkn/querystring\\n/**\\n * Compiles a querystring\\n * Returns string representation of the object\\n *\\n * @param {Object}\\n * @api private\\n */\\nfunction encode(obj) {\\n let str = '';\\n for (let i in obj) {\\n if (obj.hasOwnProperty(i)) {\\n if (str.length)\\n str += '&';\\n str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]);\\n }\\n }\\n return str;\\n}\\n/**\\n * Parses a simple querystring into an object\\n *\\n * @param {String} qs\\n * @api private\\n */\\nfunction decode(qs) {\\n let qry = {};\\n let pairs = qs.split('&');\\n for (let i = 0, l = pairs.length; i < l; i++) {\\n let pair = pairs[i].split('=');\\n qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\\n }\\n return qry;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/parseqs.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/parseuri.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/parseuri.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ parse: () => (/* binding */ parse)\\n/* harmony export */ });\\n// imported from https://github.com/galkn/parseuri\\n/**\\n * Parses a URI\\n *\\n * Note: we could also have used the built-in URL object, but it isn't supported on all platforms.\\n *\\n * See:\\n * - https://developer.mozilla.org/en-US/docs/Web/API/URL\\n * - https://caniuse.com/url\\n * - https://www.rfc-editor.org/rfc/rfc3986#appendix-B\\n *\\n * History of the parse() method:\\n * - first commit: https://github.com/socketio/socket.io-client/commit/4ee1d5d94b3906a9c052b459f1a818b15f38f91c\\n * - export into its own module: https://github.com/socketio/engine.io-client/commit/de2c561e4564efeb78f1bdb1ba39ef81b2822cb3\\n * - reimport: https://github.com/socketio/engine.io-client/commit/df32277c3f6d622eec5ed09f493cae3f3391d242\\n *\\n * @author Steven Levithan (MIT license)\\n * @api private\\n */\\nconst re = /^(?:(?![^:@\\\\/?#]+:[^:@\\\\/]*@)(http|https|ws|wss):\\\\/\\\\/)?((?:(([^:@\\\\/?#]*)(?::([^:@\\\\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\\\\/?#]*)(?::(\\\\d*))?)(((\\\\/(?:[^?#](?![^?#\\\\/]*\\\\.[^?#\\\\/.]+(?:[?#]|$)))*\\\\/?)?([^?#\\\\/]*))(?:\\\\?([^#]*))?(?:#(.*))?)/;\\nconst parts = [\\n 'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor'\\n];\\nfunction parse(str) {\\n const src = str, b = str.indexOf('['), e = str.indexOf(']');\\n if (b != -1 && e != -1) {\\n str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length);\\n }\\n let m = re.exec(str || ''), uri = {}, i = 14;\\n while (i--) {\\n uri[parts[i]] = m[i] || '';\\n }\\n if (b != -1 && e != -1) {\\n uri.source = src;\\n uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':');\\n uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':');\\n uri.ipv6uri = true;\\n }\\n uri.pathNames = pathNames(uri, uri['path']);\\n uri.queryKey = queryKey(uri, uri['query']);\\n return uri;\\n}\\nfunction pathNames(obj, path) {\\n const regx = /\\\\/{2,9}/g, names = path.replace(regx, \\\"/\\\").split(\\\"/\\\");\\n if (path.slice(0, 1) == '/' || path.length === 0) {\\n names.splice(0, 1);\\n }\\n if (path.slice(-1) == '/') {\\n names.splice(names.length - 1, 1);\\n }\\n return names;\\n}\\nfunction queryKey(uri, query) {\\n const data = {};\\n query.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function ($0, $1, $2) {\\n if ($1) {\\n data[$1] = $2;\\n }\\n });\\n return data;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/parseuri.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/contrib/yeast.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/contrib/yeast.js ***!\n \\******************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decode: () => (/* binding */ decode),\\n/* harmony export */ encode: () => (/* binding */ encode),\\n/* harmony export */ yeast: () => (/* binding */ yeast)\\n/* harmony export */ });\\n// imported from https://github.com/unshiftio/yeast\\n\\nconst alphabet = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_'.split(''), length = 64, map = {};\\nlet seed = 0, i = 0, prev;\\n/**\\n * Return a string representing the specified number.\\n *\\n * @param {Number} num The number to convert.\\n * @returns {String} The string representation of the number.\\n * @api public\\n */\\nfunction encode(num) {\\n let encoded = '';\\n do {\\n encoded = alphabet[num % length] + encoded;\\n num = Math.floor(num / length);\\n } while (num > 0);\\n return encoded;\\n}\\n/**\\n * Return the integer value specified by the given string.\\n *\\n * @param {String} str The string to convert.\\n * @returns {Number} The integer value represented by the string.\\n * @api public\\n */\\nfunction decode(str) {\\n let decoded = 0;\\n for (i = 0; i < str.length; i++) {\\n decoded = decoded * length + map[str.charAt(i)];\\n }\\n return decoded;\\n}\\n/**\\n * Yeast: A tiny growing id generator.\\n *\\n * @returns {String} A unique id.\\n * @api public\\n */\\nfunction yeast() {\\n const now = encode(+new Date());\\n if (now !== prev)\\n return seed = 0, prev = now;\\n return now + '.' + encode(seed++);\\n}\\n//\\n// Map each character to its index.\\n//\\nfor (; i < length; i++)\\n map[alphabet[i]] = i;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/contrib/yeast.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/globalThis.browser.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/globalThis.browser.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ globalThisShim: () => (/* binding */ globalThisShim)\\n/* harmony export */ });\\nconst globalThisShim = (() => {\\n if (typeof self !== \\\"undefined\\\") {\\n return self;\\n }\\n else if (typeof window !== \\\"undefined\\\") {\\n return window;\\n }\\n else {\\n return Function(\\\"return this\\\")();\\n }\\n})();\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/globalThis.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Socket: () => (/* reexport safe */ _socket_js__WEBPACK_IMPORTED_MODULE_0__.Socket),\\n/* harmony export */ Transport: () => (/* reexport safe */ _transport_js__WEBPACK_IMPORTED_MODULE_1__.Transport),\\n/* harmony export */ installTimerFunctions: () => (/* reexport safe */ _util_js__WEBPACK_IMPORTED_MODULE_3__.installTimerFunctions),\\n/* harmony export */ nextTick: () => (/* reexport safe */ _transports_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_5__.nextTick),\\n/* harmony export */ parse: () => (/* reexport safe */ _contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_4__.parse),\\n/* harmony export */ protocol: () => (/* binding */ protocol),\\n/* harmony export */ transports: () => (/* reexport safe */ _transports_index_js__WEBPACK_IMPORTED_MODULE_2__.transports)\\n/* harmony export */ });\\n/* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./socket.js */ \\\"./node_modules/engine.io-client/build/esm/socket.js\\\");\\n/* harmony import */ var _transport_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transport.js */ \\\"./node_modules/engine.io-client/build/esm/transport.js\\\");\\n/* harmony import */ var _transports_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transports/index.js */ \\\"./node_modules/engine.io-client/build/esm/transports/index.js\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./contrib/parseuri.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseuri.js\\\");\\n/* harmony import */ var _transports_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./transports/websocket-constructor.js */ \\\"./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js\\\");\\n\\n\\nconst protocol = _socket_js__WEBPACK_IMPORTED_MODULE_0__.Socket.protocol;\\n\\n\\n\\n\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/socket.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/socket.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Socket: () => (/* binding */ Socket)\\n/* harmony export */ });\\n/* harmony import */ var _transports_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transports/index.js */ \\\"./node_modules/engine.io-client/build/esm/transports/index.js\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./contrib/parseqs.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\\\");\\n/* harmony import */ var _contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./contrib/parseuri.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseuri.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n\\n\\n\\n\\n\\n\\nclass Socket extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_4__.Emitter {\\n /**\\n * Socket constructor.\\n *\\n * @param {String|Object} uri - uri or options\\n * @param {Object} opts - options\\n */\\n constructor(uri, opts = {}) {\\n super();\\n this.writeBuffer = [];\\n if (uri && \\\"object\\\" === typeof uri) {\\n opts = uri;\\n uri = null;\\n }\\n if (uri) {\\n uri = (0,_contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_3__.parse)(uri);\\n opts.hostname = uri.host;\\n opts.secure = uri.protocol === \\\"https\\\" || uri.protocol === \\\"wss\\\";\\n opts.port = uri.port;\\n if (uri.query)\\n opts.query = uri.query;\\n }\\n else if (opts.host) {\\n opts.hostname = (0,_contrib_parseuri_js__WEBPACK_IMPORTED_MODULE_3__.parse)(opts.host).host;\\n }\\n (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.installTimerFunctions)(this, opts);\\n this.secure =\\n null != opts.secure\\n ? opts.secure\\n : typeof location !== \\\"undefined\\\" && \\\"https:\\\" === location.protocol;\\n if (opts.hostname && !opts.port) {\\n // if no port is specified manually, use the protocol default\\n opts.port = this.secure ? \\\"443\\\" : \\\"80\\\";\\n }\\n this.hostname =\\n opts.hostname ||\\n (typeof location !== \\\"undefined\\\" ? location.hostname : \\\"localhost\\\");\\n this.port =\\n opts.port ||\\n (typeof location !== \\\"undefined\\\" && location.port\\n ? location.port\\n : this.secure\\n ? \\\"443\\\"\\n : \\\"80\\\");\\n this.transports = opts.transports || [\\\"polling\\\", \\\"websocket\\\"];\\n this.writeBuffer = [];\\n this.prevBufferLen = 0;\\n this.opts = Object.assign({\\n path: \\\"/engine.io\\\",\\n agent: false,\\n withCredentials: false,\\n upgrade: true,\\n timestampParam: \\\"t\\\",\\n rememberUpgrade: false,\\n addTrailingSlash: true,\\n rejectUnauthorized: true,\\n perMessageDeflate: {\\n threshold: 1024,\\n },\\n transportOptions: {},\\n closeOnBeforeunload: true,\\n }, opts);\\n this.opts.path =\\n this.opts.path.replace(/\\\\/$/, \\\"\\\") +\\n (this.opts.addTrailingSlash ? \\\"/\\\" : \\\"\\\");\\n if (typeof this.opts.query === \\\"string\\\") {\\n this.opts.query = (0,_contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__.decode)(this.opts.query);\\n }\\n // set on handshake\\n this.id = null;\\n this.upgrades = null;\\n this.pingInterval = null;\\n this.pingTimeout = null;\\n // set on heartbeat\\n this.pingTimeoutTimer = null;\\n if (typeof addEventListener === \\\"function\\\") {\\n if (this.opts.closeOnBeforeunload) {\\n // Firefox closes the connection when the \\\"beforeunload\\\" event is emitted but not Chrome. This event listener\\n // ensures every browser behaves the same (no \\\"disconnect\\\" event at the Socket.IO level when the page is\\n // closed/reloaded)\\n this.beforeunloadEventListener = () => {\\n if (this.transport) {\\n // silently close the transport\\n this.transport.removeAllListeners();\\n this.transport.close();\\n }\\n };\\n addEventListener(\\\"beforeunload\\\", this.beforeunloadEventListener, false);\\n }\\n if (this.hostname !== \\\"localhost\\\") {\\n this.offlineEventListener = () => {\\n this.onClose(\\\"transport close\\\", {\\n description: \\\"network connection lost\\\",\\n });\\n };\\n addEventListener(\\\"offline\\\", this.offlineEventListener, false);\\n }\\n }\\n this.open();\\n }\\n /**\\n * Creates transport of the given type.\\n *\\n * @param {String} name - transport name\\n * @return {Transport}\\n * @private\\n */\\n createTransport(name) {\\n const query = Object.assign({}, this.opts.query);\\n // append engine.io protocol identifier\\n query.EIO = engine_io_parser__WEBPACK_IMPORTED_MODULE_5__.protocol;\\n // transport name\\n query.transport = name;\\n // session id if we already have one\\n if (this.id)\\n query.sid = this.id;\\n const opts = Object.assign({}, this.opts.transportOptions[name], this.opts, {\\n query,\\n socket: this,\\n hostname: this.hostname,\\n secure: this.secure,\\n port: this.port,\\n });\\n return new _transports_index_js__WEBPACK_IMPORTED_MODULE_0__.transports[name](opts);\\n }\\n /**\\n * Initializes transport to use and starts probe.\\n *\\n * @private\\n */\\n open() {\\n let transport;\\n if (this.opts.rememberUpgrade &&\\n Socket.priorWebsocketSuccess &&\\n this.transports.indexOf(\\\"websocket\\\") !== -1) {\\n transport = \\\"websocket\\\";\\n }\\n else if (0 === this.transports.length) {\\n // Emit error on next tick so it can be listened to\\n this.setTimeoutFn(() => {\\n this.emitReserved(\\\"error\\\", \\\"No transports available\\\");\\n }, 0);\\n return;\\n }\\n else {\\n transport = this.transports[0];\\n }\\n this.readyState = \\\"opening\\\";\\n // Retry with the next transport if the transport is disabled (jsonp: false)\\n try {\\n transport = this.createTransport(transport);\\n }\\n catch (e) {\\n this.transports.shift();\\n this.open();\\n return;\\n }\\n transport.open();\\n this.setTransport(transport);\\n }\\n /**\\n * Sets the current transport. Disables the existing one (if any).\\n *\\n * @private\\n */\\n setTransport(transport) {\\n if (this.transport) {\\n this.transport.removeAllListeners();\\n }\\n // set up transport\\n this.transport = transport;\\n // set up transport listeners\\n transport\\n .on(\\\"drain\\\", this.onDrain.bind(this))\\n .on(\\\"packet\\\", this.onPacket.bind(this))\\n .on(\\\"error\\\", this.onError.bind(this))\\n .on(\\\"close\\\", (reason) => this.onClose(\\\"transport close\\\", reason));\\n }\\n /**\\n * Probes a transport.\\n *\\n * @param {String} name - transport name\\n * @private\\n */\\n probe(name) {\\n let transport = this.createTransport(name);\\n let failed = false;\\n Socket.priorWebsocketSuccess = false;\\n const onTransportOpen = () => {\\n if (failed)\\n return;\\n transport.send([{ type: \\\"ping\\\", data: \\\"probe\\\" }]);\\n transport.once(\\\"packet\\\", (msg) => {\\n if (failed)\\n return;\\n if (\\\"pong\\\" === msg.type && \\\"probe\\\" === msg.data) {\\n this.upgrading = true;\\n this.emitReserved(\\\"upgrading\\\", transport);\\n if (!transport)\\n return;\\n Socket.priorWebsocketSuccess = \\\"websocket\\\" === transport.name;\\n this.transport.pause(() => {\\n if (failed)\\n return;\\n if (\\\"closed\\\" === this.readyState)\\n return;\\n cleanup();\\n this.setTransport(transport);\\n transport.send([{ type: \\\"upgrade\\\" }]);\\n this.emitReserved(\\\"upgrade\\\", transport);\\n transport = null;\\n this.upgrading = false;\\n this.flush();\\n });\\n }\\n else {\\n const err = new Error(\\\"probe error\\\");\\n // @ts-ignore\\n err.transport = transport.name;\\n this.emitReserved(\\\"upgradeError\\\", err);\\n }\\n });\\n };\\n function freezeTransport() {\\n if (failed)\\n return;\\n // Any callback called by transport should be ignored since now\\n failed = true;\\n cleanup();\\n transport.close();\\n transport = null;\\n }\\n // Handle any error that happens while probing\\n const onerror = (err) => {\\n const error = new Error(\\\"probe error: \\\" + err);\\n // @ts-ignore\\n error.transport = transport.name;\\n freezeTransport();\\n this.emitReserved(\\\"upgradeError\\\", error);\\n };\\n function onTransportClose() {\\n onerror(\\\"transport closed\\\");\\n }\\n // When the socket is closed while we're probing\\n function onclose() {\\n onerror(\\\"socket closed\\\");\\n }\\n // When the socket is upgraded while we're probing\\n function onupgrade(to) {\\n if (transport && to.name !== transport.name) {\\n freezeTransport();\\n }\\n }\\n // Remove all listeners on the transport and on self\\n const cleanup = () => {\\n transport.removeListener(\\\"open\\\", onTransportOpen);\\n transport.removeListener(\\\"error\\\", onerror);\\n transport.removeListener(\\\"close\\\", onTransportClose);\\n this.off(\\\"close\\\", onclose);\\n this.off(\\\"upgrading\\\", onupgrade);\\n };\\n transport.once(\\\"open\\\", onTransportOpen);\\n transport.once(\\\"error\\\", onerror);\\n transport.once(\\\"close\\\", onTransportClose);\\n this.once(\\\"close\\\", onclose);\\n this.once(\\\"upgrading\\\", onupgrade);\\n transport.open();\\n }\\n /**\\n * Called when connection is deemed open.\\n *\\n * @private\\n */\\n onOpen() {\\n this.readyState = \\\"open\\\";\\n Socket.priorWebsocketSuccess = \\\"websocket\\\" === this.transport.name;\\n this.emitReserved(\\\"open\\\");\\n this.flush();\\n // we check for `readyState` in case an `open`\\n // listener already closed the socket\\n if (\\\"open\\\" === this.readyState && this.opts.upgrade) {\\n let i = 0;\\n const l = this.upgrades.length;\\n for (; i < l; i++) {\\n this.probe(this.upgrades[i]);\\n }\\n }\\n }\\n /**\\n * Handles a packet.\\n *\\n * @private\\n */\\n onPacket(packet) {\\n if (\\\"opening\\\" === this.readyState ||\\n \\\"open\\\" === this.readyState ||\\n \\\"closing\\\" === this.readyState) {\\n this.emitReserved(\\\"packet\\\", packet);\\n // Socket is live - any packet counts\\n this.emitReserved(\\\"heartbeat\\\");\\n switch (packet.type) {\\n case \\\"open\\\":\\n this.onHandshake(JSON.parse(packet.data));\\n break;\\n case \\\"ping\\\":\\n this.resetPingTimeout();\\n this.sendPacket(\\\"pong\\\");\\n this.emitReserved(\\\"ping\\\");\\n this.emitReserved(\\\"pong\\\");\\n break;\\n case \\\"error\\\":\\n const err = new Error(\\\"server error\\\");\\n // @ts-ignore\\n err.code = packet.data;\\n this.onError(err);\\n break;\\n case \\\"message\\\":\\n this.emitReserved(\\\"data\\\", packet.data);\\n this.emitReserved(\\\"message\\\", packet.data);\\n break;\\n }\\n }\\n else {\\n }\\n }\\n /**\\n * Called upon handshake completion.\\n *\\n * @param {Object} data - handshake obj\\n * @private\\n */\\n onHandshake(data) {\\n this.emitReserved(\\\"handshake\\\", data);\\n this.id = data.sid;\\n this.transport.query.sid = data.sid;\\n this.upgrades = this.filterUpgrades(data.upgrades);\\n this.pingInterval = data.pingInterval;\\n this.pingTimeout = data.pingTimeout;\\n this.maxPayload = data.maxPayload;\\n this.onOpen();\\n // In case open handler closes socket\\n if (\\\"closed\\\" === this.readyState)\\n return;\\n this.resetPingTimeout();\\n }\\n /**\\n * Sets and resets ping timeout timer based on server pings.\\n *\\n * @private\\n */\\n resetPingTimeout() {\\n this.clearTimeoutFn(this.pingTimeoutTimer);\\n this.pingTimeoutTimer = this.setTimeoutFn(() => {\\n this.onClose(\\\"ping timeout\\\");\\n }, this.pingInterval + this.pingTimeout);\\n if (this.opts.autoUnref) {\\n this.pingTimeoutTimer.unref();\\n }\\n }\\n /**\\n * Called on `drain` event\\n *\\n * @private\\n */\\n onDrain() {\\n this.writeBuffer.splice(0, this.prevBufferLen);\\n // setting prevBufferLen = 0 is very important\\n // for example, when upgrading, upgrade packet is sent over,\\n // and a nonzero prevBufferLen could cause problems on `drain`\\n this.prevBufferLen = 0;\\n if (0 === this.writeBuffer.length) {\\n this.emitReserved(\\\"drain\\\");\\n }\\n else {\\n this.flush();\\n }\\n }\\n /**\\n * Flush write buffers.\\n *\\n * @private\\n */\\n flush() {\\n if (\\\"closed\\\" !== this.readyState &&\\n this.transport.writable &&\\n !this.upgrading &&\\n this.writeBuffer.length) {\\n const packets = this.getWritablePackets();\\n this.transport.send(packets);\\n // keep track of current length of writeBuffer\\n // splice writeBuffer and callbackBuffer on `drain`\\n this.prevBufferLen = packets.length;\\n this.emitReserved(\\\"flush\\\");\\n }\\n }\\n /**\\n * Ensure the encoded size of the writeBuffer is below the maxPayload value sent by the server (only for HTTP\\n * long-polling)\\n *\\n * @private\\n */\\n getWritablePackets() {\\n const shouldCheckPayloadSize = this.maxPayload &&\\n this.transport.name === \\\"polling\\\" &&\\n this.writeBuffer.length > 1;\\n if (!shouldCheckPayloadSize) {\\n return this.writeBuffer;\\n }\\n let payloadSize = 1; // first packet type\\n for (let i = 0; i < this.writeBuffer.length; i++) {\\n const data = this.writeBuffer[i].data;\\n if (data) {\\n payloadSize += (0,_util_js__WEBPACK_IMPORTED_MODULE_1__.byteLength)(data);\\n }\\n if (i > 0 && payloadSize > this.maxPayload) {\\n return this.writeBuffer.slice(0, i);\\n }\\n payloadSize += 2; // separator + packet type\\n }\\n return this.writeBuffer;\\n }\\n /**\\n * Sends a message.\\n *\\n * @param {String} msg - message.\\n * @param {Object} options.\\n * @param {Function} callback function.\\n * @return {Socket} for chaining.\\n */\\n write(msg, options, fn) {\\n this.sendPacket(\\\"message\\\", msg, options, fn);\\n return this;\\n }\\n send(msg, options, fn) {\\n this.sendPacket(\\\"message\\\", msg, options, fn);\\n return this;\\n }\\n /**\\n * Sends a packet.\\n *\\n * @param {String} type: packet type.\\n * @param {String} data.\\n * @param {Object} options.\\n * @param {Function} fn - callback function.\\n * @private\\n */\\n sendPacket(type, data, options, fn) {\\n if (\\\"function\\\" === typeof data) {\\n fn = data;\\n data = undefined;\\n }\\n if (\\\"function\\\" === typeof options) {\\n fn = options;\\n options = null;\\n }\\n if (\\\"closing\\\" === this.readyState || \\\"closed\\\" === this.readyState) {\\n return;\\n }\\n options = options || {};\\n options.compress = false !== options.compress;\\n const packet = {\\n type: type,\\n data: data,\\n options: options,\\n };\\n this.emitReserved(\\\"packetCreate\\\", packet);\\n this.writeBuffer.push(packet);\\n if (fn)\\n this.once(\\\"flush\\\", fn);\\n this.flush();\\n }\\n /**\\n * Closes the connection.\\n */\\n close() {\\n const close = () => {\\n this.onClose(\\\"forced close\\\");\\n this.transport.close();\\n };\\n const cleanupAndClose = () => {\\n this.off(\\\"upgrade\\\", cleanupAndClose);\\n this.off(\\\"upgradeError\\\", cleanupAndClose);\\n close();\\n };\\n const waitForUpgrade = () => {\\n // wait for upgrade to finish since we can't send packets while pausing a transport\\n this.once(\\\"upgrade\\\", cleanupAndClose);\\n this.once(\\\"upgradeError\\\", cleanupAndClose);\\n };\\n if (\\\"opening\\\" === this.readyState || \\\"open\\\" === this.readyState) {\\n this.readyState = \\\"closing\\\";\\n if (this.writeBuffer.length) {\\n this.once(\\\"drain\\\", () => {\\n if (this.upgrading) {\\n waitForUpgrade();\\n }\\n else {\\n close();\\n }\\n });\\n }\\n else if (this.upgrading) {\\n waitForUpgrade();\\n }\\n else {\\n close();\\n }\\n }\\n return this;\\n }\\n /**\\n * Called upon transport error\\n *\\n * @private\\n */\\n onError(err) {\\n Socket.priorWebsocketSuccess = false;\\n this.emitReserved(\\\"error\\\", err);\\n this.onClose(\\\"transport error\\\", err);\\n }\\n /**\\n * Called upon transport close.\\n *\\n * @private\\n */\\n onClose(reason, description) {\\n if (\\\"opening\\\" === this.readyState ||\\n \\\"open\\\" === this.readyState ||\\n \\\"closing\\\" === this.readyState) {\\n // clear timers\\n this.clearTimeoutFn(this.pingTimeoutTimer);\\n // stop event from firing again for transport\\n this.transport.removeAllListeners(\\\"close\\\");\\n // ensure transport won't stay open\\n this.transport.close();\\n // ignore further transport communication\\n this.transport.removeAllListeners();\\n if (typeof removeEventListener === \\\"function\\\") {\\n removeEventListener(\\\"beforeunload\\\", this.beforeunloadEventListener, false);\\n removeEventListener(\\\"offline\\\", this.offlineEventListener, false);\\n }\\n // set ready state\\n this.readyState = \\\"closed\\\";\\n // clear session id\\n this.id = null;\\n // emit close event\\n this.emitReserved(\\\"close\\\", reason, description);\\n // clean buffers after, so users can still\\n // grab the buffers on `close` event\\n this.writeBuffer = [];\\n this.prevBufferLen = 0;\\n }\\n }\\n /**\\n * Filters upgrades, returning only those matching client transports.\\n *\\n * @param {Array} upgrades - server upgrades\\n * @private\\n */\\n filterUpgrades(upgrades) {\\n const filteredUpgrades = [];\\n let i = 0;\\n const j = upgrades.length;\\n for (; i < j; i++) {\\n if (~this.transports.indexOf(upgrades[i]))\\n filteredUpgrades.push(upgrades[i]);\\n }\\n return filteredUpgrades;\\n }\\n}\\nSocket.protocol = engine_io_parser__WEBPACK_IMPORTED_MODULE_5__.protocol;\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/socket.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transport.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transport.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Transport: () => (/* binding */ Transport)\\n/* harmony export */ });\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n\\n\\n\\nclass TransportError extends Error {\\n constructor(reason, description, context) {\\n super(reason);\\n this.description = description;\\n this.context = context;\\n this.type = \\\"TransportError\\\";\\n }\\n}\\nclass Transport extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_1__.Emitter {\\n /**\\n * Transport abstract constructor.\\n *\\n * @param {Object} opts - options\\n * @protected\\n */\\n constructor(opts) {\\n super();\\n this.writable = false;\\n (0,_util_js__WEBPACK_IMPORTED_MODULE_2__.installTimerFunctions)(this, opts);\\n this.opts = opts;\\n this.query = opts.query;\\n this.socket = opts.socket;\\n }\\n /**\\n * Emits an error.\\n *\\n * @param {String} reason\\n * @param description\\n * @param context - the error context\\n * @return {Transport} for chaining\\n * @protected\\n */\\n onError(reason, description, context) {\\n super.emitReserved(\\\"error\\\", new TransportError(reason, description, context));\\n return this;\\n }\\n /**\\n * Opens the transport.\\n */\\n open() {\\n this.readyState = \\\"opening\\\";\\n this.doOpen();\\n return this;\\n }\\n /**\\n * Closes the transport.\\n */\\n close() {\\n if (this.readyState === \\\"opening\\\" || this.readyState === \\\"open\\\") {\\n this.doClose();\\n this.onClose();\\n }\\n return this;\\n }\\n /**\\n * Sends multiple packets.\\n *\\n * @param {Array} packets\\n */\\n send(packets) {\\n if (this.readyState === \\\"open\\\") {\\n this.write(packets);\\n }\\n else {\\n // this might happen if the transport was silently closed in the beforeunload event handler\\n }\\n }\\n /**\\n * Called upon open\\n *\\n * @protected\\n */\\n onOpen() {\\n this.readyState = \\\"open\\\";\\n this.writable = true;\\n super.emitReserved(\\\"open\\\");\\n }\\n /**\\n * Called with data.\\n *\\n * @param {String} data\\n * @protected\\n */\\n onData(data) {\\n const packet = (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_0__.decodePacket)(data, this.socket.binaryType);\\n this.onPacket(packet);\\n }\\n /**\\n * Called with a decoded packet.\\n *\\n * @protected\\n */\\n onPacket(packet) {\\n super.emitReserved(\\\"packet\\\", packet);\\n }\\n /**\\n * Called upon close.\\n *\\n * @protected\\n */\\n onClose(details) {\\n this.readyState = \\\"closed\\\";\\n super.emitReserved(\\\"close\\\", details);\\n }\\n /**\\n * Pauses the transport, in order not to lose packets during an upgrade.\\n *\\n * @param onPause\\n */\\n pause(onPause) { }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transport.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/index.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/index.js ***!\n \\*********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ transports: () => (/* binding */ transports)\\n/* harmony export */ });\\n/* harmony import */ var _polling_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./polling.js */ \\\"./node_modules/engine.io-client/build/esm/transports/polling.js\\\");\\n/* harmony import */ var _websocket_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./websocket.js */ \\\"./node_modules/engine.io-client/build/esm/transports/websocket.js\\\");\\n\\n\\nconst transports = {\\n websocket: _websocket_js__WEBPACK_IMPORTED_MODULE_1__.WS,\\n polling: _polling_js__WEBPACK_IMPORTED_MODULE_0__.Polling,\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/polling.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/polling.js ***!\n \\***********************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Polling: () => (/* binding */ Polling),\\n/* harmony export */ Request: () => (/* binding */ Request)\\n/* harmony export */ });\\n/* harmony import */ var _transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../transport.js */ \\\"./node_modules/engine.io-client/build/esm/transport.js\\\");\\n/* harmony import */ var _contrib_yeast_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../contrib/yeast.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/yeast.js\\\");\\n/* harmony import */ var _contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contrib/parseqs.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\\\");\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _xmlhttprequest_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./xmlhttprequest.js */ \\\"./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n\\n\\n\\n\\n\\n\\n\\n\\nfunction empty() { }\\nconst hasXHR2 = (function () {\\n const xhr = new _xmlhttprequest_js__WEBPACK_IMPORTED_MODULE_4__.XHR({\\n xdomain: false,\\n });\\n return null != xhr.responseType;\\n})();\\nclass Polling extends _transport_js__WEBPACK_IMPORTED_MODULE_0__.Transport {\\n /**\\n * XHR Polling constructor.\\n *\\n * @param {Object} opts\\n * @package\\n */\\n constructor(opts) {\\n super(opts);\\n this.polling = false;\\n if (typeof location !== \\\"undefined\\\") {\\n const isSSL = \\\"https:\\\" === location.protocol;\\n let port = location.port;\\n // some user agents have empty `location.port`\\n if (!port) {\\n port = isSSL ? \\\"443\\\" : \\\"80\\\";\\n }\\n this.xd =\\n (typeof location !== \\\"undefined\\\" &&\\n opts.hostname !== location.hostname) ||\\n port !== opts.port;\\n this.xs = opts.secure !== isSSL;\\n }\\n /**\\n * XHR supports binary\\n */\\n const forceBase64 = opts && opts.forceBase64;\\n this.supportsBinary = hasXHR2 && !forceBase64;\\n }\\n get name() {\\n return \\\"polling\\\";\\n }\\n /**\\n * Opens the socket (triggers polling). We write a PING message to determine\\n * when the transport is open.\\n *\\n * @protected\\n */\\n doOpen() {\\n this.poll();\\n }\\n /**\\n * Pauses polling.\\n *\\n * @param {Function} onPause - callback upon buffers are flushed and transport is paused\\n * @package\\n */\\n pause(onPause) {\\n this.readyState = \\\"pausing\\\";\\n const pause = () => {\\n this.readyState = \\\"paused\\\";\\n onPause();\\n };\\n if (this.polling || !this.writable) {\\n let total = 0;\\n if (this.polling) {\\n total++;\\n this.once(\\\"pollComplete\\\", function () {\\n --total || pause();\\n });\\n }\\n if (!this.writable) {\\n total++;\\n this.once(\\\"drain\\\", function () {\\n --total || pause();\\n });\\n }\\n }\\n else {\\n pause();\\n }\\n }\\n /**\\n * Starts polling cycle.\\n *\\n * @private\\n */\\n poll() {\\n this.polling = true;\\n this.doPoll();\\n this.emitReserved(\\\"poll\\\");\\n }\\n /**\\n * Overloads onData to detect payloads.\\n *\\n * @protected\\n */\\n onData(data) {\\n const callback = (packet) => {\\n // if its the first message we consider the transport open\\n if (\\\"opening\\\" === this.readyState && packet.type === \\\"open\\\") {\\n this.onOpen();\\n }\\n // if its a close packet, we close the ongoing requests\\n if (\\\"close\\\" === packet.type) {\\n this.onClose({ description: \\\"transport closed by the server\\\" });\\n return false;\\n }\\n // otherwise bypass onData and handle the message\\n this.onPacket(packet);\\n };\\n // decode payload\\n (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_3__.decodePayload)(data, this.socket.binaryType).forEach(callback);\\n // if an event did not trigger closing\\n if (\\\"closed\\\" !== this.readyState) {\\n // if we got data we're not polling\\n this.polling = false;\\n this.emitReserved(\\\"pollComplete\\\");\\n if (\\\"open\\\" === this.readyState) {\\n this.poll();\\n }\\n else {\\n }\\n }\\n }\\n /**\\n * For polling, send a close packet.\\n *\\n * @protected\\n */\\n doClose() {\\n const close = () => {\\n this.write([{ type: \\\"close\\\" }]);\\n };\\n if (\\\"open\\\" === this.readyState) {\\n close();\\n }\\n else {\\n // in case we're trying to close while\\n // handshaking is in progress (GH-164)\\n this.once(\\\"open\\\", close);\\n }\\n }\\n /**\\n * Writes a packets payload.\\n *\\n * @param {Array} packets - data packets\\n * @protected\\n */\\n write(packets) {\\n this.writable = false;\\n (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_3__.encodePayload)(packets, (data) => {\\n this.doWrite(data, () => {\\n this.writable = true;\\n this.emitReserved(\\\"drain\\\");\\n });\\n });\\n }\\n /**\\n * Generates uri for connection.\\n *\\n * @private\\n */\\n uri() {\\n let query = this.query || {};\\n const schema = this.opts.secure ? \\\"https\\\" : \\\"http\\\";\\n let port = \\\"\\\";\\n // cache busting is forced\\n if (false !== this.opts.timestampRequests) {\\n query[this.opts.timestampParam] = (0,_contrib_yeast_js__WEBPACK_IMPORTED_MODULE_1__.yeast)();\\n }\\n if (!this.supportsBinary && !query.sid) {\\n query.b64 = 1;\\n }\\n // avoid port if default for schema\\n if (this.opts.port &&\\n ((\\\"https\\\" === schema && Number(this.opts.port) !== 443) ||\\n (\\\"http\\\" === schema && Number(this.opts.port) !== 80))) {\\n port = \\\":\\\" + this.opts.port;\\n }\\n const encodedQuery = (0,_contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_2__.encode)(query);\\n const ipv6 = this.opts.hostname.indexOf(\\\":\\\") !== -1;\\n return (schema +\\n \\\"://\\\" +\\n (ipv6 ? \\\"[\\\" + this.opts.hostname + \\\"]\\\" : this.opts.hostname) +\\n port +\\n this.opts.path +\\n (encodedQuery.length ? \\\"?\\\" + encodedQuery : \\\"\\\"));\\n }\\n /**\\n * Creates a request.\\n *\\n * @param {String} method\\n * @private\\n */\\n request(opts = {}) {\\n Object.assign(opts, { xd: this.xd, xs: this.xs }, this.opts);\\n return new Request(this.uri(), opts);\\n }\\n /**\\n * Sends data.\\n *\\n * @param {String} data to send.\\n * @param {Function} called upon flush.\\n * @private\\n */\\n doWrite(data, fn) {\\n const req = this.request({\\n method: \\\"POST\\\",\\n data: data,\\n });\\n req.on(\\\"success\\\", fn);\\n req.on(\\\"error\\\", (xhrStatus, context) => {\\n this.onError(\\\"xhr post error\\\", xhrStatus, context);\\n });\\n }\\n /**\\n * Starts a poll cycle.\\n *\\n * @private\\n */\\n doPoll() {\\n const req = this.request();\\n req.on(\\\"data\\\", this.onData.bind(this));\\n req.on(\\\"error\\\", (xhrStatus, context) => {\\n this.onError(\\\"xhr poll error\\\", xhrStatus, context);\\n });\\n this.pollXhr = req;\\n }\\n}\\nclass Request extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__.Emitter {\\n /**\\n * Request constructor\\n *\\n * @param {Object} options\\n * @package\\n */\\n constructor(uri, opts) {\\n super();\\n (0,_util_js__WEBPACK_IMPORTED_MODULE_6__.installTimerFunctions)(this, opts);\\n this.opts = opts;\\n this.method = opts.method || \\\"GET\\\";\\n this.uri = uri;\\n this.async = false !== opts.async;\\n this.data = undefined !== opts.data ? opts.data : null;\\n this.create();\\n }\\n /**\\n * Creates the XHR object and sends the request.\\n *\\n * @private\\n */\\n create() {\\n const opts = (0,_util_js__WEBPACK_IMPORTED_MODULE_6__.pick)(this.opts, \\\"agent\\\", \\\"pfx\\\", \\\"key\\\", \\\"passphrase\\\", \\\"cert\\\", \\\"ca\\\", \\\"ciphers\\\", \\\"rejectUnauthorized\\\", \\\"autoUnref\\\");\\n opts.xdomain = !!this.opts.xd;\\n opts.xscheme = !!this.opts.xs;\\n const xhr = (this.xhr = new _xmlhttprequest_js__WEBPACK_IMPORTED_MODULE_4__.XHR(opts));\\n try {\\n xhr.open(this.method, this.uri, this.async);\\n try {\\n if (this.opts.extraHeaders) {\\n xhr.setDisableHeaderCheck && xhr.setDisableHeaderCheck(true);\\n for (let i in this.opts.extraHeaders) {\\n if (this.opts.extraHeaders.hasOwnProperty(i)) {\\n xhr.setRequestHeader(i, this.opts.extraHeaders[i]);\\n }\\n }\\n }\\n }\\n catch (e) { }\\n if (\\\"POST\\\" === this.method) {\\n try {\\n xhr.setRequestHeader(\\\"Content-type\\\", \\\"text/plain;charset=UTF-8\\\");\\n }\\n catch (e) { }\\n }\\n try {\\n xhr.setRequestHeader(\\\"Accept\\\", \\\"*/*\\\");\\n }\\n catch (e) { }\\n // ie6 check\\n if (\\\"withCredentials\\\" in xhr) {\\n xhr.withCredentials = this.opts.withCredentials;\\n }\\n if (this.opts.requestTimeout) {\\n xhr.timeout = this.opts.requestTimeout;\\n }\\n xhr.onreadystatechange = () => {\\n if (4 !== xhr.readyState)\\n return;\\n if (200 === xhr.status || 1223 === xhr.status) {\\n this.onLoad();\\n }\\n else {\\n // make sure the `error` event handler that's user-set\\n // does not throw in the same tick and gets caught here\\n this.setTimeoutFn(() => {\\n this.onError(typeof xhr.status === \\\"number\\\" ? xhr.status : 0);\\n }, 0);\\n }\\n };\\n xhr.send(this.data);\\n }\\n catch (e) {\\n // Need to defer since .create() is called directly from the constructor\\n // and thus the 'error' event can only be only bound *after* this exception\\n // occurs. Therefore, also, we cannot throw here at all.\\n this.setTimeoutFn(() => {\\n this.onError(e);\\n }, 0);\\n return;\\n }\\n if (typeof document !== \\\"undefined\\\") {\\n this.index = Request.requestsCount++;\\n Request.requests[this.index] = this;\\n }\\n }\\n /**\\n * Called upon error.\\n *\\n * @private\\n */\\n onError(err) {\\n this.emitReserved(\\\"error\\\", err, this.xhr);\\n this.cleanup(true);\\n }\\n /**\\n * Cleans up house.\\n *\\n * @private\\n */\\n cleanup(fromError) {\\n if (\\\"undefined\\\" === typeof this.xhr || null === this.xhr) {\\n return;\\n }\\n this.xhr.onreadystatechange = empty;\\n if (fromError) {\\n try {\\n this.xhr.abort();\\n }\\n catch (e) { }\\n }\\n if (typeof document !== \\\"undefined\\\") {\\n delete Request.requests[this.index];\\n }\\n this.xhr = null;\\n }\\n /**\\n * Called upon load.\\n *\\n * @private\\n */\\n onLoad() {\\n const data = this.xhr.responseText;\\n if (data !== null) {\\n this.emitReserved(\\\"data\\\", data);\\n this.emitReserved(\\\"success\\\");\\n this.cleanup();\\n }\\n }\\n /**\\n * Aborts the request.\\n *\\n * @package\\n */\\n abort() {\\n this.cleanup();\\n }\\n}\\nRequest.requestsCount = 0;\\nRequest.requests = {};\\n/**\\n * Aborts pending requests when unloading the window. This is needed to prevent\\n * memory leaks (e.g. when using IE) and to ensure that no spurious error is\\n * emitted.\\n */\\nif (typeof document !== \\\"undefined\\\") {\\n // @ts-ignore\\n if (typeof attachEvent === \\\"function\\\") {\\n // @ts-ignore\\n attachEvent(\\\"onunload\\\", unloadHandler);\\n }\\n else if (typeof addEventListener === \\\"function\\\") {\\n const terminationEvent = \\\"onpagehide\\\" in _globalThis_js__WEBPACK_IMPORTED_MODULE_7__.globalThisShim ? \\\"pagehide\\\" : \\\"unload\\\";\\n addEventListener(terminationEvent, unloadHandler, false);\\n }\\n}\\nfunction unloadHandler() {\\n for (let i in Request.requests) {\\n if (Request.requests.hasOwnProperty(i)) {\\n Request.requests[i].abort();\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/polling.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js\":\n/*!*********************************************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js ***!\n \\*********************************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ WebSocket: () => (/* binding */ WebSocket),\\n/* harmony export */ defaultBinaryType: () => (/* binding */ defaultBinaryType),\\n/* harmony export */ nextTick: () => (/* binding */ nextTick),\\n/* harmony export */ usingBrowserWebSocket: () => (/* binding */ usingBrowserWebSocket)\\n/* harmony export */ });\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n\\nconst nextTick = (() => {\\n const isPromiseAvailable = typeof Promise === \\\"function\\\" && typeof Promise.resolve === \\\"function\\\";\\n if (isPromiseAvailable) {\\n return (cb) => Promise.resolve().then(cb);\\n }\\n else {\\n return (cb, setTimeoutFn) => setTimeoutFn(cb, 0);\\n }\\n})();\\nconst WebSocket = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.WebSocket || _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.MozWebSocket;\\nconst usingBrowserWebSocket = true;\\nconst defaultBinaryType = \\\"arraybuffer\\\";\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/websocket.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/websocket.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ WS: () => (/* binding */ WS)\\n/* harmony export */ });\\n/* harmony import */ var _transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../transport.js */ \\\"./node_modules/engine.io-client/build/esm/transport.js\\\");\\n/* harmony import */ var _contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../contrib/parseqs.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/parseqs.js\\\");\\n/* harmony import */ var _contrib_yeast_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contrib/yeast.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/yeast.js\\\");\\n/* harmony import */ var _util_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../util.js */ \\\"./node_modules/engine.io-client/build/esm/util.js\\\");\\n/* harmony import */ var _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./websocket-constructor.js */ \\\"./node_modules/engine.io-client/build/esm/transports/websocket-constructor.browser.js\\\");\\n/* harmony import */ var engine_io_parser__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! engine.io-parser */ \\\"./node_modules/engine.io-parser/build/esm/index.js\\\");\\n/* provided dependency */ var Buffer = __webpack_require__(/*! buffer */ \\\"./node_modules/buffer/index.js\\\")[\\\"Buffer\\\"];\\n\\n\\n\\n\\n\\n\\n// detect ReactNative environment\\nconst isReactNative = typeof navigator !== \\\"undefined\\\" &&\\n typeof navigator.product === \\\"string\\\" &&\\n navigator.product.toLowerCase() === \\\"reactnative\\\";\\nclass WS extends _transport_js__WEBPACK_IMPORTED_MODULE_0__.Transport {\\n /**\\n * WebSocket transport constructor.\\n *\\n * @param {Object} opts - connection options\\n * @protected\\n */\\n constructor(opts) {\\n super(opts);\\n this.supportsBinary = !opts.forceBase64;\\n }\\n get name() {\\n return \\\"websocket\\\";\\n }\\n doOpen() {\\n if (!this.check()) {\\n // let probe timeout\\n return;\\n }\\n const uri = this.uri();\\n const protocols = this.opts.protocols;\\n // React Native only supports the 'headers' option, and will print a warning if anything else is passed\\n const opts = isReactNative\\n ? {}\\n : (0,_util_js__WEBPACK_IMPORTED_MODULE_3__.pick)(this.opts, \\\"agent\\\", \\\"perMessageDeflate\\\", \\\"pfx\\\", \\\"key\\\", \\\"passphrase\\\", \\\"cert\\\", \\\"ca\\\", \\\"ciphers\\\", \\\"rejectUnauthorized\\\", \\\"localAddress\\\", \\\"protocolVersion\\\", \\\"origin\\\", \\\"maxPayload\\\", \\\"family\\\", \\\"checkServerIdentity\\\");\\n if (this.opts.extraHeaders) {\\n opts.headers = this.opts.extraHeaders;\\n }\\n try {\\n this.ws =\\n _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.usingBrowserWebSocket && !isReactNative\\n ? protocols\\n ? new _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket(uri, protocols)\\n : new _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket(uri)\\n : new _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket(uri, protocols, opts);\\n }\\n catch (err) {\\n return this.emitReserved(\\\"error\\\", err);\\n }\\n this.ws.binaryType = this.socket.binaryType || _websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.defaultBinaryType;\\n this.addEventListeners();\\n }\\n /**\\n * Adds event listeners to the socket\\n *\\n * @private\\n */\\n addEventListeners() {\\n this.ws.onopen = () => {\\n if (this.opts.autoUnref) {\\n this.ws._socket.unref();\\n }\\n this.onOpen();\\n };\\n this.ws.onclose = (closeEvent) => this.onClose({\\n description: \\\"websocket connection closed\\\",\\n context: closeEvent,\\n });\\n this.ws.onmessage = (ev) => this.onData(ev.data);\\n this.ws.onerror = (e) => this.onError(\\\"websocket error\\\", e);\\n }\\n write(packets) {\\n this.writable = false;\\n // encodePacket efficient as it uses WS framing\\n // no need for encodePayload\\n for (let i = 0; i < packets.length; i++) {\\n const packet = packets[i];\\n const lastPacket = i === packets.length - 1;\\n (0,engine_io_parser__WEBPACK_IMPORTED_MODULE_5__.encodePacket)(packet, this.supportsBinary, (data) => {\\n // always create a new object (GH-437)\\n const opts = {};\\n if (!_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.usingBrowserWebSocket) {\\n if (packet.options) {\\n opts.compress = packet.options.compress;\\n }\\n if (this.opts.perMessageDeflate) {\\n const len = \\n // @ts-ignore\\n \\\"string\\\" === typeof data ? Buffer.byteLength(data) : data.length;\\n if (len < this.opts.perMessageDeflate.threshold) {\\n opts.compress = false;\\n }\\n }\\n }\\n // Sometimes the websocket has already been closed but the browser didn't\\n // have a chance of informing us about it yet, in that case send will\\n // throw an error\\n try {\\n if (_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.usingBrowserWebSocket) {\\n // TypeError is thrown when passing the second argument on Safari\\n this.ws.send(data);\\n }\\n else {\\n this.ws.send(data, opts);\\n }\\n }\\n catch (e) {\\n }\\n if (lastPacket) {\\n // fake drain\\n // defer to next tick to allow Socket to clear writeBuffer\\n (0,_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.nextTick)(() => {\\n this.writable = true;\\n this.emitReserved(\\\"drain\\\");\\n }, this.setTimeoutFn);\\n }\\n });\\n }\\n }\\n doClose() {\\n if (typeof this.ws !== \\\"undefined\\\") {\\n this.ws.close();\\n this.ws = null;\\n }\\n }\\n /**\\n * Generates uri for connection.\\n *\\n * @private\\n */\\n uri() {\\n let query = this.query || {};\\n const schema = this.opts.secure ? \\\"wss\\\" : \\\"ws\\\";\\n let port = \\\"\\\";\\n // avoid port if default for schema\\n if (this.opts.port &&\\n ((\\\"wss\\\" === schema && Number(this.opts.port) !== 443) ||\\n (\\\"ws\\\" === schema && Number(this.opts.port) !== 80))) {\\n port = \\\":\\\" + this.opts.port;\\n }\\n // append timestamp to URI\\n if (this.opts.timestampRequests) {\\n query[this.opts.timestampParam] = (0,_contrib_yeast_js__WEBPACK_IMPORTED_MODULE_2__.yeast)();\\n }\\n // communicate binary support capabilities\\n if (!this.supportsBinary) {\\n query.b64 = 1;\\n }\\n const encodedQuery = (0,_contrib_parseqs_js__WEBPACK_IMPORTED_MODULE_1__.encode)(query);\\n const ipv6 = this.opts.hostname.indexOf(\\\":\\\") !== -1;\\n return (schema +\\n \\\"://\\\" +\\n (ipv6 ? \\\"[\\\" + this.opts.hostname + \\\"]\\\" : this.opts.hostname) +\\n port +\\n this.opts.path +\\n (encodedQuery.length ? \\\"?\\\" + encodedQuery : \\\"\\\"));\\n }\\n /**\\n * Feature detection for WebSocket.\\n *\\n * @return {Boolean} whether this transport is available.\\n * @private\\n */\\n check() {\\n return !!_websocket_constructor_js__WEBPACK_IMPORTED_MODULE_4__.WebSocket;\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/websocket.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js\":\n/*!**************************************************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js ***!\n \\**************************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ XHR: () => (/* binding */ XHR)\\n/* harmony export */ });\\n/* harmony import */ var _contrib_has_cors_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../contrib/has-cors.js */ \\\"./node_modules/engine.io-client/build/esm/contrib/has-cors.js\\\");\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n// browser shim for xmlhttprequest module\\n\\n\\nfunction XHR(opts) {\\n const xdomain = opts.xdomain;\\n // XMLHttpRequest can be disabled on IE\\n try {\\n if (\\\"undefined\\\" !== typeof XMLHttpRequest && (!xdomain || _contrib_has_cors_js__WEBPACK_IMPORTED_MODULE_0__.hasCORS)) {\\n return new XMLHttpRequest();\\n }\\n }\\n catch (e) { }\\n if (!xdomain) {\\n try {\\n return new _globalThis_js__WEBPACK_IMPORTED_MODULE_1__.globalThisShim[[\\\"Active\\\"].concat(\\\"Object\\\").join(\\\"X\\\")](\\\"Microsoft.XMLHTTP\\\");\\n }\\n catch (e) { }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/transports/xmlhttprequest.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-client/build/esm/util.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/engine.io-client/build/esm/util.js ***!\n \\*********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ byteLength: () => (/* binding */ byteLength),\\n/* harmony export */ installTimerFunctions: () => (/* binding */ installTimerFunctions),\\n/* harmony export */ pick: () => (/* binding */ pick)\\n/* harmony export */ });\\n/* harmony import */ var _globalThis_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./globalThis.js */ \\\"./node_modules/engine.io-client/build/esm/globalThis.browser.js\\\");\\n\\nfunction pick(obj, ...attr) {\\n return attr.reduce((acc, k) => {\\n if (obj.hasOwnProperty(k)) {\\n acc[k] = obj[k];\\n }\\n return acc;\\n }, {});\\n}\\n// Keep a reference to the real timeout functions so they can be used when overridden\\nconst NATIVE_SET_TIMEOUT = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.setTimeout;\\nconst NATIVE_CLEAR_TIMEOUT = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.clearTimeout;\\nfunction installTimerFunctions(obj, opts) {\\n if (opts.useNativeTimers) {\\n obj.setTimeoutFn = NATIVE_SET_TIMEOUT.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n obj.clearTimeoutFn = NATIVE_CLEAR_TIMEOUT.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n }\\n else {\\n obj.setTimeoutFn = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.setTimeout.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n obj.clearTimeoutFn = _globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim.clearTimeout.bind(_globalThis_js__WEBPACK_IMPORTED_MODULE_0__.globalThisShim);\\n }\\n}\\n// base64 encoded buffers are about 33% bigger (https://en.wikipedia.org/wiki/Base64)\\nconst BASE64_OVERHEAD = 1.33;\\n// we could also have used `new Blob([obj]).size`, but it isn't supported in IE9\\nfunction byteLength(obj) {\\n if (typeof obj === \\\"string\\\") {\\n return utf8Length(obj);\\n }\\n // arraybuffer or blob\\n return Math.ceil((obj.byteLength || obj.size) * BASE64_OVERHEAD);\\n}\\nfunction utf8Length(str) {\\n let c = 0, length = 0;\\n for (let i = 0, l = str.length; i < l; i++) {\\n c = str.charCodeAt(i);\\n if (c < 0x80) {\\n length += 1;\\n }\\n else if (c < 0x800) {\\n length += 2;\\n }\\n else if (c < 0xd800 || c >= 0xe000) {\\n length += 3;\\n }\\n else {\\n i++;\\n length += 4;\\n }\\n }\\n return length;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-client/build/esm/util.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/commons.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/commons.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ ERROR_PACKET: () => (/* binding */ ERROR_PACKET),\\n/* harmony export */ PACKET_TYPES: () => (/* binding */ PACKET_TYPES),\\n/* harmony export */ PACKET_TYPES_REVERSE: () => (/* binding */ PACKET_TYPES_REVERSE)\\n/* harmony export */ });\\nconst PACKET_TYPES = Object.create(null); // no Map = no polyfill\\nPACKET_TYPES[\\\"open\\\"] = \\\"0\\\";\\nPACKET_TYPES[\\\"close\\\"] = \\\"1\\\";\\nPACKET_TYPES[\\\"ping\\\"] = \\\"2\\\";\\nPACKET_TYPES[\\\"pong\\\"] = \\\"3\\\";\\nPACKET_TYPES[\\\"message\\\"] = \\\"4\\\";\\nPACKET_TYPES[\\\"upgrade\\\"] = \\\"5\\\";\\nPACKET_TYPES[\\\"noop\\\"] = \\\"6\\\";\\nconst PACKET_TYPES_REVERSE = Object.create(null);\\nObject.keys(PACKET_TYPES).forEach(key => {\\n PACKET_TYPES_REVERSE[PACKET_TYPES[key]] = key;\\n});\\nconst ERROR_PACKET = { type: \\\"error\\\", data: \\\"parser error\\\" };\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/commons.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js ***!\n \\*******************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decode: () => (/* binding */ decode),\\n/* harmony export */ encode: () => (/* binding */ encode)\\n/* harmony export */ });\\n// imported from https://github.com/socketio/base64-arraybuffer\\nconst chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\\n// Use a lookup table to find the index.\\nconst lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\\nfor (let i = 0; i < chars.length; i++) {\\n lookup[chars.charCodeAt(i)] = i;\\n}\\nconst encode = (arraybuffer) => {\\n let bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';\\n for (i = 0; i < len; i += 3) {\\n base64 += chars[bytes[i] >> 2];\\n base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];\\n base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];\\n base64 += chars[bytes[i + 2] & 63];\\n }\\n if (len % 3 === 2) {\\n base64 = base64.substring(0, base64.length - 1) + '=';\\n }\\n else if (len % 3 === 1) {\\n base64 = base64.substring(0, base64.length - 2) + '==';\\n }\\n return base64;\\n};\\nconst decode = (base64) => {\\n let bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;\\n if (base64[base64.length - 1] === '=') {\\n bufferLength--;\\n if (base64[base64.length - 2] === '=') {\\n bufferLength--;\\n }\\n }\\n const arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);\\n for (i = 0; i < len; i += 4) {\\n encoded1 = lookup[base64.charCodeAt(i)];\\n encoded2 = lookup[base64.charCodeAt(i + 1)];\\n encoded3 = lookup[base64.charCodeAt(i + 2)];\\n encoded4 = lookup[base64.charCodeAt(i + 3)];\\n bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);\\n bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);\\n bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);\\n }\\n return arraybuffer;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/decodePacket.browser.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/decodePacket.browser.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _commons_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./commons.js */ \\\"./node_modules/engine.io-parser/build/esm/commons.js\\\");\\n/* harmony import */ var _contrib_base64_arraybuffer_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./contrib/base64-arraybuffer.js */ \\\"./node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js\\\");\\n\\n\\nconst withNativeArrayBuffer = typeof ArrayBuffer === \\\"function\\\";\\nconst decodePacket = (encodedPacket, binaryType) => {\\n if (typeof encodedPacket !== \\\"string\\\") {\\n return {\\n type: \\\"message\\\",\\n data: mapBinary(encodedPacket, binaryType)\\n };\\n }\\n const type = encodedPacket.charAt(0);\\n if (type === \\\"b\\\") {\\n return {\\n type: \\\"message\\\",\\n data: decodeBase64Packet(encodedPacket.substring(1), binaryType)\\n };\\n }\\n const packetType = _commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES_REVERSE[type];\\n if (!packetType) {\\n return _commons_js__WEBPACK_IMPORTED_MODULE_0__.ERROR_PACKET;\\n }\\n return encodedPacket.length > 1\\n ? {\\n type: _commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES_REVERSE[type],\\n data: encodedPacket.substring(1)\\n }\\n : {\\n type: _commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES_REVERSE[type]\\n };\\n};\\nconst decodeBase64Packet = (data, binaryType) => {\\n if (withNativeArrayBuffer) {\\n const decoded = (0,_contrib_base64_arraybuffer_js__WEBPACK_IMPORTED_MODULE_1__.decode)(data);\\n return mapBinary(decoded, binaryType);\\n }\\n else {\\n return { base64: true, data }; // fallback for old browsers\\n }\\n};\\nconst mapBinary = (data, binaryType) => {\\n switch (binaryType) {\\n case \\\"blob\\\":\\n return data instanceof ArrayBuffer ? new Blob([data]) : data;\\n case \\\"arraybuffer\\\":\\n default:\\n return data; // assuming the data is already an ArrayBuffer\\n }\\n};\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (decodePacket);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/decodePacket.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/encodePacket.browser.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/encodePacket.browser.js ***!\n \\*************************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ \\\"default\\\": () => (__WEBPACK_DEFAULT_EXPORT__)\\n/* harmony export */ });\\n/* harmony import */ var _commons_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./commons.js */ \\\"./node_modules/engine.io-parser/build/esm/commons.js\\\");\\n\\nconst withNativeBlob = typeof Blob === \\\"function\\\" ||\\n (typeof Blob !== \\\"undefined\\\" &&\\n Object.prototype.toString.call(Blob) === \\\"[object BlobConstructor]\\\");\\nconst withNativeArrayBuffer = typeof ArrayBuffer === \\\"function\\\";\\n// ArrayBuffer.isView method is not defined in IE10\\nconst isView = obj => {\\n return typeof ArrayBuffer.isView === \\\"function\\\"\\n ? ArrayBuffer.isView(obj)\\n : obj && obj.buffer instanceof ArrayBuffer;\\n};\\nconst encodePacket = ({ type, data }, supportsBinary, callback) => {\\n if (withNativeBlob && data instanceof Blob) {\\n if (supportsBinary) {\\n return callback(data);\\n }\\n else {\\n return encodeBlobAsBase64(data, callback);\\n }\\n }\\n else if (withNativeArrayBuffer &&\\n (data instanceof ArrayBuffer || isView(data))) {\\n if (supportsBinary) {\\n return callback(data);\\n }\\n else {\\n return encodeBlobAsBase64(new Blob([data]), callback);\\n }\\n }\\n // plain string\\n return callback(_commons_js__WEBPACK_IMPORTED_MODULE_0__.PACKET_TYPES[type] + (data || \\\"\\\"));\\n};\\nconst encodeBlobAsBase64 = (data, callback) => {\\n const fileReader = new FileReader();\\n fileReader.onload = function () {\\n const content = fileReader.result.split(\\\",\\\")[1];\\n callback(\\\"b\\\" + (content || \\\"\\\"));\\n };\\n return fileReader.readAsDataURL(data);\\n};\\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (encodePacket);\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/encodePacket.browser.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/engine.io-parser/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/engine.io-parser/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ decodePacket: () => (/* reexport safe */ _decodePacket_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"]),\\n/* harmony export */ decodePayload: () => (/* binding */ decodePayload),\\n/* harmony export */ encodePacket: () => (/* reexport safe */ _encodePacket_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"]),\\n/* harmony export */ encodePayload: () => (/* binding */ encodePayload),\\n/* harmony export */ protocol: () => (/* binding */ protocol)\\n/* harmony export */ });\\n/* harmony import */ var _encodePacket_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./encodePacket.js */ \\\"./node_modules/engine.io-parser/build/esm/encodePacket.browser.js\\\");\\n/* harmony import */ var _decodePacket_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./decodePacket.js */ \\\"./node_modules/engine.io-parser/build/esm/decodePacket.browser.js\\\");\\n\\n\\nconst SEPARATOR = String.fromCharCode(30); // see https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text\\nconst encodePayload = (packets, callback) => {\\n // some packets may be added to the array while encoding, so the initial length must be saved\\n const length = packets.length;\\n const encodedPackets = new Array(length);\\n let count = 0;\\n packets.forEach((packet, i) => {\\n // force base64 encoding for binary packets\\n (0,_encodePacket_js__WEBPACK_IMPORTED_MODULE_0__[\\\"default\\\"])(packet, false, encodedPacket => {\\n encodedPackets[i] = encodedPacket;\\n if (++count === length) {\\n callback(encodedPackets.join(SEPARATOR));\\n }\\n });\\n });\\n};\\nconst decodePayload = (encodedPayload, binaryType) => {\\n const encodedPackets = encodedPayload.split(SEPARATOR);\\n const packets = [];\\n for (let i = 0; i < encodedPackets.length; i++) {\\n const decodedPacket = (0,_decodePacket_js__WEBPACK_IMPORTED_MODULE_1__[\\\"default\\\"])(encodedPackets[i], binaryType);\\n packets.push(decodedPacket);\\n if (decodedPacket.type === \\\"error\\\") {\\n break;\\n }\\n }\\n return packets;\\n};\\nconst protocol = 4;\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/engine.io-parser/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/contrib/backo2.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/contrib/backo2.js ***!\n \\*******************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Backoff: () => (/* binding */ Backoff)\\n/* harmony export */ });\\n/**\\n * Initialize backoff timer with `opts`.\\n *\\n * - `min` initial timeout in milliseconds [100]\\n * - `max` max timeout [10000]\\n * - `jitter` [0]\\n * - `factor` [2]\\n *\\n * @param {Object} opts\\n * @api public\\n */\\nfunction Backoff(opts) {\\n opts = opts || {};\\n this.ms = opts.min || 100;\\n this.max = opts.max || 10000;\\n this.factor = opts.factor || 2;\\n this.jitter = opts.jitter > 0 && opts.jitter <= 1 ? opts.jitter : 0;\\n this.attempts = 0;\\n}\\n/**\\n * Return the backoff duration.\\n *\\n * @return {Number}\\n * @api public\\n */\\nBackoff.prototype.duration = function () {\\n var ms = this.ms * Math.pow(this.factor, this.attempts++);\\n if (this.jitter) {\\n var rand = Math.random();\\n var deviation = Math.floor(rand * this.jitter * ms);\\n ms = (Math.floor(rand * 10) & 1) == 0 ? ms - deviation : ms + deviation;\\n }\\n return Math.min(ms, this.max) | 0;\\n};\\n/**\\n * Reset the number of attempts.\\n *\\n * @api public\\n */\\nBackoff.prototype.reset = function () {\\n this.attempts = 0;\\n};\\n/**\\n * Set the minimum duration\\n *\\n * @api public\\n */\\nBackoff.prototype.setMin = function (min) {\\n this.ms = min;\\n};\\n/**\\n * Set the maximum duration\\n *\\n * @api public\\n */\\nBackoff.prototype.setMax = function (max) {\\n this.max = max;\\n};\\n/**\\n * Set the jitter\\n *\\n * @api public\\n */\\nBackoff.prototype.setJitter = function (jitter) {\\n this.jitter = jitter;\\n};\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/contrib/backo2.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Manager: () => (/* reexport safe */ _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager),\\n/* harmony export */ Socket: () => (/* reexport safe */ _socket_js__WEBPACK_IMPORTED_MODULE_2__.Socket),\\n/* harmony export */ connect: () => (/* binding */ lookup),\\n/* harmony export */ \\\"default\\\": () => (/* binding */ lookup),\\n/* harmony export */ io: () => (/* binding */ lookup),\\n/* harmony export */ protocol: () => (/* reexport safe */ socket_io_parser__WEBPACK_IMPORTED_MODULE_3__.protocol)\\n/* harmony export */ });\\n/* harmony import */ var _url_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./url.js */ \\\"./node_modules/socket.io-client/build/esm/url.js\\\");\\n/* harmony import */ var _manager_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./manager.js */ \\\"./node_modules/socket.io-client/build/esm/manager.js\\\");\\n/* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./socket.js */ \\\"./node_modules/socket.io-client/build/esm/socket.js\\\");\\n/* harmony import */ var socket_io_parser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! socket.io-parser */ \\\"./node_modules/socket.io-parser/build/esm/index.js\\\");\\n\\n\\n\\n/**\\n * Managers cache.\\n */\\nconst cache = {};\\nfunction lookup(uri, opts) {\\n if (typeof uri === \\\"object\\\") {\\n opts = uri;\\n uri = undefined;\\n }\\n opts = opts || {};\\n const parsed = (0,_url_js__WEBPACK_IMPORTED_MODULE_0__.url)(uri, opts.path || \\\"/socket.io\\\");\\n const source = parsed.source;\\n const id = parsed.id;\\n const path = parsed.path;\\n const sameNamespace = cache[id] && path in cache[id][\\\"nsps\\\"];\\n const newConnection = opts.forceNew ||\\n opts[\\\"force new connection\\\"] ||\\n false === opts.multiplex ||\\n sameNamespace;\\n let io;\\n if (newConnection) {\\n io = new _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager(source, opts);\\n }\\n else {\\n if (!cache[id]) {\\n cache[id] = new _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager(source, opts);\\n }\\n io = cache[id];\\n }\\n if (parsed.query && !opts.query) {\\n opts.query = parsed.queryKey;\\n }\\n return io.socket(parsed.path, opts);\\n}\\n// so that \\\"lookup\\\" can be used both as a function (e.g. `io(...)`) and as a\\n// namespace (e.g. `io.connect(...)`), for backward compatibility\\nObject.assign(lookup, {\\n Manager: _manager_js__WEBPACK_IMPORTED_MODULE_1__.Manager,\\n Socket: _socket_js__WEBPACK_IMPORTED_MODULE_2__.Socket,\\n io: lookup,\\n connect: lookup,\\n});\\n/**\\n * Protocol version.\\n *\\n * @public\\n */\\n\\n/**\\n * Expose constructors for standalone build.\\n *\\n * @public\\n */\\n\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/manager.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/manager.js ***!\n \\************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Manager: () => (/* binding */ Manager)\\n/* harmony export */ });\\n/* harmony import */ var engine_io_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! engine.io-client */ \\\"./node_modules/engine.io-client/build/esm/index.js\\\");\\n/* harmony import */ var _socket_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./socket.js */ \\\"./node_modules/socket.io-client/build/esm/socket.js\\\");\\n/* harmony import */ var socket_io_parser__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! socket.io-parser */ \\\"./node_modules/socket.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _on_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./on.js */ \\\"./node_modules/socket.io-client/build/esm/on.js\\\");\\n/* harmony import */ var _contrib_backo2_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./contrib/backo2.js */ \\\"./node_modules/socket.io-client/build/esm/contrib/backo2.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n\\n\\n\\n\\n\\n\\nclass Manager extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_5__.Emitter {\\n constructor(uri, opts) {\\n var _a;\\n super();\\n this.nsps = {};\\n this.subs = [];\\n if (uri && \\\"object\\\" === typeof uri) {\\n opts = uri;\\n uri = undefined;\\n }\\n opts = opts || {};\\n opts.path = opts.path || \\\"/socket.io\\\";\\n this.opts = opts;\\n (0,engine_io_client__WEBPACK_IMPORTED_MODULE_0__.installTimerFunctions)(this, opts);\\n this.reconnection(opts.reconnection !== false);\\n this.reconnectionAttempts(opts.reconnectionAttempts || Infinity);\\n this.reconnectionDelay(opts.reconnectionDelay || 1000);\\n this.reconnectionDelayMax(opts.reconnectionDelayMax || 5000);\\n this.randomizationFactor((_a = opts.randomizationFactor) !== null && _a !== void 0 ? _a : 0.5);\\n this.backoff = new _contrib_backo2_js__WEBPACK_IMPORTED_MODULE_4__.Backoff({\\n min: this.reconnectionDelay(),\\n max: this.reconnectionDelayMax(),\\n jitter: this.randomizationFactor(),\\n });\\n this.timeout(null == opts.timeout ? 20000 : opts.timeout);\\n this._readyState = \\\"closed\\\";\\n this.uri = uri;\\n const _parser = opts.parser || socket_io_parser__WEBPACK_IMPORTED_MODULE_2__;\\n this.encoder = new _parser.Encoder();\\n this.decoder = new _parser.Decoder();\\n this._autoConnect = opts.autoConnect !== false;\\n if (this._autoConnect)\\n this.open();\\n }\\n reconnection(v) {\\n if (!arguments.length)\\n return this._reconnection;\\n this._reconnection = !!v;\\n return this;\\n }\\n reconnectionAttempts(v) {\\n if (v === undefined)\\n return this._reconnectionAttempts;\\n this._reconnectionAttempts = v;\\n return this;\\n }\\n reconnectionDelay(v) {\\n var _a;\\n if (v === undefined)\\n return this._reconnectionDelay;\\n this._reconnectionDelay = v;\\n (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setMin(v);\\n return this;\\n }\\n randomizationFactor(v) {\\n var _a;\\n if (v === undefined)\\n return this._randomizationFactor;\\n this._randomizationFactor = v;\\n (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setJitter(v);\\n return this;\\n }\\n reconnectionDelayMax(v) {\\n var _a;\\n if (v === undefined)\\n return this._reconnectionDelayMax;\\n this._reconnectionDelayMax = v;\\n (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setMax(v);\\n return this;\\n }\\n timeout(v) {\\n if (!arguments.length)\\n return this._timeout;\\n this._timeout = v;\\n return this;\\n }\\n /**\\n * Starts trying to reconnect if reconnection is enabled and we have not\\n * started reconnecting yet\\n *\\n * @private\\n */\\n maybeReconnectOnOpen() {\\n // Only try to reconnect if it's the first time we're connecting\\n if (!this._reconnecting &&\\n this._reconnection &&\\n this.backoff.attempts === 0) {\\n // keeps reconnection from firing twice for the same reconnection loop\\n this.reconnect();\\n }\\n }\\n /**\\n * Sets the current transport `socket`.\\n *\\n * @param {Function} fn - optional, callback\\n * @return self\\n * @public\\n */\\n open(fn) {\\n if (~this._readyState.indexOf(\\\"open\\\"))\\n return this;\\n this.engine = new engine_io_client__WEBPACK_IMPORTED_MODULE_0__.Socket(this.uri, this.opts);\\n const socket = this.engine;\\n const self = this;\\n this._readyState = \\\"opening\\\";\\n this.skipReconnect = false;\\n // emit `open`\\n const openSubDestroy = (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"open\\\", function () {\\n self.onopen();\\n fn && fn();\\n });\\n // emit `error`\\n const errorSub = (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"error\\\", (err) => {\\n self.cleanup();\\n self._readyState = \\\"closed\\\";\\n this.emitReserved(\\\"error\\\", err);\\n if (fn) {\\n fn(err);\\n }\\n else {\\n // Only do this if there is no fn to handle the error\\n self.maybeReconnectOnOpen();\\n }\\n });\\n if (false !== this._timeout) {\\n const timeout = this._timeout;\\n if (timeout === 0) {\\n openSubDestroy(); // prevents a race condition with the 'open' event\\n }\\n // set timer\\n const timer = this.setTimeoutFn(() => {\\n openSubDestroy();\\n socket.close();\\n // @ts-ignore\\n socket.emit(\\\"error\\\", new Error(\\\"timeout\\\"));\\n }, timeout);\\n if (this.opts.autoUnref) {\\n timer.unref();\\n }\\n this.subs.push(function subDestroy() {\\n clearTimeout(timer);\\n });\\n }\\n this.subs.push(openSubDestroy);\\n this.subs.push(errorSub);\\n return this;\\n }\\n /**\\n * Alias for open()\\n *\\n * @return self\\n * @public\\n */\\n connect(fn) {\\n return this.open(fn);\\n }\\n /**\\n * Called upon transport open.\\n *\\n * @private\\n */\\n onopen() {\\n // clear old subs\\n this.cleanup();\\n // mark as open\\n this._readyState = \\\"open\\\";\\n this.emitReserved(\\\"open\\\");\\n // add new subs\\n const socket = this.engine;\\n this.subs.push((0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"ping\\\", this.onping.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"data\\\", this.ondata.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"error\\\", this.onerror.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(socket, \\\"close\\\", this.onclose.bind(this)), (0,_on_js__WEBPACK_IMPORTED_MODULE_3__.on)(this.decoder, \\\"decoded\\\", this.ondecoded.bind(this)));\\n }\\n /**\\n * Called upon a ping.\\n *\\n * @private\\n */\\n onping() {\\n this.emitReserved(\\\"ping\\\");\\n }\\n /**\\n * Called with data.\\n *\\n * @private\\n */\\n ondata(data) {\\n try {\\n this.decoder.add(data);\\n }\\n catch (e) {\\n this.onclose(\\\"parse error\\\", e);\\n }\\n }\\n /**\\n * Called when parser fully decodes a packet.\\n *\\n * @private\\n */\\n ondecoded(packet) {\\n // the nextTick call prevents an exception in a user-provided event listener from triggering a disconnection due to a \\\"parse error\\\"\\n (0,engine_io_client__WEBPACK_IMPORTED_MODULE_0__.nextTick)(() => {\\n this.emitReserved(\\\"packet\\\", packet);\\n }, this.setTimeoutFn);\\n }\\n /**\\n * Called upon socket error.\\n *\\n * @private\\n */\\n onerror(err) {\\n this.emitReserved(\\\"error\\\", err);\\n }\\n /**\\n * Creates a new socket for the given `nsp`.\\n *\\n * @return {Socket}\\n * @public\\n */\\n socket(nsp, opts) {\\n let socket = this.nsps[nsp];\\n if (!socket) {\\n socket = new _socket_js__WEBPACK_IMPORTED_MODULE_1__.Socket(this, nsp, opts);\\n this.nsps[nsp] = socket;\\n }\\n else if (this._autoConnect && !socket.active) {\\n socket.connect();\\n }\\n return socket;\\n }\\n /**\\n * Called upon a socket close.\\n *\\n * @param socket\\n * @private\\n */\\n _destroy(socket) {\\n const nsps = Object.keys(this.nsps);\\n for (const nsp of nsps) {\\n const socket = this.nsps[nsp];\\n if (socket.active) {\\n return;\\n }\\n }\\n this._close();\\n }\\n /**\\n * Writes a packet.\\n *\\n * @param packet\\n * @private\\n */\\n _packet(packet) {\\n const encodedPackets = this.encoder.encode(packet);\\n for (let i = 0; i < encodedPackets.length; i++) {\\n this.engine.write(encodedPackets[i], packet.options);\\n }\\n }\\n /**\\n * Clean up transport subscriptions and packet buffer.\\n *\\n * @private\\n */\\n cleanup() {\\n this.subs.forEach((subDestroy) => subDestroy());\\n this.subs.length = 0;\\n this.decoder.destroy();\\n }\\n /**\\n * Close the current socket.\\n *\\n * @private\\n */\\n _close() {\\n this.skipReconnect = true;\\n this._reconnecting = false;\\n this.onclose(\\\"forced close\\\");\\n if (this.engine)\\n this.engine.close();\\n }\\n /**\\n * Alias for close()\\n *\\n * @private\\n */\\n disconnect() {\\n return this._close();\\n }\\n /**\\n * Called upon engine close.\\n *\\n * @private\\n */\\n onclose(reason, description) {\\n this.cleanup();\\n this.backoff.reset();\\n this._readyState = \\\"closed\\\";\\n this.emitReserved(\\\"close\\\", reason, description);\\n if (this._reconnection && !this.skipReconnect) {\\n this.reconnect();\\n }\\n }\\n /**\\n * Attempt a reconnection.\\n *\\n * @private\\n */\\n reconnect() {\\n if (this._reconnecting || this.skipReconnect)\\n return this;\\n const self = this;\\n if (this.backoff.attempts >= this._reconnectionAttempts) {\\n this.backoff.reset();\\n this.emitReserved(\\\"reconnect_failed\\\");\\n this._reconnecting = false;\\n }\\n else {\\n const delay = this.backoff.duration();\\n this._reconnecting = true;\\n const timer = this.setTimeoutFn(() => {\\n if (self.skipReconnect)\\n return;\\n this.emitReserved(\\\"reconnect_attempt\\\", self.backoff.attempts);\\n // check again for the case socket closed in above events\\n if (self.skipReconnect)\\n return;\\n self.open((err) => {\\n if (err) {\\n self._reconnecting = false;\\n self.reconnect();\\n this.emitReserved(\\\"reconnect_error\\\", err);\\n }\\n else {\\n self.onreconnect();\\n }\\n });\\n }, delay);\\n if (this.opts.autoUnref) {\\n timer.unref();\\n }\\n this.subs.push(function subDestroy() {\\n clearTimeout(timer);\\n });\\n }\\n }\\n /**\\n * Called upon successful reconnect.\\n *\\n * @private\\n */\\n onreconnect() {\\n const attempt = this.backoff.attempts;\\n this._reconnecting = false;\\n this.backoff.reset();\\n this.emitReserved(\\\"reconnect\\\", attempt);\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/manager.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/on.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/on.js ***!\n \\*******************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ on: () => (/* binding */ on)\\n/* harmony export */ });\\nfunction on(obj, ev, fn) {\\n obj.on(ev, fn);\\n return function subDestroy() {\\n obj.off(ev, fn);\\n };\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/on.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/socket.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/socket.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Socket: () => (/* binding */ Socket)\\n/* harmony export */ });\\n/* harmony import */ var socket_io_parser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! socket.io-parser */ \\\"./node_modules/socket.io-parser/build/esm/index.js\\\");\\n/* harmony import */ var _on_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./on.js */ \\\"./node_modules/socket.io-client/build/esm/on.js\\\");\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n\\n\\n\\n/**\\n * Internal events.\\n * These events can't be emitted by the user.\\n */\\nconst RESERVED_EVENTS = Object.freeze({\\n connect: 1,\\n connect_error: 1,\\n disconnect: 1,\\n disconnecting: 1,\\n // EventEmitter reserved events: https://nodejs.org/api/events.html#events_event_newlistener\\n newListener: 1,\\n removeListener: 1,\\n});\\n/**\\n * A Socket is the fundamental class for interacting with the server.\\n *\\n * A Socket belongs to a certain Namespace (by default /) and uses an underlying {@link Manager} to communicate.\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"connect\\\", () => {\\n * console.log(\\\"connected\\\");\\n * });\\n *\\n * // send an event to the server\\n * socket.emit(\\\"foo\\\", \\\"bar\\\");\\n *\\n * socket.on(\\\"foobar\\\", () => {\\n * // an event was received from the server\\n * });\\n *\\n * // upon disconnection\\n * socket.on(\\\"disconnect\\\", (reason) => {\\n * console.log(`disconnected due to ${reason}`);\\n * });\\n */\\nclass Socket extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_2__.Emitter {\\n /**\\n * `Socket` constructor.\\n */\\n constructor(io, nsp, opts) {\\n super();\\n /**\\n * Whether the socket is currently connected to the server.\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"connect\\\", () => {\\n * console.log(socket.connected); // true\\n * });\\n *\\n * socket.on(\\\"disconnect\\\", () => {\\n * console.log(socket.connected); // false\\n * });\\n */\\n this.connected = false;\\n /**\\n * Whether the connection state was recovered after a temporary disconnection. In that case, any missed packets will\\n * be transmitted by the server.\\n */\\n this.recovered = false;\\n /**\\n * Buffer for packets received before the CONNECT packet\\n */\\n this.receiveBuffer = [];\\n /**\\n * Buffer for packets that will be sent once the socket is connected\\n */\\n this.sendBuffer = [];\\n /**\\n * The queue of packets to be sent with retry in case of failure.\\n *\\n * Packets are sent one by one, each waiting for the server acknowledgement, in order to guarantee the delivery order.\\n * @private\\n */\\n this._queue = [];\\n /**\\n * A sequence to generate the ID of the {@link QueuedPacket}.\\n * @private\\n */\\n this._queueSeq = 0;\\n this.ids = 0;\\n this.acks = {};\\n this.flags = {};\\n this.io = io;\\n this.nsp = nsp;\\n if (opts && opts.auth) {\\n this.auth = opts.auth;\\n }\\n this._opts = Object.assign({}, opts);\\n if (this.io._autoConnect)\\n this.open();\\n }\\n /**\\n * Whether the socket is currently disconnected\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"connect\\\", () => {\\n * console.log(socket.disconnected); // false\\n * });\\n *\\n * socket.on(\\\"disconnect\\\", () => {\\n * console.log(socket.disconnected); // true\\n * });\\n */\\n get disconnected() {\\n return !this.connected;\\n }\\n /**\\n * Subscribe to open, close and packet events\\n *\\n * @private\\n */\\n subEvents() {\\n if (this.subs)\\n return;\\n const io = this.io;\\n this.subs = [\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"open\\\", this.onopen.bind(this)),\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"packet\\\", this.onpacket.bind(this)),\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"error\\\", this.onerror.bind(this)),\\n (0,_on_js__WEBPACK_IMPORTED_MODULE_1__.on)(io, \\\"close\\\", this.onclose.bind(this)),\\n ];\\n }\\n /**\\n * Whether the Socket will try to reconnect when its Manager connects or reconnects.\\n *\\n * @example\\n * const socket = io();\\n *\\n * console.log(socket.active); // true\\n *\\n * socket.on(\\\"disconnect\\\", (reason) => {\\n * if (reason === \\\"io server disconnect\\\") {\\n * // the disconnection was initiated by the server, you need to manually reconnect\\n * console.log(socket.active); // false\\n * }\\n * // else the socket will automatically try to reconnect\\n * console.log(socket.active); // true\\n * });\\n */\\n get active() {\\n return !!this.subs;\\n }\\n /**\\n * \\\"Opens\\\" the socket.\\n *\\n * @example\\n * const socket = io({\\n * autoConnect: false\\n * });\\n *\\n * socket.connect();\\n */\\n connect() {\\n if (this.connected)\\n return this;\\n this.subEvents();\\n if (!this.io[\\\"_reconnecting\\\"])\\n this.io.open(); // ensure open\\n if (\\\"open\\\" === this.io._readyState)\\n this.onopen();\\n return this;\\n }\\n /**\\n * Alias for {@link connect()}.\\n */\\n open() {\\n return this.connect();\\n }\\n /**\\n * Sends a `message` event.\\n *\\n * This method mimics the WebSocket.send() method.\\n *\\n * @see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send\\n *\\n * @example\\n * socket.send(\\\"hello\\\");\\n *\\n * // this is equivalent to\\n * socket.emit(\\\"message\\\", \\\"hello\\\");\\n *\\n * @return self\\n */\\n send(...args) {\\n args.unshift(\\\"message\\\");\\n this.emit.apply(this, args);\\n return this;\\n }\\n /**\\n * Override `emit`.\\n * If the event is in `events`, it's emitted normally.\\n *\\n * @example\\n * socket.emit(\\\"hello\\\", \\\"world\\\");\\n *\\n * // all serializable datastructures are supported (no need to call JSON.stringify)\\n * socket.emit(\\\"hello\\\", 1, \\\"2\\\", { 3: [\\\"4\\\"], 5: Uint8Array.from([6]) });\\n *\\n * // with an acknowledgement from the server\\n * socket.emit(\\\"hello\\\", \\\"world\\\", (val) => {\\n * // ...\\n * });\\n *\\n * @return self\\n */\\n emit(ev, ...args) {\\n if (RESERVED_EVENTS.hasOwnProperty(ev)) {\\n throw new Error('\\\"' + ev.toString() + '\\\" is a reserved event name');\\n }\\n args.unshift(ev);\\n if (this._opts.retries && !this.flags.fromQueue && !this.flags.volatile) {\\n this._addToQueue(args);\\n return this;\\n }\\n const packet = {\\n type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.EVENT,\\n data: args,\\n };\\n packet.options = {};\\n packet.options.compress = this.flags.compress !== false;\\n // event ack callback\\n if (\\\"function\\\" === typeof args[args.length - 1]) {\\n const id = this.ids++;\\n const ack = args.pop();\\n this._registerAckCallback(id, ack);\\n packet.id = id;\\n }\\n const isTransportWritable = this.io.engine &&\\n this.io.engine.transport &&\\n this.io.engine.transport.writable;\\n const discardPacket = this.flags.volatile && (!isTransportWritable || !this.connected);\\n if (discardPacket) {\\n }\\n else if (this.connected) {\\n this.notifyOutgoingListeners(packet);\\n this.packet(packet);\\n }\\n else {\\n this.sendBuffer.push(packet);\\n }\\n this.flags = {};\\n return this;\\n }\\n /**\\n * @private\\n */\\n _registerAckCallback(id, ack) {\\n var _a;\\n const timeout = (_a = this.flags.timeout) !== null && _a !== void 0 ? _a : this._opts.ackTimeout;\\n if (timeout === undefined) {\\n this.acks[id] = ack;\\n return;\\n }\\n // @ts-ignore\\n const timer = this.io.setTimeoutFn(() => {\\n delete this.acks[id];\\n for (let i = 0; i < this.sendBuffer.length; i++) {\\n if (this.sendBuffer[i].id === id) {\\n this.sendBuffer.splice(i, 1);\\n }\\n }\\n ack.call(this, new Error(\\\"operation has timed out\\\"));\\n }, timeout);\\n this.acks[id] = (...args) => {\\n // @ts-ignore\\n this.io.clearTimeoutFn(timer);\\n ack.apply(this, [null, ...args]);\\n };\\n }\\n /**\\n * Emits an event and waits for an acknowledgement\\n *\\n * @example\\n * // without timeout\\n * const response = await socket.emitWithAck(\\\"hello\\\", \\\"world\\\");\\n *\\n * // with a specific timeout\\n * try {\\n * const response = await socket.timeout(1000).emitWithAck(\\\"hello\\\", \\\"world\\\");\\n * } catch (err) {\\n * // the server did not acknowledge the event in the given delay\\n * }\\n *\\n * @return a Promise that will be fulfilled when the server acknowledges the event\\n */\\n emitWithAck(ev, ...args) {\\n // the timeout flag is optional\\n const withErr = this.flags.timeout !== undefined || this._opts.ackTimeout !== undefined;\\n return new Promise((resolve, reject) => {\\n args.push((arg1, arg2) => {\\n if (withErr) {\\n return arg1 ? reject(arg1) : resolve(arg2);\\n }\\n else {\\n return resolve(arg1);\\n }\\n });\\n this.emit(ev, ...args);\\n });\\n }\\n /**\\n * Add the packet to the queue.\\n * @param args\\n * @private\\n */\\n _addToQueue(args) {\\n let ack;\\n if (typeof args[args.length - 1] === \\\"function\\\") {\\n ack = args.pop();\\n }\\n const packet = {\\n id: this._queueSeq++,\\n tryCount: 0,\\n pending: false,\\n args,\\n flags: Object.assign({ fromQueue: true }, this.flags),\\n };\\n args.push((err, ...responseArgs) => {\\n if (packet !== this._queue[0]) {\\n // the packet has already been acknowledged\\n return;\\n }\\n const hasError = err !== null;\\n if (hasError) {\\n if (packet.tryCount > this._opts.retries) {\\n this._queue.shift();\\n if (ack) {\\n ack(err);\\n }\\n }\\n }\\n else {\\n this._queue.shift();\\n if (ack) {\\n ack(null, ...responseArgs);\\n }\\n }\\n packet.pending = false;\\n return this._drainQueue();\\n });\\n this._queue.push(packet);\\n this._drainQueue();\\n }\\n /**\\n * Send the first packet of the queue, and wait for an acknowledgement from the server.\\n * @param force - whether to resend a packet that has not been acknowledged yet\\n *\\n * @private\\n */\\n _drainQueue(force = false) {\\n if (!this.connected || this._queue.length === 0) {\\n return;\\n }\\n const packet = this._queue[0];\\n if (packet.pending && !force) {\\n return;\\n }\\n packet.pending = true;\\n packet.tryCount++;\\n this.flags = packet.flags;\\n this.emit.apply(this, packet.args);\\n }\\n /**\\n * Sends a packet.\\n *\\n * @param packet\\n * @private\\n */\\n packet(packet) {\\n packet.nsp = this.nsp;\\n this.io._packet(packet);\\n }\\n /**\\n * Called upon engine `open`.\\n *\\n * @private\\n */\\n onopen() {\\n if (typeof this.auth == \\\"function\\\") {\\n this.auth((data) => {\\n this._sendConnectPacket(data);\\n });\\n }\\n else {\\n this._sendConnectPacket(this.auth);\\n }\\n }\\n /**\\n * Sends a CONNECT packet to initiate the Socket.IO session.\\n *\\n * @param data\\n * @private\\n */\\n _sendConnectPacket(data) {\\n this.packet({\\n type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.CONNECT,\\n data: this._pid\\n ? Object.assign({ pid: this._pid, offset: this._lastOffset }, data)\\n : data,\\n });\\n }\\n /**\\n * Called upon engine or manager `error`.\\n *\\n * @param err\\n * @private\\n */\\n onerror(err) {\\n if (!this.connected) {\\n this.emitReserved(\\\"connect_error\\\", err);\\n }\\n }\\n /**\\n * Called upon engine `close`.\\n *\\n * @param reason\\n * @param description\\n * @private\\n */\\n onclose(reason, description) {\\n this.connected = false;\\n delete this.id;\\n this.emitReserved(\\\"disconnect\\\", reason, description);\\n }\\n /**\\n * Called with socket packet.\\n *\\n * @param packet\\n * @private\\n */\\n onpacket(packet) {\\n const sameNamespace = packet.nsp === this.nsp;\\n if (!sameNamespace)\\n return;\\n switch (packet.type) {\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.CONNECT:\\n if (packet.data && packet.data.sid) {\\n this.onconnect(packet.data.sid, packet.data.pid);\\n }\\n else {\\n this.emitReserved(\\\"connect_error\\\", new Error(\\\"It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)\\\"));\\n }\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.EVENT:\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.BINARY_EVENT:\\n this.onevent(packet);\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.ACK:\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.BINARY_ACK:\\n this.onack(packet);\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.DISCONNECT:\\n this.ondisconnect();\\n break;\\n case socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.CONNECT_ERROR:\\n this.destroy();\\n const err = new Error(packet.data.message);\\n // @ts-ignore\\n err.data = packet.data.data;\\n this.emitReserved(\\\"connect_error\\\", err);\\n break;\\n }\\n }\\n /**\\n * Called upon a server event.\\n *\\n * @param packet\\n * @private\\n */\\n onevent(packet) {\\n const args = packet.data || [];\\n if (null != packet.id) {\\n args.push(this.ack(packet.id));\\n }\\n if (this.connected) {\\n this.emitEvent(args);\\n }\\n else {\\n this.receiveBuffer.push(Object.freeze(args));\\n }\\n }\\n emitEvent(args) {\\n if (this._anyListeners && this._anyListeners.length) {\\n const listeners = this._anyListeners.slice();\\n for (const listener of listeners) {\\n listener.apply(this, args);\\n }\\n }\\n super.emit.apply(this, args);\\n if (this._pid && args.length && typeof args[args.length - 1] === \\\"string\\\") {\\n this._lastOffset = args[args.length - 1];\\n }\\n }\\n /**\\n * Produces an ack callback to emit with an event.\\n *\\n * @private\\n */\\n ack(id) {\\n const self = this;\\n let sent = false;\\n return function (...args) {\\n // prevent double callbacks\\n if (sent)\\n return;\\n sent = true;\\n self.packet({\\n type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.ACK,\\n id: id,\\n data: args,\\n });\\n };\\n }\\n /**\\n * Called upon a server acknowlegement.\\n *\\n * @param packet\\n * @private\\n */\\n onack(packet) {\\n const ack = this.acks[packet.id];\\n if (\\\"function\\\" === typeof ack) {\\n ack.apply(this, packet.data);\\n delete this.acks[packet.id];\\n }\\n else {\\n }\\n }\\n /**\\n * Called upon server connect.\\n *\\n * @private\\n */\\n onconnect(id, pid) {\\n this.id = id;\\n this.recovered = pid && this._pid === pid;\\n this._pid = pid; // defined only if connection state recovery is enabled\\n this.connected = true;\\n this.emitBuffered();\\n this.emitReserved(\\\"connect\\\");\\n this._drainQueue(true);\\n }\\n /**\\n * Emit buffered events (received and emitted).\\n *\\n * @private\\n */\\n emitBuffered() {\\n this.receiveBuffer.forEach((args) => this.emitEvent(args));\\n this.receiveBuffer = [];\\n this.sendBuffer.forEach((packet) => {\\n this.notifyOutgoingListeners(packet);\\n this.packet(packet);\\n });\\n this.sendBuffer = [];\\n }\\n /**\\n * Called upon server disconnect.\\n *\\n * @private\\n */\\n ondisconnect() {\\n this.destroy();\\n this.onclose(\\\"io server disconnect\\\");\\n }\\n /**\\n * Called upon forced client/server side disconnections,\\n * this method ensures the manager stops tracking us and\\n * that reconnections don't get triggered for this.\\n *\\n * @private\\n */\\n destroy() {\\n if (this.subs) {\\n // clean subscriptions to avoid reconnections\\n this.subs.forEach((subDestroy) => subDestroy());\\n this.subs = undefined;\\n }\\n this.io[\\\"_destroy\\\"](this);\\n }\\n /**\\n * Disconnects the socket manually. In that case, the socket will not try to reconnect.\\n *\\n * If this is the last active Socket instance of the {@link Manager}, the low-level connection will be closed.\\n *\\n * @example\\n * const socket = io();\\n *\\n * socket.on(\\\"disconnect\\\", (reason) => {\\n * // console.log(reason); prints \\\"io client disconnect\\\"\\n * });\\n *\\n * socket.disconnect();\\n *\\n * @return self\\n */\\n disconnect() {\\n if (this.connected) {\\n this.packet({ type: socket_io_parser__WEBPACK_IMPORTED_MODULE_0__.PacketType.DISCONNECT });\\n }\\n // remove socket from pool\\n this.destroy();\\n if (this.connected) {\\n // fire events\\n this.onclose(\\\"io client disconnect\\\");\\n }\\n return this;\\n }\\n /**\\n * Alias for {@link disconnect()}.\\n *\\n * @return self\\n */\\n close() {\\n return this.disconnect();\\n }\\n /**\\n * Sets the compress flag.\\n *\\n * @example\\n * socket.compress(false).emit(\\\"hello\\\");\\n *\\n * @param compress - if `true`, compresses the sending data\\n * @return self\\n */\\n compress(compress) {\\n this.flags.compress = compress;\\n return this;\\n }\\n /**\\n * Sets a modifier for a subsequent event emission that the event message will be dropped when this socket is not\\n * ready to send messages.\\n *\\n * @example\\n * socket.volatile.emit(\\\"hello\\\"); // the server may or may not receive it\\n *\\n * @returns self\\n */\\n get volatile() {\\n this.flags.volatile = true;\\n return this;\\n }\\n /**\\n * Sets a modifier for a subsequent event emission that the callback will be called with an error when the\\n * given number of milliseconds have elapsed without an acknowledgement from the server:\\n *\\n * @example\\n * socket.timeout(5000).emit(\\\"my-event\\\", (err) => {\\n * if (err) {\\n * // the server did not acknowledge the event in the given delay\\n * }\\n * });\\n *\\n * @returns self\\n */\\n timeout(timeout) {\\n this.flags.timeout = timeout;\\n return this;\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback.\\n *\\n * @example\\n * socket.onAny((event, ...args) => {\\n * console.log(`got ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n onAny(listener) {\\n this._anyListeners = this._anyListeners || [];\\n this._anyListeners.push(listener);\\n return this;\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback. The listener is added to the beginning of the listeners array.\\n *\\n * @example\\n * socket.prependAny((event, ...args) => {\\n * console.log(`got event ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n prependAny(listener) {\\n this._anyListeners = this._anyListeners || [];\\n this._anyListeners.unshift(listener);\\n return this;\\n }\\n /**\\n * Removes the listener that will be fired when any event is emitted.\\n *\\n * @example\\n * const catchAllListener = (event, ...args) => {\\n * console.log(`got event ${event}`);\\n * }\\n *\\n * socket.onAny(catchAllListener);\\n *\\n * // remove a specific listener\\n * socket.offAny(catchAllListener);\\n *\\n * // or remove all listeners\\n * socket.offAny();\\n *\\n * @param listener\\n */\\n offAny(listener) {\\n if (!this._anyListeners) {\\n return this;\\n }\\n if (listener) {\\n const listeners = this._anyListeners;\\n for (let i = 0; i < listeners.length; i++) {\\n if (listener === listeners[i]) {\\n listeners.splice(i, 1);\\n return this;\\n }\\n }\\n }\\n else {\\n this._anyListeners = [];\\n }\\n return this;\\n }\\n /**\\n * Returns an array of listeners that are listening for any event that is specified. This array can be manipulated,\\n * e.g. to remove listeners.\\n */\\n listenersAny() {\\n return this._anyListeners || [];\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback.\\n *\\n * Note: acknowledgements sent to the server are not included.\\n *\\n * @example\\n * socket.onAnyOutgoing((event, ...args) => {\\n * console.log(`sent event ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n onAnyOutgoing(listener) {\\n this._anyOutgoingListeners = this._anyOutgoingListeners || [];\\n this._anyOutgoingListeners.push(listener);\\n return this;\\n }\\n /**\\n * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\\n * callback. The listener is added to the beginning of the listeners array.\\n *\\n * Note: acknowledgements sent to the server are not included.\\n *\\n * @example\\n * socket.prependAnyOutgoing((event, ...args) => {\\n * console.log(`sent event ${event}`);\\n * });\\n *\\n * @param listener\\n */\\n prependAnyOutgoing(listener) {\\n this._anyOutgoingListeners = this._anyOutgoingListeners || [];\\n this._anyOutgoingListeners.unshift(listener);\\n return this;\\n }\\n /**\\n * Removes the listener that will be fired when any event is emitted.\\n *\\n * @example\\n * const catchAllListener = (event, ...args) => {\\n * console.log(`sent event ${event}`);\\n * }\\n *\\n * socket.onAnyOutgoing(catchAllListener);\\n *\\n * // remove a specific listener\\n * socket.offAnyOutgoing(catchAllListener);\\n *\\n * // or remove all listeners\\n * socket.offAnyOutgoing();\\n *\\n * @param [listener] - the catch-all listener (optional)\\n */\\n offAnyOutgoing(listener) {\\n if (!this._anyOutgoingListeners) {\\n return this;\\n }\\n if (listener) {\\n const listeners = this._anyOutgoingListeners;\\n for (let i = 0; i < listeners.length; i++) {\\n if (listener === listeners[i]) {\\n listeners.splice(i, 1);\\n return this;\\n }\\n }\\n }\\n else {\\n this._anyOutgoingListeners = [];\\n }\\n return this;\\n }\\n /**\\n * Returns an array of listeners that are listening for any event that is specified. This array can be manipulated,\\n * e.g. to remove listeners.\\n */\\n listenersAnyOutgoing() {\\n return this._anyOutgoingListeners || [];\\n }\\n /**\\n * Notify the listeners for each packet sent\\n *\\n * @param packet\\n *\\n * @private\\n */\\n notifyOutgoingListeners(packet) {\\n if (this._anyOutgoingListeners && this._anyOutgoingListeners.length) {\\n const listeners = this._anyOutgoingListeners.slice();\\n for (const listener of listeners) {\\n listener.apply(this, packet.data);\\n }\\n }\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/socket.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-client/build/esm/url.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/socket.io-client/build/esm/url.js ***!\n \\********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ url: () => (/* binding */ url)\\n/* harmony export */ });\\n/* harmony import */ var engine_io_client__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! engine.io-client */ \\\"./node_modules/engine.io-client/build/esm/index.js\\\");\\n\\n/**\\n * URL parser.\\n *\\n * @param uri - url\\n * @param path - the request path of the connection\\n * @param loc - An object meant to mimic window.location.\\n * Defaults to window.location.\\n * @public\\n */\\nfunction url(uri, path = \\\"\\\", loc) {\\n let obj = uri;\\n // default to window.location\\n loc = loc || (typeof location !== \\\"undefined\\\" && location);\\n if (null == uri)\\n uri = loc.protocol + \\\"//\\\" + loc.host;\\n // relative path support\\n if (typeof uri === \\\"string\\\") {\\n if (\\\"/\\\" === uri.charAt(0)) {\\n if (\\\"/\\\" === uri.charAt(1)) {\\n uri = loc.protocol + uri;\\n }\\n else {\\n uri = loc.host + uri;\\n }\\n }\\n if (!/^(https?|wss?):\\\\/\\\\//.test(uri)) {\\n if (\\\"undefined\\\" !== typeof loc) {\\n uri = loc.protocol + \\\"//\\\" + uri;\\n }\\n else {\\n uri = \\\"https://\\\" + uri;\\n }\\n }\\n // parse\\n obj = (0,engine_io_client__WEBPACK_IMPORTED_MODULE_0__.parse)(uri);\\n }\\n // make sure we treat `localhost:80` and `localhost` equally\\n if (!obj.port) {\\n if (/^(http|ws)$/.test(obj.protocol)) {\\n obj.port = \\\"80\\\";\\n }\\n else if (/^(http|ws)s$/.test(obj.protocol)) {\\n obj.port = \\\"443\\\";\\n }\\n }\\n obj.path = obj.path || \\\"/\\\";\\n const ipv6 = obj.host.indexOf(\\\":\\\") !== -1;\\n const host = ipv6 ? \\\"[\\\" + obj.host + \\\"]\\\" : obj.host;\\n // define unique id\\n obj.id = obj.protocol + \\\"://\\\" + host + \\\":\\\" + obj.port + path;\\n // define href\\n obj.href =\\n obj.protocol +\\n \\\"://\\\" +\\n host +\\n (loc && loc.port === obj.port ? \\\"\\\" : \\\":\\\" + obj.port);\\n return obj;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-client/build/esm/url.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-parser/build/esm/binary.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/socket.io-parser/build/esm/binary.js ***!\n \\***********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ deconstructPacket: () => (/* binding */ deconstructPacket),\\n/* harmony export */ reconstructPacket: () => (/* binding */ reconstructPacket)\\n/* harmony export */ });\\n/* harmony import */ var _is_binary_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./is-binary.js */ \\\"./node_modules/socket.io-parser/build/esm/is-binary.js\\\");\\n\\n/**\\n * Replaces every Buffer | ArrayBuffer | Blob | File in packet with a numbered placeholder.\\n *\\n * @param {Object} packet - socket.io event packet\\n * @return {Object} with deconstructed packet and list of buffers\\n * @public\\n */\\nfunction deconstructPacket(packet) {\\n const buffers = [];\\n const packetData = packet.data;\\n const pack = packet;\\n pack.data = _deconstructPacket(packetData, buffers);\\n pack.attachments = buffers.length; // number of binary 'attachments'\\n return { packet: pack, buffers: buffers };\\n}\\nfunction _deconstructPacket(data, buffers) {\\n if (!data)\\n return data;\\n if ((0,_is_binary_js__WEBPACK_IMPORTED_MODULE_0__.isBinary)(data)) {\\n const placeholder = { _placeholder: true, num: buffers.length };\\n buffers.push(data);\\n return placeholder;\\n }\\n else if (Array.isArray(data)) {\\n const newData = new Array(data.length);\\n for (let i = 0; i < data.length; i++) {\\n newData[i] = _deconstructPacket(data[i], buffers);\\n }\\n return newData;\\n }\\n else if (typeof data === \\\"object\\\" && !(data instanceof Date)) {\\n const newData = {};\\n for (const key in data) {\\n if (Object.prototype.hasOwnProperty.call(data, key)) {\\n newData[key] = _deconstructPacket(data[key], buffers);\\n }\\n }\\n return newData;\\n }\\n return data;\\n}\\n/**\\n * Reconstructs a binary packet from its placeholder packet and buffers\\n *\\n * @param {Object} packet - event packet with placeholders\\n * @param {Array} buffers - binary buffers to put in placeholder positions\\n * @return {Object} reconstructed packet\\n * @public\\n */\\nfunction reconstructPacket(packet, buffers) {\\n packet.data = _reconstructPacket(packet.data, buffers);\\n delete packet.attachments; // no longer useful\\n return packet;\\n}\\nfunction _reconstructPacket(data, buffers) {\\n if (!data)\\n return data;\\n if (data && data._placeholder === true) {\\n const isIndexValid = typeof data.num === \\\"number\\\" &&\\n data.num >= 0 &&\\n data.num < buffers.length;\\n if (isIndexValid) {\\n return buffers[data.num]; // appropriate buffer (should be natural order anyway)\\n }\\n else {\\n throw new Error(\\\"illegal attachments\\\");\\n }\\n }\\n else if (Array.isArray(data)) {\\n for (let i = 0; i < data.length; i++) {\\n data[i] = _reconstructPacket(data[i], buffers);\\n }\\n }\\n else if (typeof data === \\\"object\\\") {\\n for (const key in data) {\\n if (Object.prototype.hasOwnProperty.call(data, key)) {\\n data[key] = _reconstructPacket(data[key], buffers);\\n }\\n }\\n }\\n return data;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-parser/build/esm/binary.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-parser/build/esm/index.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/socket.io-parser/build/esm/index.js ***!\n \\**********************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ Decoder: () => (/* binding */ Decoder),\\n/* harmony export */ Encoder: () => (/* binding */ Encoder),\\n/* harmony export */ PacketType: () => (/* binding */ PacketType),\\n/* harmony export */ protocol: () => (/* binding */ protocol)\\n/* harmony export */ });\\n/* harmony import */ var _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @socket.io/component-emitter */ \\\"./node_modules/@socket.io/component-emitter/index.mjs\\\");\\n/* harmony import */ var _binary_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./binary.js */ \\\"./node_modules/socket.io-parser/build/esm/binary.js\\\");\\n/* harmony import */ var _is_binary_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./is-binary.js */ \\\"./node_modules/socket.io-parser/build/esm/is-binary.js\\\");\\n\\n\\n\\n/**\\n * These strings must not be used as event names, as they have a special meaning.\\n */\\nconst RESERVED_EVENTS = [\\n \\\"connect\\\",\\n \\\"connect_error\\\",\\n \\\"disconnect\\\",\\n \\\"disconnecting\\\",\\n \\\"newListener\\\",\\n \\\"removeListener\\\", // used by the Node.js EventEmitter\\n];\\n/**\\n * Protocol version.\\n *\\n * @public\\n */\\nconst protocol = 5;\\nvar PacketType;\\n(function (PacketType) {\\n PacketType[PacketType[\\\"CONNECT\\\"] = 0] = \\\"CONNECT\\\";\\n PacketType[PacketType[\\\"DISCONNECT\\\"] = 1] = \\\"DISCONNECT\\\";\\n PacketType[PacketType[\\\"EVENT\\\"] = 2] = \\\"EVENT\\\";\\n PacketType[PacketType[\\\"ACK\\\"] = 3] = \\\"ACK\\\";\\n PacketType[PacketType[\\\"CONNECT_ERROR\\\"] = 4] = \\\"CONNECT_ERROR\\\";\\n PacketType[PacketType[\\\"BINARY_EVENT\\\"] = 5] = \\\"BINARY_EVENT\\\";\\n PacketType[PacketType[\\\"BINARY_ACK\\\"] = 6] = \\\"BINARY_ACK\\\";\\n})(PacketType || (PacketType = {}));\\n/**\\n * A socket.io Encoder instance\\n */\\nclass Encoder {\\n /**\\n * Encoder constructor\\n *\\n * @param {function} replacer - custom replacer to pass down to JSON.parse\\n */\\n constructor(replacer) {\\n this.replacer = replacer;\\n }\\n /**\\n * Encode a packet as a single string if non-binary, or as a\\n * buffer sequence, depending on packet type.\\n *\\n * @param {Object} obj - packet object\\n */\\n encode(obj) {\\n if (obj.type === PacketType.EVENT || obj.type === PacketType.ACK) {\\n if ((0,_is_binary_js__WEBPACK_IMPORTED_MODULE_2__.hasBinary)(obj)) {\\n return this.encodeAsBinary({\\n type: obj.type === PacketType.EVENT\\n ? PacketType.BINARY_EVENT\\n : PacketType.BINARY_ACK,\\n nsp: obj.nsp,\\n data: obj.data,\\n id: obj.id,\\n });\\n }\\n }\\n return [this.encodeAsString(obj)];\\n }\\n /**\\n * Encode packet as string.\\n */\\n encodeAsString(obj) {\\n // first is type\\n let str = \\\"\\\" + obj.type;\\n // attachments if we have them\\n if (obj.type === PacketType.BINARY_EVENT ||\\n obj.type === PacketType.BINARY_ACK) {\\n str += obj.attachments + \\\"-\\\";\\n }\\n // if we have a namespace other than `/`\\n // we append it followed by a comma `,`\\n if (obj.nsp && \\\"/\\\" !== obj.nsp) {\\n str += obj.nsp + \\\",\\\";\\n }\\n // immediately followed by the id\\n if (null != obj.id) {\\n str += obj.id;\\n }\\n // json data\\n if (null != obj.data) {\\n str += JSON.stringify(obj.data, this.replacer);\\n }\\n return str;\\n }\\n /**\\n * Encode packet as 'buffer sequence' by removing blobs, and\\n * deconstructing packet into object with placeholders and\\n * a list of buffers.\\n */\\n encodeAsBinary(obj) {\\n const deconstruction = (0,_binary_js__WEBPACK_IMPORTED_MODULE_1__.deconstructPacket)(obj);\\n const pack = this.encodeAsString(deconstruction.packet);\\n const buffers = deconstruction.buffers;\\n buffers.unshift(pack); // add packet info to beginning of data list\\n return buffers; // write all the buffers\\n }\\n}\\n// see https://stackoverflow.com/questions/8511281/check-if-a-value-is-an-object-in-javascript\\nfunction isObject(value) {\\n return Object.prototype.toString.call(value) === \\\"[object Object]\\\";\\n}\\n/**\\n * A socket.io Decoder instance\\n *\\n * @return {Object} decoder\\n */\\nclass Decoder extends _socket_io_component_emitter__WEBPACK_IMPORTED_MODULE_0__.Emitter {\\n /**\\n * Decoder constructor\\n *\\n * @param {function} reviver - custom reviver to pass down to JSON.stringify\\n */\\n constructor(reviver) {\\n super();\\n this.reviver = reviver;\\n }\\n /**\\n * Decodes an encoded packet string into packet JSON.\\n *\\n * @param {String} obj - encoded packet\\n */\\n add(obj) {\\n let packet;\\n if (typeof obj === \\\"string\\\") {\\n if (this.reconstructor) {\\n throw new Error(\\\"got plaintext data when reconstructing a packet\\\");\\n }\\n packet = this.decodeString(obj);\\n const isBinaryEvent = packet.type === PacketType.BINARY_EVENT;\\n if (isBinaryEvent || packet.type === PacketType.BINARY_ACK) {\\n packet.type = isBinaryEvent ? PacketType.EVENT : PacketType.ACK;\\n // binary packet's json\\n this.reconstructor = new BinaryReconstructor(packet);\\n // no attachments, labeled binary but no binary data to follow\\n if (packet.attachments === 0) {\\n super.emitReserved(\\\"decoded\\\", packet);\\n }\\n }\\n else {\\n // non-binary full packet\\n super.emitReserved(\\\"decoded\\\", packet);\\n }\\n }\\n else if ((0,_is_binary_js__WEBPACK_IMPORTED_MODULE_2__.isBinary)(obj) || obj.base64) {\\n // raw binary data\\n if (!this.reconstructor) {\\n throw new Error(\\\"got binary data when not reconstructing a packet\\\");\\n }\\n else {\\n packet = this.reconstructor.takeBinaryData(obj);\\n if (packet) {\\n // received final buffer\\n this.reconstructor = null;\\n super.emitReserved(\\\"decoded\\\", packet);\\n }\\n }\\n }\\n else {\\n throw new Error(\\\"Unknown type: \\\" + obj);\\n }\\n }\\n /**\\n * Decode a packet String (JSON data)\\n *\\n * @param {String} str\\n * @return {Object} packet\\n */\\n decodeString(str) {\\n let i = 0;\\n // look up type\\n const p = {\\n type: Number(str.charAt(0)),\\n };\\n if (PacketType[p.type] === undefined) {\\n throw new Error(\\\"unknown packet type \\\" + p.type);\\n }\\n // look up attachments if type binary\\n if (p.type === PacketType.BINARY_EVENT ||\\n p.type === PacketType.BINARY_ACK) {\\n const start = i + 1;\\n while (str.charAt(++i) !== \\\"-\\\" && i != str.length) { }\\n const buf = str.substring(start, i);\\n if (buf != Number(buf) || str.charAt(i) !== \\\"-\\\") {\\n throw new Error(\\\"Illegal attachments\\\");\\n }\\n p.attachments = Number(buf);\\n }\\n // look up namespace (if any)\\n if (\\\"/\\\" === str.charAt(i + 1)) {\\n const start = i + 1;\\n while (++i) {\\n const c = str.charAt(i);\\n if (\\\",\\\" === c)\\n break;\\n if (i === str.length)\\n break;\\n }\\n p.nsp = str.substring(start, i);\\n }\\n else {\\n p.nsp = \\\"/\\\";\\n }\\n // look up id\\n const next = str.charAt(i + 1);\\n if (\\\"\\\" !== next && Number(next) == next) {\\n const start = i + 1;\\n while (++i) {\\n const c = str.charAt(i);\\n if (null == c || Number(c) != c) {\\n --i;\\n break;\\n }\\n if (i === str.length)\\n break;\\n }\\n p.id = Number(str.substring(start, i + 1));\\n }\\n // look up json data\\n if (str.charAt(++i)) {\\n const payload = this.tryParse(str.substr(i));\\n if (Decoder.isPayloadValid(p.type, payload)) {\\n p.data = payload;\\n }\\n else {\\n throw new Error(\\\"invalid payload\\\");\\n }\\n }\\n return p;\\n }\\n tryParse(str) {\\n try {\\n return JSON.parse(str, this.reviver);\\n }\\n catch (e) {\\n return false;\\n }\\n }\\n static isPayloadValid(type, payload) {\\n switch (type) {\\n case PacketType.CONNECT:\\n return isObject(payload);\\n case PacketType.DISCONNECT:\\n return payload === undefined;\\n case PacketType.CONNECT_ERROR:\\n return typeof payload === \\\"string\\\" || isObject(payload);\\n case PacketType.EVENT:\\n case PacketType.BINARY_EVENT:\\n return (Array.isArray(payload) &&\\n (typeof payload[0] === \\\"number\\\" ||\\n (typeof payload[0] === \\\"string\\\" &&\\n RESERVED_EVENTS.indexOf(payload[0]) === -1)));\\n case PacketType.ACK:\\n case PacketType.BINARY_ACK:\\n return Array.isArray(payload);\\n }\\n }\\n /**\\n * Deallocates a parser's resources\\n */\\n destroy() {\\n if (this.reconstructor) {\\n this.reconstructor.finishedReconstruction();\\n this.reconstructor = null;\\n }\\n }\\n}\\n/**\\n * A manager of a binary event's 'buffer sequence'. Should\\n * be constructed whenever a packet of type BINARY_EVENT is\\n * decoded.\\n *\\n * @param {Object} packet\\n * @return {BinaryReconstructor} initialized reconstructor\\n */\\nclass BinaryReconstructor {\\n constructor(packet) {\\n this.packet = packet;\\n this.buffers = [];\\n this.reconPack = packet;\\n }\\n /**\\n * Method to be called when binary data received from connection\\n * after a BINARY_EVENT packet.\\n *\\n * @param {Buffer | ArrayBuffer} binData - the raw binary data received\\n * @return {null | Object} returns null if more binary data is expected or\\n * a reconstructed packet object if all buffers have been received.\\n */\\n takeBinaryData(binData) {\\n this.buffers.push(binData);\\n if (this.buffers.length === this.reconPack.attachments) {\\n // done with buffer list\\n const packet = (0,_binary_js__WEBPACK_IMPORTED_MODULE_1__.reconstructPacket)(this.reconPack, this.buffers);\\n this.finishedReconstruction();\\n return packet;\\n }\\n return null;\\n }\\n /**\\n * Cleans up binary packet reconstruction variables.\\n */\\n finishedReconstruction() {\\n this.reconPack = null;\\n this.buffers = [];\\n }\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-parser/build/esm/index.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/socket.io-parser/build/esm/is-binary.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/socket.io-parser/build/esm/is-binary.js ***!\n \\**************************************************************/\n/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\\n/* harmony export */ hasBinary: () => (/* binding */ hasBinary),\\n/* harmony export */ isBinary: () => (/* binding */ isBinary)\\n/* harmony export */ });\\nconst withNativeArrayBuffer = typeof ArrayBuffer === \\\"function\\\";\\nconst isView = (obj) => {\\n return typeof ArrayBuffer.isView === \\\"function\\\"\\n ? ArrayBuffer.isView(obj)\\n : obj.buffer instanceof ArrayBuffer;\\n};\\nconst toString = Object.prototype.toString;\\nconst withNativeBlob = typeof Blob === \\\"function\\\" ||\\n (typeof Blob !== \\\"undefined\\\" &&\\n toString.call(Blob) === \\\"[object BlobConstructor]\\\");\\nconst withNativeFile = typeof File === \\\"function\\\" ||\\n (typeof File !== \\\"undefined\\\" &&\\n toString.call(File) === \\\"[object FileConstructor]\\\");\\n/**\\n * Returns true if obj is a Buffer, an ArrayBuffer, a Blob or a File.\\n *\\n * @private\\n */\\nfunction isBinary(obj) {\\n return ((withNativeArrayBuffer && (obj instanceof ArrayBuffer || isView(obj))) ||\\n (withNativeBlob && obj instanceof Blob) ||\\n (withNativeFile && obj instanceof File));\\n}\\nfunction hasBinary(obj, toJSON) {\\n if (!obj || typeof obj !== \\\"object\\\") {\\n return false;\\n }\\n if (Array.isArray(obj)) {\\n for (let i = 0, l = obj.length; i < l; i++) {\\n if (hasBinary(obj[i])) {\\n return true;\\n }\\n }\\n return false;\\n }\\n if (isBinary(obj)) {\\n return true;\\n }\\n if (obj.toJSON &&\\n typeof obj.toJSON === \\\"function\\\" &&\\n arguments.length === 1) {\\n return hasBinary(obj.toJSON(), true);\\n }\\n for (const key in obj) {\\n if (Object.prototype.hasOwnProperty.call(obj, key) && hasBinary(obj[key])) {\\n return true;\\n }\\n }\\n return false;\\n}\\n\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/socket.io-parser/build/esm/is-binary.js?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/client-chime-sdk-messaging/package.json\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/@aws-sdk/client-chime-sdk-messaging/package.json ***!\n \\***********************************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"module.exports = JSON.parse('{\\\"name\\\":\\\"@aws-sdk/client-chime-sdk-messaging\\\",\\\"description\\\":\\\"AWS SDK for JavaScript Chime Sdk Messaging Client for Node.js, Browser and React Native\\\",\\\"version\\\":\\\"3.354.0\\\",\\\"scripts\\\":{\\\"build\\\":\\\"concurrently \\\\'yarn:build:cjs\\\\' \\\\'yarn:build:es\\\\' \\\\'yarn:build:types\\\\'\\\",\\\"build:cjs\\\":\\\"tsc -p tsconfig.cjs.json\\\",\\\"build:docs\\\":\\\"typedoc\\\",\\\"build:es\\\":\\\"tsc -p tsconfig.es.json\\\",\\\"build:include:deps\\\":\\\"lerna run --scope $npm_package_name --include-dependencies build\\\",\\\"build:types\\\":\\\"tsc -p tsconfig.types.json\\\",\\\"build:types:downlevel\\\":\\\"downlevel-dts dist-types dist-types/ts3.4\\\",\\\"clean\\\":\\\"rimraf ./dist-* && rimraf *.tsbuildinfo\\\",\\\"extract:docs\\\":\\\"api-extractor run --local\\\",\\\"generate:client\\\":\\\"node ../../scripts/generate-clients/single-service --solo chime-sdk-messaging\\\"},\\\"main\\\":\\\"./dist-cjs/index.js\\\",\\\"types\\\":\\\"./dist-types/index.d.ts\\\",\\\"module\\\":\\\"./dist-es/index.js\\\",\\\"sideEffects\\\":false,\\\"dependencies\\\":{\\\"@aws-crypto/sha256-browser\\\":\\\"3.0.0\\\",\\\"@aws-crypto/sha256-js\\\":\\\"3.0.0\\\",\\\"@aws-sdk/client-sts\\\":\\\"3.354.0\\\",\\\"@aws-sdk/config-resolver\\\":\\\"3.354.0\\\",\\\"@aws-sdk/credential-provider-node\\\":\\\"3.354.0\\\",\\\"@aws-sdk/fetch-http-handler\\\":\\\"3.353.0\\\",\\\"@aws-sdk/hash-node\\\":\\\"3.347.0\\\",\\\"@aws-sdk/invalid-dependency\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-content-length\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-endpoint\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-host-header\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-logger\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-recursion-detection\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-retry\\\":\\\"3.354.0\\\",\\\"@aws-sdk/middleware-serde\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-signing\\\":\\\"3.354.0\\\",\\\"@aws-sdk/middleware-stack\\\":\\\"3.347.0\\\",\\\"@aws-sdk/middleware-user-agent\\\":\\\"3.352.0\\\",\\\"@aws-sdk/node-config-provider\\\":\\\"3.354.0\\\",\\\"@aws-sdk/node-http-handler\\\":\\\"3.350.0\\\",\\\"@aws-sdk/smithy-client\\\":\\\"3.347.0\\\",\\\"@aws-sdk/types\\\":\\\"3.347.0\\\",\\\"@aws-sdk/url-parser\\\":\\\"3.347.0\\\",\\\"@aws-sdk/util-base64\\\":\\\"3.310.0\\\",\\\"@aws-sdk/util-body-length-browser\\\":\\\"3.310.0\\\",\\\"@aws-sdk/util-body-length-node\\\":\\\"3.310.0\\\",\\\"@aws-sdk/util-defaults-mode-browser\\\":\\\"3.353.0\\\",\\\"@aws-sdk/util-defaults-mode-node\\\":\\\"3.354.0\\\",\\\"@aws-sdk/util-endpoints\\\":\\\"3.352.0\\\",\\\"@aws-sdk/util-retry\\\":\\\"3.347.0\\\",\\\"@aws-sdk/util-user-agent-browser\\\":\\\"3.347.0\\\",\\\"@aws-sdk/util-user-agent-node\\\":\\\"3.354.0\\\",\\\"@aws-sdk/util-utf8\\\":\\\"3.310.0\\\",\\\"@smithy/protocol-http\\\":\\\"^1.0.1\\\",\\\"@smithy/types\\\":\\\"^1.0.0\\\",\\\"tslib\\\":\\\"^2.5.0\\\",\\\"uuid\\\":\\\"^8.3.2\\\"},\\\"devDependencies\\\":{\\\"@aws-sdk/service-client-documentation-generator\\\":\\\"3.310.0\\\",\\\"@tsconfig/node14\\\":\\\"1.0.3\\\",\\\"@types/node\\\":\\\"^14.14.31\\\",\\\"@types/uuid\\\":\\\"^8.3.0\\\",\\\"concurrently\\\":\\\"7.0.0\\\",\\\"downlevel-dts\\\":\\\"0.10.1\\\",\\\"rimraf\\\":\\\"3.0.2\\\",\\\"typedoc\\\":\\\"0.23.23\\\",\\\"typescript\\\":\\\"~4.9.5\\\"},\\\"engines\\\":{\\\"node\\\":\\\">=14.0.0\\\"},\\\"typesVersions\\\":{\\\"<4.0\\\":{\\\"dist-types/*\\\":[\\\"dist-types/ts3.4/*\\\"]}},\\\"files\\\":[\\\"dist-*/**\\\"],\\\"author\\\":{\\\"name\\\":\\\"AWS SDK for JavaScript Team\\\",\\\"url\\\":\\\"https://aws.amazon.com/javascript/\\\"},\\\"license\\\":\\\"Apache-2.0\\\",\\\"browser\\\":{\\\"./dist-es/runtimeConfig\\\":\\\"./dist-es/runtimeConfig.browser\\\"},\\\"react-native\\\":{\\\"./dist-es/runtimeConfig\\\":\\\"./dist-es/runtimeConfig.native\\\"},\\\"homepage\\\":\\\"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-chime-sdk-messaging\\\",\\\"repository\\\":{\\\"type\\\":\\\"git\\\",\\\"url\\\":\\\"https://github.com/aws/aws-sdk-js-v3.git\\\",\\\"directory\\\":\\\"clients/client-chime-sdk-messaging\\\"}}');\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/client-chime-sdk-messaging/package.json?\");\n\n/***/ }),\n\n/***/ \"./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json\":\n/*!******************************************************************************!*\\\n !*** ./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json ***!\n \\******************************************************************************/\n/***/ ((module) => {\n\n\"use strict\";\neval(\"module.exports = JSON.parse('{\\\"partitions\\\":[{\\\"id\\\":\\\"aws\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"amazonaws.com\\\",\\\"dualStackDnsSuffix\\\":\\\"api.aws\\\",\\\"name\\\":\\\"aws\\\",\\\"supportsDualStack\\\":true,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^(us|eu|ap|sa|ca|me|af)\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"af-south-1\\\":{\\\"description\\\":\\\"Africa (Cape Town)\\\"},\\\"ap-east-1\\\":{\\\"description\\\":\\\"Asia Pacific (Hong Kong)\\\"},\\\"ap-northeast-1\\\":{\\\"description\\\":\\\"Asia Pacific (Tokyo)\\\"},\\\"ap-northeast-2\\\":{\\\"description\\\":\\\"Asia Pacific (Seoul)\\\"},\\\"ap-northeast-3\\\":{\\\"description\\\":\\\"Asia Pacific (Osaka)\\\"},\\\"ap-south-1\\\":{\\\"description\\\":\\\"Asia Pacific (Mumbai)\\\"},\\\"ap-south-2\\\":{\\\"description\\\":\\\"Asia Pacific (Hyderabad)\\\"},\\\"ap-southeast-1\\\":{\\\"description\\\":\\\"Asia Pacific (Singapore)\\\"},\\\"ap-southeast-2\\\":{\\\"description\\\":\\\"Asia Pacific (Sydney)\\\"},\\\"ap-southeast-3\\\":{\\\"description\\\":\\\"Asia Pacific (Jakarta)\\\"},\\\"ap-southeast-4\\\":{\\\"description\\\":\\\"Asia Pacific (Melbourne)\\\"},\\\"aws-global\\\":{\\\"description\\\":\\\"AWS Standard global region\\\"},\\\"ca-central-1\\\":{\\\"description\\\":\\\"Canada (Central)\\\"},\\\"eu-central-1\\\":{\\\"description\\\":\\\"Europe (Frankfurt)\\\"},\\\"eu-central-2\\\":{\\\"description\\\":\\\"Europe (Zurich)\\\"},\\\"eu-north-1\\\":{\\\"description\\\":\\\"Europe (Stockholm)\\\"},\\\"eu-south-1\\\":{\\\"description\\\":\\\"Europe (Milan)\\\"},\\\"eu-south-2\\\":{\\\"description\\\":\\\"Europe (Spain)\\\"},\\\"eu-west-1\\\":{\\\"description\\\":\\\"Europe (Ireland)\\\"},\\\"eu-west-2\\\":{\\\"description\\\":\\\"Europe (London)\\\"},\\\"eu-west-3\\\":{\\\"description\\\":\\\"Europe (Paris)\\\"},\\\"me-central-1\\\":{\\\"description\\\":\\\"Middle East (UAE)\\\"},\\\"me-south-1\\\":{\\\"description\\\":\\\"Middle East (Bahrain)\\\"},\\\"sa-east-1\\\":{\\\"description\\\":\\\"South America (Sao Paulo)\\\"},\\\"us-east-1\\\":{\\\"description\\\":\\\"US East (N. Virginia)\\\"},\\\"us-east-2\\\":{\\\"description\\\":\\\"US East (Ohio)\\\"},\\\"us-west-1\\\":{\\\"description\\\":\\\"US West (N. California)\\\"},\\\"us-west-2\\\":{\\\"description\\\":\\\"US West (Oregon)\\\"}}},{\\\"id\\\":\\\"aws-cn\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"amazonaws.com.cn\\\",\\\"dualStackDnsSuffix\\\":\\\"api.amazonwebservices.com.cn\\\",\\\"name\\\":\\\"aws-cn\\\",\\\"supportsDualStack\\\":true,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^cn\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-cn-global\\\":{\\\"description\\\":\\\"AWS China global region\\\"},\\\"cn-north-1\\\":{\\\"description\\\":\\\"China (Beijing)\\\"},\\\"cn-northwest-1\\\":{\\\"description\\\":\\\"China (Ningxia)\\\"}}},{\\\"id\\\":\\\"aws-us-gov\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"amazonaws.com\\\",\\\"dualStackDnsSuffix\\\":\\\"api.aws\\\",\\\"name\\\":\\\"aws-us-gov\\\",\\\"supportsDualStack\\\":true,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-gov\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-us-gov-global\\\":{\\\"description\\\":\\\"AWS GovCloud (US) global region\\\"},\\\"us-gov-east-1\\\":{\\\"description\\\":\\\"AWS GovCloud (US-East)\\\"},\\\"us-gov-west-1\\\":{\\\"description\\\":\\\"AWS GovCloud (US-West)\\\"}}},{\\\"id\\\":\\\"aws-iso\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"c2s.ic.gov\\\",\\\"dualStackDnsSuffix\\\":\\\"c2s.ic.gov\\\",\\\"name\\\":\\\"aws-iso\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-iso\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-iso-global\\\":{\\\"description\\\":\\\"AWS ISO (US) global region\\\"},\\\"us-iso-east-1\\\":{\\\"description\\\":\\\"US ISO East\\\"},\\\"us-iso-west-1\\\":{\\\"description\\\":\\\"US ISO WEST\\\"}}},{\\\"id\\\":\\\"aws-iso-b\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"sc2s.sgov.gov\\\",\\\"dualStackDnsSuffix\\\":\\\"sc2s.sgov.gov\\\",\\\"name\\\":\\\"aws-iso-b\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-isob\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{\\\"aws-iso-b-global\\\":{\\\"description\\\":\\\"AWS ISOB (US) global region\\\"},\\\"us-isob-east-1\\\":{\\\"description\\\":\\\"US ISOB East (Ohio)\\\"}}},{\\\"id\\\":\\\"aws-iso-e\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"cloud.adc-e.uk\\\",\\\"dualStackDnsSuffix\\\":\\\"cloud.adc-e.uk\\\",\\\"name\\\":\\\"aws-iso-e\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^eu\\\\\\\\\\\\\\\\-isoe\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{}},{\\\"id\\\":\\\"aws-iso-f\\\",\\\"outputs\\\":{\\\"dnsSuffix\\\":\\\"csp.hci.ic.gov\\\",\\\"dualStackDnsSuffix\\\":\\\"csp.hci.ic.gov\\\",\\\"name\\\":\\\"aws-iso-f\\\",\\\"supportsDualStack\\\":false,\\\"supportsFIPS\\\":true},\\\"regionRegex\\\":\\\"^us\\\\\\\\\\\\\\\\-isof\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\w+\\\\\\\\\\\\\\\\-\\\\\\\\\\\\\\\\d+$\\\",\\\"regions\\\":{}}],\\\"version\\\":\\\"1.1\\\"}');\\n\\n//# sourceURL=webpack://@dannadori/voice-changer-client-js/./node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json?\");\n\n/***/ })\n\n/******/ \t});\n/************************************************************************/\n/******/ \t// The module cache\n/******/ \tvar __webpack_module_cache__ = {};\n/******/ \t\n/******/ \t// The require function\n/******/ \tfunction __nested_webpack_require_4103280__(moduleId) {\n/******/ \t\t// Check if module is in cache\n/******/ \t\tvar cachedModule = __webpack_module_cache__[moduleId];\n/******/ \t\tif (cachedModule !== undefined) {\n/******/ \t\t\treturn cachedModule.exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = __webpack_module_cache__[moduleId] = {\n/******/ \t\t\t// no module.id needed\n/******/ \t\t\t// no module.loaded needed\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/ \t\n/******/ \t\t// Execute the module function\n/******/ \t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_4103280__);\n/******/ \t\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/ \t\n/************************************************************************/\n/******/ \t/* webpack/runtime/amd options */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_4103280__.amdO = {};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/compat get default export */\n/******/ \t(() => {\n/******/ \t\t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t\t__nested_webpack_require_4103280__.n = (module) => {\n/******/ \t\t\tvar getter = module && module.__esModule ?\n/******/ \t\t\t\t() => (module['default']) :\n/******/ \t\t\t\t() => (module);\n/******/ \t\t\t__nested_webpack_require_4103280__.d(getter, { a: getter });\n/******/ \t\t\treturn getter;\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/define property getters */\n/******/ \t(() => {\n/******/ \t\t// define getter functions for harmony exports\n/******/ \t\t__nested_webpack_require_4103280__.d = (exports, definition) => {\n/******/ \t\t\tfor(var key in definition) {\n/******/ \t\t\t\tif(__nested_webpack_require_4103280__.o(definition, key) && !__nested_webpack_require_4103280__.o(exports, key)) {\n/******/ \t\t\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n/******/ \t\t\t\t}\n/******/ \t\t\t}\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/global */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_4103280__.g = (function() {\n/******/ \t\t\tif (typeof globalThis === 'object') return globalThis;\n/******/ \t\t\ttry {\n/******/ \t\t\t\treturn this || new Function('return this')();\n/******/ \t\t\t} catch (e) {\n/******/ \t\t\t\tif (typeof window === 'object') return window;\n/******/ \t\t\t}\n/******/ \t\t})();\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/hasOwnProperty shorthand */\n/******/ \t(() => {\n/******/ \t\t__nested_webpack_require_4103280__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))\n/******/ \t})();\n/******/ \t\n/******/ \t/* webpack/runtime/make namespace object */\n/******/ \t(() => {\n/******/ \t\t// define __esModule on exports\n/******/ \t\t__nested_webpack_require_4103280__.r = (exports) => {\n/******/ \t\t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t\t}\n/******/ \t\t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t\t};\n/******/ \t})();\n/******/ \t\n/************************************************************************/\n/******/ \t\n/******/ \t// startup\n/******/ \t// Load entry module and return exports\n/******/ \t// This entry module can't be inlined because the eval devtool is used.\n/******/ \tvar __nested_webpack_exports__ = __nested_webpack_require_4103280__(\"./src/index.ts\");\n/******/ \t\n/******/ \treturn __nested_webpack_exports__;\n/******/ })()\n;\n});\n\n//# sourceURL=webpack://demo/./node_modules/@dannadori/voice-changer-client-js/dist/index.js?"); /***/ }), diff --git a/client/lib/src/const.ts b/client/lib/src/const.ts index bb0a188fe..e8503e4fd 100644 --- a/client/lib/src/const.ts +++ b/client/lib/src/const.ts @@ -8,8 +8,6 @@ export const ClientType = { "MMVCv15": "MMVCv15", "MMVCv13": "MMVCv13", "so-vits-svc-40": "so-vits-svc-40", - "so-vits-svc-40_c": "so-vits-svc-40_c", - "so-vits-svc-40v2": "so-vits-svc-40v2", "DDSP-SVC": "DDSP-SVC", "RVC": "RVC" @@ -21,8 +19,6 @@ export const VoiceChangerType = { "MMVCv15": "MMVCv15", "MMVCv13": "MMVCv13", "so-vits-svc-40": "so-vits-svc-40", - "so-vits-svc-40_c": "so-vits-svc-40_c", - "so-vits-svc-40v2": "so-vits-svc-40v2", "DDSP-SVC": "DDSP-SVC", "RVC": "RVC" @@ -413,13 +409,6 @@ export const DefaultServerSetting_so_vits_svc_40: ServerInfo = { ...DefaultServerSetting, tran: 10, noiseScale: 0.3, extraConvertSize: 1024 * 8, clusterInferRatio: 0.1, } -export const DefaultServerSetting_so_vits_svc_40_c: ServerInfo = { - ...DefaultServerSetting, tran: 10, noiseScale: 0.3, extraConvertSize: 1024 * 8, clusterInferRatio: 0.1, -} -export const DefaultServerSetting_so_vits_svc_40v2: ServerInfo = { - ...DefaultServerSetting, tran: 10, noiseScale: 0.3, extraConvertSize: 1024 * 8, clusterInferRatio: 0.1, -} - export const DefaultServerSetting_DDSP_SVC: ServerInfo = { ...DefaultServerSetting, dstId: 1, tran: 10, extraConvertSize: 1024 * 8 } @@ -485,10 +474,6 @@ export const DefaultWorkletNodeSetting_so_vits_svc_40: WorkletNodeSetting = { ...DefaultWorkletNodeSetting, inputChunkNum: 128, } -export const DefaultWorkletNodeSetting_so_vits_svc_40v2: WorkletNodeSetting = { - ...DefaultWorkletNodeSetting, inputChunkNum: 128, -} - export const DefaultWorkletNodeSetting_DDSP_SVC: WorkletNodeSetting = { ...DefaultWorkletNodeSetting, inputChunkNum: 256, } diff --git a/client/lib/src/hooks/useServerSetting.ts b/client/lib/src/hooks/useServerSetting.ts index d2927dc9b..a5196f87c 100644 --- a/client/lib/src/hooks/useServerSetting.ts +++ b/client/lib/src/hooks/useServerSetting.ts @@ -1,8 +1,7 @@ import { useState, useMemo, useEffect } from "react" -import { VoiceChangerServerSetting, ServerInfo, ServerSettingKey, INDEXEDDB_KEY_SERVER, INDEXEDDB_KEY_MODEL_DATA, ClientType, DefaultServerSetting_MMVCv13, DefaultServerSetting_MMVCv15, DefaultServerSetting_so_vits_svc_40v2, DefaultServerSetting_so_vits_svc_40, DefaultServerSetting_so_vits_svc_40_c, DefaultServerSetting_RVC, OnnxExporterInfo, DefaultServerSetting_DDSP_SVC, MAX_MODEL_SLOT_NUM, Framework, MergeModelRequest, VoiceChangerType } from "../const" +import { VoiceChangerServerSetting, ServerInfo, ServerSettingKey, INDEXEDDB_KEY_SERVER, INDEXEDDB_KEY_MODEL_DATA, ClientType, DefaultServerSetting_MMVCv13, DefaultServerSetting_MMVCv15, DefaultServerSetting_so_vits_svc_40, DefaultServerSetting_RVC, OnnxExporterInfo, DefaultServerSetting_DDSP_SVC, MAX_MODEL_SLOT_NUM, Framework, MergeModelRequest, VoiceChangerType } from "../const" import { VoiceChangerClient } from "../VoiceChangerClient" import { useIndexedDB } from "./useIndexedDB" -import { ModelLoadException } from "../exceptions" type ModelData = { @@ -77,9 +76,6 @@ export type FileUploadSetting = { soVitsSvc40Config: ModelData | null soVitsSvc40Model: ModelData | null soVitsSvc40Cluster: ModelData | null - soVitsSvc40v2Config: ModelData | null - soVitsSvc40v2Model: ModelData | null - soVitsSvc40v2Cluster: ModelData | null rvcModel: ModelData | null rvcFeature: ModelData | null rvcIndex: ModelData | null @@ -111,9 +107,6 @@ export const InitialFileUploadSetting: FileUploadSetting = { soVitsSvc40Config: null, soVitsSvc40Model: null, soVitsSvc40Cluster: null, - soVitsSvc40v2Config: null, - soVitsSvc40v2Model: null, - soVitsSvc40v2Cluster: null, rvcModel: null, rvcFeature: null, rvcIndex: null, @@ -148,7 +141,6 @@ export type ServerSettingState = { fileUploadSettings: FileUploadSetting[] setFileUploadSetting: (slot: number, val: FileUploadSetting) => void - loadModel: (slot: number) => Promise uploadModel: (setting: ModelUploadSetting) => Promise uploadProgress: number isUploading: boolean @@ -169,11 +161,6 @@ export const useServerSetting = (props: UseServerSettingProps): ServerSettingSta return DefaultServerSetting_MMVCv15 } else if (props.clientType == "so-vits-svc-40") { return DefaultServerSetting_so_vits_svc_40 - } else if (props.clientType == "so-vits-svc-40_c") { - console.log("default so_vits_svc_40_c") - return DefaultServerSetting_so_vits_svc_40_c - } else if (props.clientType == "so-vits-svc-40v2") { - return DefaultServerSetting_so_vits_svc_40v2 } else if (props.clientType == "DDSP-SVC") { return DefaultServerSetting_DDSP_SVC } else if (props.clientType == "RVC") { @@ -284,15 +271,6 @@ export const useServerSetting = (props: UseServerSettingProps): ServerSettingSta const [isUploading, setIsUploading] = useState(false) // (e) モデルアップロード - const _uploadFile = useMemo(() => { - return async (modelData: ModelData, onprogress: (progress: number, end: boolean) => void, dir: string = "") => { - if (!props.voiceChangerClient) return - const num = await props.voiceChangerClient.uploadFile(modelData.data!, dir + modelData.filename!, onprogress) - const res = await props.voiceChangerClient.concatUploadedFile(dir + modelData.filename!, num) - console.log("uploaded", num, res) - } - }, [props.voiceChangerClient]) - const _uploadFile2 = useMemo(() => { return async (file: File, onprogress: (progress: number, end: boolean) => void, dir: string = "") => { if (!props.voiceChangerClient) return @@ -342,247 +320,6 @@ export const useServerSetting = (props: UseServerSettingProps): ServerSettingSta } }, [props.voiceChangerClient]) - // 古いアップローダ(新GUIへ以降まで、当分残しておく。) - const loadModel = useMemo(() => { - return async (slot: number) => { - const fileUploadSetting = fileUploadSettings[slot] - console.log("[loadModel]", fileUploadSetting) - console.log("[loadModel] model:", props.clientType) - - if (fileUploadSetting.isSampleMode == false) { - if (props.clientType == "MMVCv13") { - if (!fileUploadSetting.mmvcv13Config) { - throw new ModelLoadException("Config") - } - if (!fileUploadSetting.mmvcv13Model) { - throw new ModelLoadException("Model") - } - } else if (props.clientType == "MMVCv15") { - if (!fileUploadSetting.mmvcv15Config) { - throw new ModelLoadException("Config") - } - if (!fileUploadSetting.mmvcv15Model) { - throw new ModelLoadException("Model") - } - } else if (props.clientType == "so-vits-svc-40") { - if (!fileUploadSetting.soVitsSvc40Config) { - throw new ModelLoadException("Config") - } - if (!fileUploadSetting.soVitsSvc40Model) { - throw new ModelLoadException("Model") - } - } else if (props.clientType == "so-vits-svc-40v2") { - if (!fileUploadSetting.soVitsSvc40v2Config) { - throw new ModelLoadException("Config") - } - if (!fileUploadSetting.soVitsSvc40v2Model) { - throw new ModelLoadException("Model") - } - } else if (props.clientType == "RVC") { - if (!fileUploadSetting.rvcModel) { - throw new ModelLoadException("Model") - } - } else if (props.clientType == "DDSP-SVC") { - if (!fileUploadSetting.ddspSvcModel) { - throw new ModelLoadException("DDSP-Model") - } - if (!fileUploadSetting.ddspSvcModelConfig) { - throw new ModelLoadException("DDSP-Config") - } - if (!fileUploadSetting.ddspSvcDiffusion) { - throw new ModelLoadException("Diff-Model") - } - if (!fileUploadSetting.ddspSvcDiffusionConfig) { - throw new ModelLoadException("Diff-Config") - } - } else { - } - } else {//Sampleモード - if (!fileUploadSetting.sampleId) { - throw new ModelLoadException("SampleId") - } - } - - - if (!props.voiceChangerClient) return - - setUploadProgress(0) - setIsUploading(true) - - // normal models(MMVC13,15, so-vits-svc, RVC) - const normalModels = [ - fileUploadSetting.mmvcv13Config, - fileUploadSetting.mmvcv13Model, - fileUploadSetting.mmvcv15Config, - fileUploadSetting.mmvcv15Model, - fileUploadSetting.soVitsSvc40Config, - fileUploadSetting.soVitsSvc40Model, - fileUploadSetting.soVitsSvc40Cluster, - fileUploadSetting.soVitsSvc40v2Config, - fileUploadSetting.soVitsSvc40v2Model, - fileUploadSetting.soVitsSvc40v2Cluster, - - ].filter(x => { return x != null }) as ModelData[] - console.log("[SENDING FILE]", normalModels) - for (let i = 0; i < normalModels.length; i++) { - if (!normalModels[i].data) { - // const fileSize = normalModels[i].file!.size / 1024 / 1024 - normalModels[i].data = await normalModels[i].file!.arrayBuffer() - normalModels[i].filename = await normalModels[i].file!.name - } - } - if (fileUploadSetting.isSampleMode == false) { - for (let i = 0; i < normalModels.length; i++) { - const progRate = 1 / normalModels.length - const progOffset = 100 * i * progRate - await _uploadFile(normalModels[i], (progress: number, _end: boolean) => { - setUploadProgress(progress * progRate + progOffset) - }) - // await _uploadFile2(normalModels[i].file!, (progress: number, _end: boolean) => { - // setUploadProgress(progress * progRate + progOffset) - // }) - } - } - - // slotModel ローカルキャッシュ無効(RVC) - const slotModels = [ - fileUploadSetting.rvcModel, - fileUploadSetting.rvcIndex, - - ].filter(x => { return x != null }) as ModelData[] - for (let i = 0; i < slotModels.length; i++) { - if (!slotModels[i].data) { - slotModels[i].filename = await slotModels[i].file!.name - } - } - if (fileUploadSetting.isSampleMode == false) { - for (let i = 0; i < slotModels.length; i++) { - const progRate = 1 / slotModels.length - const progOffset = 100 * i * progRate - await _uploadFile2(slotModels[i].file!, (progress: number, _end: boolean) => { - setUploadProgress(progress * progRate + progOffset) - }) - } - } - - - - // DDSP-SVC (ファイル名(config)が被る可能性があるため、アップロードフォルダを分ける必要がある) - const ddspSvcModels = [fileUploadSetting.ddspSvcModel, fileUploadSetting.ddspSvcModelConfig, fileUploadSetting.ddspSvcDiffusion, fileUploadSetting.ddspSvcDiffusionConfig].filter(x => { return x != null }) as ModelData[] - for (let i = 0; i < ddspSvcModels.length; i++) { - if (!ddspSvcModels[i].data) { - ddspSvcModels[i].data = await ddspSvcModels[i].file!.arrayBuffer() - ddspSvcModels[i].filename = await ddspSvcModels[i].file!.name - } - } - if (fileUploadSetting.isSampleMode == false) { - for (let i = 0; i < ddspSvcModels.length; i++) { - const progRate = 1 / ddspSvcModels.length - const progOffset = 100 * i * progRate - const dir = i == 0 || i == 1 ? "ddsp_mod/" : "ddsp_diff/" - await _uploadFile(ddspSvcModels[i], (progress: number, _end: boolean) => { - setUploadProgress(progress * progRate + progOffset) - }, dir) - } - } - - // const configFileName = fileUploadSetting.configFile?.filename || "-" - const params = JSON.stringify({ - defaultTune: fileUploadSetting.defaultTune || 0, - defaultIndexRatio: fileUploadSetting.defaultIndexRatio || 1, - defaultProtect: fileUploadSetting.defaultProtect || 0.5, - sampleId: fileUploadSetting.isSampleMode ? fileUploadSetting.sampleId || "" : "", - rvcIndexDownload: fileUploadSetting.rvcIndexDownload || false, - files: fileUploadSetting.isSampleMode ? {} : { - mmvcv13Config: props.clientType == "MMVCv13" ? fileUploadSetting.mmvcv13Config?.filename || "" : "", - mmvcv13Model: props.clientType == "MMVCv13" ? fileUploadSetting.mmvcv13Model?.filename || "" : "", - mmvcv15Config: props.clientType == "MMVCv15" ? fileUploadSetting.mmvcv15Config?.filename || "" : "", - mmvcv15Model: props.clientType == "MMVCv15" ? fileUploadSetting.mmvcv15Model?.filename || "" : "", - soVitsSvc40Config: props.clientType == "so-vits-svc-40" ? fileUploadSetting.soVitsSvc40Config?.filename || "" : "", - soVitsSvc40Model: props.clientType == "so-vits-svc-40" ? fileUploadSetting.soVitsSvc40Model?.filename || "" : "", - soVitsSvc40Cluster: props.clientType == "so-vits-svc-40" ? fileUploadSetting.soVitsSvc40Cluster?.filename || "" : "", - rvcModel: props.clientType == "RVC" ? fileUploadSetting.rvcModel?.filename || "" : "", - rvcIndex: props.clientType == "RVC" ? fileUploadSetting.rvcIndex?.filename || "" : "", - rvcFeature: props.clientType == "RVC" ? fileUploadSetting.rvcFeature?.filename || "" : "", - - ddspSvcModel: props.clientType == "DDSP-SVC" ? fileUploadSetting.ddspSvcModel?.filename ? "ddsp_mod/" + fileUploadSetting.ddspSvcModel?.filename : "" : "", - ddspSvcModelConfig: props.clientType == "DDSP-SVC" ? fileUploadSetting.ddspSvcModelConfig?.filename ? "ddsp_mod/" + fileUploadSetting.ddspSvcModelConfig?.filename : "" : "", - ddspSvcDiffusion: props.clientType == "DDSP-SVC" ? fileUploadSetting.ddspSvcDiffusion?.filename ? "ddsp_diff/" + fileUploadSetting.ddspSvcDiffusion?.filename : "" : "", - ddspSvcDiffusionConfig: props.clientType == "DDSP-SVC" ? fileUploadSetting.ddspSvcDiffusionConfig?.filename ? "ddsp_diff/" + fileUploadSetting.ddspSvcDiffusionConfig.filename : "" : "", - } - }) - - if (fileUploadSetting.isHalf == undefined) { - fileUploadSetting.isHalf = false - } - - console.log("PARAMS:", params) - - const loadPromise = props.voiceChangerClient.loadModel( - slot, - fileUploadSetting.isHalf, - params, - ) - - - // サーバでロード中にキャッシュにセーブ - storeToCache(slot, fileUploadSetting) - await loadPromise - - fileUploadSetting.uploaded = true - fileUploadSettings[slot] = fileUploadSetting - setFileUploadSettings([...fileUploadSettings]) - - - setUploadProgress(0) - setIsUploading(false) - reloadServerInfo() - } - }, [fileUploadSettings, props.voiceChangerClient, props.clientType]) - - - const storeToCache = (slot: number, fileUploadSetting: FileUploadSetting) => { - try { - const saveData: FileUploadSetting = { - isHalf: fileUploadSetting.isHalf, // キャッシュとしては不使用。guiで上書きされる。 - uploaded: false, // キャッシュから読み込まれるときには、まだuploadされていないから。 - defaultTune: fileUploadSetting.defaultTune, - defaultIndexRatio: fileUploadSetting.defaultIndexRatio, - defaultProtect: fileUploadSetting.defaultProtect, - framework: fileUploadSetting.framework, - params: fileUploadSetting.params, - - mmvcv13Config: fileUploadSetting.mmvcv13Config ? { data: fileUploadSetting.mmvcv13Config.data, filename: fileUploadSetting.mmvcv13Config.filename } : null, - mmvcv13Model: fileUploadSetting.mmvcv13Model ? { data: fileUploadSetting.mmvcv13Model.data, filename: fileUploadSetting.mmvcv13Model.filename } : null, - mmvcv15Config: fileUploadSetting.mmvcv15Config ? { data: fileUploadSetting.mmvcv15Config.data, filename: fileUploadSetting.mmvcv15Config.filename } : null, - mmvcv15Model: fileUploadSetting.mmvcv15Model ? { data: fileUploadSetting.mmvcv15Model.data, filename: fileUploadSetting.mmvcv15Model.filename } : null, - soVitsSvc40Config: fileUploadSetting.soVitsSvc40Config ? { data: fileUploadSetting.soVitsSvc40Config.data, filename: fileUploadSetting.soVitsSvc40Config.filename } : null, - soVitsSvc40Model: fileUploadSetting.soVitsSvc40Model ? { data: fileUploadSetting.soVitsSvc40Model.data, filename: fileUploadSetting.soVitsSvc40Model.filename } : null, - soVitsSvc40Cluster: fileUploadSetting.soVitsSvc40Cluster ? { data: fileUploadSetting.soVitsSvc40Cluster.data, filename: fileUploadSetting.soVitsSvc40Cluster.filename } : null, - soVitsSvc40v2Config: fileUploadSetting.soVitsSvc40v2Config ? { data: fileUploadSetting.soVitsSvc40v2Config.data, filename: fileUploadSetting.soVitsSvc40v2Config.filename } : null, - soVitsSvc40v2Model: fileUploadSetting.soVitsSvc40v2Model ? { data: fileUploadSetting.soVitsSvc40v2Model.data, filename: fileUploadSetting.soVitsSvc40v2Model.filename } : null, - soVitsSvc40v2Cluster: fileUploadSetting.soVitsSvc40v2Cluster ? { data: fileUploadSetting.soVitsSvc40v2Cluster.data, filename: fileUploadSetting.soVitsSvc40v2Cluster.filename } : null, - rvcModel: fileUploadSetting.rvcModel ? { data: fileUploadSetting.rvcModel.data, filename: fileUploadSetting.rvcModel.filename } : null, - rvcIndex: fileUploadSetting.rvcIndex ? { data: fileUploadSetting.rvcIndex.data, filename: fileUploadSetting.rvcIndex.filename } : null, - rvcFeature: fileUploadSetting.rvcFeature ? { data: fileUploadSetting.rvcFeature.data, filename: fileUploadSetting.rvcFeature.filename } : null, - - ddspSvcModel: fileUploadSetting.ddspSvcModel ? { data: fileUploadSetting.ddspSvcModel.data, filename: fileUploadSetting.ddspSvcModel.filename } : null, - ddspSvcModelConfig: fileUploadSetting.ddspSvcModelConfig ? { data: fileUploadSetting.ddspSvcModelConfig.data, filename: fileUploadSetting.ddspSvcModelConfig.filename } : null, - ddspSvcDiffusion: fileUploadSetting.ddspSvcDiffusion ? { data: fileUploadSetting.ddspSvcDiffusion.data, filename: fileUploadSetting.ddspSvcDiffusion.filename } : null, - ddspSvcDiffusionConfig: fileUploadSetting.ddspSvcDiffusionConfig ? { data: fileUploadSetting.ddspSvcDiffusionConfig.data, filename: fileUploadSetting.ddspSvcDiffusionConfig.filename } : null, - - isSampleMode: fileUploadSetting.isSampleMode, - sampleId: fileUploadSetting.sampleId, - rvcIndexDownload: fileUploadSetting.rvcIndexDownload, - } - setItem(`${INDEXEDDB_KEY_MODEL_DATA}_${slot}`, saveData) - } catch (e) { - console.log("Excpetion:::::::::", e) - } - } - - - const uploadAssets = useMemo(() => { return async (slot: number, name: ModelAssetName, file: File) => { if (!props.voiceChangerClient) return @@ -653,7 +390,6 @@ export const useServerSetting = (props: UseServerSettingProps): ServerSettingSta fileUploadSettings, setFileUploadSetting, - loadModel, uploadModel, uploadProgress, isUploading, diff --git a/client/lib/src/hooks/useWorkletNodeSetting.ts b/client/lib/src/hooks/useWorkletNodeSetting.ts index 4bd18a0ee..cfad1e930 100644 --- a/client/lib/src/hooks/useWorkletNodeSetting.ts +++ b/client/lib/src/hooks/useWorkletNodeSetting.ts @@ -1,6 +1,6 @@ import { useState, useMemo, useEffect } from "react" -import { ClientType, DefaultWorkletNodeSetting, DefaultWorkletNodeSetting_DDSP_SVC, DefaultWorkletNodeSetting_RVC, DefaultWorkletNodeSetting_so_vits_svc_40, DefaultWorkletNodeSetting_so_vits_svc_40v2, INDEXEDDB_KEY_WORKLETNODE, WorkletNodeSetting } from "../const" +import { ClientType, DefaultWorkletNodeSetting, DefaultWorkletNodeSetting_DDSP_SVC, DefaultWorkletNodeSetting_RVC, DefaultWorkletNodeSetting_so_vits_svc_40, INDEXEDDB_KEY_WORKLETNODE, WorkletNodeSetting } from "../const" import { VoiceChangerClient } from "../VoiceChangerClient" import { useIndexedDB } from "./useIndexedDB" @@ -24,10 +24,8 @@ export const useWorkletNodeSetting = (props: UseWorkletNodeSettingProps): Workle return DefaultWorkletNodeSetting } else if (props.clientType == "MMVCv15") { return DefaultWorkletNodeSetting - } else if (props.clientType == "so-vits-svc-40" || props.clientType == "so-vits-svc-40_c") { + } else if (props.clientType == "so-vits-svc-40") { return DefaultWorkletNodeSetting_so_vits_svc_40 - } else if (props.clientType == "so-vits-svc-40v2") { - return DefaultWorkletNodeSetting_so_vits_svc_40v2 } else if (props.clientType == "DDSP-SVC") { return DefaultWorkletNodeSetting_DDSP_SVC } else if (props.clientType == "RVC") { diff --git a/server/const.py b/server/const.py index 35cd747bc..ed4ae5ef5 100644 --- a/server/const.py +++ b/server/const.py @@ -16,9 +16,7 @@ ModelType: TypeAlias = Literal[ "MMVCv15", "MMVCv13", - "so-vits-svc-40v2", "so-vits-svc-40", - "so-vits-svc-40_c", "DDSP-SVC", "RVC", ] diff --git a/server/data/ModelSlot.py b/server/data/ModelSlot.py index b667f0d8c..f882de1e0 100644 --- a/server/data/ModelSlot.py +++ b/server/data/ModelSlot.py @@ -24,7 +24,7 @@ class RVCModelSlot(ModelSlot): modelFile: str = "" indexFile: str = "" defaultTune: int = 0 - defaultIndexRatio: int = 1 + defaultIndexRatio: int = 0 defaultProtect: float = 0.5 isONNX: bool = False modelType: str = EnumInferenceTypes.pyTorchRVC.value