status-desktop/test/go/test-wallet_connect/modal/generated/bundle.js

6491 lines
2.6 MiB
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
/******/ var __webpack_modules__ = ({
/***/ "./node_modules/@stablelib/binary/lib/binary.js":
/*!******************************************************!*\
!*** ./node_modules/@stablelib/binary/lib/binary.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package binary provides functions for encoding and decoding numbers in byte arrays.\n */\nvar int_1 = __webpack_require__(/*! @stablelib/int */ \"./node_modules/@stablelib/int/lib/int.js\");\n// TODO(dchest): add asserts for correct value ranges and array offsets.\n/**\n * Reads 2 bytes from array starting at offset as big-endian\n * signed 16-bit integer and returns it.\n */\nfunction readInt16BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (((array[offset + 0] << 8) | array[offset + 1]) << 16) >> 16;\n}\nexports.readInt16BE = readInt16BE;\n/**\n * Reads 2 bytes from array starting at offset as big-endian\n * unsigned 16-bit integer and returns it.\n */\nfunction readUint16BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offset + 0] << 8) | array[offset + 1]) >>> 0;\n}\nexports.readUint16BE = readUint16BE;\n/**\n * Reads 2 bytes from array starting at offset as little-endian\n * signed 16-bit integer and returns it.\n */\nfunction readInt16LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (((array[offset + 1] << 8) | array[offset]) << 16) >> 16;\n}\nexports.readInt16LE = readInt16LE;\n/**\n * Reads 2 bytes from array starting at offset as little-endian\n * unsigned 16-bit integer and returns it.\n */\nfunction readUint16LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offset + 1] << 8) | array[offset]) >>> 0;\n}\nexports.readUint16LE = readUint16LE;\n/**\n * Writes 2-byte big-endian representation of 16-bit unsigned\n * value to byte array starting at offset.\n *\n * If byte array is not given, creates a new 2-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint16BE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(2); }\n if (offset === void 0) { offset = 0; }\n out[offset + 0] = value >>> 8;\n out[offset + 1] = value >>> 0;\n return out;\n}\nexports.writeUint16BE = writeUint16BE;\nexports.writeInt16BE = writeUint16BE;\n/**\n * Writes 2-byte little-endian representation of 16-bit unsigned\n * value to array starting at offset.\n *\n * If byte array is not given, creates a new 2-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint16LE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(2); }\n if (offset === void 0) { offset = 0; }\n out[offset + 0] = value >>> 0;\n out[offset + 1] = value >>> 8;\n return out;\n}\nexports.writeUint16LE = writeUint16LE;\nexports.writeInt16LE = writeUint16LE;\n/**\n * Reads 4 bytes from array starting at offset as big-endian\n * signed 32-bit integer and returns it.\n */\nfunction readInt32BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (array[offset] << 24) |\n (array[offset + 1] << 16) |\n (array[offset + 2] << 8) |\n array[offset + 3];\n}\nexports.readInt32BE = readInt32BE;\n/**\n * Reads 4 bytes from array starting at offset as big-endian\n * unsigned 32-bit integer and returns it.\n */\nfunction readUint32BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offset] << 24) |\n (array[offset + 1] << 16) |\n (array[offset + 2] << 8) |\n array[offset + 3]) >>> 0;\n}\nexports.readUint32BE = readUint32BE;\n/**\n * Reads 4 bytes from array starting at offset as little-endian\n * signed 32-bit integer and returns it.\n */\nfunction readInt32LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return (array[offset + 3] << 24) |\n (array[offset + 2] << 16) |\n (array[offset + 1] << 8) |\n array[offset];\n}\nexports.readInt32LE = readInt32LE;\n/**\n * Reads 4 bytes from array starting at offset as little-endian\n * unsigned 32-bit integer and returns it.\n */\nfunction readUint32LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n return ((array[offset + 3] << 24) |\n (array[offset + 2] << 16) |\n (array[offset + 1] << 8) |\n array[offset]) >>> 0;\n}\nexports.readUint32LE = readUint32LE;\n/**\n * Writes 4-byte big-endian representation of 32-bit unsigned\n * value to byte array starting at offset.\n *\n * If byte array is not given, creates a new 4-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint32BE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(4); }\n if (offset === void 0) { offset = 0; }\n out[offset + 0] = value >>> 24;\n out[offset + 1] = value >>> 16;\n out[offset + 2] = value >>> 8;\n out[offset + 3] = value >>> 0;\n return out;\n}\nexports.writeUint32BE = writeUint32BE;\nexports.writeInt32BE = writeUint32BE;\n/**\n * Writes 4-byte little-endian representation of 32-bit unsigned\n * value to array starting at offset.\n *\n * If byte array is not given, creates a new 4-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint32LE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(4); }\n if (offset === void 0) { offset = 0; }\n out[offset + 0] = value >>> 0;\n out[offset + 1] = value >>> 8;\n out[offset + 2] = value >>> 16;\n out[offset + 3] = value >>> 24;\n return out;\n}\nexports.writeUint32LE = writeUint32LE;\nexports.writeInt32LE = writeUint32LE;\n/**\n * Reads 8 bytes from array starting at offset as big-endian\n * signed 64-bit integer and returns it.\n *\n * IMPORTANT: due to JavaScript limitation, supports exact\n * numbers in range -9007199254740991 to 9007199254740991.\n * If the number stored in the byte array is outside this range,\n * the result is not exact.\n */\nfunction readInt64BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var hi = readInt32BE(array, offset);\n var lo = readInt32BE(array, offset + 4);\n return hi * 0x100000000 + lo - ((lo >> 31) * 0x100000000);\n}\nexports.readInt64BE = readInt64BE;\n/**\n * Reads 8 bytes from array starting at offset as big-endian\n * unsigned 64-bit integer and returns it.\n *\n * IMPORTANT: due to JavaScript limitation, supports values up to 2^53-1.\n */\nfunction readUint64BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var hi = readUint32BE(array, offset);\n var lo = readUint32BE(array, offset + 4);\n return hi * 0x100000000 + lo;\n}\nexports.readUint64BE = readUint64BE;\n/**\n * Reads 8 bytes from array starting at offset as little-endian\n * signed 64-bit integer and returns it.\n *\n * IMPORTANT: due to JavaScript limitation, supports exact\n * numbers in range -9007199254740991 to 9007199254740991.\n * If the number stored in the byte array is outside this range,\n * the result is not exact.\n */\nfunction readInt64LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var lo = readInt32LE(array, offset);\n var hi = readInt32LE(array, offset + 4);\n return hi * 0x100000000 + lo - ((lo >> 31) * 0x100000000);\n}\nexports.readInt64LE = readInt64LE;\n/**\n * Reads 8 bytes from array starting at offset as little-endian\n * unsigned 64-bit integer and returns it.\n *\n * IMPORTANT: due to JavaScript limitation, supports values up to 2^53-1.\n */\nfunction readUint64LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var lo = readUint32LE(array, offset);\n var hi = readUint32LE(array, offset + 4);\n return hi * 0x100000000 + lo;\n}\nexports.readUint64LE = readUint64LE;\n/**\n * Writes 8-byte big-endian representation of 64-bit unsigned\n * value to byte array starting at offset.\n *\n * Due to JavaScript limitation, supports values up to 2^53-1.\n *\n * If byte array is not given, creates a new 8-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint64BE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(8); }\n if (offset === void 0) { offset = 0; }\n writeUint32BE(value / 0x100000000 >>> 0, out, offset);\n writeUint32BE(value >>> 0, out, offset + 4);\n return out;\n}\nexports.writeUint64BE = writeUint64BE;\nexports.writeInt64BE = writeUint64BE;\n/**\n * Writes 8-byte little-endian representation of 64-bit unsigned\n * value to byte array starting at offset.\n *\n * Due to JavaScript limitation, supports values up to 2^53-1.\n *\n * If byte array is not given, creates a new 8-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeUint64LE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(8); }\n if (offset === void 0) { offset = 0; }\n writeUint32LE(value >>> 0, out, offset);\n writeUint32LE(value / 0x100000000 >>> 0, out, offset + 4);\n return out;\n}\nexports.writeUint64LE = writeUint64LE;\nexports.writeInt64LE = writeUint64LE;\n/**\n * Reads bytes from array starting at offset as big-endian\n * unsigned bitLen-bit integer and returns it.\n *\n * Supports bit lengths divisible by 8, up to 48.\n */\nfunction readUintBE(bitLength, array, offset) {\n if (offset === void 0) { offset = 0; }\n // TODO(dchest): implement support for bitLengths non-divisible by 8\n if (bitLength % 8 !== 0) {\n throw new Error(\"readUintBE supports only bitLengths divisible by 8\");\n }\n if (bitLength / 8 > array.length - offset) {\n throw new Error(\"readUintBE: array is too short for the given bitLength\");\n }\n var result = 0;\n var mul = 1;\n for (var i = bitLength / 8 + offset - 1; i >= offset; i--) {\n result += array[i] * mul;\n mul *= 256;\n }\n return result;\n}\nexports.readUintBE = readUintBE;\n/**\n * Reads bytes from array starting at offset as little-endian\n * unsigned bitLen-bit integer and returns it.\n *\n * Supports bit lengths divisible by 8, up to 48.\n */\nfunction readUintLE(bitLength, array, offset) {\n if (offset === void 0) { offset = 0; }\n // TODO(dchest): implement support for bitLengths non-divisible by 8\n if (bitLength % 8 !== 0) {\n throw new Error(\"readUintLE supports only bitLengths divisible by 8\");\n }\n if (bitLength / 8 > array.length - offset) {\n throw new Error(\"readUintLE: array is too short for the given bitLength\");\n }\n var result = 0;\n var mul = 1;\n for (var i = offset; i < offset + bitLength / 8; i++) {\n result += array[i] * mul;\n mul *= 256;\n }\n return result;\n}\nexports.readUintLE = readUintLE;\n/**\n * Writes a big-endian representation of bitLen-bit unsigned\n * value to array starting at offset.\n *\n * Supports bit lengths divisible by 8, up to 48.\n *\n * If byte array is not given, creates a new one.\n *\n * Returns the output byte array.\n */\nfunction writeUintBE(bitLength, value, out, offset) {\n if (out === void 0) { out = new Uint8Array(bitLength / 8); }\n if (offset === void 0) { offset = 0; }\n // TODO(dchest): implement support for bitLengths non-divisible by 8\n if (bitLength % 8 !== 0) {\n throw new Error(\"writeUintBE supports only bitLengths divisible by 8\");\n }\n if (!int_1.isSafeInteger(value)) {\n throw new Error(\"writeUintBE value must be an integer\");\n }\n var div = 1;\n for (var i = bitLength / 8 + offset - 1; i >= offset; i--) {\n out[i] = (value / div) & 0xff;\n div *= 256;\n }\n return out;\n}\nexports.writeUintBE = writeUintBE;\n/**\n * Writes a little-endian representation of bitLen-bit unsigned\n * value to array starting at offset.\n *\n * Supports bit lengths divisible by 8, up to 48.\n *\n * If byte array is not given, creates a new one.\n *\n * Returns the output byte array.\n */\nfunction writeUintLE(bitLength, value, out, offset) {\n if (out === void 0) { out = new Uint8Array(bitLength / 8); }\n if (offset === void 0) { offset = 0; }\n // TODO(dchest): implement support for bitLengths non-divisible by 8\n if (bitLength % 8 !== 0) {\n throw new Error(\"writeUintLE supports only bitLengths divisible by 8\");\n }\n if (!int_1.isSafeInteger(value)) {\n throw new Error(\"writeUintLE value must be an integer\");\n }\n var div = 1;\n for (var i = offset; i < offset + bitLength / 8; i++) {\n out[i] = (value / div) & 0xff;\n div *= 256;\n }\n return out;\n}\nexports.writeUintLE = writeUintLE;\n/**\n * Reads 4 bytes from array starting at offset as big-endian\n * 32-bit floating-point number and returns it.\n */\nfunction readFloat32BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var view = new DataView(array.buffer, array.byteOffset, array.byteLength);\n return view.getFloat32(offset);\n}\nexports.readFloat32BE = readFloat32BE;\n/**\n * Reads 4 bytes from array starting at offset as little-endian\n * 32-bit floating-point number and returns it.\n */\nfunction readFloat32LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var view = new DataView(array.buffer, array.byteOffset, array.byteLength);\n return view.getFloat32(offset, true);\n}\nexports.readFloat32LE = readFloat32LE;\n/**\n * Reads 8 bytes from array starting at offset as big-endian\n * 64-bit floating-point number (\"double\") and returns it.\n */\nfunction readFloat64BE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var view = new DataView(array.buffer, array.byteOffset, array.byteLength);\n return view.getFloat64(offset);\n}\nexports.readFloat64BE = readFloat64BE;\n/**\n * Reads 8 bytes from array starting at offset as little-endian\n * 64-bit floating-point number (\"double\") and returns it.\n */\nfunction readFloat64LE(array, offset) {\n if (offset === void 0) { offset = 0; }\n var view = new DataView(array.buffer, array.byteOffset, array.byteLength);\n return view.getFloat64(offset, true);\n}\nexports.readFloat64LE = readFloat64LE;\n/**\n * Writes 4-byte big-endian floating-point representation of value\n * to byte array starting at offset.\n *\n * If byte array is not given, creates a new 4-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeFloat32BE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(4); }\n if (offset === void 0) { offset = 0; }\n var view = new DataView(out.buffer, out.byteOffset, out.byteLength);\n view.setFloat32(offset, value);\n return out;\n}\nexports.writeFloat32BE = writeFloat32BE;\n/**\n * Writes 4-byte little-endian floating-point representation of value\n * to byte array starting at offset.\n *\n * If byte array is not given, creates a new 4-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeFloat32LE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(4); }\n if (offset === void 0) { offset = 0; }\n var view = new DataView(out.buffer, out.byteOffset, out.byteLength);\n view.setFloat32(offset, value, true);\n return out;\n}\nexports.writeFloat32LE = writeFloat32LE;\n/**\n * Writes 8-byte big-endian floating-point representation of value\n * to byte array starting at offset.\n *\n * If byte array is not given, creates a new 8-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeFloat64BE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(8); }\n if (offset === void 0) { offset = 0; }\n var view = new DataView(out.buffer, out.byteOffset, out.byteLength);\n view.setFloat64(offset, value);\n return out;\n}\nexports.writeFloat64BE = writeFloat64BE;\n/**\n * Writes 8-byte little-endian floating-point representation of value\n * to byte array starting at offset.\n *\n * If byte array is not given, creates a new 8-byte one.\n *\n * Returns the output byte array.\n */\nfunction writeFloat64LE(value, out, offset) {\n if (out === void 0) { out = new Uint8Array(8); }\n if (offset === void 0) { offset = 0; }\n var view = new DataView(out.buffer, out.byteOffset, out.byteLength);\n view.setFloat64(offset, value, true);\n return out;\n}\nexports.writeFloat64LE = writeFloat64LE;\n//# sourceMappingURL=binary.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/binary/lib/binary.js?");
/***/ }),
/***/ "./node_modules/@stablelib/chacha/lib/chacha.js":
/*!******************************************************!*\
!*** ./node_modules/@stablelib/chacha/lib/chacha.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package chacha implements ChaCha stream cipher.\n */\nvar binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\n// Number of ChaCha rounds (ChaCha20).\nvar ROUNDS = 20;\n// Applies the ChaCha core function to 16-byte input,\n// 32-byte key key, and puts the result into 64-byte array out.\nfunction core(out, input, key) {\n var j0 = 0x61707865; // \"expa\" -- ChaCha's \"sigma\" constant\n var j1 = 0x3320646E; // \"nd 3\" for 32-byte keys\n var j2 = 0x79622D32; // \"2-by\"\n var j3 = 0x6B206574; // \"te k\"\n var j4 = (key[3] << 24) | (key[2] << 16) | (key[1] << 8) | key[0];\n var j5 = (key[7] << 24) | (key[6] << 16) | (key[5] << 8) | key[4];\n var j6 = (key[11] << 24) | (key[10] << 16) | (key[9] << 8) | key[8];\n var j7 = (key[15] << 24) | (key[14] << 16) | (key[13] << 8) | key[12];\n var j8 = (key[19] << 24) | (key[18] << 16) | (key[17] << 8) | key[16];\n var j9 = (key[23] << 24) | (key[22] << 16) | (key[21] << 8) | key[20];\n var j10 = (key[27] << 24) | (key[26] << 16) | (key[25] << 8) | key[24];\n var j11 = (key[31] << 24) | (key[30] << 16) | (key[29] << 8) | key[28];\n var j12 = (input[3] << 24) | (input[2] << 16) | (input[1] << 8) | input[0];\n var j13 = (input[7] << 24) | (input[6] << 16) | (input[5] << 8) | input[4];\n var j14 = (input[11] << 24) | (input[10] << 16) | (input[9] << 8) | input[8];\n var j15 = (input[15] << 24) | (input[14] << 16) | (input[13] << 8) | input[12];\n var x0 = j0;\n var x1 = j1;\n var x2 = j2;\n var x3 = j3;\n var x4 = j4;\n var x5 = j5;\n var x6 = j6;\n var x7 = j7;\n var x8 = j8;\n var x9 = j9;\n var x10 = j10;\n var x11 = j11;\n var x12 = j12;\n var x13 = j13;\n var x14 = j14;\n var x15 = j15;\n for (var i = 0; i < ROUNDS; i += 2) {\n x0 = x0 + x4 | 0;\n x12 ^= x0;\n x12 = x12 >>> (32 - 16) | x12 << 16;\n x8 = x8 + x12 | 0;\n x4 ^= x8;\n x4 = x4 >>> (32 - 12) | x4 << 12;\n x1 = x1 + x5 | 0;\n x13 ^= x1;\n x13 = x13 >>> (32 - 16) | x13 << 16;\n x9 = x9 + x13 | 0;\n x5 ^= x9;\n x5 = x5 >>> (32 - 12) | x5 << 12;\n x2 = x2 + x6 | 0;\n x14 ^= x2;\n x14 = x14 >>> (32 - 16) | x14 << 16;\n x10 = x10 + x14 | 0;\n x6 ^= x10;\n x6 = x6 >>> (32 - 12) | x6 << 12;\n x3 = x3 + x7 | 0;\n x15 ^= x3;\n x15 = x15 >>> (32 - 16) | x15 << 16;\n x11 = x11 + x15 | 0;\n x7 ^= x11;\n x7 = x7 >>> (32 - 12) | x7 << 12;\n x2 = x2 + x6 | 0;\n x14 ^= x2;\n x14 = x14 >>> (32 - 8) | x14 << 8;\n x10 = x10 + x14 | 0;\n x6 ^= x10;\n x6 = x6 >>> (32 - 7) | x6 << 7;\n x3 = x3 + x7 | 0;\n x15 ^= x3;\n x15 = x15 >>> (32 - 8) | x15 << 8;\n x11 = x11 + x15 | 0;\n x7 ^= x11;\n x7 = x7 >>> (32 - 7) | x7 << 7;\n x1 = x1 + x5 | 0;\n x13 ^= x1;\n x13 = x13 >>> (32 - 8) | x13 << 8;\n x9 = x9 + x13 | 0;\n x5 ^= x9;\n x5 = x5 >>> (32 - 7) | x5 << 7;\n x0 = x0 + x4 | 0;\n x12 ^= x0;\n x12 = x12 >>> (32 - 8) | x12 << 8;\n x8 = x8 + x12 | 0;\n x4 ^= x8;\n x4 = x4 >>> (32 - 7) | x4 << 7;\n x0 = x0 + x5 | 0;\n x15 ^= x0;\n x15 = x15 >>> (32 - 16) | x15 << 16;\n x10 = x10 + x15 | 0;\n x5 ^= x10;\n x5 = x5 >>> (32 - 12) | x5 << 12;\n x1 = x1 + x6 | 0;\n x12 ^= x1;\n x12 = x12 >>> (32 - 16) | x12 << 16;\n x11 = x11 + x12 | 0;\n x6 ^= x11;\n x6 = x6 >>> (32 - 12) | x6 << 12;\n x2 = x2 + x7 | 0;\n x13 ^= x2;\n x13 = x13 >>> (32 - 16) | x13 << 16;\n x8 = x8 + x13 | 0;\n x7 ^= x8;\n x7 = x7 >>> (32 - 12) | x7 << 12;\n x3 = x3 + x4 | 0;\n x14 ^= x3;\n x14 = x14 >>> (32 - 16) | x14 << 16;\n x9 = x9 + x14 | 0;\n x4 ^= x9;\n x4 = x4 >>> (32 - 12) | x4 << 12;\n x2 = x2 + x7 | 0;\n x13 ^= x2;\n x13 = x13 >>> (32 - 8) | x13 << 8;\n x8 = x8 + x13 | 0;\n x7 ^= x8;\n x7 = x7 >>> (32 - 7) | x7 << 7;\n x3 = x3 + x4 | 0;\n x14 ^= x3;\n x14 = x14 >>> (32 - 8) | x14 << 8;\n x9 = x9 + x14 | 0;\n x4 ^= x9;\n x4 = x4 >>> (32 - 7) | x4 << 7;\n x1 = x1 + x6 | 0;\n x12 ^= x1;\n x12 = x12 >>> (32 - 8) | x12 << 8;\n x11 = x11 + x12 | 0;\n x6 ^= x11;\n x6 = x6 >>> (32 - 7) | x6 << 7;\n x0 = x0 + x5 | 0;\n x15 ^= x0;\n x15 = x15 >>> (32 - 8) | x15 << 8;\n x10 = x10 + x15 | 0;\n x5 ^= x10;\n x5 = x5 >>> (32 - 7) | x5 << 7;\n }\n binary_1.writeUint32LE(x0 + j0 | 0, out, 0);\n binary_1.writeUint32LE(x1 + j1 | 0, out, 4);\n binary_1.writeUint32LE(x2 + j2 | 0, out, 8);\n binary_1.writeUint32LE(x3 + j3 | 0, out, 12);\n binary_1.writeUint32LE(x4 + j4 | 0, out, 16);\n binary_1.writeUint32LE(x5 + j5 | 0, out, 20);\n binary_1.writeUint32LE(x6 + j6 | 0, out, 24);\n binary_1.writeUint32LE(x7 + j7 | 0, out, 28);\n binary_1.writeUint32LE(x8 + j8 | 0, out, 32);\n binary_1.writeUint32LE(x9 + j9 | 0, out, 36);\n binary_1.writeUint32LE(x10 + j10 | 0, out, 40);\n binary_1.writeUint32LE(x11 + j11 | 0, out, 44);\n binary_1.writeUint32LE(x12 + j12 | 0, out, 48);\n binary_1.writeUint32LE(x13 + j13 | 0, out, 52);\n binary_1.writeUint32LE(x14 + j14 | 0, out, 56);\n binary_1.writeUint32LE(x15 + j15 | 0, out, 60);\n}\n/**\n * Encrypt src with ChaCha20 stream generated for the given 32-byte key and\n * 8-byte (as in original implementation) or 12-byte (as in RFC7539) nonce and\n * write the result into dst and return it.\n *\n * dst and src may be the same, but otherwise must not overlap.\n *\n * If nonce is 12 bytes, users should not encrypt more than 256 GiB with the\n * same key and nonce, otherwise the stream will repeat. The function will\n * throw error if counter overflows to prevent this.\n *\n * If nonce is 8 bytes, the output is practically unlimited (2^70 bytes, which\n * is more than a million petabytes). However, it is not recommended to\n * generate 8-byte nonces randomly, as the chance of collision is high.\n *\n * Never use the same key and nonce to encrypt more than one message.\n *\n * If nonceInplaceCounterLength is not 0, the nonce is assumed to be a 16-byte\n * array with stream counter in first nonceInplaceCounterLength bytes and nonce\n * in the last remaining bytes. The counter will be incremented inplace for\n * each ChaCha block. This is useful if you need to encrypt one stream of data\n * in chunks.\n */\nfunction streamXOR(key, nonce, src, dst, nonceInplaceCounterLength) {\n if (nonceInplaceCounterLength === void 0) { nonceInplaceCounterLength = 0; }\n // We only support 256-bit keys.\n if (key.length !== 32) {\n throw new Error(\"ChaCha: key size must be 32 bytes\");\n }\n if (dst.length < src.length) {\n throw new Error(\"ChaCha: destination is shorter than source\");\n }\n var nc;\n var counterLength;\n if (nonceInplaceCounterLength === 0) {\n if (nonce.length !== 8 && nonce.length !== 12) {\n throw new Error(\"ChaCha nonce must be 8 or 12 bytes\");\n }\n nc = new Uint8Array(16);\n // First counterLength bytes of nc are counter, starting with zero.\n counterLength = nc.length - nonce.length;\n // Last bytes of nc after counterLength are nonce, set them.\n nc.set(nonce, counterLength);\n }\n else {\n if (nonce.length !== 16) {\n throw new Error(\"ChaCha nonce with counter must be 16 bytes\");\n }\n // This will update passed nonce with counter inplace.\n nc = nonce;\n counterLength = nonceInplaceCounterLength;\n }\n // Allocate temporary space for ChaCha block.\n var block = new Uint8Array(64);\n for (var i = 0; i < src.length; i += 64) {\n // Generate a block.\n core(block, nc, key);\n // XOR block bytes with src into dst.\n for (var j = i; j < i + 64 && j < src.length; j++) {\n dst[j] = src[j] ^ block[j - i];\n }\n // Increment counter.\n incrementCounter(nc, 0, counterLength);\n }\n // Cleanup temporary space.\n wipe_1.wipe(block);\n if (nonceInplaceCounterLength === 0) {\n // Cleanup counter.\n wipe_1.wipe(nc);\n }\n return dst;\n}\nexports.streamXOR = streamXOR;\n/**\n * Generate ChaCha20 stream for the given 32-byte key and 8-byte or 12-byte\n * nonce and write it into dst and return it.\n *\n * Never use the same key and nonce to generate more than one stream.\n *\n * If nonceInplaceCounterLength is not 0, it behaves the same with respect to\n * the nonce as described in the streamXOR documentation.\n *\n * stream is like streamXOR with all-zero src.\n */\nfunction stream(key, nonce, dst, nonceInplaceCounterLength) {\n if (nonceInplaceCounterLength === void 0) { nonceInplaceCounterLength = 0; }\n wipe_1.wipe(dst);\n return streamXOR(key, nonce, dst, dst, nonceInplaceCounterLength);\n}\nexports.stream = stream;\nfunction incrementCounter(counter, pos, len) {\n var carry = 1;\n while (len--) {\n carry = carry + (counter[pos] & 0xff) | 0;\n counter[pos] = carry & 0xff;\n carry >>>= 8;\n pos++;\n }\n if (carry > 0) {\n throw new Error(\"ChaCha: counter overflow\");\n }\n}\n//# sourceMappingURL=chacha.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/chacha/lib/chacha.js?");
/***/ }),
/***/ "./node_modules/@stablelib/chacha20poly1305/lib/chacha20poly1305.js":
/*!**************************************************************************!*\
!*** ./node_modules/@stablelib/chacha20poly1305/lib/chacha20poly1305.js ***!
\**************************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar chacha_1 = __webpack_require__(/*! @stablelib/chacha */ \"./node_modules/@stablelib/chacha/lib/chacha.js\");\nvar poly1305_1 = __webpack_require__(/*! @stablelib/poly1305 */ \"./node_modules/@stablelib/poly1305/lib/poly1305.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nvar binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nvar constant_time_1 = __webpack_require__(/*! @stablelib/constant-time */ \"./node_modules/@stablelib/constant-time/lib/constant-time.js\");\nexports.KEY_LENGTH = 32;\nexports.NONCE_LENGTH = 12;\nexports.TAG_LENGTH = 16;\nvar ZEROS = new Uint8Array(16);\n/**\n * ChaCha20-Poly1305 Authenticated Encryption with Associated Data.\n *\n * Defined in RFC7539.\n */\nvar ChaCha20Poly1305 = /** @class */ (function () {\n /**\n * Creates a new instance with the given 32-byte key.\n */\n function ChaCha20Poly1305(key) {\n this.nonceLength = exports.NONCE_LENGTH;\n this.tagLength = exports.TAG_LENGTH;\n if (key.length !== exports.KEY_LENGTH) {\n throw new Error(\"ChaCha20Poly1305 needs 32-byte key\");\n }\n // Copy key.\n this._key = new Uint8Array(key);\n }\n /**\n * Encrypts and authenticates plaintext, authenticates associated data,\n * and returns sealed ciphertext, which includes authentication tag.\n *\n * RFC7539 specifies 12 bytes for nonce. It may be this 12-byte nonce\n * (\"IV\"), or full 16-byte counter (called \"32-bit fixed-common part\")\n * and nonce.\n *\n * If dst is given (it must be the size of plaintext + the size of tag\n * length) the result will be put into it. Dst and plaintext must not\n * overlap.\n */\n ChaCha20Poly1305.prototype.seal = function (nonce, plaintext, associatedData, dst) {\n if (nonce.length > 16) {\n throw new Error(\"ChaCha20Poly1305: incorrect nonce length\");\n }\n // Allocate space for counter, and set nonce as last bytes of it.\n var counter = new Uint8Array(16);\n counter.set(nonce, counter.length - nonce.length);\n // Generate authentication key by taking first 32-bytes of stream.\n // We pass full counter, which has 12-byte nonce and 4-byte block counter,\n // and it will get incremented after generating the block, which is\n // exactly what we need: we only use the first 32 bytes of 64-byte\n // ChaCha block and discard the next 32 bytes.\n var authKey = new Uint8Array(32);\n chacha_1.stream(this._key, counter, authKey, 4);\n // Allocate space for sealed ciphertext.\n var resultLength = plaintext.length + this.tagLength;\n var result;\n if (dst) {\n if (dst.length !== resultLength) {\n throw new Error(\"ChaCha20Poly1305: incorrect destination length\");\n }\n result = dst;\n }\n else {\n result = new Uint8Array(resultLength);\n }\n // Encrypt plaintext.\n chacha_1.streamXOR(this._key, counter, plaintext, result, 4);\n // Authenticate.\n // XXX: can \"simplify\" here: pass full result (which is already padded\n // due to zeroes prepared for tag), and ciphertext length instead of\n // subarray of result.\n this._authenticate(result.subarray(result.length - this.tagLength, result.length), authKey, result.subarray(0, result.length - this.tagLength), associatedData);\n // Cleanup.\n wipe_1.wipe(counter);\n return result;\n };\n /**\n * Authenticates sealed ciphertext (which includes authentication tag) and\n * associated data, decrypts ciphertext and returns decrypted plaintext.\n *\n * RFC7539 specifies 12 bytes for nonce. It may be this 12-byte nonce\n * (\"IV\"), or full 16-byte counter (called \"32-bit fixed-common part\")\n * and nonce.\n *\n * If authentication fails, it returns null.\n *\n * If dst is given (it must be of ciphertext length minus tag length),\n * the result will be put into it. Dst and plaintext must not overlap.\n */\n ChaCha20Poly1305.prototype.open = function (nonce, sealed, associatedData, dst) {\n if (nonce.length > 16) {\n throw new Error(\"ChaCha20Poly1305: incorrect nonce length\");\n }\n // Sealed ciphertext should at least contain tag.\n if (sealed.length < this.tagLength) {\n // TODO(dchest): should we throw here instead?\n return null;\n }\n // Allocate space for counter, and set nonce as last bytes of it.\n var counter = new Uint8Array(16);\n counter.set(nonce, counter.length - nonce.length);\n // Generate authentication key by taking first 32-bytes of stream.\n var authKey = new Uint8Array(32);\n chacha_1.stream(this._key, counter, authKey, 4);\n // Authenticate.\n // XXX: can simplify and avoid allocation: since authenticate()\n // already allocates tag (from Poly1305.digest(), it can return)\n // it instead of copying to calculatedTag. But then in seal()\n // we'll need to copy it.\n var calculatedTag = new Uint8Array(this.tagLength);\n this._authenticate(calculatedTag, authKey, sealed.subarray(0, sealed.length - this.tagLength), associatedData);\n // Constant-time compare tags and return null if they differ.\n if (!constant_time_1.equal(calculatedTag, sealed.subarray(sealed.length - this.tagLength, sealed.length))) {\n return null;\n }\n // Allocate space for decrypted plaintext.\n var resultLength = sealed.length - this.tagLength;\n var result;\n if (dst) {\n if (dst.length !== resultLength) {\n throw new Error(\"ChaCha20Poly1305: incorrect destination length\");\n }\n result = dst;\n }\n else {\n result = new Uint8Array(resultLength);\n }\n // Decrypt.\n chacha_1.streamXOR(this._key, counter, sealed.subarray(0, sealed.length - this.tagLength), result, 4);\n // Cleanup.\n wipe_1.wipe(counter);\n return result;\n };\n ChaCha20Poly1305.prototype.clean = function () {\n wipe_1.wipe(this._key);\n return this;\n };\n ChaCha20Poly1305.prototype._authenticate = function (tagOut, authKey, ciphertext, associatedData) {\n // Initialize Poly1305 with authKey.\n var h = new poly1305_1.Poly1305(authKey);\n // Authenticate padded associated data.\n if (associatedData) {\n h.update(associatedData);\n if (associatedData.length % 16 > 0) {\n h.update(ZEROS.subarray(associatedData.length % 16));\n }\n }\n // Authenticate padded ciphertext.\n h.update(ciphertext);\n if (ciphertext.length % 16 > 0) {\n h.update(ZEROS.subarray(ciphertext.length % 16));\n }\n // Authenticate length of associated data.\n // XXX: can avoid allocation here?\n var length = new Uint8Array(8);\n if (associatedData) {\n binary_1.writeUint64LE(associatedData.length, length);\n }\n h.update(length);\n // Authenticate length of ciphertext.\n binary_1.writeUint64LE(ciphertext.length, length);\n h.update(length);\n // Get tag and copy it into tagOut.\n var tag = h.digest();\n for (var i = 0; i < tag.length; i++) {\n tagOut[i] = tag[i];\n }\n // Cleanup.\n h.clean();\n wipe_1.wipe(tag);\n wipe_1.wipe(length);\n };\n return ChaCha20Poly1305;\n}());\nexports.ChaCha20Poly1305 = ChaCha20Poly1305;\n//# sourceMappingURL=chacha20poly1305.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/chacha20poly1305/lib/chacha20poly1305.js?");
/***/ }),
/***/ "./node_modules/@stablelib/constant-time/lib/constant-time.js":
/*!********************************************************************!*\
!*** ./node_modules/@stablelib/constant-time/lib/constant-time.js ***!
\********************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package constant-time provides functions for performing algorithmically constant-time operations.\n */\n/**\n * NOTE! Due to the inability to guarantee real constant time evaluation of\n * anything in JavaScript VM, this is module is the best effort.\n */\n/**\n * Returns resultIfOne if subject is 1, or resultIfZero if subject is 0.\n *\n * Supports only 32-bit integers, so resultIfOne or resultIfZero are not\n * integers, they'll be converted to them with bitwise operations.\n */\nfunction select(subject, resultIfOne, resultIfZero) {\n return (~(subject - 1) & resultIfOne) | ((subject - 1) & resultIfZero);\n}\nexports.select = select;\n/**\n * Returns 1 if a <= b, or 0 if not.\n * Arguments must be positive 32-bit integers less than or equal to 2^31 - 1.\n */\nfunction lessOrEqual(a, b) {\n return (((a | 0) - (b | 0) - 1) >>> 31) & 1;\n}\nexports.lessOrEqual = lessOrEqual;\n/**\n * Returns 1 if a and b are of equal length and their contents\n * are equal, or 0 otherwise.\n *\n * Note that unlike in equal(), zero-length inputs are considered\n * the same, so this function will return 1.\n */\nfunction compare(a, b) {\n if (a.length !== b.length) {\n return 0;\n }\n var result = 0;\n for (var i = 0; i < a.length; i++) {\n result |= a[i] ^ b[i];\n }\n return (1 & ((result - 1) >>> 8));\n}\nexports.compare = compare;\n/**\n * Returns true if a and b are of equal non-zero length,\n * and their contents are equal, or false otherwise.\n *\n * Note that unlike in compare() zero-length inputs are considered\n * _not_ equal, so this function will return false.\n */\nfunction equal(a, b) {\n if (a.length === 0 || b.length === 0) {\n return false;\n }\n return compare(a, b) !== 0;\n}\nexports.equal = equal;\n//# sourceMappingURL=constant-time.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/constant-time/lib/constant-time.js?");
/***/ }),
/***/ "./node_modules/@stablelib/hash/lib/hash.js":
/*!**************************************************!*\
!*** ./node_modules/@stablelib/hash/lib/hash.js ***!
\**************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nfunction isSerializableHash(h) {\n return (typeof h.saveState !== \"undefined\" &&\n typeof h.restoreState !== \"undefined\" &&\n typeof h.cleanSavedState !== \"undefined\");\n}\nexports.isSerializableHash = isSerializableHash;\n// TODO(dchest): figure out the standardized interface for XOF such as\n// SHAKE and BLAKE2X.\n//# sourceMappingURL=hash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/hash/lib/hash.js?");
/***/ }),
/***/ "./node_modules/@stablelib/hkdf/lib/hkdf.js":
/*!**************************************************!*\
!*** ./node_modules/@stablelib/hkdf/lib/hkdf.js ***!
\**************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar hmac_1 = __webpack_require__(/*! @stablelib/hmac */ \"./node_modules/@stablelib/hmac/lib/hmac.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\n/**\n * HMAC-based Extract-and-Expand Key Derivation Function.\n *\n * Implements HKDF from RFC5869.\n *\n * Expands the given master key with salt and info into\n * a limited stream of key material.\n */\nvar HKDF = /** @class */ (function () {\n /**\n * Create a new HKDF instance for the given hash function\n * with the master key, optional salt, and info.\n *\n * - Master key is a high-entropy secret key (not a password).\n * - Salt is a non-secret random value.\n * - Info is application- and/or context-specific information.\n */\n function HKDF(hash, key, salt, info) {\n if (salt === void 0) { salt = new Uint8Array(0); }\n this._counter = new Uint8Array(1); // starts with zero\n this._hash = hash;\n this._info = info;\n // HKDF-Extract uses salt as HMAC key, and key as data.\n var okm = hmac_1.hmac(this._hash, salt, key);\n // Initialize HMAC for expanding with extracted key.\n this._hmac = new hmac_1.HMAC(hash, okm);\n // Allocate buffer.\n this._buffer = new Uint8Array(this._hmac.digestLength);\n this._bufpos = this._buffer.length;\n }\n // Fill buffer with new block of HKDF-Extract output.\n HKDF.prototype._fillBuffer = function () {\n // Increment counter.\n this._counter[0]++;\n var ctr = this._counter[0];\n // Check if counter overflowed.\n if (ctr === 0) {\n throw new Error(\"hkdf: cannot expand more\");\n }\n // Prepare HMAC instance for new data with old key.\n this._hmac.reset();\n // Hash in previous output if it was generated\n // (i.e. counter is greater than 1).\n if (ctr > 1) {\n this._hmac.update(this._buffer);\n }\n // Hash in info if it exists.\n if (this._info) {\n this._hmac.update(this._info);\n }\n // Hash in the counter.\n this._hmac.update(this._counter);\n // Output result to buffer and clean HMAC instance.\n this._hmac.finish(this._buffer);\n // Reset buffer position.\n this._bufpos = 0;\n };\n /**\n * Expand returns next key material of the given length.\n *\n * It throws if expansion limit is reached (which is\n * 254 digests of the underlying HMAC function).\n */\n HKDF.prototype.expand = function (length) {\n var out = new Uint8Array(length);\n for (var i = 0; i < out.length; i++) {\n if (this._bufpos === this._buffer.length) {\n this._fillBuffer();\n }\n out[i] = this._buffer[this._bufpos++];\n }\n return out;\n };\n HKDF.prototype.clean = function () {\n this._hmac.clean();\n wipe_1.wipe(this._buffer);\n wipe_1.wipe(this._counter);\n this._bufpos = 0;\n };\n return HKDF;\n}());\nexports.HKDF = HKDF;\n// TODO(dchest): maybe implement deriveKey?\n//# sourceMappingURL=hkdf.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/hkdf/lib/hkdf.js?");
/***/ }),
/***/ "./node_modules/@stablelib/hmac/lib/hmac.js":
/*!**************************************************!*\
!*** ./node_modules/@stablelib/hmac/lib/hmac.js ***!
\**************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package hmac implements HMAC algorithm.\n */\nvar hash_1 = __webpack_require__(/*! @stablelib/hash */ \"./node_modules/@stablelib/hash/lib/hash.js\");\nvar constant_time_1 = __webpack_require__(/*! @stablelib/constant-time */ \"./node_modules/@stablelib/constant-time/lib/constant-time.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\n/**\n * HMAC implements hash-based message authentication algorithm.\n */\nvar HMAC = /** @class */ (function () {\n /**\n * Constructs a new HMAC with the given Hash and secret key.\n */\n function HMAC(hash, key) {\n this._finished = false; // true if HMAC was finalized\n // Initialize inner and outer hashes.\n this._inner = new hash();\n this._outer = new hash();\n // Set block and digest sizes for this HMAC\n // instance to values from the hash.\n this.blockSize = this._outer.blockSize;\n this.digestLength = this._outer.digestLength;\n // Pad temporary stores a key (or its hash) padded with zeroes.\n var pad = new Uint8Array(this.blockSize);\n if (key.length > this.blockSize) {\n // If key is bigger than hash block size, it must be\n // hashed and this hash is used as a key instead.\n this._inner.update(key).finish(pad).clean();\n }\n else {\n // Otherwise, copy the key into pad.\n pad.set(key);\n }\n // Now two different keys are derived from padded key\n // by xoring a different byte value to each.\n // To make inner hash key, xor byte 0x36 into pad.\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36;\n }\n // Update inner hash with the result.\n this._inner.update(pad);\n // To make outer hash key, xor byte 0x5c into pad.\n // But since we already xored 0x36 there, we must\n // first undo this by xoring it again.\n for (var i = 0; i < pad.length; i++) {\n pad[i] ^= 0x36 ^ 0x5c;\n }\n // Update outer hash with the result.\n this._outer.update(pad);\n // Save states of both hashes, so that we can quickly restore\n // them later in reset() without the need to remember the actual\n // key and perform this initialization again.\n if (hash_1.isSerializableHash(this._inner) && hash_1.isSerializableHash(this._outer)) {\n this._innerKeyedState = this._inner.saveState();\n this._outerKeyedState = this._outer.saveState();\n }\n // Clean pad.\n wipe_1.wipe(pad);\n }\n /**\n * Returns HMAC state to the state initialized with key\n * to make it possible to run HMAC over the other data with the same\n * key without creating a new instance.\n */\n HMAC.prototype.reset = function () {\n if (!hash_1.isSerializableHash(this._inner) || !hash_1.isSerializableHash(this._outer)) {\n throw new Error(\"hmac: can't reset() because hash doesn't implement restoreState()\");\n }\n // Restore keyed states of inner and outer hashes.\n this._inner.restoreState(this._innerKeyedState);\n this._outer.restoreState(this._outerKeyedState);\n this._finished = false;\n return this;\n };\n /**\n * Cleans HMAC state.\n */\n HMAC.prototype.clean = function () {\n if (hash_1.isSerializableHash(this._inner)) {\n this._inner.cleanSavedState(this._innerKeyedState);\n }\n if (hash_1.isSerializableHash(this._outer)) {\n this._outer.cleanSavedState(this._outerKeyedState);\n }\n this._inner.clean();\n this._outer.clean();\n };\n /**\n * Updates state with provided data.\n */\n HMAC.prototype.update = function (data) {\n this._inner.update(data);\n return this;\n };\n /**\n * Finalizes HMAC and puts the result in out.\n */\n HMAC.prototype.finish = function (out) {\n if (this._finished) {\n // If HMAC was finalized, outer hash is also finalized,\n // so it produces the same digest it produced when it\n // was finalized.\n this._outer.finish(out);\n return this;\n }\n // Finalize inner hash and store the result temporarily.\n this._inner.finish(out);\n // Update outer hash with digest of inner hash and and finalize it.\n this._outer.update(out.subarray(0, this.digestLength)).finish(out);\n this._finished = true;\n return this;\n };\n /**\n * Returns the computed message authentication code.\n */\n HMAC.prototype.digest = function () {\n var out = new Uint8Array(this.digestLength);\n this.finish(out);\n return out;\n };\n /**\n * Saves HMAC state.\n * This function is needed for PBKDF2 optimization.\n */\n HMAC.prototype.saveState = function () {\n if (!hash_1.isSerializableHash(this._inner)) {\n throw new Error(\"hmac: can't saveState() because hash doesn't implement it\");\n }\n return this._inner.saveState();\n };\n HMAC.prototype.restoreState = function (savedState) {\n if (!hash_1.isSerializableHash(this._inner) || !hash_1.isSerializableHash(this._outer)) {\n throw new Error(\"hmac: can't restoreState() because hash doesn't implement it\");\n }\n this._inner.restoreState(savedState);\n this._outer.restoreState(this._outerKeyedState);\n this._finished = false;\n return this;\n };\n HMAC.prototype.cleanSavedState = function (savedState) {\n if (!hash_1.isSerializableHash(this._inner)) {\n throw new Error(\"hmac: can't cleanSavedState() because hash doesn't implement it\");\n }\n this._inner.cleanSavedState(savedState);\n };\n return HMAC;\n}());\nexports.HMAC = HMAC;\n/**\n * Returns HMAC using the given hash constructor for the key over data.\n */\nfunction hmac(hash, key, data) {\n var h = new HMAC(hash, key);\n h.update(data);\n var digest = h.digest();\n h.clean();\n return digest;\n}\nexports.hmac = hmac;\n/**\n * Returns true if two HMAC digests are equal.\n * Uses constant-time comparison to avoid leaking timing information.\n *\n * Example:\n *\n * const receivedDigest = ...\n * const realDigest = hmac(SHA256, key, data);\n * if (!equal(receivedDigest, realDigest)) {\n * throw new Error(\"Authentication error\");\n * }\n */\nexports.equal = constant_time_1.equal;\n//# sourceMappingURL=hmac.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/hmac/lib/hmac.js?");
/***/ }),
/***/ "./node_modules/@stablelib/int/lib/int.js":
/*!************************************************!*\
!*** ./node_modules/@stablelib/int/lib/int.js ***!
\************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package int provides helper functions for integerss.\n */\n// Shim using 16-bit pieces.\nfunction imulShim(a, b) {\n var ah = (a >>> 16) & 0xffff, al = a & 0xffff;\n var bh = (b >>> 16) & 0xffff, bl = b & 0xffff;\n return ((al * bl) + (((ah * bl + al * bh) << 16) >>> 0) | 0);\n}\n/** 32-bit integer multiplication. */\n// Use system Math.imul if available, otherwise use our shim.\nexports.mul = Math.imul || imulShim;\n/** 32-bit integer addition. */\nfunction add(a, b) {\n return (a + b) | 0;\n}\nexports.add = add;\n/** 32-bit integer subtraction. */\nfunction sub(a, b) {\n return (a - b) | 0;\n}\nexports.sub = sub;\n/** 32-bit integer left rotation */\nfunction rotl(x, n) {\n return x << n | x >>> (32 - n);\n}\nexports.rotl = rotl;\n/** 32-bit integer left rotation */\nfunction rotr(x, n) {\n return x << (32 - n) | x >>> n;\n}\nexports.rotr = rotr;\nfunction isIntegerShim(n) {\n return typeof n === \"number\" && isFinite(n) && Math.floor(n) === n;\n}\n/**\n * Returns true if the argument is an integer number.\n *\n * In ES2015, Number.isInteger.\n */\nexports.isInteger = Number.isInteger || isIntegerShim;\n/**\n * Math.pow(2, 53) - 1\n *\n * In ES2015 Number.MAX_SAFE_INTEGER.\n */\nexports.MAX_SAFE_INTEGER = 9007199254740991;\n/**\n * Returns true if the argument is a safe integer number\n * (-MIN_SAFE_INTEGER < number <= MAX_SAFE_INTEGER)\n *\n * In ES2015, Number.isSafeInteger.\n */\nexports.isSafeInteger = function (n) {\n return exports.isInteger(n) && (n >= -exports.MAX_SAFE_INTEGER && n <= exports.MAX_SAFE_INTEGER);\n};\n//# sourceMappingURL=int.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/int/lib/int.js?");
/***/ }),
/***/ "./node_modules/@stablelib/poly1305/lib/poly1305.js":
/*!**********************************************************!*\
!*** ./node_modules/@stablelib/poly1305/lib/poly1305.js ***!
\**********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Package poly1305 implements Poly1305 one-time message authentication algorithm.\n */\nvar constant_time_1 = __webpack_require__(/*! @stablelib/constant-time */ \"./node_modules/@stablelib/constant-time/lib/constant-time.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.DIGEST_LENGTH = 16;\n// Port of Andrew Moon's Poly1305-donna-16. Public domain.\n// https://github.com/floodyberry/poly1305-donna\n/**\n * Poly1305 computes 16-byte authenticator of message using\n * a one-time 32-byte key.\n *\n * Important: key should be used for only one message,\n * it should never repeat.\n */\nvar Poly1305 = /** @class */ (function () {\n function Poly1305(key) {\n this.digestLength = exports.DIGEST_LENGTH;\n this._buffer = new Uint8Array(16);\n this._r = new Uint16Array(10);\n this._h = new Uint16Array(10);\n this._pad = new Uint16Array(8);\n this._leftover = 0;\n this._fin = 0;\n this._finished = false;\n var t0 = key[0] | key[1] << 8;\n this._r[0] = (t0) & 0x1fff;\n var t1 = key[2] | key[3] << 8;\n this._r[1] = ((t0 >>> 13) | (t1 << 3)) & 0x1fff;\n var t2 = key[4] | key[5] << 8;\n this._r[2] = ((t1 >>> 10) | (t2 << 6)) & 0x1f03;\n var t3 = key[6] | key[7] << 8;\n this._r[3] = ((t2 >>> 7) | (t3 << 9)) & 0x1fff;\n var t4 = key[8] | key[9] << 8;\n this._r[4] = ((t3 >>> 4) | (t4 << 12)) & 0x00ff;\n this._r[5] = ((t4 >>> 1)) & 0x1ffe;\n var t5 = key[10] | key[11] << 8;\n this._r[6] = ((t4 >>> 14) | (t5 << 2)) & 0x1fff;\n var t6 = key[12] | key[13] << 8;\n this._r[7] = ((t5 >>> 11) | (t6 << 5)) & 0x1f81;\n var t7 = key[14] | key[15] << 8;\n this._r[8] = ((t6 >>> 8) | (t7 << 8)) & 0x1fff;\n this._r[9] = ((t7 >>> 5)) & 0x007f;\n this._pad[0] = key[16] | key[17] << 8;\n this._pad[1] = key[18] | key[19] << 8;\n this._pad[2] = key[20] | key[21] << 8;\n this._pad[3] = key[22] | key[23] << 8;\n this._pad[4] = key[24] | key[25] << 8;\n this._pad[5] = key[26] | key[27] << 8;\n this._pad[6] = key[28] | key[29] << 8;\n this._pad[7] = key[30] | key[31] << 8;\n }\n Poly1305.prototype._blocks = function (m, mpos, bytes) {\n var hibit = this._fin ? 0 : 1 << 11;\n var h0 = this._h[0], h1 = this._h[1], h2 = this._h[2], h3 = this._h[3], h4 = this._h[4], h5 = this._h[5], h6 = this._h[6], h7 = this._h[7], h8 = this._h[8], h9 = this._h[9];\n var r0 = this._r[0], r1 = this._r[1], r2 = this._r[2], r3 = this._r[3], r4 = this._r[4], r5 = this._r[5], r6 = this._r[6], r7 = this._r[7], r8 = this._r[8], r9 = this._r[9];\n while (bytes >= 16) {\n var t0 = m[mpos + 0] | m[mpos + 1] << 8;\n h0 += (t0) & 0x1fff;\n var t1 = m[mpos + 2] | m[mpos + 3] << 8;\n h1 += ((t0 >>> 13) | (t1 << 3)) & 0x1fff;\n var t2 = m[mpos + 4] | m[mpos + 5] << 8;\n h2 += ((t1 >>> 10) | (t2 << 6)) & 0x1fff;\n var t3 = m[mpos + 6] | m[mpos + 7] << 8;\n h3 += ((t2 >>> 7) | (t3 << 9)) & 0x1fff;\n var t4 = m[mpos + 8] | m[mpos + 9] << 8;\n h4 += ((t3 >>> 4) | (t4 << 12)) & 0x1fff;\n h5 += ((t4 >>> 1)) & 0x1fff;\n var t5 = m[mpos + 10] | m[mpos + 11] << 8;\n h6 += ((t4 >>> 14) | (t5 << 2)) & 0x1fff;\n var t6 = m[mpos + 12] | m[mpos + 13] << 8;\n h7 += ((t5 >>> 11) | (t6 << 5)) & 0x1fff;\n var t7 = m[mpos + 14] | m[mpos + 15] << 8;\n h8 += ((t6 >>> 8) | (t7 << 8)) & 0x1fff;\n h9 += ((t7 >>> 5)) | hibit;\n var c = 0;\n var d0 = c;\n d0 += h0 * r0;\n d0 += h1 * (5 * r9);\n d0 += h2 * (5 * r8);\n d0 += h3 * (5 * r7);\n d0 += h4 * (5 * r6);\n c = (d0 >>> 13);\n d0 &= 0x1fff;\n d0 += h5 * (5 * r5);\n d0 += h6 * (5 * r4);\n d0 += h7 * (5 * r3);\n d0 += h8 * (5 * r2);\n d0 += h9 * (5 * r1);\n c += (d0 >>> 13);\n d0 &= 0x1fff;\n var d1 = c;\n d1 += h0 * r1;\n d1 += h1 * r0;\n d1 += h2 * (5 * r9);\n d1 += h3 * (5 * r8);\n d1 += h4 * (5 * r7);\n c = (d1 >>> 13);\n d1 &= 0x1fff;\n d1 += h5 * (5 * r6);\n d1 += h6 * (5 * r5);\n d1 += h7 * (5 * r4);\n d1 += h8 * (5 * r3);\n d1 += h9 * (5 * r2);\n c += (d1 >>> 13);\n d1 &= 0x1fff;\n var d2 = c;\n d2 += h0 * r2;\n d2 += h1 * r1;\n d2 += h2 * r0;\n d2 += h3 * (5 * r9);\n d2 += h4 * (5 * r8);\n c = (d2 >>> 13);\n d2 &= 0x1fff;\n d2 += h5 * (5 * r7);\n d2 += h6 * (5 * r6);\n d2 += h7 * (5 * r5);\n d2 += h8 * (5 * r4);\n d2 += h9 * (5 * r3);\n c += (d2 >>> 13);\n d2 &= 0x1fff;\n var d3 = c;\n d3 += h0 * r3;\n d3 += h1 * r2;\n d3 += h2 * r1;\n d3 += h3 * r0;\n d3 += h4 * (5 * r9);\n c = (d3 >>> 13);\n d3 &= 0x1fff;\n d3 += h5 * (5 * r8);\n d3 += h6 * (5 * r7);\n d3 += h7 * (5 * r6);\n d3 += h8 * (5 * r5);\n d3 += h9 * (5 * r4);\n c += (d3 >>> 13);\n d3 &= 0x1fff;\n var d4 = c;\n d4 += h0 * r4;\n d4 += h1 * r3;\n d4 += h2 * r2;\n d4 += h3 * r1;\n d4 += h4 * r0;\n c = (d4 >>> 13);\n d4 &= 0x1fff;\n d4 += h5 * (5 * r9);\n d4 += h6 * (5 * r8);\n d4 += h7 * (5 * r7);\n d4 += h8 * (5 * r6);\n d4 += h9 * (5 * r5);\n c += (d4 >>> 13);\n d4 &= 0x1fff;\n var d5 = c;\n d5 += h0 * r5;\n d5 += h1 * r4;\n d5 += h2 * r3;\n d5 += h3 * r2;\n d5 += h4 * r1;\n c = (d5 >>> 13);\n d5 &= 0x1fff;\n d5 += h5 * r0;\n d5 += h6 * (5 * r9);\n d5 += h7 * (5 * r8);\n d5 += h8 * (5 * r7);\n d5 += h9 * (5 * r6);\n c += (d5 >>> 13);\n d5 &= 0x1fff;\n var d6 = c;\n d6 += h0 * r6;\n d6 += h1 * r5;\n d6 += h2 * r4;\n d6 += h3 * r3;\n d6 += h4 * r2;\n c = (d6 >>> 13);\n d6 &= 0x1fff;\n d6 += h5 * r1;\n d6 += h6 * r0;\n d6 += h7 * (5 * r9);\n d6 += h8 * (5 * r8);\n d6 += h9 * (5 * r7);\n c += (d6 >>> 13);\n d6 &= 0x1fff;\n var d7 = c;\n d7 += h0 * r7;\n d7 += h1 * r6;\n d7 += h2 * r5;\n d7 += h3 * r4;\n d7 += h4 * r3;\n c = (d7 >>> 13);\n d7 &= 0x1fff;\n d7 += h5 * r2;\n d7 += h6 * r1;\n d7 += h7 * r0;\n d7 += h8 * (5 * r9);\n d7 += h9 * (5 * r8);\n c += (d7 >>> 13);\n d7 &= 0x1fff;\n var d8 = c;\n d8 += h0 * r8;\n d8 += h1 * r7;\n d8 += h2 * r6;\n d8 += h3 * r5;\n d8 += h4 * r4;\n c = (d8 >>> 13);\n d8 &= 0x1fff;\n d8 += h5 * r3;\n d8 += h6 * r2;\n d8 += h7 * r1;\n d8 += h8 * r0;\n d8 += h9 * (5 * r9);\n c += (d8 >>> 13);\n d8 &= 0x1fff;\n var d9 = c;\n d9 += h0 * r9;\n d9 += h1 * r8;\n d9 += h2 * r7;\n d9 += h3 * r6;\n d9 += h4 * r5;\n c = (d9 >>> 13);\n d9 &= 0x1fff;\n d9 += h5 * r4;\n d9 += h6 * r3;\n d9 += h7 * r2;\n d9 += h8 * r1;\n d9 += h9 * r0;\n c += (d9 >>> 13);\n d9 &= 0x1fff;\n c = (((c << 2) + c)) | 0;\n c = (c + d0) | 0;\n d0 = c & 0x1fff;\n c = (c >>> 13);\n d1 += c;\n h0 = d0;\n h1 = d1;\n h2 = d2;\n h3 = d3;\n h4 = d4;\n h5 = d5;\n h6 = d6;\n h7 = d7;\n h8 = d8;\n h9 = d9;\n mpos += 16;\n bytes -= 16;\n }\n this._h[0] = h0;\n this._h[1] = h1;\n this._h[2] = h2;\n this._h[3] = h3;\n this._h[4] = h4;\n this._h[5] = h5;\n this._h[6] = h6;\n this._h[7] = h7;\n this._h[8] = h8;\n this._h[9] = h9;\n };\n Poly1305.prototype.finish = function (mac, macpos) {\n if (macpos === void 0) { macpos = 0; }\n var g = new Uint16Array(10);\n var c;\n var mask;\n var f;\n var i;\n if (this._leftover) {\n i = this._leftover;\n this._buffer[i++] = 1;\n for (; i < 16; i++) {\n this._buffer[i] = 0;\n }\n this._fin = 1;\n this._blocks(this._buffer, 0, 16);\n }\n c = this._h[1] >>> 13;\n this._h[1] &= 0x1fff;\n for (i = 2; i < 10; i++) {\n this._h[i] += c;\n c = this._h[i] >>> 13;\n this._h[i] &= 0x1fff;\n }\n this._h[0] += (c * 5);\n c = this._h[0] >>> 13;\n this._h[0] &= 0x1fff;\n this._h[1] += c;\n c = this._h[1] >>> 13;\n this._h[1] &= 0x1fff;\n this._h[2] += c;\n g[0] = this._h[0] + 5;\n c = g[0] >>> 13;\n g[0] &= 0x1fff;\n for (i = 1; i < 10; i++) {\n g[i] = this._h[i] + c;\n c = g[i] >>> 13;\n g[i] &= 0x1fff;\n }\n g[9] -= (1 << 13);\n mask = (c ^ 1) - 1;\n for (i = 0; i < 10; i++) {\n g[i] &= mask;\n }\n mask = ~mask;\n for (i = 0; i < 10; i++) {\n this._h[i] = (this._h[i] & mask) | g[i];\n }\n this._h[0] = ((this._h[0]) | (this._h[1] << 13)) & 0xffff;\n this._h[1] = ((this._h[1] >>> 3) | (this._h[2] << 10)) & 0xffff;\n this._h[2] = ((this._h[2] >>> 6) | (this._h[3] << 7)) & 0xffff;\n this._h[3] = ((this._h[3] >>> 9) | (this._h[4] << 4)) & 0xffff;\n this._h[4] = ((this._h[4] >>> 12) | (this._h[5] << 1) | (this._h[6] << 14)) & 0xffff;\n this._h[5] = ((this._h[6] >>> 2) | (this._h[7] << 11)) & 0xffff;\n this._h[6] = ((this._h[7] >>> 5) | (this._h[8] << 8)) & 0xffff;\n this._h[7] = ((this._h[8] >>> 8) | (this._h[9] << 5)) & 0xffff;\n f = this._h[0] + this._pad[0];\n this._h[0] = f & 0xffff;\n for (i = 1; i < 8; i++) {\n f = (((this._h[i] + this._pad[i]) | 0) + (f >>> 16)) | 0;\n this._h[i] = f & 0xffff;\n }\n mac[macpos + 0] = this._h[0] >>> 0;\n mac[macpos + 1] = this._h[0] >>> 8;\n mac[macpos + 2] = this._h[1] >>> 0;\n mac[macpos + 3] = this._h[1] >>> 8;\n mac[macpos + 4] = this._h[2] >>> 0;\n mac[macpos + 5] = this._h[2] >>> 8;\n mac[macpos + 6] = this._h[3] >>> 0;\n mac[macpos + 7] = this._h[3] >>> 8;\n mac[macpos + 8] = this._h[4] >>> 0;\n mac[macpos + 9] = this._h[4] >>> 8;\n mac[macpos + 10] = this._h[5] >>> 0;\n mac[macpos + 11] = this._h[5] >>> 8;\n mac[macpos + 12] = this._h[6] >>> 0;\n mac[macpos + 13] = this._h[6] >>> 8;\n mac[macpos + 14] = this._h[7] >>> 0;\n mac[macpos + 15] = this._h[7] >>> 8;\n this._finished = true;\n return this;\n };\n Poly1305.prototype.update = function (m) {\n var mpos = 0;\n var bytes = m.length;\n var want;\n if (this._leftover) {\n want = (16 - this._leftover);\n if (want > bytes) {\n want = bytes;\n }\n for (var i = 0; i < want; i++) {\n this._buffer[this._leftover + i] = m[mpos + i];\n }\n bytes -= want;\n mpos += want;\n this._leftover += want;\n if (this._leftover < 16) {\n return this;\n }\n this._blocks(this._buffer, 0, 16);\n this._leftover = 0;\n }\n if (bytes >= 16) {\n want = bytes - (bytes % 16);\n this._blocks(m, mpos, want);\n mpos += want;\n bytes -= want;\n }\n if (bytes) {\n for (var i = 0; i < bytes; i++) {\n this._buffer[this._leftover + i] = m[mpos + i];\n }\n this._leftover += bytes;\n }\n return this;\n };\n Poly1305.prototype.digest = function () {\n // TODO(dchest): it behaves differently than other hashes/HMAC,\n // because it throws when finished — others just return saved result.\n if (this._finished) {\n throw new Error(\"Poly1305 was finished\");\n }\n var mac = new Uint8Array(16);\n this.finish(mac);\n return mac;\n };\n Poly1305.prototype.clean = function () {\n wipe_1.wipe(this._buffer);\n wipe_1.wipe(this._r);\n wipe_1.wipe(this._h);\n wipe_1.wipe(this._pad);\n this._leftover = 0;\n this._fin = 0;\n this._finished = true; // mark as finished even if not\n return this;\n };\n return Poly1305;\n}());\nexports.Poly1305 = Poly1305;\n/**\n * Returns 16-byte authenticator of data using a one-time 32-byte key.\n *\n * Important: key should be used for only one message, it should never repeat.\n */\nfunction oneTimeAuth(key, data) {\n var h = new Poly1305(key);\n h.update(data);\n var digest = h.digest();\n h.clean();\n return digest;\n}\nexports.oneTimeAuth = oneTimeAuth;\n/**\n * Returns true if two authenticators are 16-byte long and equal.\n * Uses contant-time comparison to avoid leaking timing information.\n */\nfunction equal(a, b) {\n if (a.length !== exports.DIGEST_LENGTH || b.length !== exports.DIGEST_LENGTH) {\n return false;\n }\n return constant_time_1.equal(a, b);\n}\nexports.equal = equal;\n//# sourceMappingURL=poly1305.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/poly1305/lib/poly1305.js?");
/***/ }),
/***/ "./node_modules/@stablelib/random/lib/random.js":
/*!******************************************************!*\
!*** ./node_modules/@stablelib/random/lib/random.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.randomStringForEntropy = exports.randomString = exports.randomUint32 = exports.randomBytes = exports.defaultRandomSource = void 0;\nconst system_1 = __webpack_require__(/*! ./source/system */ \"./node_modules/@stablelib/random/lib/source/system.js\");\nconst binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nconst wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.defaultRandomSource = new system_1.SystemRandomSource();\nfunction randomBytes(length, prng = exports.defaultRandomSource) {\n return prng.randomBytes(length);\n}\nexports.randomBytes = randomBytes;\n/**\n * Returns a uniformly random unsigned 32-bit integer.\n */\nfunction randomUint32(prng = exports.defaultRandomSource) {\n // Generate 4-byte random buffer.\n const buf = randomBytes(4, prng);\n // Convert bytes from buffer into a 32-bit integer.\n // It's not important which byte order to use, since\n // the result is random.\n const result = (0, binary_1.readUint32LE)(buf);\n // Clean the buffer.\n (0, wipe_1.wipe)(buf);\n return result;\n}\nexports.randomUint32 = randomUint32;\n/** 62 alphanumeric characters for default charset of randomString() */\nconst ALPHANUMERIC = \"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\";\n/**\n * Returns a uniform random string of the given length\n * with characters from the given charset.\n *\n * Charset must not have more than 256 characters.\n *\n * Default charset generates case-sensitive alphanumeric\n * strings (0-9, A-Z, a-z).\n */\nfunction randomString(length, charset = ALPHANUMERIC, prng = exports.defaultRandomSource) {\n if (charset.length < 2) {\n throw new Error(\"randomString charset is too short\");\n }\n if (charset.length > 256) {\n throw new Error(\"randomString charset is too long\");\n }\n let out = '';\n const charsLen = charset.length;\n const maxByte = 256 - (256 % charsLen);\n while (length > 0) {\n const buf = randomBytes(Math.ceil(length * 256 / maxByte), prng);\n for (let i = 0; i < buf.length && length > 0; i++) {\n const randomByte = buf[i];\n if (randomByte < maxByte) {\n out += charset.charAt(randomByte % charsLen);\n length--;\n }\n }\n (0, wipe_1.wipe)(buf);\n }\n return out;\n}\nexports.randomString = randomString;\n/**\n * Returns uniform random string containing at least the given\n * number of bits of entropy.\n *\n * For example, randomStringForEntropy(128) will return a 22-character\n * alphanumeric string, while randomStringForEntropy(128, \"0123456789\")\n * will return a 39-character numeric string, both will contain at\n * least 128 bits of entropy.\n *\n * Default charset generates case-sensitive alphanumeric\n * strings (0-9, A-Z, a-z).\n */\nfunction randomStringForEntropy(bits, charset = ALPHANUMERIC, prng = exports.defaultRandomSource) {\n const length = Math.ceil(bits / (Math.log(charset.length) / Math.LN2));\n return randomString(length, charset, prng);\n}\nexports.randomStringForEntropy = randomStringForEntropy;\n//# sourceMappingURL=random.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/random.js?");
/***/ }),
/***/ "./node_modules/@stablelib/random/lib/source/browser.js":
/*!**************************************************************!*\
!*** ./node_modules/@stablelib/random/lib/source/browser.js ***!
\**************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.BrowserRandomSource = void 0;\nconst QUOTA = 65536;\nclass BrowserRandomSource {\n constructor() {\n this.isAvailable = false;\n this.isInstantiated = false;\n const browserCrypto = typeof self !== 'undefined'\n ? (self.crypto || self.msCrypto) // IE11 has msCrypto\n : null;\n if (browserCrypto && browserCrypto.getRandomValues !== undefined) {\n this._crypto = browserCrypto;\n this.isAvailable = true;\n this.isInstantiated = true;\n }\n }\n randomBytes(length) {\n if (!this.isAvailable || !this._crypto) {\n throw new Error(\"Browser random byte generator is not available.\");\n }\n const out = new Uint8Array(length);\n for (let i = 0; i < out.length; i += QUOTA) {\n this._crypto.getRandomValues(out.subarray(i, i + Math.min(out.length - i, QUOTA)));\n }\n return out;\n }\n}\nexports.BrowserRandomSource = BrowserRandomSource;\n//# sourceMappingURL=browser.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/source/browser.js?");
/***/ }),
/***/ "./node_modules/@stablelib/random/lib/source/node.js":
/*!***********************************************************!*\
!*** ./node_modules/@stablelib/random/lib/source/node.js ***!
\***********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.NodeRandomSource = void 0;\nconst wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nclass NodeRandomSource {\n constructor() {\n this.isAvailable = false;\n this.isInstantiated = false;\n if (true) {\n const nodeCrypto = __webpack_require__(/*! crypto */ \"?25ed\");\n if (nodeCrypto && nodeCrypto.randomBytes) {\n this._crypto = nodeCrypto;\n this.isAvailable = true;\n this.isInstantiated = true;\n }\n }\n }\n randomBytes(length) {\n if (!this.isAvailable || !this._crypto) {\n throw new Error(\"Node.js random byte generator is not available.\");\n }\n // Get random bytes (result is Buffer).\n let buffer = this._crypto.randomBytes(length);\n // Make sure we got the length that we requested.\n if (buffer.length !== length) {\n throw new Error(\"NodeRandomSource: got fewer bytes than requested\");\n }\n // Allocate output array.\n const out = new Uint8Array(length);\n // Copy bytes from buffer to output.\n for (let i = 0; i < out.length; i++) {\n out[i] = buffer[i];\n }\n // Cleanup.\n (0, wipe_1.wipe)(buffer);\n return out;\n }\n}\nexports.NodeRandomSource = NodeRandomSource;\n//# sourceMappingURL=node.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/source/node.js?");
/***/ }),
/***/ "./node_modules/@stablelib/random/lib/source/system.js":
/*!*************************************************************!*\
!*** ./node_modules/@stablelib/random/lib/source/system.js ***!
\*************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.SystemRandomSource = void 0;\nconst browser_1 = __webpack_require__(/*! ./browser */ \"./node_modules/@stablelib/random/lib/source/browser.js\");\nconst node_1 = __webpack_require__(/*! ./node */ \"./node_modules/@stablelib/random/lib/source/node.js\");\nclass SystemRandomSource {\n constructor() {\n this.isAvailable = false;\n this.name = \"\";\n // Try browser.\n this._source = new browser_1.BrowserRandomSource();\n if (this._source.isAvailable) {\n this.isAvailable = true;\n this.name = \"Browser\";\n return;\n }\n // If no browser source, try Node.\n this._source = new node_1.NodeRandomSource();\n if (this._source.isAvailable) {\n this.isAvailable = true;\n this.name = \"Node\";\n return;\n }\n // No sources, we're out of options.\n }\n randomBytes(length) {\n if (!this.isAvailable) {\n throw new Error(\"System random byte generator is not available.\");\n }\n return this._source.randomBytes(length);\n }\n}\nexports.SystemRandomSource = SystemRandomSource;\n//# sourceMappingURL=system.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/random/lib/source/system.js?");
/***/ }),
/***/ "./node_modules/@stablelib/sha256/lib/sha256.js":
/*!******************************************************!*\
!*** ./node_modules/@stablelib/sha256/lib/sha256.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar binary_1 = __webpack_require__(/*! @stablelib/binary */ \"./node_modules/@stablelib/binary/lib/binary.js\");\nvar wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.DIGEST_LENGTH = 32;\nexports.BLOCK_SIZE = 64;\n/**\n * SHA2-256 cryptographic hash algorithm.\n */\nvar SHA256 = /** @class */ (function () {\n function SHA256() {\n /** Length of hash output */\n this.digestLength = exports.DIGEST_LENGTH;\n /** Block size */\n this.blockSize = exports.BLOCK_SIZE;\n // Note: Int32Array is used instead of Uint32Array for performance reasons.\n this._state = new Int32Array(8); // hash state\n this._temp = new Int32Array(64); // temporary state\n this._buffer = new Uint8Array(128); // buffer for data to hash\n this._bufferLength = 0; // number of bytes in buffer\n this._bytesHashed = 0; // number of total bytes hashed\n this._finished = false; // indicates whether the hash was finalized\n this.reset();\n }\n SHA256.prototype._initState = function () {\n this._state[0] = 0x6a09e667;\n this._state[1] = 0xbb67ae85;\n this._state[2] = 0x3c6ef372;\n this._state[3] = 0xa54ff53a;\n this._state[4] = 0x510e527f;\n this._state[5] = 0x9b05688c;\n this._state[6] = 0x1f83d9ab;\n this._state[7] = 0x5be0cd19;\n };\n /**\n * Resets hash state making it possible\n * to re-use this instance to hash other data.\n */\n SHA256.prototype.reset = function () {\n this._initState();\n this._bufferLength = 0;\n this._bytesHashed = 0;\n this._finished = false;\n return this;\n };\n /**\n * Cleans internal buffers and resets hash state.\n */\n SHA256.prototype.clean = function () {\n wipe_1.wipe(this._buffer);\n wipe_1.wipe(this._temp);\n this.reset();\n };\n /**\n * Updates hash state with the given data.\n *\n * Throws error when trying to update already finalized hash:\n * instance must be reset to update it again.\n */\n SHA256.prototype.update = function (data, dataLength) {\n if (dataLength === void 0) { dataLength = data.length; }\n if (this._finished) {\n throw new Error(\"SHA256: can't update because hash was finished.\");\n }\n var dataPos = 0;\n this._bytesHashed += dataLength;\n if (this._bufferLength > 0) {\n while (this._bufferLength < this.blockSize && dataLength > 0) {\n this._buffer[this._bufferLength++] = data[dataPos++];\n dataLength--;\n }\n if (this._bufferLength === this.blockSize) {\n hashBlocks(this._temp, this._state, this._buffer, 0, this.blockSize);\n this._bufferLength = 0;\n }\n }\n if (dataLength >= this.blockSize) {\n dataPos = hashBlocks(this._temp, this._state, data, dataPos, dataLength);\n dataLength %= this.blockSize;\n }\n while (dataLength > 0) {\n this._buffer[this._bufferLength++] = data[dataPos++];\n dataLength--;\n }\n return this;\n };\n /**\n * Finalizes hash state and puts hash into out.\n * If hash was already finalized, puts the same value.\n */\n SHA256.prototype.finish = function (out) {\n if (!this._finished) {\n var bytesHashed = this._bytesHashed;\n var left = this._bufferLength;\n var bitLenHi = (bytesHashed / 0x20000000) | 0;\n var bitLenLo = bytesHashed << 3;\n var padLength = (bytesHashed % 64 < 56) ? 64 : 128;\n this._buffer[left] = 0x80;\n for (var i = left + 1; i < padLength - 8; i++) {\n this._buffer[i] = 0;\n }\n binary_1.writeUint32BE(bitLenHi, this._buffer, padLength - 8);\n binary_1.writeUint32BE(bitLenLo, this._buffer, padLength - 4);\n hashBlocks(this._temp, this._state, this._buffer, 0, padLength);\n this._finished = true;\n }\n for (var i = 0; i < this.digestLength / 4; i++) {\n binary_1.writeUint32BE(this._state[i], out, i * 4);\n }\n return this;\n };\n /**\n * Returns the final hash digest.\n */\n SHA256.prototype.digest = function () {\n var out = new Uint8Array(this.digestLength);\n this.finish(out);\n return out;\n };\n /**\n * Function useful for HMAC/PBKDF2 optimization.\n * Returns hash state to be used with restoreState().\n * Only chain value is saved, not buffers or other\n * state variables.\n */\n SHA256.prototype.saveState = function () {\n if (this._finished) {\n throw new Error(\"SHA256: cannot save finished state\");\n }\n return {\n state: new Int32Array(this._state),\n buffer: this._bufferLength > 0 ? new Uint8Array(this._buffer) : undefined,\n bufferLength: this._bufferLength,\n bytesHashed: this._bytesHashed\n };\n };\n /**\n * Function useful for HMAC/PBKDF2 optimization.\n * Restores state saved by saveState() and sets bytesHashed\n * to the given value.\n */\n SHA256.prototype.restoreState = function (savedState) {\n this._state.set(savedState.state);\n this._bufferLength = savedState.bufferLength;\n if (savedState.buffer) {\n this._buffer.set(savedState.buffer);\n }\n this._bytesHashed = savedState.bytesHashed;\n this._finished = false;\n return this;\n };\n /**\n * Cleans state returned by saveState().\n */\n SHA256.prototype.cleanSavedState = function (savedState) {\n wipe_1.wipe(savedState.state);\n if (savedState.buffer) {\n wipe_1.wipe(savedState.buffer);\n }\n savedState.bufferLength = 0;\n savedState.bytesHashed = 0;\n };\n return SHA256;\n}());\nexports.SHA256 = SHA256;\n// Constants\nvar K = new Int32Array([\n 0x428a2f98, 0x71374491, 0xb5c0fbcf, 0xe9b5dba5, 0x3956c25b,\n 0x59f111f1, 0x923f82a4, 0xab1c5ed5, 0xd807aa98, 0x12835b01,\n 0x243185be, 0x550c7dc3, 0x72be5d74, 0x80deb1fe, 0x9bdc06a7,\n 0xc19bf174, 0xe49b69c1, 0xefbe4786, 0x0fc19dc6, 0x240ca1cc,\n 0x2de92c6f, 0x4a7484aa, 0x5cb0a9dc, 0x76f988da, 0x983e5152,\n 0xa831c66d, 0xb00327c8, 0xbf597fc7, 0xc6e00bf3, 0xd5a79147,\n 0x06ca6351, 0x14292967, 0x27b70a85, 0x2e1b2138, 0x4d2c6dfc,\n 0x53380d13, 0x650a7354, 0x766a0abb, 0x81c2c92e, 0x92722c85,\n 0xa2bfe8a1, 0xa81a664b, 0xc24b8b70, 0xc76c51a3, 0xd192e819,\n 0xd6990624, 0xf40e3585, 0x106aa070, 0x19a4c116, 0x1e376c08,\n 0x2748774c, 0x34b0bcb5, 0x391c0cb3, 0x4ed8aa4a, 0x5b9cca4f,\n 0x682e6ff3, 0x748f82ee, 0x78a5636f, 0x84c87814, 0x8cc70208,\n 0x90befffa, 0xa4506ceb, 0xbef9a3f7, 0xc67178f2\n]);\nfunction hashBlocks(w, v, p, pos, len) {\n while (len >= 64) {\n var a = v[0];\n var b = v[1];\n var c = v[2];\n var d = v[3];\n var e = v[4];\n var f = v[5];\n var g = v[6];\n var h = v[7];\n for (var i = 0; i < 16; i++) {\n var j = pos + i * 4;\n w[i] = binary_1.readUint32BE(p, j);\n }\n for (var i = 16; i < 64; i++) {\n var u = w[i - 2];\n var t1 = (u >>> 17 | u << (32 - 17)) ^ (u >>> 19 | u << (32 - 19)) ^ (u >>> 10);\n u = w[i - 15];\n var t2 = (u >>> 7 | u << (32 - 7)) ^ (u >>> 18 | u << (32 - 18)) ^ (u >>> 3);\n w[i] = (t1 + w[i - 7] | 0) + (t2 + w[i - 16] | 0);\n }\n for (var i = 0; i < 64; i++) {\n var t1 = (((((e >>> 6 | e << (32 - 6)) ^ (e >>> 11 | e << (32 - 11)) ^\n (e >>> 25 | e << (32 - 25))) + ((e & f) ^ (~e & g))) | 0) +\n ((h + ((K[i] + w[i]) | 0)) | 0)) | 0;\n var t2 = (((a >>> 2 | a << (32 - 2)) ^ (a >>> 13 | a << (32 - 13)) ^\n (a >>> 22 | a << (32 - 22))) + ((a & b) ^ (a & c) ^ (b & c))) | 0;\n h = g;\n g = f;\n f = e;\n e = (d + t1) | 0;\n d = c;\n c = b;\n b = a;\n a = (t1 + t2) | 0;\n }\n v[0] += a;\n v[1] += b;\n v[2] += c;\n v[3] += d;\n v[4] += e;\n v[5] += f;\n v[6] += g;\n v[7] += h;\n pos += 64;\n len -= 64;\n }\n return pos;\n}\nfunction hash(data) {\n var h = new SHA256();\n h.update(data);\n var digest = h.digest();\n h.clean();\n return digest;\n}\nexports.hash = hash;\n//# sourceMappingURL=sha256.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/sha256/lib/sha256.js?");
/***/ }),
/***/ "./node_modules/@stablelib/wipe/lib/wipe.js":
/*!**************************************************!*\
!*** ./node_modules/@stablelib/wipe/lib/wipe.js ***!
\**************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\n/**\n * Sets all values in the given array to zero and returns it.\n *\n * The fact that it sets bytes to zero can be relied on.\n *\n * There is no guarantee that this function makes data disappear from memory,\n * as runtime implementation can, for example, have copying garbage collector\n * that will make copies of sensitive data before we wipe it. Or that an\n * operating system will write our data to swap or sleep image. Another thing\n * is that an optimizing compiler can remove calls to this function or make it\n * no-op. There's nothing we can do with it, so we just do our best and hope\n * that everything will be okay and good will triumph over evil.\n */\nfunction wipe(array) {\n // Right now it's similar to array.fill(0). If it turns\n // out that runtimes optimize this call away, maybe\n // we can try something else.\n for (var i = 0; i < array.length; i++) {\n array[i] = 0;\n }\n return array;\n}\nexports.wipe = wipe;\n//# sourceMappingURL=wipe.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/wipe/lib/wipe.js?");
/***/ }),
/***/ "./node_modules/@stablelib/x25519/lib/x25519.js":
/*!******************************************************!*\
!*** ./node_modules/@stablelib/x25519/lib/x25519.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\n// Copyright (C) 2016 Dmitry Chestnykh\n// MIT License. See LICENSE file for details.\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.sharedKey = exports.generateKeyPair = exports.generateKeyPairFromSeed = exports.scalarMultBase = exports.scalarMult = exports.SHARED_KEY_LENGTH = exports.SECRET_KEY_LENGTH = exports.PUBLIC_KEY_LENGTH = void 0;\n/**\n * Package x25519 implements X25519 key agreement.\n */\nconst random_1 = __webpack_require__(/*! @stablelib/random */ \"./node_modules/@stablelib/random/lib/random.js\");\nconst wipe_1 = __webpack_require__(/*! @stablelib/wipe */ \"./node_modules/@stablelib/wipe/lib/wipe.js\");\nexports.PUBLIC_KEY_LENGTH = 32;\nexports.SECRET_KEY_LENGTH = 32;\nexports.SHARED_KEY_LENGTH = 32;\n// Returns new zero-filled 16-element GF (Float64Array).\n// If passed an array of numbers, prefills the returned\n// array with them.\n//\n// We use Float64Array, because we need 48-bit numbers\n// for this implementation.\nfunction gf(init) {\n const r = new Float64Array(16);\n if (init) {\n for (let i = 0; i < init.length; i++) {\n r[i] = init[i];\n }\n }\n return r;\n}\n// Base point.\nconst _9 = new Uint8Array(32);\n_9[0] = 9;\nconst _121665 = gf([0xdb41, 1]);\nfunction car25519(o) {\n let c = 1;\n for (let i = 0; i < 16; i++) {\n let v = o[i] + c + 65535;\n c = Math.floor(v / 65536);\n o[i] = v - c * 65536;\n }\n o[0] += c - 1 + 37 * (c - 1);\n}\nfunction sel25519(p, q, b) {\n const c = ~(b - 1);\n for (let i = 0; i < 16; i++) {\n const t = c & (p[i] ^ q[i]);\n p[i] ^= t;\n q[i] ^= t;\n }\n}\nfunction pack25519(o, n) {\n const m = gf();\n const t = gf();\n for (let i = 0; i < 16; i++) {\n t[i] = n[i];\n }\n car25519(t);\n car25519(t);\n car25519(t);\n for (let j = 0; j < 2; j++) {\n m[0] = t[0] - 0xffed;\n for (let i = 1; i < 15; i++) {\n m[i] = t[i] - 0xffff - ((m[i - 1] >> 16) & 1);\n m[i - 1] &= 0xffff;\n }\n m[15] = t[15] - 0x7fff - ((m[14] >> 16) & 1);\n const b = (m[15] >> 16) & 1;\n m[14] &= 0xffff;\n sel25519(t, m, 1 - b);\n }\n for (let i = 0; i < 16; i++) {\n o[2 * i] = t[i] & 0xff;\n o[2 * i + 1] = t[i] >> 8;\n }\n}\nfunction unpack25519(o, n) {\n for (let i = 0; i < 16; i++) {\n o[i] = n[2 * i] + (n[2 * i + 1] << 8);\n }\n o[15] &= 0x7fff;\n}\nfunction add(o, a, b) {\n for (let i = 0; i < 16; i++) {\n o[i] = a[i] + b[i];\n }\n}\nfunction sub(o, a, b) {\n for (let i = 0; i < 16; i++) {\n o[i] = a[i] - b[i];\n }\n}\nfunction mul(o, a, b) {\n let v, c, t0 = 0, t1 = 0, t2 = 0, t3 = 0, t4 = 0, t5 = 0, t6 = 0, t7 = 0, t8 = 0, t9 = 0, t10 = 0, t11 = 0, t12 = 0, t13 = 0, t14 = 0, t15 = 0, t16 = 0, t17 = 0, t18 = 0, t19 = 0, t20 = 0, t21 = 0, t22 = 0, t23 = 0, t24 = 0, t25 = 0, t26 = 0, t27 = 0, t28 = 0, t29 = 0, t30 = 0, b0 = b[0], b1 = b[1], b2 = b[2], b3 = b[3], b4 = b[4], b5 = b[5], b6 = b[6], b7 = b[7], b8 = b[8], b9 = b[9], b10 = b[10], b11 = b[11], b12 = b[12], b13 = b[13], b14 = b[14], b15 = b[15];\n v = a[0];\n t0 += v * b0;\n t1 += v * b1;\n t2 += v * b2;\n t3 += v * b3;\n t4 += v * b4;\n t5 += v * b5;\n t6 += v * b6;\n t7 += v * b7;\n t8 += v * b8;\n t9 += v * b9;\n t10 += v * b10;\n t11 += v * b11;\n t12 += v * b12;\n t13 += v * b13;\n t14 += v * b14;\n t15 += v * b15;\n v = a[1];\n t1 += v * b0;\n t2 += v * b1;\n t3 += v * b2;\n t4 += v * b3;\n t5 += v * b4;\n t6 += v * b5;\n t7 += v * b6;\n t8 += v * b7;\n t9 += v * b8;\n t10 += v * b9;\n t11 += v * b10;\n t12 += v * b11;\n t13 += v * b12;\n t14 += v * b13;\n t15 += v * b14;\n t16 += v * b15;\n v = a[2];\n t2 += v * b0;\n t3 += v * b1;\n t4 += v * b2;\n t5 += v * b3;\n t6 += v * b4;\n t7 += v * b5;\n t8 += v * b6;\n t9 += v * b7;\n t10 += v * b8;\n t11 += v * b9;\n t12 += v * b10;\n t13 += v * b11;\n t14 += v * b12;\n t15 += v * b13;\n t16 += v * b14;\n t17 += v * b15;\n v = a[3];\n t3 += v * b0;\n t4 += v * b1;\n t5 += v * b2;\n t6 += v * b3;\n t7 += v * b4;\n t8 += v * b5;\n t9 += v * b6;\n t10 += v * b7;\n t11 += v * b8;\n t12 += v * b9;\n t13 += v * b10;\n t14 += v * b11;\n t15 += v * b12;\n t16 += v * b13;\n t17 += v * b14;\n t18 += v * b15;\n v = a[4];\n t4 += v * b0;\n t5 += v * b1;\n t6 += v * b2;\n t7 += v * b3;\n t8 += v * b4;\n t9 += v * b5;\n t10 += v * b6;\n t11 += v * b7;\n t12 += v * b8;\n t13 += v * b9;\n t14 += v * b10;\n t15 += v * b11;\n t16 += v * b12;\n t17 += v * b13;\n t18 += v * b14;\n t19 += v * b15;\n v = a[5];\n t5 += v * b0;\n t6 += v * b1;\n t7 += v * b2;\n t8 += v * b3;\n t9 += v * b4;\n t10 += v * b5;\n t11 += v * b6;\n t12 += v * b7;\n t13 += v * b8;\n t14 += v * b9;\n t15 += v * b10;\n t16 += v * b11;\n t17 += v * b12;\n t18 += v * b13;\n t19 += v * b14;\n t20 += v * b15;\n v = a[6];\n t6 += v * b0;\n t7 += v * b1;\n t8 += v * b2;\n t9 += v * b3;\n t10 += v * b4;\n t11 += v * b5;\n t12 += v * b6;\n t13 += v * b7;\n t14 += v * b8;\n t15 += v * b9;\n t16 += v * b10;\n t17 += v * b11;\n t18 += v * b12;\n t19 += v * b13;\n t20 += v * b14;\n t21 += v * b15;\n v = a[7];\n t7 += v * b0;\n t8 += v * b1;\n t9 += v * b2;\n t10 += v * b3;\n t11 += v * b4;\n t12 += v * b5;\n t13 += v * b6;\n t14 += v * b7;\n t15 += v * b8;\n t16 += v * b9;\n t17 += v * b10;\n t18 += v * b11;\n t19 += v * b12;\n t20 += v * b13;\n t21 += v * b14;\n t22 += v * b15;\n v = a[8];\n t8 += v * b0;\n t9 += v * b1;\n t10 += v * b2;\n t11 += v * b3;\n t12 += v * b4;\n t13 += v * b5;\n t14 += v * b6;\n t15 += v * b7;\n t16 += v * b8;\n t17 += v * b9;\n t18 += v * b10;\n t19 += v * b11;\n t20 += v * b12;\n t21 += v * b13;\n t22 += v * b14;\n t23 += v * b15;\n v = a[9];\n t9 += v * b0;\n t10 += v * b1;\n t11 += v * b2;\n t12 += v * b3;\n t13 += v * b4;\n t14 += v * b5;\n t15 += v * b6;\n t16 += v * b7;\n t17 += v * b8;\n t18 += v * b9;\n t19 += v * b10;\n t20 += v * b11;\n t21 += v * b12;\n t22 += v * b13;\n t23 += v * b14;\n t24 += v * b15;\n v = a[10];\n t10 += v * b0;\n t11 += v * b1;\n t12 += v * b2;\n t13 += v * b3;\n t14 += v * b4;\n t15 += v * b5;\n t16 += v * b6;\n t17 += v * b7;\n t18 += v * b8;\n t19 += v * b9;\n t20 += v * b10;\n t21 += v * b11;\n t22 += v * b12;\n t23 += v * b13;\n t24 += v * b14;\n t25 += v * b15;\n v = a[11];\n t11 += v * b0;\n t12 += v * b1;\n t13 += v * b2;\n t14 += v * b3;\n t15 += v * b4;\n t16 += v * b5;\n t17 += v * b6;\n t18 += v * b7;\n t19 += v * b8;\n t20 += v * b9;\n t21 += v * b10;\n t22 += v * b11;\n t23 += v * b12;\n t24 += v * b13;\n t25 += v * b14;\n t26 += v * b15;\n v = a[12];\n t12 += v * b0;\n t13 += v * b1;\n t14 += v * b2;\n t15 += v * b3;\n t16 += v * b4;\n t17 += v * b5;\n t18 += v * b6;\n t19 += v * b7;\n t20 += v * b8;\n t21 += v * b9;\n t22 += v * b10;\n t23 += v * b11;\n t24 += v * b12;\n t25 += v * b13;\n t26 += v * b14;\n t27 += v * b15;\n v = a[13];\n t13 += v * b0;\n t14 += v * b1;\n t15 += v * b2;\n t16 += v * b3;\n t17 += v * b4;\n t18 += v * b5;\n t19 += v * b6;\n t20 += v * b7;\n t21 += v * b8;\n t22 += v * b9;\n t23 += v * b10;\n t24 += v * b11;\n t25 += v * b12;\n t26 += v * b13;\n t27 += v * b14;\n t28 += v * b15;\n v = a[14];\n t14 += v * b0;\n t15 += v * b1;\n t16 += v * b2;\n t17 += v * b3;\n t18 += v * b4;\n t19 += v * b5;\n t20 += v * b6;\n t21 += v * b7;\n t22 += v * b8;\n t23 += v * b9;\n t24 += v * b10;\n t25 += v * b11;\n t26 += v * b12;\n t27 += v * b13;\n t28 += v * b14;\n t29 += v * b15;\n v = a[15];\n t15 += v * b0;\n t16 += v * b1;\n t17 += v * b2;\n t18 += v * b3;\n t19 += v * b4;\n t20 += v * b5;\n t21 += v * b6;\n t22 += v * b7;\n t23 += v * b8;\n t24 += v * b9;\n t25 += v * b10;\n t26 += v * b11;\n t27 += v * b12;\n t28 += v * b13;\n t29 += v * b14;\n t30 += v * b15;\n t0 += 38 * t16;\n t1 += 38 * t17;\n t2 += 38 * t18;\n t3 += 38 * t19;\n t4 += 38 * t20;\n t5 += 38 * t21;\n t6 += 38 * t22;\n t7 += 38 * t23;\n t8 += 38 * t24;\n t9 += 38 * t25;\n t10 += 38 * t26;\n t11 += 38 * t27;\n t12 += 38 * t28;\n t13 += 38 * t29;\n t14 += 38 * t30;\n // t15 left as is\n // first car\n c = 1;\n v = t0 + c + 65535;\n c = Math.floor(v / 65536);\n t0 = v - c * 65536;\n v = t1 + c + 65535;\n c = Math.floor(v / 65536);\n t1 = v - c * 65536;\n v = t2 + c + 65535;\n c = Math.floor(v / 65536);\n t2 = v - c * 65536;\n v = t3 + c + 65535;\n c = Math.floor(v / 65536);\n t3 = v - c * 65536;\n v = t4 + c + 65535;\n c = Math.floor(v / 65536);\n t4 = v - c * 65536;\n v = t5 + c + 65535;\n c = Math.floor(v / 65536);\n t5 = v - c * 65536;\n v = t6 + c + 65535;\n c = Math.floor(v / 65536);\n t6 = v - c * 65536;\n v = t7 + c + 65535;\n c = Math.floor(v / 65536);\n t7 = v - c * 65536;\n v = t8 + c + 65535;\n c = Math.floor(v / 65536);\n t8 = v - c * 65536;\n v = t9 + c + 65535;\n c = Math.floor(v / 65536);\n t9 = v - c * 65536;\n v = t10 + c + 65535;\n c = Math.floor(v / 65536);\n t10 = v - c * 65536;\n v = t11 + c + 65535;\n c = Math.floor(v / 65536);\n t11 = v - c * 65536;\n v = t12 + c + 65535;\n c = Math.floor(v / 65536);\n t12 = v - c * 65536;\n v = t13 + c + 65535;\n c = Math.floor(v / 65536);\n t13 = v - c * 65536;\n v = t14 + c + 65535;\n c = Math.floor(v / 65536);\n t14 = v - c * 65536;\n v = t15 + c + 65535;\n c = Math.floor(v / 65536);\n t15 = v - c * 65536;\n t0 += c - 1 + 37 * (c - 1);\n // second car\n c = 1;\n v = t0 + c + 65535;\n c = Math.floor(v / 65536);\n t0 = v - c * 65536;\n v = t1 + c + 65535;\n c = Math.floor(v / 65536);\n t1 = v - c * 65536;\n v = t2 + c + 65535;\n c = Math.floor(v / 65536);\n t2 = v - c * 65536;\n v = t3 + c + 65535;\n c = Math.floor(v / 65536);\n t3 = v - c * 65536;\n v = t4 + c + 65535;\n c = Math.floor(v / 65536);\n t4 = v - c * 65536;\n v = t5 + c + 65535;\n c = Math.floor(v / 65536);\n t5 = v - c * 65536;\n v = t6 + c + 65535;\n c = Math.floor(v / 65536);\n t6 = v - c * 65536;\n v = t7 + c + 65535;\n c = Math.floor(v / 65536);\n t7 = v - c * 65536;\n v = t8 + c + 65535;\n c = Math.floor(v / 65536);\n t8 = v - c * 65536;\n v = t9 + c + 65535;\n c = Math.floor(v / 65536);\n t9 = v - c * 65536;\n v = t10 + c + 65535;\n c = Math.floor(v / 65536);\n t10 = v - c * 65536;\n v = t11 + c + 65535;\n c = Math.floor(v / 65536);\n t11 = v - c * 65536;\n v = t12 + c + 65535;\n c = Math.floor(v / 65536);\n t12 = v - c * 65536;\n v = t13 + c + 65535;\n c = Math.floor(v / 65536);\n t13 = v - c * 65536;\n v = t14 + c + 65535;\n c = Math.floor(v / 65536);\n t14 = v - c * 65536;\n v = t15 + c + 65535;\n c = Math.floor(v / 65536);\n t15 = v - c * 65536;\n t0 += c - 1 + 37 * (c - 1);\n o[0] = t0;\n o[1] = t1;\n o[2] = t2;\n o[3] = t3;\n o[4] = t4;\n o[5] = t5;\n o[6] = t6;\n o[7] = t7;\n o[8] = t8;\n o[9] = t9;\n o[10] = t10;\n o[11] = t11;\n o[12] = t12;\n o[13] = t13;\n o[14] = t14;\n o[15] = t15;\n}\nfunction square(o, a) {\n mul(o, a, a);\n}\nfunction inv25519(o, inp) {\n const c = gf();\n for (let i = 0; i < 16; i++) {\n c[i] = inp[i];\n }\n for (let i = 253; i >= 0; i--) {\n square(c, c);\n if (i !== 2 && i !== 4) {\n mul(c, c, inp);\n }\n }\n for (let i = 0; i < 16; i++) {\n o[i] = c[i];\n }\n}\nfunction scalarMult(n, p) {\n const z = new Uint8Array(32);\n const x = new Float64Array(80);\n const a = gf(), b = gf(), c = gf(), d = gf(), e = gf(), f = gf();\n for (let i = 0; i < 31; i++) {\n z[i] = n[i];\n }\n z[31] = (n[31] & 127) | 64;\n z[0] &= 248;\n unpack25519(x, p);\n for (let i = 0; i < 16; i++) {\n b[i] = x[i];\n }\n a[0] = d[0] = 1;\n for (let i = 254; i >= 0; --i) {\n const r = (z[i >>> 3] >>> (i & 7)) & 1;\n sel25519(a, b, r);\n sel25519(c, d, r);\n add(e, a, c);\n sub(a, a, c);\n add(c, b, d);\n sub(b, b, d);\n square(d, e);\n square(f, a);\n mul(a, c, a);\n mul(c, b, e);\n add(e, a, c);\n sub(a, a, c);\n square(b, a);\n sub(c, d, f);\n mul(a, c, _121665);\n add(a, a, d);\n mul(c, c, a);\n mul(a, d, f);\n mul(d, b, x);\n square(b, e);\n sel25519(a, b, r);\n sel25519(c, d, r);\n }\n for (let i = 0; i < 16; i++) {\n x[i + 16] = a[i];\n x[i + 32] = c[i];\n x[i + 48] = b[i];\n x[i + 64] = d[i];\n }\n const x32 = x.subarray(32);\n const x16 = x.subarray(16);\n inv25519(x32, x32);\n mul(x16, x16, x32);\n const q = new Uint8Array(32);\n pack25519(q, x16);\n return q;\n}\nexports.scalarMult = scalarMult;\nfunction scalarMultBase(n) {\n return scalarMult(n, _9);\n}\nexports.scalarMultBase = scalarMultBase;\nfunction generateKeyPairFromSeed(seed) {\n if (seed.length !== exports.SECRET_KEY_LENGTH) {\n throw new Error(`x25519: seed must be ${exports.SECRET_KEY_LENGTH} bytes`);\n }\n const secretKey = new Uint8Array(seed);\n const publicKey = scalarMultBase(secretKey);\n return {\n publicKey,\n secretKey\n };\n}\nexports.generateKeyPairFromSeed = generateKeyPairFromSeed;\nfunction generateKeyPair(prng) {\n const seed = (0, random_1.randomBytes)(32, prng);\n const result = generateKeyPairFromSeed(seed);\n (0, wipe_1.wipe)(seed);\n return result;\n}\nexports.generateKeyPair = generateKeyPair;\n/**\n * Returns a shared key between our secret key and a peer's public key.\n *\n * Throws an error if the given keys are of wrong length.\n *\n * If rejectZero is true throws if the calculated shared key is all-zero.\n * From RFC 7748:\n *\n * > Protocol designers using Diffie-Hellman over the curves defined in\n * > this document must not assume \"contributory behavior\". Specially,\n * > contributory behavior means that both parties' private keys\n * > contribute to the resulting shared key. Since curve25519 and\n * > curve448 have cofactors of 8 and 4 (respectively), an input point of\n * > small order will eliminate any contribution from the other party's\n * > private key. This situation can be detected by checking for the all-\n * > zero output, which implementations MAY do, as specified in Section 6.\n * > However, a large number of existing implementations do not do this.\n *\n * IMPORTANT: the returned key is a raw result of scalar multiplication.\n * To use it as a key material, hash it with a cryptographic hash function.\n */\nfunction sharedKey(mySecretKey, theirPublicKey, rejectZero = false) {\n if (mySecretKey.length !== exports.PUBLIC_KEY_LENGTH) {\n throw new Error(\"X25519: incorrect secret key length\");\n }\n if (theirPublicKey.length !== exports.PUBLIC_KEY_LENGTH) {\n throw new Error(\"X25519: incorrect public key length\");\n }\n const result = scalarMult(mySecretKey, theirPublicKey);\n if (rejectZero) {\n let zeros = 0;\n for (let i = 0; i < result.length; i++) {\n zeros |= result[i];\n }\n if (zeros === 0) {\n throw new Error(\"X25519: invalid shared key\");\n }\n }\n return result;\n}\nexports.sharedKey = sharedKey;\n//# sourceMappingURL=x25519.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@stablelib/x25519/lib/x25519.js?");
/***/ }),
/***/ "./node_modules/@wagmi/connectors/node_modules/@walletconnect/utils/dist/index.es.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/@wagmi/connectors/node_modules/@walletconnect/utils/dist/index.es.js ***!
\*******************************************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BASE10: () => (/* binding */ J),\n/* harmony export */ BASE16: () => (/* binding */ p),\n/* harmony export */ BASE64: () => (/* binding */ x),\n/* harmony export */ COLON: () => (/* binding */ Gn),\n/* harmony export */ DEFAULT_DEPTH: () => (/* binding */ ne),\n/* harmony export */ EMPTY_SPACE: () => (/* binding */ H),\n/* harmony export */ ENV_MAP: () => (/* binding */ m),\n/* harmony export */ MemoryStore: () => (/* binding */ er),\n/* harmony export */ ONE_THOUSAND: () => (/* binding */ Wn),\n/* harmony export */ REACT_NATIVE_PRODUCT: () => (/* binding */ Ce),\n/* harmony export */ RELAYER_DEFAULT_PROTOCOL: () => (/* binding */ Fe),\n/* harmony export */ SDK_TYPE: () => (/* binding */ je),\n/* harmony export */ SLASH: () => (/* binding */ $e),\n/* harmony export */ TYPE_0: () => (/* binding */ Q),\n/* harmony export */ TYPE_1: () => (/* binding */ _),\n/* harmony export */ UTF8: () => (/* binding */ F),\n/* harmony export */ appendToQueryString: () => (/* binding */ De),\n/* harmony export */ assertType: () => (/* binding */ Zn),\n/* harmony export */ buildApprovedNamespaces: () => (/* binding */ Ut),\n/* harmony export */ calcExpiry: () => (/* binding */ lt),\n/* harmony export */ capitalize: () => (/* binding */ ot),\n/* harmony export */ capitalizeWord: () => (/* binding */ xe),\n/* harmony export */ createDelayedPromise: () => (/* binding */ st),\n/* harmony export */ createExpiringPromise: () => (/* binding */ it),\n/* harmony export */ decodeTypeByte: () => (/* binding */ $),\n/* harmony export */ decrypt: () => (/* binding */ Ln),\n/* harmony export */ deriveSymKey: () => (/* binding */ kn),\n/* harmony export */ deserialize: () => (/* binding */ ee),\n/* harmony export */ encodeTypeByte: () => (/* binding */ Pe),\n/* harmony export */ encrypt: () => (/* binding */ Kn),\n/* harmony export */ engineEvent: () => (/* binding */ ft),\n/* harmony export */ enumify: () => (/* binding */ rt),\n/* harmony export */ formatAccountId: () => (/* binding */ Ee),\n/* harmony export */ formatAccountWithChain: () => (/* binding */ Pn),\n/* harmony export */ formatChainId: () => (/* binding */ ge),\n/* harmony export */ formatExpirerTarget: () => (/* binding */ re),\n/* harmony export */ formatIdTarget: () => (/* binding */ at),\n/* harmony export */ formatMessage: () => (/* binding */ Cn),\n/* harmony export */ formatMessageContext: () => (/* binding */ Xn),\n/* harmony export */ formatRelayParams: () => (/* binding */ We),\n/* harmony export */ formatRelayRpcUrl: () => (/* binding */ Jn),\n/* harmony export */ formatTopicTarget: () => (/* binding */ ct),\n/* harmony export */ formatUA: () => (/* binding */ Me),\n/* harmony export */ formatUri: () => (/* binding */ Nt),\n/* harmony export */ generateKeyPair: () => (/* binding */ jn),\n/* harmony export */ generateRandomBytes32: () => (/* binding */ Dn),\n/* harmony export */ getAccountsChains: () => (/* binding */ A),\n/* harmony export */ getAccountsFromNamespaces: () => (/* binding */ Rn),\n/* harmony export */ getAddressFromAccount: () => (/* binding */ be),\n/* harmony export */ getAddressesFromAccounts: () => (/* binding */ Tn),\n/* harmony export */ getAppMetadata: () => (/* binding */ zn),\n/* harmony export */ getBrowserOnlineStatus: () => (/* binding */ dn),\n/* harmony export */ getChainFromAccount: () => (/* binding */ Ne),\n/* harmony export */ getChainsFromAccounts: () => (/* binding */ Oe),\n/* harmony export */ getChainsFromNamespace: () => (/* binding */ K),\n/* harmony export */ getChainsFromNamespaces: () => (/* binding */ An),\n/* harmony export */ getChainsFromRequiredNamespaces: () => (/* binding */ Un),\n/* harmony export */ getDidAddress: () => (/* binding */ we),\n/* harmony export */ getDidAddressSegments: () => (/* binding */ L),\n/* harmony export */ getDidChainId: () => (/* binding */ Se),\n/* harmony export */ getEnvironment: () => (/* binding */ R),\n/* harmony export */ getHttpUrl: () => (/* binding */ Qn),\n/* harmony export */ getInternalError: () => (/* binding */ N),\n/* harmony export */ getJavascriptID: () => (/* binding */ Ve),\n/* harmony export */ getJavascriptOS: () => (/* binding */ ke),\n/* harmony export */ getLastItems: () => (/* binding */ Le),\n/* harmony export */ getNamespacedDidChainId: () => (/* binding */ _n),\n/* harmony export */ getNamespacesChains: () => (/* binding */ Je),\n/* harmony export */ getNamespacesEventsForChainId: () => (/* binding */ Ze),\n/* harmony export */ getNamespacesMethodsForChainId: () => (/* binding */ Qe),\n/* harmony export */ getNodeOnlineStatus: () => (/* binding */ pn),\n/* harmony export */ getReactNativeOnlineStatus: () => (/* binding */ fn),\n/* harmony export */ getRelayClientMetadata: () => (/* binding */ Yn),\n/* harmony export */ getRelayProtocolApi: () => (/* binding */ yt),\n/* harmony export */ getRelayProtocolName: () => (/* binding */ mt),\n/* harmony export */ getRequiredNamespacesFromNamespaces: () => (/* binding */ At),\n/* harmony export */ getSdkError: () => (/* binding */ U),\n/* harmony export */ getUniqueValues: () => (/* binding */ Y),\n/* harmony export */ handleDeeplinkRedirect: () => (/* binding */ pt),\n/* harmony export */ hasOverlap: () => (/* binding */ O),\n/* harmony export */ hashKey: () => (/* binding */ Vn),\n/* harmony export */ hashMessage: () => (/* binding */ Mn),\n/* harmony export */ isBrowser: () => (/* binding */ q),\n/* harmony export */ isCaipNamespace: () => (/* binding */ oe),\n/* harmony export */ isConformingNamespaces: () => (/* binding */ un),\n/* harmony export */ isExpired: () => (/* binding */ dt),\n/* harmony export */ isNode: () => (/* binding */ te),\n/* harmony export */ isOnline: () => (/* binding */ Zt),\n/* harmony export */ isProposalStruct: () => (/* binding */ Dt),\n/* harmony export */ isReactNative: () => (/* binding */ j),\n/* harmony export */ isSessionCompatible: () => (/* binding */ $t),\n/* harmony export */ isSessionStruct: () => (/* binding */ kt),\n/* harmony export */ isTypeOneEnvelope: () => (/* binding */ Fn),\n/* harmony export */ isUndefined: () => (/* binding */ w),\n/* harmony export */ isValidAccountId: () => (/* binding */ en),\n/* harmony export */ isValidAccounts: () => (/* binding */ rn),\n/* harmony export */ isValidActions: () => (/* binding */ sn),\n/* harmony export */ isValidArray: () => (/* binding */ D),\n/* harmony export */ isValidChainId: () => (/* binding */ k),\n/* harmony export */ isValidChains: () => (/* binding */ nn),\n/* harmony export */ isValidController: () => (/* binding */ Vt),\n/* harmony export */ isValidErrorReason: () => (/* binding */ Ft),\n/* harmony export */ isValidEvent: () => (/* binding */ Bt),\n/* harmony export */ isValidId: () => (/* binding */ Lt),\n/* harmony export */ isValidNamespaceAccounts: () => (/* binding */ on),\n/* harmony export */ isValidNamespaceActions: () => (/* binding */ ce),\n/* harmony export */ isValidNamespaceChains: () => (/* binding */ tn),\n/* harmony export */ isValidNamespaceMethodsOrEvents: () => (/* binding */ ie),\n/* harmony export */ isValidNamespaces: () => (/* binding */ cn),\n/* harmony export */ isValidNamespacesChainId: () => (/* binding */ Gt),\n/* harmony export */ isValidNamespacesEvent: () => (/* binding */ zt),\n/* harmony export */ isValidNamespacesRequest: () => (/* binding */ Wt),\n/* harmony export */ isValidNumber: () => (/* binding */ G),\n/* harmony export */ isValidObject: () => (/* binding */ B),\n/* harmony export */ isValidParams: () => (/* binding */ xt),\n/* harmony export */ isValidRelay: () => (/* binding */ an),\n/* harmony export */ isValidRelays: () => (/* binding */ Kt),\n/* harmony export */ isValidRequest: () => (/* binding */ Ht),\n/* harmony export */ isValidRequestExpiry: () => (/* binding */ Qt),\n/* harmony export */ isValidRequiredNamespaces: () => (/* binding */ Mt),\n/* harmony export */ isValidResponse: () => (/* binding */ qt),\n/* harmony export */ isValidString: () => (/* binding */ h),\n/* harmony export */ isValidUrl: () => (/* binding */ jt),\n/* harmony export */ mapEntries: () => (/* binding */ tt),\n/* harmony export */ mapToObj: () => (/* binding */ et),\n/* harmony export */ mergeArrays: () => (/* binding */ S),\n/* harmony export */ normalizeNamespaces: () => (/* binding */ se),\n/* harmony export */ objToMap: () => (/* binding */ nt),\n/* harmony export */ parseAccountId: () => (/* binding */ z),\n/* harmony export */ parseChainId: () => (/* binding */ ve),\n/* harmony export */ parseContextNames: () => (/* binding */ Ke),\n/* harmony export */ parseExpirerTarget: () => (/* binding */ ut),\n/* harmony export */ parseNamespaceKey: () => (/* binding */ Xe),\n/* harmony export */ parseRelayParams: () => (/* binding */ Be),\n/* harmony export */ parseTopic: () => (/* binding */ Ge),\n/* harmony export */ parseUri: () => (/* binding */ bt),\n/* harmony export */ serialize: () => (/* binding */ Te),\n/* harmony export */ subscribeToBrowserNetworkChange: () => (/* binding */ mn),\n/* harmony export */ subscribeToNetworkChange: () => (/* binding */ Xt),\n/* harmony export */ subscribeToReactNativeNetworkChange: () => (/* binding */ yn),\n/* harmony export */ validateDecoding: () => (/* binding */ xn),\n/* harmony export */ validateEncoding: () => (/* binding */ Re)\n/* harmony export */ });\n/* harmony import */ var _stablelib_chacha20poly1305__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @stablelib/chacha20poly1305 */ \"./node_modules/@stablelib/chacha20poly1305/lib/chacha20poly1305.js\");\n/* harmony import */ var _stablelib_hkdf__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @stablelib/hkdf */ \"./node_modules/@stablelib/hkdf/lib/hkdf.js\");\n/* harmony import */ var _stablelib_random__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @stablelib/random */ \"./node_modules/@stablelib/random/lib/random.js\");\n/* harmony import */ var _stablelib_sha256__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @stablelib/sha256 */ \"./node_modules/@stablelib/sha256/lib/sha256.js\");\n/* harmony import */ var _stablelib_x25519__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @stablelib/x25519 */ \"./node_modules/@stablelib/x25519/lib/x25519.js\");\n/* harmony import */ var uint8arrays__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! uint8arrays */ \"./node_modules/uint8arrays/esm/src/index.js\");\n/* harmony import */ var detect_browser__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! detect-browser */ \"./node_modules/detect-browser/es/index.js\");\n/* harmony import */ var _walletconnect_time__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @walletconnect/time */ \"./node_modules/@walletconnect/time/dist/cjs/index.js\");\n/* harmony import */ var _walletconnect_time__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_walletconnect_time__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var _walletconnect_window_getters__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @walletconnect/window-getters */ \"./node_modules/@walletconnect/window-getters/dist/cjs/index.js\");\n/* harmony import */ var _walletconnect_window_metadata__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @walletconnect/window-metadata */ \"./node_modules/@walletconnect/window-metadata/dist/cjs/index.js\");\n/* harmony import */ var query_string__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! query-string */ \"./node_modules/query-string/index.js\");\n/* harmony import */ var _walletconnect_relay_api__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! @walletconnect/relay-api */ \"./node_modules/@walletconnect/relay-api/dist/esm/index.js\");\nconst M=\":\";function ve(e){const[n,t]=e.split(M);return{namespace:n,reference:t}}function ge(e){const{namespace:n,reference:t}=e;return[n,t].join(M)}function z(e){const[n,t,r]=e.split(M);return{namespace:n,reference:t,address:r}}function Ee(e){const{namespace:n,reference:t,address:r}=e;return[n,t,r].join(M)}function Y(e,n){const t=[];return e.forEach(r=>{const o=n(r);t.includes(o)||t.push(o)}),t}function be(e){const{address:n}=z(e);return n}function Ne(e){const{namespace:n,reference:t}=z(e);return ge({namespace:n,reference:t})}function Pn(e,n){const{namespace:t,reference:r}=ve(n);return Ee({namespace:t,reference:r,address:e})}function Tn(e){return Y(e,be)}function Oe(e){return Y(e,Ne)}function Rn(e,n=[]){const t=[];return Object.keys(e).forEach(r=>{if(n.length&&!n.includes(r))return;const o=e[r];t.push(...o.accounts)}),t}function An(e,n=[]){const t=[];return Object.keys(e).forEach(r=>{if(n.length&&!n.includes(r))return;const o=e[r];t.push(...Oe(o.accounts))}),t}function Un(e,n=[]){const t=[];return Object.keys(e).forEach(r=>{if(n.length&&!n.includes(r))return;const o=e[r];t.push(...K(r,o))}),t}function K(e,n){return e.includes(\":\")?[e]:n.chains||[]}const L=e=>e?.split(\":\"),Se=e=>{const n=e&&L(e);if(n)return n[3]},_n=e=>{const n=e&&L(e);if(n)return n[2]+\":\"+n[3]},we=e=>{const n=e&&L(e);if(n)return n.pop()},Cn=(e,n)=>{const t=`${e.domain} wants you to sign in with your Ethereum account:`,r=we(n),o=e.statement,s=`URI: ${e.aud}`,i=`Version: ${e.version}`,l=`Chain ID: ${Se(n)}`,d=`Nonce: ${e.nonce}`,c=`Issued At: ${e.iat}`,u=e.resources&&e.resources.length>0?`Resources:\n${e.resources.map(a=>`- ${a}`).join(`\n`)}`:void 0;return[t,r,\"\",o,\"\",s,i,l,d,c,u].filter(a=>a!=null).join(`\n`)},J=\"base10\",p=\"base16\",x=\"base64pad\",F=\"utf8\",Q=0,_=1,$n=0,Ie=1,Z=12,X=32;function jn(){const e=_stablelib_x25519__WEBPACK_IMPORTED_MODULE_4__.generateKeyPair();return{privateKey:(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(e.secretKey,p),publicKey:(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(e.publicKey,p)}}function Dn(){const e=(0,_stablelib_random__WEBPACK_IMPORTED_MODULE_2__.randomBytes)(X);return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(e,p)}function kn(e,n){const t=_stablelib_x25519__WEBPACK_IMPORTED_MODULE_4__.sharedKey((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e,p),(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(n,p),!0),r=new _stablelib_hkdf__WEBPACK_IMPORTED_MODULE_1__.HKDF(_stablelib_sha256__WEBPACK_IMPORTED_MODULE_3__.SHA256,t).expand(X);return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(r,p)}function Vn(e){const n=(0,_stablelib_sha256__WEBPACK_IMPORTED_MODULE_3__.hash)((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e,p));return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(n,p)}function Mn(e){const n=(0,_stablelib_sha256__WEBPACK_IMPORTED_MODULE_3__.hash)((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e,F));return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(n,p)}function Pe(e){return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(`${e}`,J)}function $(e){return Number((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(e,J))}function Kn(e){const n=Pe(typeof e.type<\"u\"?e.type:Q);if($(n)===_&&typeof e.senderPublicKey>\"u\")throw new Error(\"Missing sender public key for type 1 envelope\");const t=typeof e.senderPublicKey<\"u\"?(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e.senderPublicKey,p):void 0,r=typeof e.iv<\"u\"?(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e.iv,p):(0,_stablelib_random__WEBPACK_IMPORTED_MODULE_2__.randomBytes)(Z),o=new _stablelib_chacha20poly1305__WEBPACK_IMPORTED_MODULE_0__.ChaCha20Poly1305((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e.symKey,p)).seal(r,(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e.message,F));return Te({type:n,sealed:o,iv:r,senderPublicKey:t})}function Ln(e){const n=new _stablelib_chacha20poly1305__WEBPACK_IMPORTED_MODULE_0__.ChaCha20Poly1305((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e.symKey,p)),{sealed:t,iv:r}=ee(e.encoded),o=n.open(r,t);if(o===null)throw new Error(\"Failed to decrypt\");return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(o,F)}function Te(e){if($(e.type)===_){if(typeof e.senderPublicKey>\"u\")throw new Error(\"Missing sender public key for type 1 envelope\");return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.concat)([e.type,e.senderPublicKey,e.iv,e.sealed]),x)}return (0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)((0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.concat)([e.type,e.iv,e.sealed]),x)}function ee(e){const n=(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.fromString)(e,x),t=n.slice($n,Ie),r=Ie;if($(t)===_){const l=r+X,d=l+Z,c=n.slice(r,l),u=n.slice(l,d),a=n.slice(d);return{type:t,sealed:a,iv:u,senderPublicKey:c}}const o=r+Z,s=n.slice(r,o),i=n.slice(o);return{type:t,sealed:i,iv:s}}function xn(e,n){const t=ee(e);return Re({type:$(t.type),senderPublicKey:typeof t.senderPublicKey<\"u\"?(0,uint8arrays__WEBPACK_IMPORTED_MODULE_5__.toString)(t.senderPublicKey,p):void 0,receiverPublicKey:n?.receiverPublicKey})}function Re(e){const n=e?.type||Q;if(n===_){if(typeof e?.senderPublicKey>\"u\")throw new Error(\"missing sender public key\");if(typeof e?.receiverPublicKey>\"u\")throw new Error(\"missing receiver public key\")}return{type:n,senderPublicKey:e?.senderPublicKey,receiverPublicKey:e?.receiverPublicKey}}function Fn(e){return e.type===_&&typeof e.senderPublicKey==\"string\"&&typeof e.receiverPublicKey==\"string\"}var Hn=Object.defineProperty,Ae=Object.getOwnPropertySymbols,qn=Object.prototype.hasOwnProperty,Bn=Object.prototype.propertyIsEnumerable,Ue=(e,n,t)=>n in e?Hn(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,_e=(e,n)=>{for(var t in n||(n={}))qn.call(n,t)&&Ue(e,t,n[t]);if(Ae)for(var t of Ae(n))Bn.call(n,t)&&Ue(e,t,n[t]);return e};const Ce=\"ReactNative\",m={reactNative:\"react-native\",node:\"node\",browser:\"browser\",unknown:\"unknown\"},H=\" \",Gn=\":\",$e=\"/\",ne=2,Wn=1e3,je=\"js\";function te(){return typeof process<\"u\"&&typeof process.versions<\"u\"&&typeof process.versions.node<\"u\"}function j(){return!(0,_walletconnect_window_getters__WEBPACK_IMPORTED_MODULE_7__.getDocument)()&&!!(0,_walletconnect_window_getters__WEBPACK_IMPORTED_MODULE_7__.getNavigator)()&&navigator.product===Ce}function q(){return!te()&&!!(0,_walletconnect_window_getters__WEBPACK_IMPORTED_MODULE_7__.getNavigator)()}function R(){return j()?m.reactNative:te()?m.node:q()?m.browser:m.unknown}function De(e,n){let t=query_string__WEBPACK_IMPORTED_MODULE_9__.parse(e);return t=_e(_e({},t),n),e=query_string__WEBPACK_IMPORTED_MODULE_9__.stringify(t),e}function zn(){return (0,_walletconnect_window_metadata__WEBPACK_IMPORTED_MODULE_8__.getWindowMetadata)()||{name:\"\",description:\"\",url:\"\",icons:[\"\"]}}function Yn(e,n){var t;const r=R(),o={protocol:e,version:n,env:r};return r===\"browser\"&&(o.host=((t=(0,_walletconnect_window_getters__WEBPACK_IMPORTED_MODULE_7__.getLocation)())==null?void 0:t.host)||\"unknown\"),o}function ke(){if(R()===m.reactNative&&typeof __webpack_require__.g<\"u\"&&typeof(__webpack_require__.g==null?void 0:__webpack_require__.g.Platform)<\"u\"){const{OS:t,Version:r}=__webpack_require__.g.Platform;return[t,r].join(\"-\")}const e=(0,detect_browser__WEBPACK_IMPORTED_MODULE_11__.detect)();if(e===null)return\"unknown\";const n=e.os?e.os.replace(\" \",\"\").toLowerCase():\"unknown\";return e.type===\"browser\"?[n,e.name,e.version].join(\"-\"):[n,e.version].join(\"-\")}function Ve(){var e;const n=R();return n===m.browser?[n,((e=(0,_walletconnect_window_getters__WEBPACK_IMPORTED_MODULE_7__.getLocation)())==null?void 0:e.host)||\"unknown\"].join(\":\"):n}function Me(e,n,t){const r=ke(),o=Ve();return[[e,n].join(\"-\"),[je,t].join(\"-\"),r,o].join(\"/\")}function Jn({protocol:e,version:n,relayUrl:t,sdkVersion:r,auth:o,projectId:s,useOnCloseEvent:i}){const l=t.split(\"?\"),d=Me(e,n,r),c={auth:o,ua:d,projectId:s,useOnCloseEvent:i||void 0},u=De(l[1]||\"\",c);return l[0]+\"?\"+u}function Qn(e){let n=(e.match(/^[^:]+(?=:\\/\\/)/gi)||[])[0];const t=typeof n<\"u\"?e.split(\"://\")[1]:e;return n=n===\"wss\"?\"https\":\"http\",[n,t].join(\"://\")}function Zn(e,n,t){if(!e[n]||typeof e[n]!==t)throw new Error(`Missing or invalid \"${n}\" param`)}function Ke(e,n=ne){return Le(e.split($e),n)}function Xn(e){return Ke(e).join(H)}function O(e,n){return e.filter(t=>n.includes(t)).length===e.length}function Le(e,n=ne){return e.slice(Math.max(e.length-n,0))}function et(e){return Object.fromEntries(e.entries())}function nt(e){return new Map(Object.entries(e))}function tt(e,n){const t={};return Object.keys(e).forEach(r=>{t[r]=n(e[r])}),t}const rt=e=>e;function xe(e){return e.trim().replace(/^\\w/,n=>n.toUpperCase())}function ot(e){return e.split(H).map(n=>xe(n)).join(H)}function st(e=_walletconnect_time__WEBPACK_IMPORTED_MODULE_6__.FIVE_MINUTES,n){const t=(0,_walletconnect_time__WEBPACK_IMPORTED_MODULE_6__.toMiliseconds)(e||_walletconnect_time__WEBPACK_IMPORTED_MODULE_6__.FIVE_MINUTES);let r,o,s;return{resolve:i=>{s&&r&&(clearTimeout(s),r(i))},reject:i=>{s&&o&&(clearTimeout(s),o(i))},done:()=>new Promise((i,l)=>{s=setTimeout(()=>{l(new Error(n))},t),r=i,o=l})}}function it(e,n,t){return new Promise(async(r,o)=>{const s=setTimeout(()=>o(new Error(t)),n);try{const i=await e;r(i)}catch(i){o(i)}clearTimeout(s)})}function re(e,n){if(typeof n==\"string\"&&n.startsWith(`${e}:`))return n;if(e.toLowerCase()===\"topic\"){if(typeof n!=\"string\")throw new Error('Value must be \"string\" for expirer target type: topic');return`topic:${n}`}else if(e.toLowerCase()===\"id\"){if(typeof n!=\"number\")throw new Error('Value must be \"number\" for expirer target type: id');return`id:${n}`}throw new Error(`Unknown expirer target type: ${e}`)}function ct(e){return re(\"topic\",e)}function at(e){return re(\"id\",e)}function ut(e){const[n,t]=e.split(\":\"),r={id:void 0,topic:void 0};if(n===\"topic\"&&typeof t==\"string\")r.topic=t;else if(n===\"id\"&&Number.isInteger(Number(t)))r.id=Number(t);else throw new Error(`Invalid target, expected id:number or topic:string, got ${n}:${t}`);return r}function lt(e,n){return (0,_walletconnect_time__WEBPACK_IMPORTED_MODULE_6__.fromMiliseconds)((n||Date.now())+(0,_walletconnect_time__WEBPACK_IMPORTED_MODULE_6__.toMiliseconds)(e))}function dt(e){return Date.now()>=(0,_walletconnect_time__WEBPACK_IMPORTED_MODULE_6__.toMiliseconds)(e)}function ft(e,n){return`${e}${n?`:${n}`:\"\"}`}function S(e=[],n=[]){return[...new Set([...e,...n])]}async function pt({id:e,topic:n,wcDeepLink:t}){try{if(!t)return;const r=typeof t==\"string\"?JSON.parse(t):t;let o=r?.href;if(typeof o!=\"string\")return;o.endsWith(\"/\")&&(o=o.slice(0,-1));const s=`${o}/wc?requestId=${e}&sessionTopic=${n}`,i=R();i===m.browser?s.startsWith(\"https://\")?window.open(s,\"_blank\",\"noreferrer noopener\"):window.open(s,\"_self\",\"noreferrer noopener\"):i===m.reactNative&&typeof(__webpack_require__.g==null?void 0:__webpack_require__.g.Linking)<\"u\"&&await __webpack_require__.g.Linking.openURL(s)}catch(r){console.error(r)}}const Fe=\"irn\";function mt(e){return e?.relay||{protocol:Fe}}function yt(e){const n=_walletconnect_relay_api__WEBPACK_IMPORTED_MODULE_10__.RELAY_JSONRPC[e];if(typeof n>\"u\")throw new Error(`Relay Protocol not supported: ${e}`);return n}var ht=Object.defineProperty,He=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,qe=(e,n,t)=>n in e?ht(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Et=(e,n)=>{for(var t in n||(n={}))vt.call(n,t)&&qe(e,t,n[t]);if(He)for(var t of He(n))gt.call(n,t)&&qe(e,t,n[t]);return e};function Be(e,n=\"-\"){const t={},r=\"relay\"+n;return Object.keys(e).forEach(o=>{if(o.startsWith(r)){const s=o.replace(r,\"\"),i=e[o];t[s]=i}}),t}function bt(e){const n=e.indexOf(\":\"),t=e.indexOf(\"?\")!==-1?e.indexOf(\"?\"):void 0,r=e.substring(0,n),o=e.substring(n+1,t).split(\"@\"),s=typeof t<\"u\"?e.substring(t):\"\",i=query_string__WEBPACK_IMPORTED_MODULE_9__.parse(s);return{protocol:r,topic:Ge(o[0]),version:parseInt(o[1],10),symKey:i.symKey,relay:Be(i)}}function Ge(e){return e.startsWith(\"//\")?e.substring(2):e}function We(e,n=\"-\"){const t=\"relay\",r={};return Object.keys(e).forEach(o=>{const s=t+n+o;e[o]&&(r[s]=e[o])}),r}function Nt(e){return`${e.protocol}:${e.topic}@${e.version}?`+query_string__WEBPACK_IMPORTED_MODULE_9__.stringify(Et({symKey:e.symKey},We(e.relay)))}var Ot=Object.defineProperty,St=Object.defineProperties,wt=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,It=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,Ye=(e,n,t)=>n in e?Ot(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Tt=(e,n)=>{for(var t in n||(n={}))It.call(n,t)&&Ye(e,t,n[t]);if(ze)for(var t of ze(n))Pt.call(n,t)&&Ye(e,t,n[t]);return e},Rt=(e,n)=>St(e,wt(n));function A(e){const n=[];return e.forEach(t=>{const[r,o]=t.split(\":\");n.push(`${r}:${o}`)}),n}function Je(e){const n=[];return Object.values(e).forEach(t=>{n.push(...A(t.accounts))}),n}function Qe(e,n){const t=[];return Object.values(e).forEach(r=>{A(r.accounts).includes(n)&&t.push(...r.methods)}),t}function Ze(e,n){const t=[];return Object.values(e).forEach(r=>{A(r.accounts).includes(n)&&t.push(...r.events)}),t}function At(e,n){const t=cn(e,n);if(t)throw new Error(t.message);const r={};for(const[o,s]of Object.entries(e))r[o]={methods:s.methods,events:s.events,chains:s.accounts.map(i=>`${i.split(\":\")[0]}:${i.split(\":\")[1]}`)};return r}function Ut(e){const{proposal:{requiredNamespaces:n,optionalNamespaces:t={}},supportedNamespaces:r}=e,o=se(n),s=se(t),i={};Object.keys(r).forEach(c=>{const u=r[c].chains,a=r[c].methods,b=r[c].events,I=r[c].accounts;u.forEach(y=>{if(!I.some(f=>f.includes(y)))throw new Error(`No accounts provided for chain ${y} in namespace ${c}`)}),i[c]={chains:u,methods:a,events:b,accounts:I}});const l=un(n,i,\"approve()\");if(l)throw new Error(l.message);const d={};return!Object.keys(n).length&&!Object.keys(t).length?i:(Object.keys(o).forEach(c=>{const u=r[c].chains.filter(y=>{var f,v;return(v=(f=o[c])==null?void 0:f.chains)==null?void 0:v.includes(y)}),a=r[c].methods.filter(y=>{var f,v;return(v=(f=o[c])==null?void 0:f.methods)==null?void 0:v.includes(y)}),b=r[c].events.filter(y=>{var f,v;return(v=(f=o[c])==null?void 0:f.events)==null?void 0:v.includes(y)}),I=u.map(y=>r[c].accounts.filter(f=>f.includes(`${y}:`))).flat();d[c]={chains:u,methods:a,events:b,accounts:I}}),Object.keys(s).forEach(c=>{var u,a,b,I,y,f;if(!r[c])return;const v=(a=(u=s[c])==null?void 0:u.chains)==null?void 0:a.filter(P=>r[c].chains.includes(P)),hn=r[c].methods.filter(P=>{var T,C;return(C=(T=s[c])==null?void 0:T.methods)==null?void 0:C.includes(P)}),vn=r[c].events.filter(P=>{var T,C;return(C=(T=s[c])==null?void 0:T.events)==null?void 0:C.includes(P)}),gn=v?.map(P=>r[c].accounts.filter(T=>T.includes(`${P}:`))).flat();d[c]={chains:S((b=d[c])==null?void 0:b.chains,v),methods:S((I=d[c])==null?void 0:I.methods,hn),events:S((y=d[c])==null?void 0:y.events,vn),accounts:S((f=d[c])==null?void 0:f.accounts,gn)}}),d)}function oe(e){return e.includes(\":\")}function Xe(e){return oe(e)?e.split(\":\")[0]:e}function se(e){var n,t,r;const o={};if(!B(e))return o;for(const[s,i]of Object.entries(e)){const l=oe(s)?[s]:i.chains,d=i.methods||[],c=i.events||[],u=Xe(s);o[u]=Rt(Tt({},o[u]),{chains:S(l,(n=o[u])==null?void 0:n.chains),methods:S(d,(t=o[u])==null?void 0:t.methods),events:S(c,(r=o[u])==null?void 0:r.events)})}return o}const _t={INVALID_METHOD:{message:\"Invalid method.\",code:1001},INVALID_EVENT:{message:\"Invalid event.\",code:1002},INVALID_UPDATE_REQUEST:{message:\"Invalid update request.\",code:1003},INVALID_EXTEND_REQUEST:{message:\"Invalid extend request.\",code:1004},INVALID_SESSION_SETTLE_REQUEST:{message:\"Invalid session settle request.\",code:1005},UNAUTHORIZED_METHOD:{message:\"Unauthorized method.\",code:3001},UNAUTHORIZED_EVENT:{message:\"Unauthorized event.\",code:3002},UNAUTHORIZED_UPDATE_REQUEST:{message:\"Unauthorized update request.\",code:3003},UNAUTHORIZED_EXTEND_REQUEST:{message:\"Unauthorized extend request.\",code:3004},USER_REJECTED:{message:\"User rejected.\",code:5e3},USER_REJECTED_CHAINS:{message:\"User rejected chains.\",code:5001},USER_REJECTED_METHODS:{message:\"User rejected methods.\",code:5002},USER_REJECTED_EVENTS:{message:\"User rejected events.\",code:5003},UNSUPPORTED_CHAINS:{message:\"Unsupported chains.\",code:5100},UNSUPPORTED_METHODS:{message:\"Unsupported methods.\",code:5101},UNSUPPORTED_EVENTS:{message:\"Unsupported events.\",code:5102},UNSUPPORTED_ACCOUNTS:{message:\"Unsupported accounts.\",code:5103},UNSUPPORTED_NAMESPACE_KEY:{message:\"Unsupported namespace key.\",code:5104},USER_DISCONNECTED:{message:\"User disconnected.\",code:6e3},SESSION_SETTLEMENT_FAILED:{message:\"Session settlement failed.\",code:7e3},WC_METHOD_UNSUPPORTED:{message:\"Unsupported wc_ method.\",code:10001}},Ct={NOT_INITIALIZED:{message:\"Not initialized.\",code:1},NO_MATCHING_KEY:{message:\"No matching key.\",code:2},RESTORE_WILL_OVERRIDE:{message:\"Restore will override.\",code:3},RESUBSCRIBED:{message:\"Resubscribed.\",code:4},MISSING_OR_INVALID:{message:\"Missing or invalid.\",code:5},EXPIRED:{message:\"Expired.\",code:6},UNKNOWN_TYPE:{message:\"Unknown type.\",code:7},MISMATCHED_TOPIC:{message:\"Mismatched topic.\",code:8},NON_CONFORMING_NAMESPACES:{message:\"Non conforming namespaces.\",code:9}};function N(e,n){const{message:t,code:r}=Ct[e];return{message:n?`${t} ${n}`:t,code:r}}function U(e,n){const{message:t,code:r}=_t[e];return{message:n?`${t} ${n}`:t,code:r}}function D(e,n){return Array.isArray(e)?typeof n<\"u\"&&e.length?e.every(n):!0:!1}function B(e){return Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).length}function w(e){return typeof e>\"u\"}function h(e,n){return n&&w(e)?!0:typeof e==\"string\"&&!!e.trim().length}function G(e,n){return n&&w(e)?!0:typeof e==\"number\"&&!isNaN(e)}function $t(e,n){const{requiredNamespaces:t}=n,r=Object.keys(e.namespaces),o=Object.keys(t);let s=!0;return O(o,r)?(r.forEach(i=>{const{accounts:l,methods:d,events:c}=e.namespaces[i],u=A(l),a=t[i];(!O(K(i,a),u)||!O(a.methods,d)||!O(a.events,c))&&(s=!1)}),s):!1}function k(e){return h(e,!1)&&e.includes(\":\")?e.split(\":\").length===2:!1}function en(e){if(h(e,!1)&&e.includes(\":\")){const n=e.split(\":\");if(n.length===3){const t=n[0]+\":\"+n[1];return!!n[2]&&k(t)}}return!1}function jt(e){if(h(e,!1))try{return typeof new URL(e)<\"u\"}catch{return!1}return!1}function Dt(e){var n;return(n=e?.proposer)==null?void 0:n.publicKey}function kt(e){return e?.topic}function Vt(e,n){let t=null;return h(e?.publicKey,!1)||(t=N(\"MISSING_OR_INVALID\",`${n} controller public key should be a string`)),t}function ie(e){let n=!0;return D(e)?e.length&&(n=e.every(t=>h(t,!1))):n=!1,n}function nn(e,n,t){let r=null;return D(n)&&n.length?n.forEach(o=>{r||k(o)||(r=U(\"UNSUPPORTED_CHAINS\",`${t}, chain ${o} should be a string and conform to \"namespace:chainId\" format`))}):k(e)||(r=U(\"UNSUPPORTED_CHAINS\",`${t}, chains must be defined as \"namespace:chainId\" e.g. \"eip155:1\": {...} in the namespace key OR as an array of CAIP-2 chainIds e.g. eip155: { chains: [\"eip155:1\", \"eip155:5\"] }`)),r}function tn(e,n,t){let r=null;return Object.entries(e).forEach(([o,s])=>{if(r)return;const i=nn(o,K(o,s),`${n} ${t}`);i&&(r=i)}),r}function rn(e,n){let t=null;return D(e)?e.forEach(r=>{t||en(r)||(t=U(\"UNSUPPORTED_ACCOUNTS\",`${n}, account ${r} should be a string and conform to \"namespace:chainId:address\" format`))}):t=U(\"UNSUPPORTED_ACCOUNTS\",`${n}, accounts should be an array of strings conforming to \"namespace:chainId:address\" format`),t}function on(e,n){let t=null;return Object.values(e).forEach(r=>{if(t)return;const o=rn(r?.accounts,`${n} namespace`);o&&(t=o)}),t}function sn(e,n){let t=null;return ie(e?.methods)?ie(e?.events)||(t=U(\"UNSUPPORTED_EVENTS\",`${n}, events should be an array of strings or empty array for no events`)):t=U(\"UNSUPPORTED_METHODS\",`${n}, methods should be an array of strings or empty array for no methods`),t}function ce(e,n){let t=null;return Object.values(e).forEach(r=>{if(t)return;const o=sn(r,`${n}, namespace`);o&&(t=o)}),t}function Mt(e,n,t){let r=null;if(e&&B(e)){const o=ce(e,n);o&&(r=o);const s=tn(e,n,t);s&&(r=s)}else r=N(\"MISSING_OR_INVALID\",`${n}, ${t} should be an object with data`);return r}function cn(e,n){let t=null;if(e&&B(e)){const r=ce(e,n);r&&(t=r);const o=on(e,n);o&&(t=o)}else t=N(\"MISSING_OR_INVALID\",`${n}, namespaces should be an object with data`);return t}function an(e){return h(e.protocol,!0)}function Kt(e,n){let t=!1;return n&&!e?t=!0:e&&D(e)&&e.length&&e.forEach(r=>{t=an(r)}),t}function Lt(e){return typeof e==\"number\"}function xt(e){return typeof e<\"u\"&&typeof e!==null}function Ft(e){return!(!e||typeof e!=\"object\"||!e.code||!G(e.code,!1)||!e.message||!h(e.message,!1))}function Ht(e){return!(w(e)||!h(e.method,!1))}function qt(e){return!(w(e)||w(e.result)&&w(e.error)||!G(e.id,!1)||!h(e.jsonrpc,!1))}function Bt(e){return!(w(e)||!h(e.name,!1))}function Gt(e,n){return!(!k(n)||!Je(e).includes(n))}function Wt(e,n,t){return h(t,!1)?Qe(e,n).includes(t):!1}function zt(e,n,t){return h(t,!1)?Ze(e,n).includes(t):!1}function un(e,n,t){let r=null;const o=Yt(e),s=Jt(n),i=Object.keys(o),l=Object.keys(s),d=ln(Object.keys(e)),c=ln(Object.keys(n)),u=d.filter(a=>!c.includes(a));return u.length&&(r=N(\"NON_CONFORMING_NAMESPACES\",`${t} namespaces keys don't satisfy requiredNamespaces.\n Required: ${u.toString()}\n Received: ${Object.keys(n).toString()}`)),O(i,l)||(r=N(\"NON_CONFORMING_NAMESPACES\",`${t} namespaces chains don't satisfy required namespaces.\n Required: ${i.toString()}\n Approved: ${l.toString()}`)),Object.keys(n).forEach(a=>{if(!a.includes(\":\")||r)return;const b=A(n[a].accounts);b.includes(a)||(r=N(\"NON_CONFORMING_NAMESPACES\",`${t} namespaces accounts don't satisfy namespace accounts for ${a}\n Required: ${a}\n Approved: ${b.toString()}`))}),i.forEach(a=>{r||(O(o[a].methods,s[a].methods)?O(o[a].events,s[a].events)||(r=N(\"NON_CONFORMING_NAMESPACES\",`${t} namespaces events don't satisfy namespace events for ${a}`)):r=N(\"NON_CONFORMING_NAMESPACES\",`${t} namespaces methods don't satisfy namespace methods for ${a}`))}),r}function Yt(e){const n={};return Object.keys(e).forEach(t=>{var r;t.includes(\":\")?n[t]=e[t]:(r=e[t].chains)==null||r.forEach(o=>{n[o]={methods:e[t].methods,events:e[t].events}})}),n}function ln(e){return[...new Set(e.map(n=>n.includes(\":\")?n.split(\":\")[0]:n))]}function Jt(e){const n={};return Object.keys(e).forEach(t=>{if(t.includes(\":\"))n[t]=e[t];else{const r=A(e[t].accounts);r?.forEach(o=>{n[o]={accounts:e[t].accounts.filter(s=>s.includes(`${o}:`)),methods:e[t].methods,events:e[t].events}})}}),n}function Qt(e,n){return G(e,!1)&&e<=n.max&&e>=n.min}function Zt(){const e=R();return new Promise(n=>{switch(e){case m.browser:n(dn());break;case m.reactNative:n(fn());break;case m.node:n(pn());break;default:n(!0)}})}function dn(){return q()&&navigator?.onLine}async function fn(){if(j()&&typeof __webpack_require__.g<\"u\"&&__webpack_require__.g!=null&&__webpack_require__.g.NetInfo){const e=await(__webpack_require__.g==null?void 0:__webpack_require__.g.NetInfo.fetch());return e?.isConnected}return!0}function pn(){return!0}function Xt(e){switch(R()){case m.browser:mn(e);break;case m.reactNative:yn(e);break;case m.node:break}}function mn(e){!j()&&q()&&(window.addEventListener(\"online\",()=>e(!0)),window.addEventListener(\"offline\",()=>e(!1)))}function yn(e){j()&&typeof __webpack_require__.g<\"u\"&&__webpack_require__.g!=null&&__webpack_require__.g.NetInfo&&__webpack_require__.g?.NetInfo.addEventListener(n=>e(n?.isConnected))}const ae={};class er{static get(n){return ae[n]}static set(n,t){ae[n]=t}static delete(n){delete ae[n]}}\n//# sourceMappingURL=index.es.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/node_modules/@walletconnect/utils/dist/index.es.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/index.js":
/*!*****************************************************************!*\
!*** ./node_modules/@walletconnect/relay-api/dist/esm/index.js ***!
\*****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RELAY_JSONRPC: () => (/* reexport safe */ _jsonrpc__WEBPACK_IMPORTED_MODULE_2__.RELAY_JSONRPC),\n/* harmony export */ isPublishMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isPublishMethod),\n/* harmony export */ isPublishParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isPublishParams),\n/* harmony export */ isPublishRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isPublishRequest),\n/* harmony export */ isSubscribeMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscribeMethod),\n/* harmony export */ isSubscribeParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscribeParams),\n/* harmony export */ isSubscribeRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscribeRequest),\n/* harmony export */ isSubscriptionMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscriptionMethod),\n/* harmony export */ isSubscriptionParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscriptionParams),\n/* harmony export */ isSubscriptionRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isSubscriptionRequest),\n/* harmony export */ isUnsubscribeMethod: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isUnsubscribeMethod),\n/* harmony export */ isUnsubscribeParams: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isUnsubscribeParams),\n/* harmony export */ isUnsubscribeRequest: () => (/* reexport safe */ _validators__WEBPACK_IMPORTED_MODULE_3__.isUnsubscribeRequest),\n/* harmony export */ parsePublishRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parsePublishRequest),\n/* harmony export */ parseSubscribeRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parseSubscribeRequest),\n/* harmony export */ parseSubscriptionRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parseSubscriptionRequest),\n/* harmony export */ parseUnsubscribeRequest: () => (/* reexport safe */ _parsers__WEBPACK_IMPORTED_MODULE_1__.parseUnsubscribeRequest)\n/* harmony export */ });\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./types */ \"./node_modules/@walletconnect/relay-api/dist/esm/types.js\");\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_types__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n/* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in _types__WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== \"default\") __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => _types__WEBPACK_IMPORTED_MODULE_0__[__WEBPACK_IMPORT_KEY__]\n/* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);\n/* harmony import */ var _parsers__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./parsers */ \"./node_modules/@walletconnect/relay-api/dist/esm/parsers.js\");\n/* harmony import */ var _jsonrpc__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./jsonrpc */ \"./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js\");\n/* harmony import */ var _validators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./validators */ \"./node_modules/@walletconnect/relay-api/dist/esm/validators.js\");\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/index.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js":
/*!*******************************************************************!*\
!*** ./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js ***!
\*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RELAY_JSONRPC: () => (/* binding */ RELAY_JSONRPC)\n/* harmony export */ });\nconst RELAY_JSONRPC = {\n waku: {\n publish: \"waku_publish\",\n batchPublish: \"waku_batchPublish\",\n subscribe: \"waku_subscribe\",\n batchSubscribe: \"waku_batchSubscribe\",\n subscription: \"waku_subscription\",\n unsubscribe: \"waku_unsubscribe\",\n batchUnsubscribe: \"waku_batchUnsubscribe\",\n },\n irn: {\n publish: \"irn_publish\",\n batchPublish: \"irn_batchPublish\",\n subscribe: \"irn_subscribe\",\n batchSubscribe: \"irn_batchSubscribe\",\n subscription: \"irn_subscription\",\n unsubscribe: \"irn_unsubscribe\",\n batchUnsubscribe: \"irn_batchUnsubscribe\",\n },\n iridium: {\n publish: \"iridium_publish\",\n batchPublish: \"iridium_batchPublish\",\n subscribe: \"iridium_subscribe\",\n batchSubscribe: \"iridium_batchSubscribe\",\n subscription: \"iridium_subscription\",\n unsubscribe: \"iridium_unsubscribe\",\n batchUnsubscribe: \"iridium_batchUnsubscribe\",\n },\n};\n//# sourceMappingURL=jsonrpc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/jsonrpc.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/misc.js":
/*!****************************************************************!*\
!*** ./node_modules/@walletconnect/relay-api/dist/esm/misc.js ***!
\****************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertType: () => (/* binding */ assertType),\n/* harmony export */ checkParams: () => (/* binding */ checkParams),\n/* harmony export */ hasExactParamsLength: () => (/* binding */ hasExactParamsLength),\n/* harmony export */ hasRequiredParams: () => (/* binding */ hasRequiredParams),\n/* harmony export */ hasRequiredParamsLength: () => (/* binding */ hasRequiredParamsLength),\n/* harmony export */ methodEndsWith: () => (/* binding */ methodEndsWith)\n/* harmony export */ });\nfunction assertType(obj, key, type = \"string\") {\n if (!obj[key] || typeof obj[key] !== type) {\n throw new Error(`Missing or invalid \"${key}\" param`);\n }\n}\nfunction hasRequiredParams(params, required) {\n let matches = true;\n required.forEach(key => {\n const exists = key in params;\n if (!exists) {\n matches = false;\n }\n });\n return matches;\n}\nfunction hasExactParamsLength(params, length) {\n return Array.isArray(params)\n ? params.length === length\n : Object.keys(params).length === length;\n}\nfunction hasRequiredParamsLength(params, minLength) {\n return Array.isArray(params)\n ? params.length >= minLength\n : Object.keys(params).length >= minLength;\n}\nfunction checkParams(params, required, optional) {\n const exact = !optional.length;\n const matchesLength = exact\n ? hasExactParamsLength(params, required.length)\n : hasRequiredParamsLength(params, required.length);\n if (!matchesLength)\n return false;\n return hasRequiredParams(params, required);\n}\nfunction methodEndsWith(method, expected, separator = \"_\") {\n const split = method.split(separator);\n return (split[split.length - 1].trim().toLowerCase() ===\n expected.trim().toLowerCase());\n}\n//# sourceMappingURL=misc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/misc.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/parsers.js":
/*!*******************************************************************!*\
!*** ./node_modules/@walletconnect/relay-api/dist/esm/parsers.js ***!
\*******************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parsePublishRequest: () => (/* binding */ parsePublishRequest),\n/* harmony export */ parseSubscribeRequest: () => (/* binding */ parseSubscribeRequest),\n/* harmony export */ parseSubscriptionRequest: () => (/* binding */ parseSubscriptionRequest),\n/* harmony export */ parseUnsubscribeRequest: () => (/* binding */ parseUnsubscribeRequest)\n/* harmony export */ });\n/* harmony import */ var _misc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./misc */ \"./node_modules/@walletconnect/relay-api/dist/esm/misc.js\");\n/* harmony import */ var _validators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./validators */ \"./node_modules/@walletconnect/relay-api/dist/esm/validators.js\");\n\n\nfunction parseSubscribeRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscribeMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid subscribe method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscribeParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid subscribe params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"topic\");\n return params;\n}\nfunction parsePublishRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isPublishMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid publish method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isPublishParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid publish params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"topic\");\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"message\");\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"ttl\", \"number\");\n return params;\n}\nfunction parseUnsubscribeRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isUnsubscribeMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid unsubscribe method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isUnsubscribeParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid unsubscribe params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"id\");\n return params;\n}\nfunction parseSubscriptionRequest(request) {\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscriptionMethod)(request.method)) {\n throw new Error(\"JSON-RPC Request has invalid subscription method\");\n }\n if (!(0,_validators__WEBPACK_IMPORTED_MODULE_1__.isSubscriptionParams)(request.params)) {\n throw new Error(\"JSON-RPC Request has invalid subscription params\");\n }\n const params = request.params;\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"id\");\n (0,_misc__WEBPACK_IMPORTED_MODULE_0__.assertType)(params, \"data\");\n return params;\n}\n//# sourceMappingURL=parsers.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/parsers.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/types.js":
/*!*****************************************************************!*\
!*** ./node_modules/@walletconnect/relay-api/dist/esm/types.js ***!
\*****************************************************************/
/***/ (() => {
eval("//# sourceMappingURL=types.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/types.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/relay-api/dist/esm/validators.js":
/*!**********************************************************************!*\
!*** ./node_modules/@walletconnect/relay-api/dist/esm/validators.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isPublishMethod: () => (/* binding */ isPublishMethod),\n/* harmony export */ isPublishParams: () => (/* binding */ isPublishParams),\n/* harmony export */ isPublishRequest: () => (/* binding */ isPublishRequest),\n/* harmony export */ isSubscribeMethod: () => (/* binding */ isSubscribeMethod),\n/* harmony export */ isSubscribeParams: () => (/* binding */ isSubscribeParams),\n/* harmony export */ isSubscribeRequest: () => (/* binding */ isSubscribeRequest),\n/* harmony export */ isSubscriptionMethod: () => (/* binding */ isSubscriptionMethod),\n/* harmony export */ isSubscriptionParams: () => (/* binding */ isSubscriptionParams),\n/* harmony export */ isSubscriptionRequest: () => (/* binding */ isSubscriptionRequest),\n/* harmony export */ isUnsubscribeMethod: () => (/* binding */ isUnsubscribeMethod),\n/* harmony export */ isUnsubscribeParams: () => (/* binding */ isUnsubscribeParams),\n/* harmony export */ isUnsubscribeRequest: () => (/* binding */ isUnsubscribeRequest)\n/* harmony export */ });\n/* harmony import */ var _misc__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./misc */ \"./node_modules/@walletconnect/relay-api/dist/esm/misc.js\");\n\nfunction isSubscribeRequest(request) {\n return isSubscribeMethod(request.method) && isSubscribeParams(request.params);\n}\nfunction isSubscribeMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"subscribe\");\n}\nfunction isSubscribeParams(params) {\n const required = [\"topic\"];\n const optional = [];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\nfunction isPublishRequest(request) {\n return isPublishMethod(request.method) && isPublishParams(request.params);\n}\nfunction isPublishMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"publish\");\n}\nfunction isPublishParams(params) {\n const required = [\"message\", \"topic\", \"ttl\"];\n const optional = [\"prompt\", \"tag\"];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\nfunction isUnsubscribeRequest(request) {\n return (isUnsubscribeMethod(request.method) && isUnsubscribeParams(request.params));\n}\nfunction isUnsubscribeMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"unsubscribe\");\n}\nfunction isUnsubscribeParams(params) {\n const required = [\"id\", \"topic\"];\n const optional = [];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\nfunction isSubscriptionRequest(request) {\n return (isSubscriptionMethod(request.method) && isSubscriptionParams(request.params));\n}\nfunction isSubscriptionMethod(method) {\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.methodEndsWith)(method, \"subscription\");\n}\nfunction isSubscriptionParams(params) {\n const required = [\"id\", \"data\"];\n const optional = [];\n return (0,_misc__WEBPACK_IMPORTED_MODULE_0__.checkParams)(params, required, optional);\n}\n//# sourceMappingURL=validators.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/relay-api/dist/esm/validators.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/constants/index.js":
/*!**********************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/constants/index.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./misc */ \"./node_modules/@walletconnect/time/dist/cjs/constants/misc.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./time */ \"./node_modules/@walletconnect/time/dist/cjs/constants/time.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/constants/index.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/constants/misc.js":
/*!*********************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/constants/misc.js ***!
\*********************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ONE_THOUSAND = exports.ONE_HUNDRED = void 0;\nexports.ONE_HUNDRED = 100;\nexports.ONE_THOUSAND = 1000;\n//# sourceMappingURL=misc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/constants/misc.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/constants/time.js":
/*!*********************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/constants/time.js ***!
\*********************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.ONE_YEAR = exports.FOUR_WEEKS = exports.THREE_WEEKS = exports.TWO_WEEKS = exports.ONE_WEEK = exports.THIRTY_DAYS = exports.SEVEN_DAYS = exports.FIVE_DAYS = exports.THREE_DAYS = exports.ONE_DAY = exports.TWENTY_FOUR_HOURS = exports.TWELVE_HOURS = exports.SIX_HOURS = exports.THREE_HOURS = exports.ONE_HOUR = exports.SIXTY_MINUTES = exports.THIRTY_MINUTES = exports.TEN_MINUTES = exports.FIVE_MINUTES = exports.ONE_MINUTE = exports.SIXTY_SECONDS = exports.THIRTY_SECONDS = exports.TEN_SECONDS = exports.FIVE_SECONDS = exports.ONE_SECOND = void 0;\nexports.ONE_SECOND = 1;\nexports.FIVE_SECONDS = 5;\nexports.TEN_SECONDS = 10;\nexports.THIRTY_SECONDS = 30;\nexports.SIXTY_SECONDS = 60;\nexports.ONE_MINUTE = exports.SIXTY_SECONDS;\nexports.FIVE_MINUTES = exports.ONE_MINUTE * 5;\nexports.TEN_MINUTES = exports.ONE_MINUTE * 10;\nexports.THIRTY_MINUTES = exports.ONE_MINUTE * 30;\nexports.SIXTY_MINUTES = exports.ONE_MINUTE * 60;\nexports.ONE_HOUR = exports.SIXTY_MINUTES;\nexports.THREE_HOURS = exports.ONE_HOUR * 3;\nexports.SIX_HOURS = exports.ONE_HOUR * 6;\nexports.TWELVE_HOURS = exports.ONE_HOUR * 12;\nexports.TWENTY_FOUR_HOURS = exports.ONE_HOUR * 24;\nexports.ONE_DAY = exports.TWENTY_FOUR_HOURS;\nexports.THREE_DAYS = exports.ONE_DAY * 3;\nexports.FIVE_DAYS = exports.ONE_DAY * 5;\nexports.SEVEN_DAYS = exports.ONE_DAY * 7;\nexports.THIRTY_DAYS = exports.ONE_DAY * 30;\nexports.ONE_WEEK = exports.SEVEN_DAYS;\nexports.TWO_WEEKS = exports.ONE_WEEK * 2;\nexports.THREE_WEEKS = exports.ONE_WEEK * 3;\nexports.FOUR_WEEKS = exports.ONE_WEEK * 4;\nexports.ONE_YEAR = exports.ONE_DAY * 365;\n//# sourceMappingURL=time.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/constants/time.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/index.js":
/*!************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/index.js ***!
\************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./utils */ \"./node_modules/@walletconnect/time/dist/cjs/utils/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./watch */ \"./node_modules/@walletconnect/time/dist/cjs/watch.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./types */ \"./node_modules/@walletconnect/time/dist/cjs/types/index.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./constants */ \"./node_modules/@walletconnect/time/dist/cjs/constants/index.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/index.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/types/index.js":
/*!******************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/types/index.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./watch */ \"./node_modules/@walletconnect/time/dist/cjs/types/watch.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/types/index.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/types/watch.js":
/*!******************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/types/watch.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.IWatch = void 0;\nclass IWatch {\n}\nexports.IWatch = IWatch;\n//# sourceMappingURL=watch.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/types/watch.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/utils/convert.js":
/*!********************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/utils/convert.js ***!
\********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.fromMiliseconds = exports.toMiliseconds = void 0;\nconst constants_1 = __webpack_require__(/*! ../constants */ \"./node_modules/@walletconnect/time/dist/cjs/constants/index.js\");\nfunction toMiliseconds(seconds) {\n return seconds * constants_1.ONE_THOUSAND;\n}\nexports.toMiliseconds = toMiliseconds;\nfunction fromMiliseconds(miliseconds) {\n return Math.floor(miliseconds / constants_1.ONE_THOUSAND);\n}\nexports.fromMiliseconds = fromMiliseconds;\n//# sourceMappingURL=convert.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/utils/convert.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/utils/delay.js":
/*!******************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/utils/delay.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.delay = void 0;\nfunction delay(timeout) {\n return new Promise(resolve => {\n setTimeout(() => {\n resolve(true);\n }, timeout);\n });\n}\nexports.delay = delay;\n//# sourceMappingURL=delay.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/utils/delay.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/utils/index.js":
/*!******************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/utils/index.js ***!
\******************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconst tslib_1 = __webpack_require__(/*! tslib */ \"./node_modules/tslib/tslib.es6.js\");\ntslib_1.__exportStar(__webpack_require__(/*! ./delay */ \"./node_modules/@walletconnect/time/dist/cjs/utils/delay.js\"), exports);\ntslib_1.__exportStar(__webpack_require__(/*! ./convert */ \"./node_modules/@walletconnect/time/dist/cjs/utils/convert.js\"), exports);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/utils/index.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/time/dist/cjs/watch.js":
/*!************************************************************!*\
!*** ./node_modules/@walletconnect/time/dist/cjs/watch.js ***!
\************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Watch = void 0;\nclass Watch {\n constructor() {\n this.timestamps = new Map();\n }\n start(label) {\n if (this.timestamps.has(label)) {\n throw new Error(`Watch already started for label: ${label}`);\n }\n this.timestamps.set(label, { started: Date.now() });\n }\n stop(label) {\n const timestamp = this.get(label);\n if (typeof timestamp.elapsed !== \"undefined\") {\n throw new Error(`Watch already stopped for label: ${label}`);\n }\n const elapsed = Date.now() - timestamp.started;\n this.timestamps.set(label, { started: timestamp.started, elapsed });\n }\n get(label) {\n const timestamp = this.timestamps.get(label);\n if (typeof timestamp === \"undefined\") {\n throw new Error(`No timestamp found for label: ${label}`);\n }\n return timestamp;\n }\n elapsed(label) {\n const timestamp = this.get(label);\n const elapsed = timestamp.elapsed || Date.now() - timestamp.started;\n return elapsed;\n }\n}\nexports.Watch = Watch;\nexports[\"default\"] = Watch;\n//# sourceMappingURL=watch.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/time/dist/cjs/watch.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/window-getters/dist/cjs/index.js":
/*!**********************************************************************!*\
!*** ./node_modules/@walletconnect/window-getters/dist/cjs/index.js ***!
\**********************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getLocalStorage = exports.getLocalStorageOrThrow = exports.getCrypto = exports.getCryptoOrThrow = exports.getLocation = exports.getLocationOrThrow = exports.getNavigator = exports.getNavigatorOrThrow = exports.getDocument = exports.getDocumentOrThrow = exports.getFromWindowOrThrow = exports.getFromWindow = void 0;\nfunction getFromWindow(name) {\n let res = undefined;\n if (typeof window !== \"undefined\" && typeof window[name] !== \"undefined\") {\n res = window[name];\n }\n return res;\n}\nexports.getFromWindow = getFromWindow;\nfunction getFromWindowOrThrow(name) {\n const res = getFromWindow(name);\n if (!res) {\n throw new Error(`${name} is not defined in Window`);\n }\n return res;\n}\nexports.getFromWindowOrThrow = getFromWindowOrThrow;\nfunction getDocumentOrThrow() {\n return getFromWindowOrThrow(\"document\");\n}\nexports.getDocumentOrThrow = getDocumentOrThrow;\nfunction getDocument() {\n return getFromWindow(\"document\");\n}\nexports.getDocument = getDocument;\nfunction getNavigatorOrThrow() {\n return getFromWindowOrThrow(\"navigator\");\n}\nexports.getNavigatorOrThrow = getNavigatorOrThrow;\nfunction getNavigator() {\n return getFromWindow(\"navigator\");\n}\nexports.getNavigator = getNavigator;\nfunction getLocationOrThrow() {\n return getFromWindowOrThrow(\"location\");\n}\nexports.getLocationOrThrow = getLocationOrThrow;\nfunction getLocation() {\n return getFromWindow(\"location\");\n}\nexports.getLocation = getLocation;\nfunction getCryptoOrThrow() {\n return getFromWindowOrThrow(\"crypto\");\n}\nexports.getCryptoOrThrow = getCryptoOrThrow;\nfunction getCrypto() {\n return getFromWindow(\"crypto\");\n}\nexports.getCrypto = getCrypto;\nfunction getLocalStorageOrThrow() {\n return getFromWindowOrThrow(\"localStorage\");\n}\nexports.getLocalStorageOrThrow = getLocalStorageOrThrow;\nfunction getLocalStorage() {\n return getFromWindow(\"localStorage\");\n}\nexports.getLocalStorage = getLocalStorage;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/window-getters/dist/cjs/index.js?");
/***/ }),
/***/ "./node_modules/@walletconnect/window-metadata/dist/cjs/index.js":
/*!***********************************************************************!*\
!*** ./node_modules/@walletconnect/window-metadata/dist/cjs/index.js ***!
\***********************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.getWindowMetadata = void 0;\nconst window_getters_1 = __webpack_require__(/*! @walletconnect/window-getters */ \"./node_modules/@walletconnect/window-getters/dist/cjs/index.js\");\nfunction getWindowMetadata() {\n let doc;\n let loc;\n try {\n doc = window_getters_1.getDocumentOrThrow();\n loc = window_getters_1.getLocationOrThrow();\n }\n catch (e) {\n return null;\n }\n function getIcons() {\n const links = doc.getElementsByTagName(\"link\");\n const icons = [];\n for (let i = 0; i < links.length; i++) {\n const link = links[i];\n const rel = link.getAttribute(\"rel\");\n if (rel) {\n if (rel.toLowerCase().indexOf(\"icon\") > -1) {\n const href = link.getAttribute(\"href\");\n if (href) {\n if (href.toLowerCase().indexOf(\"https:\") === -1 &&\n href.toLowerCase().indexOf(\"http:\") === -1 &&\n href.indexOf(\"//\") !== 0) {\n let absoluteHref = loc.protocol + \"//\" + loc.host;\n if (href.indexOf(\"/\") === 0) {\n absoluteHref += href;\n }\n else {\n const path = loc.pathname.split(\"/\");\n path.pop();\n const finalPath = path.join(\"/\");\n absoluteHref += finalPath + \"/\" + href;\n }\n icons.push(absoluteHref);\n }\n else if (href.indexOf(\"//\") === 0) {\n const absoluteUrl = loc.protocol + href;\n icons.push(absoluteUrl);\n }\n else {\n icons.push(href);\n }\n }\n }\n }\n }\n return icons;\n }\n function getWindowMetadataOfAny(...args) {\n const metaTags = doc.getElementsByTagName(\"meta\");\n for (let i = 0; i < metaTags.length; i++) {\n const tag = metaTags[i];\n const attributes = [\"itemprop\", \"property\", \"name\"]\n .map((target) => tag.getAttribute(target))\n .filter((attr) => {\n if (attr) {\n return args.includes(attr);\n }\n return false;\n });\n if (attributes.length && attributes) {\n const content = tag.getAttribute(\"content\");\n if (content) {\n return content;\n }\n }\n }\n return \"\";\n }\n function getName() {\n let name = getWindowMetadataOfAny(\"name\", \"og:site_name\", \"og:title\", \"twitter:title\");\n if (!name) {\n name = doc.title;\n }\n return name;\n }\n function getDescription() {\n const description = getWindowMetadataOfAny(\"description\", \"og:description\", \"twitter:description\", \"keywords\");\n return description;\n }\n const name = getName();\n const description = getDescription();\n const url = loc.origin;\n const icons = getIcons();\n const meta = {\n description,\n url,\n icons,\n name,\n };\n return meta;\n}\nexports.getWindowMetadata = getWindowMetadata;\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@walletconnect/window-metadata/dist/cjs/index.js?");
/***/ }),
/***/ "./node_modules/base64-js/index.js":
/*!*****************************************!*\
!*** ./node_modules/base64-js/index.js ***!
\*****************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("\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://wallet_connect_modal_test/./node_modules/base64-js/index.js?");
/***/ }),
/***/ "./node_modules/buffer/index.js":
/*!**************************************!*\
!*** ./node_modules/buffer/index.js ***!
\**************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <https://feross.org>\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 '<Buffer ' + str + '>'\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://wallet_connect_modal_test/./node_modules/buffer/index.js?");
/***/ }),
/***/ "./node_modules/dayjs/dayjs.min.js":
/*!*****************************************!*\
!*** ./node_modules/dayjs/dayjs.min.js ***!
\*****************************************/
/***/ (function(module) {
eval("!function(t,e){ true?module.exports=e():0}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",c=\"month\",f=\"quarter\",h=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||\"\").toLowerCase().replace(/s$/,\"\")},u:function(t){return void 0===t}},g=\"en\",D={};D[g]=M;var p=\"$isDayjsObject\",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if(\"string\"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split(\"-\");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate(\"s\"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v=\"set\"+(this.$u?\"UTC\":\"\");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+\"Hours\",0);case u:return $(v+\"Minutes\",1);case s:return $(v+\"Seconds\",2);case i:return $(v+\"Milliseconds\",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f=\"set\"+(this.$u?\"UTC\":\"\"),l=(n={},n[a]=f+\"Date\",n[d]=f+\"Date\",n[c]=f+\"Month\",n[h]=f+\"FullYear\",n[u]=f+\"Hours\",n[s]=f+\"Minutes\",n[i]=f+\"Seconds\",n[r]=f+\"Milliseconds\",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||\"YYYY-MM-DDTHH:mm:ssZ\",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,\"0\")},$=f||function(t,e,n){var r=t<12?\"AM\":\"PM\";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case\"YY\":return String(e.$y).slice(-2);case\"YYYY\":return b.s(e.$y,4,\"0\");case\"M\":return a+1;case\"MM\":return b.s(a+1,2,\"0\");case\"MMM\":return h(n.monthsShort,a,c,3);case\"MMMM\":return h(c,a);case\"D\":return e.$D;case\"DD\":return b.s(e.$D,2,\"0\");case\"d\":return String(e.$W);case\"dd\":return h(n.weekdaysMin,e.$W,o,2);case\"ddd\":return h(n.weekdaysShort,e.$W,o,3);case\"dddd\":return o[e.$W];case\"H\":return String(s);case\"HH\":return b.s(s,2,\"0\");case\"h\":return d(1);case\"hh\":return d(2);case\"a\":return $(s,u,!0);case\"A\":return $(s,u,!1);case\"m\":return String(u);case\"mm\":return b.s(u,2,\"0\");case\"s\":return String(e.$s);case\"ss\":return b.s(e.$s,2,\"0\");case\"SSS\":return b.s(e.$ms,3,\"0\");case\"Z\":return i}return null}(t)||i.replace(\":\",\"\")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[[\"$ms\",r],[\"$s\",i],[\"$m\",s],[\"$H\",u],[\"$W\",a],[\"$M\",c],[\"$y\",h],[\"$D\",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/dayjs/dayjs.min.js?");
/***/ }),
/***/ "./node_modules/dayjs/plugin/relativeTime.js":
/*!***************************************************!*\
!*** ./node_modules/dayjs/plugin/relativeTime.js ***!
\***************************************************/
/***/ (function(module) {
eval("!function(r,e){ true?module.exports=e():0}(this,(function(){\"use strict\";return function(r,e,t){r=r||{};var n=e.prototype,o={future:\"in %s\",past:\"%s ago\",s:\"a few seconds\",m:\"a minute\",mm:\"%d minutes\",h:\"an hour\",hh:\"%d hours\",d:\"a day\",dd:\"%d days\",M:\"a month\",MM:\"%d months\",y:\"a year\",yy:\"%d years\"};function i(r,e,t,o){return n.fromToBase(r,e,t,o)}t.en.relativeTime=o,n.fromToBase=function(e,n,i,d,u){for(var f,a,s,l=i.$locale().relativeTime||o,h=r.thresholds||[{l:\"s\",r:44,d:\"second\"},{l:\"m\",r:89},{l:\"mm\",r:44,d:\"minute\"},{l:\"h\",r:89},{l:\"hh\",r:21,d:\"hour\"},{l:\"d\",r:35},{l:\"dd\",r:25,d:\"day\"},{l:\"M\",r:45},{l:\"MM\",r:10,d:\"month\"},{l:\"y\",r:17},{l:\"yy\",d:\"year\"}],m=h.length,c=0;c<m;c+=1){var y=h[c];y.d&&(f=d?t(e).diff(i,y.d,!0):i.diff(e,y.d,!0));var p=(r.rounding||Math.round)(Math.abs(f));if(s=f>0,p<=y.r||!y.r){p<=1&&c>0&&(y=h[c-1]);var v=l[y.l];u&&(p=u(\"\"+p)),a=\"string\"==typeof v?v.replace(\"%d\",p):v(p,n,y.l,s);break}}if(n)return a;var M=s?l.future:l.past;return\"function\"==typeof M?M(a):M.replace(\"%s\",a)},n.to=function(r,e){return i(r,e,this,!0)},n.from=function(r,e){return i(r,e,this)};var d=function(r){return r.$u?t.utc():t()};n.toNow=function(r){return this.to(d(this),r)},n.fromNow=function(r){return this.from(d(this),r)}}}));\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/dayjs/plugin/relativeTime.js?");
/***/ }),
/***/ "./node_modules/dayjs/plugin/updateLocale.js":
/*!***************************************************!*\
!*** ./node_modules/dayjs/plugin/updateLocale.js ***!
\***************************************************/
/***/ (function(module) {
eval("!function(e,n){ true?module.exports=n():0}(this,(function(){\"use strict\";return function(e,n,t){t.updateLocale=function(e,n){var o=t.Ls[e];if(o)return(n?Object.keys(n):[]).forEach((function(e){o[e]=n[e]})),o}}}));\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/dayjs/plugin/updateLocale.js?");
/***/ }),
/***/ "./node_modules/decode-uri-component/index.js":
/*!****************************************************!*\
!*** ./node_modules/decode-uri-component/index.js ***!
\****************************************************/
/***/ ((module) => {
eval("\nvar token = '%[a-f0-9]{2}';\nvar singleMatcher = new RegExp('(' + token + ')|([^%]+?)', 'gi');\nvar multiMatcher = new RegExp('(' + token + ')+', 'gi');\n\nfunction decodeComponents(components, split) {\n\ttry {\n\t\t// Try to decode the entire string first\n\t\treturn [decodeURIComponent(components.join(''))];\n\t} catch (err) {\n\t\t// Do nothing\n\t}\n\n\tif (components.length === 1) {\n\t\treturn components;\n\t}\n\n\tsplit = split || 1;\n\n\t// Split the array in 2 parts\n\tvar left = components.slice(0, split);\n\tvar right = components.slice(split);\n\n\treturn Array.prototype.concat.call([], decodeComponents(left), decodeComponents(right));\n}\n\nfunction decode(input) {\n\ttry {\n\t\treturn decodeURIComponent(input);\n\t} catch (err) {\n\t\tvar tokens = input.match(singleMatcher) || [];\n\n\t\tfor (var i = 1; i < tokens.length; i++) {\n\t\t\tinput = decodeComponents(tokens, i).join('');\n\n\t\t\ttokens = input.match(singleMatcher) || [];\n\t\t}\n\n\t\treturn input;\n\t}\n}\n\nfunction customDecodeURIComponent(input) {\n\t// Keep track of all the replacements and prefill the map with the `BOM`\n\tvar replaceMap = {\n\t\t'%FE%FF': '\\uFFFD\\uFFFD',\n\t\t'%FF%FE': '\\uFFFD\\uFFFD'\n\t};\n\n\tvar match = multiMatcher.exec(input);\n\twhile (match) {\n\t\ttry {\n\t\t\t// Decode as big chunks as possible\n\t\t\treplaceMap[match[0]] = decodeURIComponent(match[0]);\n\t\t} catch (err) {\n\t\t\tvar result = decode(match[0]);\n\n\t\t\tif (result !== match[0]) {\n\t\t\t\treplaceMap[match[0]] = result;\n\t\t\t}\n\t\t}\n\n\t\tmatch = multiMatcher.exec(input);\n\t}\n\n\t// Add `%C2` at the end of the map to make sure it does not replace the combinator before everything else\n\treplaceMap['%C2'] = '\\uFFFD';\n\n\tvar entries = Object.keys(replaceMap);\n\n\tfor (var i = 0; i < entries.length; i++) {\n\t\t// Replace all decoded components\n\t\tvar key = entries[i];\n\t\tinput = input.replace(new RegExp(key, 'g'), replaceMap[key]);\n\t}\n\n\treturn input;\n}\n\nmodule.exports = function (encodedURI) {\n\tif (typeof encodedURI !== 'string') {\n\t\tthrow new TypeError('Expected `encodedURI` to be of type `string`, got `' + typeof encodedURI + '`');\n\t}\n\n\ttry {\n\t\tencodedURI = encodedURI.replace(/\\+/g, ' ');\n\n\t\t// Try the built in decoder first\n\t\treturn decodeURIComponent(encodedURI);\n\t} catch (err) {\n\t\t// Fallback to a more advanced decoder\n\t\treturn customDecodeURIComponent(encodedURI);\n\t}\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/decode-uri-component/index.js?");
/***/ }),
/***/ "./node_modules/detect-browser/es/index.js":
/*!*************************************************!*\
!*** ./node_modules/detect-browser/es/index.js ***!
\*************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__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://wallet_connect_modal_test/./node_modules/detect-browser/es/index.js?");
/***/ }),
/***/ "./node_modules/dijkstrajs/dijkstra.js":
/*!*********************************************!*\
!*** ./node_modules/dijkstrajs/dijkstra.js ***!
\*********************************************/
/***/ ((module) => {
eval("\n\n/******************************************************************************\n * Created 2008-08-19.\n *\n * Dijkstra path-finding functions. Adapted from the Dijkstar Python project.\n *\n * Copyright (C) 2008\n * Wyatt Baldwin <self@wyattbaldwin.com>\n * All rights reserved\n *\n * Licensed under the MIT license.\n *\n * http://www.opensource.org/licenses/mit-license.php\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n * THE SOFTWARE.\n *****************************************************************************/\nvar dijkstra = {\n single_source_shortest_paths: function(graph, s, d) {\n // Predecessor map for each node that has been encountered.\n // node ID => predecessor node ID\n var predecessors = {};\n\n // Costs of shortest paths from s to all nodes encountered.\n // node ID => cost\n var costs = {};\n costs[s] = 0;\n\n // Costs of shortest paths from s to all nodes encountered; differs from\n // `costs` in that it provides easy access to the node that currently has\n // the known shortest path from s.\n // XXX: Do we actually need both `costs` and `open`?\n var open = dijkstra.PriorityQueue.make();\n open.push(s, 0);\n\n var closest,\n u, v,\n cost_of_s_to_u,\n adjacent_nodes,\n cost_of_e,\n cost_of_s_to_u_plus_cost_of_e,\n cost_of_s_to_v,\n first_visit;\n while (!open.empty()) {\n // In the nodes remaining in graph that have a known cost from s,\n // find the node, u, that currently has the shortest path from s.\n closest = open.pop();\n u = closest.value;\n cost_of_s_to_u = closest.cost;\n\n // Get nodes adjacent to u...\n adjacent_nodes = graph[u] || {};\n\n // ...and explore the edges that connect u to those nodes, updating\n // the cost of the shortest paths to any or all of those nodes as\n // necessary. v is the node across the current edge from u.\n for (v in adjacent_nodes) {\n if (adjacent_nodes.hasOwnProperty(v)) {\n // Get the cost of the edge running from u to v.\n cost_of_e = adjacent_nodes[v];\n\n // Cost of s to u plus the cost of u to v across e--this is *a*\n // cost from s to v that may or may not be less than the current\n // known cost to v.\n cost_of_s_to_u_plus_cost_of_e = cost_of_s_to_u + cost_of_e;\n\n // If we haven't visited v yet OR if the current known cost from s to\n // v is greater than the new cost we just found (cost of s to u plus\n // cost of u to v across e), update v's cost in the cost list and\n // update v's predecessor in the predecessor list (it's now u).\n cost_of_s_to_v = costs[v];\n first_visit = (typeof costs[v] === 'undefined');\n if (first_visit || cost_of_s_to_v > cost_of_s_to_u_plus_cost_of_e) {\n costs[v] = cost_of_s_to_u_plus_cost_of_e;\n open.push(v, cost_of_s_to_u_plus_cost_of_e);\n predecessors[v] = u;\n }\n }\n }\n }\n\n if (typeof d !== 'undefined' && typeof costs[d] === 'undefined') {\n var msg = ['Could not find a path from ', s, ' to ', d, '.'].join('');\n throw new Error(msg);\n }\n\n return predecessors;\n },\n\n extract_shortest_path_from_predecessor_list: function(predecessors, d) {\n var nodes = [];\n var u = d;\n var predecessor;\n while (u) {\n nodes.push(u);\n predecessor = predecessors[u];\n u = predecessors[u];\n }\n nodes.reverse();\n return nodes;\n },\n\n find_path: function(graph, s, d) {\n var predecessors = dijkstra.single_source_shortest_paths(graph, s, d);\n return dijkstra.extract_shortest_path_from_predecessor_list(\n predecessors, d);\n },\n\n /**\n * A very naive priority queue implementation.\n */\n PriorityQueue: {\n make: function (opts) {\n var T = dijkstra.PriorityQueue,\n t = {},\n key;\n opts = opts || {};\n for (key in T) {\n if (T.hasOwnProperty(key)) {\n t[key] = T[key];\n }\n }\n t.queue = [];\n t.sorter = opts.sorter || T.default_sorter;\n return t;\n },\n\n default_sorter: function (a, b) {\n return a.cost - b.cost;\n },\n\n /**\n * Add a new item to the queue and ensure the highest priority element\n * is at the front of the queue.\n */\n push: function (value, cost) {\n var item = {value: value, cost: cost};\n this.queue.push(item);\n this.queue.sort(this.sorter);\n },\n\n /**\n * Return the highest priority element in the queue.\n */\n pop: function () {\n return this.queue.shift();\n },\n\n empty: function () {\n return this.queue.length === 0;\n }\n }\n};\n\n\n// node.js module exports\nif (true) {\n module.exports = dijkstra;\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/dijkstrajs/dijkstra.js?");
/***/ }),
/***/ "./node_modules/encode-utf8/index.js":
/*!*******************************************!*\
!*** ./node_modules/encode-utf8/index.js ***!
\*******************************************/
/***/ ((module) => {
eval("\n\nmodule.exports = function encodeUtf8 (input) {\n var result = []\n var size = input.length\n\n for (var index = 0; index < size; index++) {\n var point = input.charCodeAt(index)\n\n if (point >= 0xD800 && point <= 0xDBFF && size > index + 1) {\n var second = input.charCodeAt(index + 1)\n\n if (second >= 0xDC00 && second <= 0xDFFF) {\n // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n point = (point - 0xD800) * 0x400 + second - 0xDC00 + 0x10000\n index += 1\n }\n }\n\n // US-ASCII\n if (point < 0x80) {\n result.push(point)\n continue\n }\n\n // 2-byte UTF-8\n if (point < 0x800) {\n result.push((point >> 6) | 192)\n result.push((point & 63) | 128)\n continue\n }\n\n // 3-byte UTF-8\n if (point < 0xD800 || (point >= 0xE000 && point < 0x10000)) {\n result.push((point >> 12) | 224)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // 4-byte UTF-8\n if (point >= 0x10000 && point <= 0x10FFFF) {\n result.push((point >> 18) | 240)\n result.push(((point >> 12) & 63) | 128)\n result.push(((point >> 6) & 63) | 128)\n result.push((point & 63) | 128)\n continue\n }\n\n // Invalid character\n result.push(0xEF, 0xBF, 0xBD)\n }\n\n return new Uint8Array(result).buffer\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/encode-utf8/index.js?");
/***/ }),
/***/ "./node_modules/eventemitter3/index.js":
/*!*********************************************!*\
!*** ./node_modules/eventemitter3/index.js ***!
\*********************************************/
/***/ ((module) => {
eval("\n\nvar has = Object.prototype.hasOwnProperty\n , prefix = '~';\n\n/**\n * Constructor to create a storage for our `EE` objects.\n * An `Events` instance is a plain object whose properties are event names.\n *\n * @constructor\n * @private\n */\nfunction Events() {}\n\n//\n// We try to not inherit from `Object.prototype`. In some engines creating an\n// instance in this way is faster than calling `Object.create(null)` directly.\n// If `Object.create(null)` is not supported we prefix the event names with a\n// character to make sure that the built-in object properties are not\n// overridden or used as an attack vector.\n//\nif (Object.create) {\n Events.prototype = Object.create(null);\n\n //\n // This hack is needed because the `__proto__` property is still inherited in\n // some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.\n //\n if (!new Events().__proto__) prefix = false;\n}\n\n/**\n * Representation of a single event listener.\n *\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} [once=false] Specify if the listener is a one-time listener.\n * @constructor\n * @private\n */\nfunction EE(fn, context, once) {\n this.fn = fn;\n this.context = context;\n this.once = once || false;\n}\n\n/**\n * Add a listener for a given event.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} once Specify if the listener is a one-time listener.\n * @returns {EventEmitter}\n * @private\n */\nfunction addListener(emitter, event, fn, context, once) {\n if (typeof fn !== 'function') {\n throw new TypeError('The listener must be a function');\n }\n\n var listener = new EE(fn, context || emitter, once)\n , evt = prefix ? prefix + event : event;\n\n if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;\n else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);\n else emitter._events[evt] = [emitter._events[evt], listener];\n\n return emitter;\n}\n\n/**\n * Clear event by name.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} evt The Event name.\n * @private\n */\nfunction clearEvent(emitter, evt) {\n if (--emitter._eventsCount === 0) emitter._events = new Events();\n else delete emitter._events[evt];\n}\n\n/**\n * Minimal `EventEmitter` interface that is molded against the Node.js\n * `EventEmitter` interface.\n *\n * @constructor\n * @public\n */\nfunction EventEmitter() {\n this._events = new Events();\n this._eventsCount = 0;\n}\n\n/**\n * Return an array listing the events for which the emitter has registered\n * listeners.\n *\n * @returns {Array}\n * @public\n */\nEventEmitter.prototype.eventNames = function eventNames() {\n var names = []\n , events\n , name;\n\n if (this._eventsCount === 0) return names;\n\n for (name in (events = this._events)) {\n if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);\n }\n\n if (Object.getOwnPropertySymbols) {\n return names.concat(Object.getOwnPropertySymbols(events));\n }\n\n return names;\n};\n\n/**\n * Return the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Array} The registered listeners.\n * @public\n */\nEventEmitter.prototype.listeners = function listeners(event) {\n var evt = prefix ? prefix + event : event\n , handlers = this._events[evt];\n\n if (!handlers) return [];\n if (handlers.fn) return [handlers.fn];\n\n for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {\n ee[i] = handlers[i].fn;\n }\n\n return ee;\n};\n\n/**\n * Return the number of listeners listening to a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Number} The number of listeners.\n * @public\n */\nEventEmitter.prototype.listenerCount = function listenerCount(event) {\n var evt = prefix ? prefix + event : event\n , listeners = this._events[evt];\n\n if (!listeners) return 0;\n if (listeners.fn) return 1;\n return listeners.length;\n};\n\n/**\n * Calls each of the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Boolean} `true` if the event had listeners, else `false`.\n * @public\n */\nEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return false;\n\n var listeners = this._events[evt]\n , len = arguments.length\n , args\n , i;\n\n if (listeners.fn) {\n if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);\n\n switch (len) {\n case 1: return listeners.fn.call(listeners.context), true;\n case 2: return listeners.fn.call(listeners.context, a1), true;\n case 3: return listeners.fn.call(listeners.context, a1, a2), true;\n case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\n case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n }\n\n for (i = 1, args = new Array(len -1); i < len; i++) {\n args[i - 1] = arguments[i];\n }\n\n listeners.fn.apply(listeners.context, args);\n } else {\n var length = listeners.length\n , j;\n\n for (i = 0; i < length; i++) {\n if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);\n\n switch (len) {\n case 1: listeners[i].fn.call(listeners[i].context); break;\n case 2: listeners[i].fn.call(listeners[i].context, a1); break;\n case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\n case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;\n default:\n if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\n args[j - 1] = arguments[j];\n }\n\n listeners[i].fn.apply(listeners[i].context, args);\n }\n }\n }\n\n return true;\n};\n\n/**\n * Add a listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.on = function on(event, fn, context) {\n return addListener(this, event, fn, context, false);\n};\n\n/**\n * Add a one-time listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.once = function once(event, fn, context) {\n return addListener(this, event, fn, context, true);\n};\n\n/**\n * Remove the listeners of a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn Only remove the listeners that match this function.\n * @param {*} context Only remove the listeners that have this context.\n * @param {Boolean} once Only remove one-time listeners.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return this;\n if (!fn) {\n clearEvent(this, evt);\n return this;\n }\n\n var listeners = this._events[evt];\n\n if (listeners.fn) {\n if (\n listeners.fn === fn &&\n (!once || listeners.once) &&\n (!context || listeners.context === context)\n ) {\n clearEvent(this, evt);\n }\n } else {\n for (var i = 0, events = [], length = listeners.length; i < length; i++) {\n if (\n listeners[i].fn !== fn ||\n (once && !listeners[i].once) ||\n (context && listeners[i].context !== context)\n ) {\n events.push(listeners[i]);\n }\n }\n\n //\n // Reset the array, or remove it completely if we have no more listeners.\n //\n if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;\n else clearEvent(this, evt);\n }\n\n return this;\n};\n\n/**\n * Remove all listeners, or those of the specified event.\n *\n * @param {(String|Symbol)} [event] The event name.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n var evt;\n\n if (event) {\n evt = prefix ? prefix + event : event;\n if (this._events[evt]) clearEvent(this, evt);\n } else {\n this._events = new Events();\n this._eventsCount = 0;\n }\n\n return this;\n};\n\n//\n// Alias methods names because people roll like that.\n//\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\n//\n// Expose the prefix.\n//\nEventEmitter.prefixed = prefix;\n\n//\n// Allow `EventEmitter` to be imported as module namespace.\n//\nEventEmitter.EventEmitter = EventEmitter;\n\n//\n// Expose the module.\n//\nif (true) {\n module.exports = EventEmitter;\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/eventemitter3/index.js?");
/***/ }),
/***/ "./node_modules/filter-obj/index.js":
/*!******************************************!*\
!*** ./node_modules/filter-obj/index.js ***!
\******************************************/
/***/ ((module) => {
eval("\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/filter-obj/index.js?");
/***/ }),
/***/ "./node_modules/ieee754/index.js":
/*!***************************************!*\
!*** ./node_modules/ieee754/index.js ***!
\***************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */\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://wallet_connect_modal_test/./node_modules/ieee754/index.js?");
/***/ }),
/***/ "./node_modules/proxy-compare/dist/index.modern.js":
/*!*********************************************************!*\
!*** ./node_modules/proxy-compare/dist/index.modern.js ***!
\*********************************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ affectedToPathList: () => (/* binding */ w),\n/* harmony export */ createProxy: () => (/* binding */ a),\n/* harmony export */ getUntracked: () => (/* binding */ y),\n/* harmony export */ isChanged: () => (/* binding */ p),\n/* harmony export */ markToTrack: () => (/* binding */ h),\n/* harmony export */ replaceNewProxy: () => (/* binding */ O),\n/* harmony export */ trackMemo: () => (/* binding */ g)\n/* harmony export */ });\nconst e=Symbol(),t=Symbol(),r=\"a\",n=\"w\";let o=(e,t)=>new Proxy(e,t);const s=Object.getPrototypeOf,c=new WeakMap,l=e=>e&&(c.has(e)?c.get(e):s(e)===Object.prototype||s(e)===Array.prototype),f=e=>\"object\"==typeof e&&null!==e,i=e=>{if(Array.isArray(e))return Array.from(e);const t=Object.getOwnPropertyDescriptors(e);return Object.values(t).forEach(e=>{e.configurable=!0}),Object.create(s(e),t)},u=e=>e[t]||e,a=(s,c,f,p)=>{if(!l(s))return s;let g=p&&p.get(s);if(!g){const e=u(s);g=(e=>Object.values(Object.getOwnPropertyDescriptors(e)).some(e=>!e.configurable&&!e.writable))(e)?[e,i(e)]:[e],null==p||p.set(s,g)}const[y,h]=g;let w=f&&f.get(y);return w&&w[1].f===!!h||(w=((o,s)=>{const c={f:s};let l=!1;const f=(e,t)=>{if(!l){let s=c[r].get(o);if(s||(s={},c[r].set(o,s)),e===n)s[n]=!0;else{let r=s[e];r||(r=new Set,s[e]=r),r.add(t)}}},i={get:(e,n)=>n===t?o:(f(\"k\",n),a(Reflect.get(e,n),c[r],c.c,c.t)),has:(t,n)=>n===e?(l=!0,c[r].delete(o),!0):(f(\"h\",n),Reflect.has(t,n)),getOwnPropertyDescriptor:(e,t)=>(f(\"o\",t),Reflect.getOwnPropertyDescriptor(e,t)),ownKeys:e=>(f(n),Reflect.ownKeys(e))};return s&&(i.set=i.deleteProperty=()=>!1),[i,c]})(y,!!h),w[1].p=o(h||y,w[0]),f&&f.set(y,w)),w[1][r]=c,w[1].c=f,w[1].t=p,w[1].p},p=(e,t,r,o)=>{if(Object.is(e,t))return!1;if(!f(e)||!f(t))return!0;const s=r.get(u(e));if(!s)return!0;if(o){const r=o.get(e);if(r&&r.n===t)return r.g;o.set(e,{n:t,g:!1})}let c=null;try{for(const r of s.h||[])if(c=Reflect.has(e,r)!==Reflect.has(t,r),c)return c;if(!0===s[n]){if(c=((e,t)=>{const r=Reflect.ownKeys(e),n=Reflect.ownKeys(t);return r.length!==n.length||r.some((e,t)=>e!==n[t])})(e,t),c)return c}else for(const r of s.o||[])if(c=!!Reflect.getOwnPropertyDescriptor(e,r)!=!!Reflect.getOwnPropertyDescriptor(t,r),c)return c;for(const n of s.k||[])if(c=p(e[n],t[n],r,o),c)return c;return null===c&&(c=!0),c}finally{o&&o.set(e,{n:t,g:c})}},g=t=>!!l(t)&&e in t,y=e=>l(e)&&e[t]||null,h=(e,t=!0)=>{c.set(e,t)},w=(e,t,r)=>{const o=[],s=new WeakSet,c=(e,l)=>{if(s.has(e))return;f(e)&&s.add(e);const i=f(e)&&t.get(u(e));if(i){var a,p;if(null==(a=i.h)||a.forEach(e=>{const t=`:has(${String(e)})`;o.push(l?[...l,t]:[t])}),!0===i[n]){const e=\":ownKeys\";o.push(l?[...l,e]:[e])}else{var g;null==(g=i.o)||g.forEach(e=>{const t=`:hasOwn(${String(e)})`;o.push(l?[...l,t]:[t])})}null==(p=i.k)||p.forEach(t=>{r&&!(\"value\"in(Object.getOwnPropertyDescriptor(e,t)||{}))||c(e[t],l?[...l,t]:[t])})}else l&&o.push(l)};return c(e),o},O=e=>{o=e};\n//# sourceMappingURL=index.modern.mjs.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/proxy-compare/dist/index.modern.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/browser.js":
/*!********************************************!*\
!*** ./node_modules/qrcode/lib/browser.js ***!
\********************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nconst canPromise = __webpack_require__(/*! ./can-promise */ \"./node_modules/qrcode/lib/can-promise.js\")\n\nconst QRCode = __webpack_require__(/*! ./core/qrcode */ \"./node_modules/qrcode/lib/core/qrcode.js\")\nconst CanvasRenderer = __webpack_require__(/*! ./renderer/canvas */ \"./node_modules/qrcode/lib/renderer/canvas.js\")\nconst SvgRenderer = __webpack_require__(/*! ./renderer/svg-tag.js */ \"./node_modules/qrcode/lib/renderer/svg-tag.js\")\n\nfunction renderCanvas (renderFunc, canvas, text, opts, cb) {\n const args = [].slice.call(arguments, 1)\n const argsNum = args.length\n const isLastArgCb = typeof args[argsNum - 1] === 'function'\n\n if (!isLastArgCb && !canPromise()) {\n throw new Error('Callback required as last argument')\n }\n\n if (isLastArgCb) {\n if (argsNum < 2) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 2) {\n cb = text\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 3) {\n if (canvas.getContext && typeof cb === 'undefined') {\n cb = opts\n opts = undefined\n } else {\n cb = opts\n opts = text\n text = canvas\n canvas = undefined\n }\n }\n } else {\n if (argsNum < 1) {\n throw new Error('Too few arguments provided')\n }\n\n if (argsNum === 1) {\n text = canvas\n canvas = opts = undefined\n } else if (argsNum === 2 && !canvas.getContext) {\n opts = text\n text = canvas\n canvas = undefined\n }\n\n return new Promise(function (resolve, reject) {\n try {\n const data = QRCode.create(text, opts)\n resolve(renderFunc(data, canvas, opts))\n } catch (e) {\n reject(e)\n }\n })\n }\n\n try {\n const data = QRCode.create(text, opts)\n cb(null, renderFunc(data, canvas, opts))\n } catch (e) {\n cb(e)\n }\n}\n\nexports.create = QRCode.create\nexports.toCanvas = renderCanvas.bind(null, CanvasRenderer.render)\nexports.toDataURL = renderCanvas.bind(null, CanvasRenderer.renderToDataURL)\n\n// only svg for now.\nexports.toString = renderCanvas.bind(null, function (data, _, opts) {\n return SvgRenderer.render(data, opts)\n})\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/browser.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/can-promise.js":
/*!************************************************!*\
!*** ./node_modules/qrcode/lib/can-promise.js ***!
\************************************************/
/***/ ((module) => {
eval("// can-promise has a crash in some versions of react native that dont have\n// standard global objects\n// https://github.com/soldair/node-qrcode/issues/157\n\nmodule.exports = function () {\n return typeof Promise === 'function' && Promise.prototype && Promise.prototype.then\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/can-promise.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/alignment-pattern.js":
/*!***********************************************************!*\
!*** ./node_modules/qrcode/lib/core/alignment-pattern.js ***!
\***********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("/**\n * Alignment pattern are fixed reference pattern in defined positions\n * in a matrix symbology, which enables the decode software to re-synchronise\n * the coordinate mapping of the image modules in the event of moderate amounts\n * of distortion of the image.\n *\n * Alignment patterns are present only in QR Code symbols of version 2 or larger\n * and their number depends on the symbol version.\n */\n\nconst getSymbolSize = (__webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\").getSymbolSize)\n\n/**\n * Calculate the row/column coordinates of the center module of each alignment pattern\n * for the specified QR Code version.\n *\n * The alignment patterns are positioned symmetrically on either side of the diagonal\n * running from the top left corner of the symbol to the bottom right corner.\n *\n * Since positions are simmetrical only half of the coordinates are returned.\n * Each item of the array will represent in turn the x and y coordinate.\n * @see {@link getPositions}\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinate\n */\nexports.getRowColCoords = function getRowColCoords (version) {\n if (version === 1) return []\n\n const posCount = Math.floor(version / 7) + 2\n const size = getSymbolSize(version)\n const intervals = size === 145 ? 26 : Math.ceil((size - 13) / (2 * posCount - 2)) * 2\n const positions = [size - 7] // Last coord is always (size - 7)\n\n for (let i = 1; i < posCount - 1; i++) {\n positions[i] = positions[i - 1] - intervals\n }\n\n positions.push(6) // First coord is always 6\n\n return positions.reverse()\n}\n\n/**\n * Returns an array containing the positions of each alignment pattern.\n * Each array's element represent the center point of the pattern as (x, y) coordinates\n *\n * Coordinates are calculated expanding the row/column coordinates returned by {@link getRowColCoords}\n * and filtering out the items that overlaps with finder pattern\n *\n * @example\n * For a Version 7 symbol {@link getRowColCoords} returns values 6, 22 and 38.\n * The alignment patterns, therefore, are to be centered on (row, column)\n * positions (6,22), (22,6), (22,22), (22,38), (38,22), (38,38).\n * Note that the coordinates (6,6), (6,38), (38,6) are occupied by finder patterns\n * and are not therefore used for alignment patterns.\n *\n * let pos = getPositions(7)\n * // [[6,22], [22,6], [22,22], [22,38], [38,22], [38,38]]\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const coords = []\n const pos = exports.getRowColCoords(version)\n const posLength = pos.length\n\n for (let i = 0; i < posLength; i++) {\n for (let j = 0; j < posLength; j++) {\n // Skip if position is occupied by finder patterns\n if ((i === 0 && j === 0) || // top-left\n (i === 0 && j === posLength - 1) || // bottom-left\n (i === posLength - 1 && j === 0)) { // top-right\n continue\n }\n\n coords.push([pos[i], pos[j]])\n }\n }\n\n return coords\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/alignment-pattern.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/alphanumeric-data.js":
/*!***********************************************************!*\
!*** ./node_modules/qrcode/lib/core/alphanumeric-data.js ***!
\***********************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\n\n/**\n * Array of characters available in alphanumeric mode\n *\n * As per QR Code specification, to each character\n * is assigned a value from 0 to 44 which in this case coincides\n * with the array index\n *\n * @type {Array}\n */\nconst ALPHA_NUM_CHARS = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',\n 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',\n ' ', '$', '%', '*', '+', '-', '.', '/', ':'\n]\n\nfunction AlphanumericData (data) {\n this.mode = Mode.ALPHANUMERIC\n this.data = data\n}\n\nAlphanumericData.getBitsLength = function getBitsLength (length) {\n return 11 * Math.floor(length / 2) + 6 * (length % 2)\n}\n\nAlphanumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nAlphanumericData.prototype.getBitsLength = function getBitsLength () {\n return AlphanumericData.getBitsLength(this.data.length)\n}\n\nAlphanumericData.prototype.write = function write (bitBuffer) {\n let i\n\n // Input data characters are divided into groups of two characters\n // and encoded as 11-bit binary codes.\n for (i = 0; i + 2 <= this.data.length; i += 2) {\n // The character value of the first character is multiplied by 45\n let value = ALPHA_NUM_CHARS.indexOf(this.data[i]) * 45\n\n // The character value of the second digit is added to the product\n value += ALPHA_NUM_CHARS.indexOf(this.data[i + 1])\n\n // The sum is then stored as 11-bit binary number\n bitBuffer.put(value, 11)\n }\n\n // If the number of input data characters is not a multiple of two,\n // the character value of the final character is encoded as a 6-bit binary number.\n if (this.data.length % 2) {\n bitBuffer.put(ALPHA_NUM_CHARS.indexOf(this.data[i]), 6)\n }\n}\n\nmodule.exports = AlphanumericData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/alphanumeric-data.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/bit-buffer.js":
/*!****************************************************!*\
!*** ./node_modules/qrcode/lib/core/bit-buffer.js ***!
\****************************************************/
/***/ ((module) => {
eval("function BitBuffer () {\n this.buffer = []\n this.length = 0\n}\n\nBitBuffer.prototype = {\n\n get: function (index) {\n const bufIndex = Math.floor(index / 8)\n return ((this.buffer[bufIndex] >>> (7 - index % 8)) & 1) === 1\n },\n\n put: function (num, length) {\n for (let i = 0; i < length; i++) {\n this.putBit(((num >>> (length - i - 1)) & 1) === 1)\n }\n },\n\n getLengthInBits: function () {\n return this.length\n },\n\n putBit: function (bit) {\n const bufIndex = Math.floor(this.length / 8)\n if (this.buffer.length <= bufIndex) {\n this.buffer.push(0)\n }\n\n if (bit) {\n this.buffer[bufIndex] |= (0x80 >>> (this.length % 8))\n }\n\n this.length++\n }\n}\n\nmodule.exports = BitBuffer\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/bit-buffer.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/bit-matrix.js":
/*!****************************************************!*\
!*** ./node_modules/qrcode/lib/core/bit-matrix.js ***!
\****************************************************/
/***/ ((module) => {
eval("/**\n * Helper class to handle QR Code symbol modules\n *\n * @param {Number} size Symbol size\n */\nfunction BitMatrix (size) {\n if (!size || size < 1) {\n throw new Error('BitMatrix size must be defined and greater than 0')\n }\n\n this.size = size\n this.data = new Uint8Array(size * size)\n this.reservedBit = new Uint8Array(size * size)\n}\n\n/**\n * Set bit value at specified location\n * If reserved flag is set, this bit will be ignored during masking process\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n * @param {Boolean} reserved\n */\nBitMatrix.prototype.set = function (row, col, value, reserved) {\n const index = row * this.size + col\n this.data[index] = value\n if (reserved) this.reservedBit[index] = true\n}\n\n/**\n * Returns bit value at specified location\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.get = function (row, col) {\n return this.data[row * this.size + col]\n}\n\n/**\n * Applies xor operator at specified location\n * (used during masking process)\n *\n * @param {Number} row\n * @param {Number} col\n * @param {Boolean} value\n */\nBitMatrix.prototype.xor = function (row, col, value) {\n this.data[row * this.size + col] ^= value\n}\n\n/**\n * Check if bit at specified location is reserved\n *\n * @param {Number} row\n * @param {Number} col\n * @return {Boolean}\n */\nBitMatrix.prototype.isReserved = function (row, col) {\n return this.reservedBit[row * this.size + col]\n}\n\nmodule.exports = BitMatrix\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/bit-matrix.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/byte-data.js":
/*!***************************************************!*\
!*** ./node_modules/qrcode/lib/core/byte-data.js ***!
\***************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
eval("const encodeUtf8 = __webpack_require__(/*! encode-utf8 */ \"./node_modules/encode-utf8/index.js\")\nconst Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\n\nfunction ByteData (data) {\n this.mode = Mode.BYTE\n if (typeof (data) === 'string') {\n data = encodeUtf8(data)\n }\n this.data = new Uint8Array(data)\n}\n\nByteData.getBitsLength = function getBitsLength (length) {\n return length * 8\n}\n\nByteData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nByteData.prototype.getBitsLength = function getBitsLength () {\n return ByteData.getBitsLength(this.data.length)\n}\n\nByteData.prototype.write = function (bitBuffer) {\n for (let i = 0, l = this.data.length; i < l; i++) {\n bitBuffer.put(this.data[i], 8)\n }\n}\n\nmodule.exports = ByteData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/byte-data.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/error-correction-code.js":
/*!***************************************************************!*\
!*** ./node_modules/qrcode/lib/core/error-correction-code.js ***!
\***************************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const ECLevel = __webpack_require__(/*! ./error-correction-level */ \"./node_modules/qrcode/lib/core/error-correction-level.js\")\r\n\r\nconst EC_BLOCKS_TABLE = [\r\n// L M Q H\r\n 1, 1, 1, 1,\r\n 1, 1, 1, 1,\r\n 1, 1, 2, 2,\r\n 1, 2, 2, 4,\r\n 1, 2, 4, 4,\r\n 2, 4, 4, 4,\r\n 2, 4, 6, 5,\r\n 2, 4, 6, 6,\r\n 2, 5, 8, 8,\r\n 4, 5, 8, 8,\r\n 4, 5, 8, 11,\r\n 4, 8, 10, 11,\r\n 4, 9, 12, 16,\r\n 4, 9, 16, 16,\r\n 6, 10, 12, 18,\r\n 6, 10, 17, 16,\r\n 6, 11, 16, 19,\r\n 6, 13, 18, 21,\r\n 7, 14, 21, 25,\r\n 8, 16, 20, 25,\r\n 8, 17, 23, 25,\r\n 9, 17, 23, 34,\r\n 9, 18, 25, 30,\r\n 10, 20, 27, 32,\r\n 12, 21, 29, 35,\r\n 12, 23, 34, 37,\r\n 12, 25, 34, 40,\r\n 13, 26, 35, 42,\r\n 14, 28, 38, 45,\r\n 15, 29, 40, 48,\r\n 16, 31, 43, 51,\r\n 17, 33, 45, 54,\r\n 18, 35, 48, 57,\r\n 19, 37, 51, 60,\r\n 19, 38, 53, 63,\r\n 20, 40, 56, 66,\r\n 21, 43, 59, 70,\r\n 22, 45, 62, 74,\r\n 24, 47, 65, 77,\r\n 25, 49, 68, 81\r\n]\r\n\r\nconst EC_CODEWORDS_TABLE = [\r\n// L M Q H\r\n 7, 10, 13, 17,\r\n 10, 16, 22, 28,\r\n 15, 26, 36, 44,\r\n 20, 36, 52, 64,\r\n 26, 48, 72, 88,\r\n 36, 64, 96, 112,\r\n 40, 72, 108, 130,\r\n 48, 88, 132, 156,\r\n 60, 110, 160, 192,\r\n 72, 130, 192, 224,\r\n 80, 150, 224, 264,\r\n 96, 176, 260, 308,\r\n 104, 198, 288, 352,\r\n 120, 216, 320, 384,\r\n 132, 240, 360, 432,\r\n 144, 280, 408, 480,\r\n 168, 308, 448, 532,\r\n 180, 338, 504, 588,\r\n 196, 364, 546, 650,\r\n 224, 416, 600, 700,\r\n 224, 442, 644, 750,\r\n 252, 476, 690, 816,\r\n 270, 504, 750, 900,\r\n 300, 560, 810, 960,\r\n 312, 588, 870, 1050,\r\n 336, 644, 952, 1110,\r\n 360, 700, 1020, 1200,\r\n 390, 728, 1050, 1260,\r\n 420, 784, 1140, 1350,\r\n 450, 812, 1200, 1440,\r\n 480, 868, 1290, 1530,\r\n 510, 924, 1350, 1620,\r\n 540, 980, 1440, 1710,\r\n 570, 1036, 1530, 1800,\r\n 570, 1064, 1590, 1890,\r\n 600, 1120, 1680, 1980,\r\n 630, 1204, 1770, 2100,\r\n 660, 1260, 1860, 2220,\r\n 720, 1316, 1950, 2310,\r\n 750, 1372, 2040, 2430\r\n]\r\n\r\n/**\r\n * Returns the number of error correction block that the QR Code should contain\r\n * for the specified version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction blocks\r\n */\r\nexports.getBlocksCount = function getBlocksCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_BLOCKS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\r\n/**\r\n * Returns the number of error correction codewords to use for the specified\r\n * version and error correction level.\r\n *\r\n * @param {Number} version QR Code version\r\n * @param {Number} errorCorrectionLevel Error correction level\r\n * @return {Number} Number of error correction codewords\r\n */\r\nexports.getTotalCodewordsCount = function getTotalCodewordsCount (version, errorCorrectionLevel) {\r\n switch (errorCorrectionLevel) {\r\n case ECLevel.L:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 0]\r\n case ECLevel.M:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 1]\r\n case ECLevel.Q:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 2]\r\n case ECLevel.H:\r\n return EC_CODEWORDS_TABLE[(version - 1) * 4 + 3]\r\n default:\r\n return undefined\r\n }\r\n}\r\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/error-correction-code.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/error-correction-level.js":
/*!****************************************************************!*\
!*** ./node_modules/qrcode/lib/core/error-correction-level.js ***!
\****************************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("exports.L = { bit: 1 }\nexports.M = { bit: 0 }\nexports.Q = { bit: 3 }\nexports.H = { bit: 2 }\n\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'l':\n case 'low':\n return exports.L\n\n case 'm':\n case 'medium':\n return exports.M\n\n case 'q':\n case 'quartile':\n return exports.Q\n\n case 'h':\n case 'high':\n return exports.H\n\n default:\n throw new Error('Unknown EC Level: ' + string)\n }\n}\n\nexports.isValid = function isValid (level) {\n return level && typeof level.bit !== 'undefined' &&\n level.bit >= 0 && level.bit < 4\n}\n\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/error-correction-level.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/finder-pattern.js":
/*!********************************************************!*\
!*** ./node_modules/qrcode/lib/core/finder-pattern.js ***!
\********************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const getSymbolSize = (__webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\").getSymbolSize)\nconst FINDER_PATTERN_SIZE = 7\n\n/**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\nexports.getPositions = function getPositions (version) {\n const size = getSymbolSize(version)\n\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]\n ]\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/finder-pattern.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/format-info.js":
/*!*****************************************************!*\
!*** ./node_modules/qrcode/lib/core/format-info.js ***!
\*****************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\n\nconst G15 = (1 << 10) | (1 << 8) | (1 << 5) | (1 << 4) | (1 << 2) | (1 << 1) | (1 << 0)\nconst G15_MASK = (1 << 14) | (1 << 12) | (1 << 10) | (1 << 4) | (1 << 1)\nconst G15_BCH = Utils.getBCHDigit(G15)\n\n/**\n * Returns format information with relative error correction bits\n *\n * The format information is a 15-bit sequence containing 5 data bits,\n * with 10 error correction bits calculated using the (15, 5) BCH code.\n *\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Number} mask Mask pattern\n * @return {Number} Encoded format information bits\n */\nexports.getEncodedBits = function getEncodedBits (errorCorrectionLevel, mask) {\n const data = ((errorCorrectionLevel.bit << 3) | mask)\n let d = data << 10\n\n while (Utils.getBCHDigit(d) - G15_BCH >= 0) {\n d ^= (G15 << (Utils.getBCHDigit(d) - G15_BCH))\n }\n\n // xor final data with mask pattern in order to ensure that\n // no combination of Error Correction Level and data mask pattern\n // will result in an all-zero data string\n return ((data << 10) | d) ^ G15_MASK\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/format-info.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/galois-field.js":
/*!******************************************************!*\
!*** ./node_modules/qrcode/lib/core/galois-field.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("const EXP_TABLE = new Uint8Array(512)\nconst LOG_TABLE = new Uint8Array(256)\n/**\n * Precompute the log and anti-log tables for faster computation later\n *\n * For each possible value in the galois field 2^8, we will pre-compute\n * the logarithm and anti-logarithm (exponential) of this value\n *\n * ref {@link https://en.wikiversity.org/wiki/Reed%E2%80%93Solomon_codes_for_coders#Introduction_to_mathematical_fields}\n */\n;(function initTables () {\n let x = 1\n for (let i = 0; i < 255; i++) {\n EXP_TABLE[i] = x\n LOG_TABLE[x] = i\n\n x <<= 1 // multiply by 2\n\n // The QR code specification says to use byte-wise modulo 100011101 arithmetic.\n // This means that when a number is 256 or larger, it should be XORed with 0x11D.\n if (x & 0x100) { // similar to x >= 256, but a lot faster (because 0x100 == 256)\n x ^= 0x11D\n }\n }\n\n // Optimization: double the size of the anti-log table so that we don't need to mod 255 to\n // stay inside the bounds (because we will mainly use this table for the multiplication of\n // two GF numbers, no more).\n // @see {@link mul}\n for (let i = 255; i < 512; i++) {\n EXP_TABLE[i] = EXP_TABLE[i - 255]\n }\n}())\n\n/**\n * Returns log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.log = function log (n) {\n if (n < 1) throw new Error('log(' + n + ')')\n return LOG_TABLE[n]\n}\n\n/**\n * Returns anti-log value of n inside Galois Field\n *\n * @param {Number} n\n * @return {Number}\n */\nexports.exp = function exp (n) {\n return EXP_TABLE[n]\n}\n\n/**\n * Multiplies two number inside Galois Field\n *\n * @param {Number} x\n * @param {Number} y\n * @return {Number}\n */\nexports.mul = function mul (x, y) {\n if (x === 0 || y === 0) return 0\n\n // should be EXP_TABLE[(LOG_TABLE[x] + LOG_TABLE[y]) % 255] if EXP_TABLE wasn't oversized\n // @see {@link initTables}\n return EXP_TABLE[LOG_TABLE[x] + LOG_TABLE[y]]\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/galois-field.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/kanji-data.js":
/*!****************************************************!*\
!*** ./node_modules/qrcode/lib/core/kanji-data.js ***!
\****************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\n\nfunction KanjiData (data) {\n this.mode = Mode.KANJI\n this.data = data\n}\n\nKanjiData.getBitsLength = function getBitsLength (length) {\n return length * 13\n}\n\nKanjiData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nKanjiData.prototype.getBitsLength = function getBitsLength () {\n return KanjiData.getBitsLength(this.data.length)\n}\n\nKanjiData.prototype.write = function (bitBuffer) {\n let i\n\n // In the Shift JIS system, Kanji characters are represented by a two byte combination.\n // These byte values are shifted from the JIS X 0208 values.\n // JIS X 0208 gives details of the shift coded representation.\n for (i = 0; i < this.data.length; i++) {\n let value = Utils.toSJIS(this.data[i])\n\n // For characters with Shift JIS values from 0x8140 to 0x9FFC:\n if (value >= 0x8140 && value <= 0x9FFC) {\n // Subtract 0x8140 from Shift JIS value\n value -= 0x8140\n\n // For characters with Shift JIS values from 0xE040 to 0xEBBF\n } else if (value >= 0xE040 && value <= 0xEBBF) {\n // Subtract 0xC140 from Shift JIS value\n value -= 0xC140\n } else {\n throw new Error(\n 'Invalid SJIS character: ' + this.data[i] + '\\n' +\n 'Make sure your charset is UTF-8')\n }\n\n // Multiply most significant byte of result by 0xC0\n // and add least significant byte to product\n value = (((value >>> 8) & 0xff) * 0xC0) + (value & 0xff)\n\n // Convert result to a 13-bit binary string\n bitBuffer.put(value, 13)\n }\n}\n\nmodule.exports = KanjiData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/kanji-data.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/mask-pattern.js":
/*!******************************************************!*\
!*** ./node_modules/qrcode/lib/core/mask-pattern.js ***!
\******************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("/**\n * Data mask pattern reference\n * @type {Object}\n */\nexports.Patterns = {\n PATTERN000: 0,\n PATTERN001: 1,\n PATTERN010: 2,\n PATTERN011: 3,\n PATTERN100: 4,\n PATTERN101: 5,\n PATTERN110: 6,\n PATTERN111: 7\n}\n\n/**\n * Weighted penalty scores for the undesirable features\n * @type {Object}\n */\nconst PenaltyScores = {\n N1: 3,\n N2: 3,\n N3: 40,\n N4: 10\n}\n\n/**\n * Check if mask pattern value is valid\n *\n * @param {Number} mask Mask pattern\n * @return {Boolean} true if valid, false otherwise\n */\nexports.isValid = function isValid (mask) {\n return mask != null && mask !== '' && !isNaN(mask) && mask >= 0 && mask <= 7\n}\n\n/**\n * Returns mask pattern from a value.\n * If value is not valid, returns undefined\n *\n * @param {Number|String} value Mask pattern value\n * @return {Number} Valid mask pattern or undefined\n */\nexports.from = function from (value) {\n return exports.isValid(value) ? parseInt(value, 10) : undefined\n}\n\n/**\n* Find adjacent modules in row/column with the same color\n* and assign a penalty value.\n*\n* Points: N1 + i\n* i is the amount by which the number of adjacent modules of the same color exceeds 5\n*/\nexports.getPenaltyN1 = function getPenaltyN1 (data) {\n const size = data.size\n let points = 0\n let sameCountCol = 0\n let sameCountRow = 0\n let lastCol = null\n let lastRow = null\n\n for (let row = 0; row < size; row++) {\n sameCountCol = sameCountRow = 0\n lastCol = lastRow = null\n\n for (let col = 0; col < size; col++) {\n let module = data.get(row, col)\n if (module === lastCol) {\n sameCountCol++\n } else {\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n lastCol = module\n sameCountCol = 1\n }\n\n module = data.get(col, row)\n if (module === lastRow) {\n sameCountRow++\n } else {\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n lastRow = module\n sameCountRow = 1\n }\n }\n\n if (sameCountCol >= 5) points += PenaltyScores.N1 + (sameCountCol - 5)\n if (sameCountRow >= 5) points += PenaltyScores.N1 + (sameCountRow - 5)\n }\n\n return points\n}\n\n/**\n * Find 2x2 blocks with the same color and assign a penalty value\n *\n * Points: N2 * (m - 1) * (n - 1)\n */\nexports.getPenaltyN2 = function getPenaltyN2 (data) {\n const size = data.size\n let points = 0\n\n for (let row = 0; row < size - 1; row++) {\n for (let col = 0; col < size - 1; col++) {\n const last = data.get(row, col) +\n data.get(row, col + 1) +\n data.get(row + 1, col) +\n data.get(row + 1, col + 1)\n\n if (last === 4 || last === 0) points++\n }\n }\n\n return points * PenaltyScores.N2\n}\n\n/**\n * Find 1:1:3:1:1 ratio (dark:light:dark:light:dark) pattern in row/column,\n * preceded or followed by light area 4 modules wide\n *\n * Points: N3 * number of pattern found\n */\nexports.getPenaltyN3 = function getPenaltyN3 (data) {\n const size = data.size\n let points = 0\n let bitsCol = 0\n let bitsRow = 0\n\n for (let row = 0; row < size; row++) {\n bitsCol = bitsRow = 0\n for (let col = 0; col < size; col++) {\n bitsCol = ((bitsCol << 1) & 0x7FF) | data.get(row, col)\n if (col >= 10 && (bitsCol === 0x5D0 || bitsCol === 0x05D)) points++\n\n bitsRow = ((bitsRow << 1) & 0x7FF) | data.get(col, row)\n if (col >= 10 && (bitsRow === 0x5D0 || bitsRow === 0x05D)) points++\n }\n }\n\n return points * PenaltyScores.N3\n}\n\n/**\n * Calculate proportion of dark modules in entire symbol\n *\n * Points: N4 * k\n *\n * k is the rating of the deviation of the proportion of dark modules\n * in the symbol from 50% in steps of 5%\n */\nexports.getPenaltyN4 = function getPenaltyN4 (data) {\n let darkCount = 0\n const modulesCount = data.data.length\n\n for (let i = 0; i < modulesCount; i++) darkCount += data.data[i]\n\n const k = Math.abs(Math.ceil((darkCount * 100 / modulesCount) / 5) - 10)\n\n return k * PenaltyScores.N4\n}\n\n/**\n * Return mask value at given position\n *\n * @param {Number} maskPattern Pattern reference value\n * @param {Number} i Row\n * @param {Number} j Column\n * @return {Boolean} Mask value\n */\nfunction getMaskAt (maskPattern, i, j) {\n switch (maskPattern) {\n case exports.Patterns.PATTERN000: return (i + j) % 2 === 0\n case exports.Patterns.PATTERN001: return i % 2 === 0\n case exports.Patterns.PATTERN010: return j % 3 === 0\n case exports.Patterns.PATTERN011: return (i + j) % 3 === 0\n case exports.Patterns.PATTERN100: return (Math.floor(i / 2) + Math.floor(j / 3)) % 2 === 0\n case exports.Patterns.PATTERN101: return (i * j) % 2 + (i * j) % 3 === 0\n case exports.Patterns.PATTERN110: return ((i * j) % 2 + (i * j) % 3) % 2 === 0\n case exports.Patterns.PATTERN111: return ((i * j) % 3 + (i + j) % 2) % 2 === 0\n\n default: throw new Error('bad maskPattern:' + maskPattern)\n }\n}\n\n/**\n * Apply a mask pattern to a BitMatrix\n *\n * @param {Number} pattern Pattern reference number\n * @param {BitMatrix} data BitMatrix data\n */\nexports.applyMask = function applyMask (pattern, data) {\n const size = data.size\n\n for (let col = 0; col < size; col++) {\n for (let row = 0; row < size; row++) {\n if (data.isReserved(row, col)) continue\n data.xor(row, col, getMaskAt(pattern, row, col))\n }\n }\n}\n\n/**\n * Returns the best mask pattern for data\n *\n * @param {BitMatrix} data\n * @return {Number} Mask pattern reference number\n */\nexports.getBestMask = function getBestMask (data, setupFormatFunc) {\n const numPatterns = Object.keys(exports.Patterns).length\n let bestPattern = 0\n let lowerPenalty = Infinity\n\n for (let p = 0; p < numPatterns; p++) {\n setupFormatFunc(p)\n exports.applyMask(p, data)\n\n // Calculate penalty\n const penalty =\n exports.getPenaltyN1(data) +\n exports.getPenaltyN2(data) +\n exports.getPenaltyN3(data) +\n exports.getPenaltyN4(data)\n\n // Undo previously applied mask\n exports.applyMask(p, data)\n\n if (penalty < lowerPenalty) {\n lowerPenalty = penalty\n bestPattern = p\n }\n }\n\n return bestPattern\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/mask-pattern.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/mode.js":
/*!**********************************************!*\
!*** ./node_modules/qrcode/lib/core/mode.js ***!
\**********************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const VersionCheck = __webpack_require__(/*! ./version-check */ \"./node_modules/qrcode/lib/core/version-check.js\")\nconst Regex = __webpack_require__(/*! ./regex */ \"./node_modules/qrcode/lib/core/regex.js\")\n\n/**\n * Numeric mode encodes data from the decimal digit set (0 - 9)\n * (byte values 30HEX to 39HEX).\n * Normally, 3 data characters are represented by 10 bits.\n *\n * @type {Object}\n */\nexports.NUMERIC = {\n id: 'Numeric',\n bit: 1 << 0,\n ccBits: [10, 12, 14]\n}\n\n/**\n * Alphanumeric mode encodes data from a set of 45 characters,\n * i.e. 10 numeric digits (0 - 9),\n * 26 alphabetic characters (A - Z),\n * and 9 symbols (SP, $, %, *, +, -, ., /, :).\n * Normally, two input characters are represented by 11 bits.\n *\n * @type {Object}\n */\nexports.ALPHANUMERIC = {\n id: 'Alphanumeric',\n bit: 1 << 1,\n ccBits: [9, 11, 13]\n}\n\n/**\n * In byte mode, data is encoded at 8 bits per character.\n *\n * @type {Object}\n */\nexports.BYTE = {\n id: 'Byte',\n bit: 1 << 2,\n ccBits: [8, 16, 16]\n}\n\n/**\n * The Kanji mode efficiently encodes Kanji characters in accordance with\n * the Shift JIS system based on JIS X 0208.\n * The Shift JIS values are shifted from the JIS X 0208 values.\n * JIS X 0208 gives details of the shift coded representation.\n * Each two-byte character value is compacted to a 13-bit binary codeword.\n *\n * @type {Object}\n */\nexports.KANJI = {\n id: 'Kanji',\n bit: 1 << 3,\n ccBits: [8, 10, 12]\n}\n\n/**\n * Mixed mode will contain a sequences of data in a combination of any of\n * the modes described above\n *\n * @type {Object}\n */\nexports.MIXED = {\n bit: -1\n}\n\n/**\n * Returns the number of bits needed to store the data length\n * according to QR Code specifications.\n *\n * @param {Mode} mode Data mode\n * @param {Number} version QR Code version\n * @return {Number} Number of bits\n */\nexports.getCharCountIndicator = function getCharCountIndicator (mode, version) {\n if (!mode.ccBits) throw new Error('Invalid mode: ' + mode)\n\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid version: ' + version)\n }\n\n if (version >= 1 && version < 10) return mode.ccBits[0]\n else if (version < 27) return mode.ccBits[1]\n return mode.ccBits[2]\n}\n\n/**\n * Returns the most efficient mode to store the specified data\n *\n * @param {String} dataStr Input data string\n * @return {Mode} Best mode\n */\nexports.getBestModeForData = function getBestModeForData (dataStr) {\n if (Regex.testNumeric(dataStr)) return exports.NUMERIC\n else if (Regex.testAlphanumeric(dataStr)) return exports.ALPHANUMERIC\n else if (Regex.testKanji(dataStr)) return exports.KANJI\n else return exports.BYTE\n}\n\n/**\n * Return mode name as string\n *\n * @param {Mode} mode Mode object\n * @returns {String} Mode name\n */\nexports.toString = function toString (mode) {\n if (mode && mode.id) return mode.id\n throw new Error('Invalid mode')\n}\n\n/**\n * Check if input param is a valid mode object\n *\n * @param {Mode} mode Mode object\n * @returns {Boolean} True if valid mode, false otherwise\n */\nexports.isValid = function isValid (mode) {\n return mode && mode.bit && mode.ccBits\n}\n\n/**\n * Get mode object from its name\n *\n * @param {String} string Mode name\n * @returns {Mode} Mode object\n */\nfunction fromString (string) {\n if (typeof string !== 'string') {\n throw new Error('Param is not a string')\n }\n\n const lcStr = string.toLowerCase()\n\n switch (lcStr) {\n case 'numeric':\n return exports.NUMERIC\n case 'alphanumeric':\n return exports.ALPHANUMERIC\n case 'kanji':\n return exports.KANJI\n case 'byte':\n return exports.BYTE\n default:\n throw new Error('Unknown mode: ' + string)\n }\n}\n\n/**\n * Returns mode from a value.\n * If value is not a valid mode, returns defaultValue\n *\n * @param {Mode|String} value Encoding mode\n * @param {Mode} defaultValue Fallback value\n * @return {Mode} Encoding mode\n */\nexports.from = function from (value, defaultValue) {\n if (exports.isValid(value)) {\n return value\n }\n\n try {\n return fromString(value)\n } catch (e) {\n return defaultValue\n }\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/mode.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/numeric-data.js":
/*!******************************************************!*\
!*** ./node_modules/qrcode/lib/core/numeric-data.js ***!
\******************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\n\nfunction NumericData (data) {\n this.mode = Mode.NUMERIC\n this.data = data.toString()\n}\n\nNumericData.getBitsLength = function getBitsLength (length) {\n return 10 * Math.floor(length / 3) + ((length % 3) ? ((length % 3) * 3 + 1) : 0)\n}\n\nNumericData.prototype.getLength = function getLength () {\n return this.data.length\n}\n\nNumericData.prototype.getBitsLength = function getBitsLength () {\n return NumericData.getBitsLength(this.data.length)\n}\n\nNumericData.prototype.write = function write (bitBuffer) {\n let i, group, value\n\n // The input data string is divided into groups of three digits,\n // and each group is converted to its 10-bit binary equivalent.\n for (i = 0; i + 3 <= this.data.length; i += 3) {\n group = this.data.substr(i, 3)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, 10)\n }\n\n // If the number of input digits is not an exact multiple of three,\n // the final one or two digits are converted to 4 or 7 bits respectively.\n const remainingNum = this.data.length - i\n if (remainingNum > 0) {\n group = this.data.substr(i)\n value = parseInt(group, 10)\n\n bitBuffer.put(value, remainingNum * 3 + 1)\n }\n}\n\nmodule.exports = NumericData\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/numeric-data.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/polynomial.js":
/*!****************************************************!*\
!*** ./node_modules/qrcode/lib/core/polynomial.js ***!
\****************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const GF = __webpack_require__(/*! ./galois-field */ \"./node_modules/qrcode/lib/core/galois-field.js\")\n\n/**\n * Multiplies two polynomials inside Galois Field\n *\n * @param {Uint8Array} p1 Polynomial\n * @param {Uint8Array} p2 Polynomial\n * @return {Uint8Array} Product of p1 and p2\n */\nexports.mul = function mul (p1, p2) {\n const coeff = new Uint8Array(p1.length + p2.length - 1)\n\n for (let i = 0; i < p1.length; i++) {\n for (let j = 0; j < p2.length; j++) {\n coeff[i + j] ^= GF.mul(p1[i], p2[j])\n }\n }\n\n return coeff\n}\n\n/**\n * Calculate the remainder of polynomials division\n *\n * @param {Uint8Array} divident Polynomial\n * @param {Uint8Array} divisor Polynomial\n * @return {Uint8Array} Remainder\n */\nexports.mod = function mod (divident, divisor) {\n let result = new Uint8Array(divident)\n\n while ((result.length - divisor.length) >= 0) {\n const coeff = result[0]\n\n for (let i = 0; i < divisor.length; i++) {\n result[i] ^= GF.mul(divisor[i], coeff)\n }\n\n // remove all zeros from buffer head\n let offset = 0\n while (offset < result.length && result[offset] === 0) offset++\n result = result.slice(offset)\n }\n\n return result\n}\n\n/**\n * Generate an irreducible generator polynomial of specified degree\n * (used by Reed-Solomon encoder)\n *\n * @param {Number} degree Degree of the generator polynomial\n * @return {Uint8Array} Buffer containing polynomial coefficients\n */\nexports.generateECPolynomial = function generateECPolynomial (degree) {\n let poly = new Uint8Array([1])\n for (let i = 0; i < degree; i++) {\n poly = exports.mul(poly, new Uint8Array([1, GF.exp(i)]))\n }\n\n return poly\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/polynomial.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/qrcode.js":
/*!************************************************!*\
!*** ./node_modules/qrcode/lib/core/qrcode.js ***!
\************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\nconst ECLevel = __webpack_require__(/*! ./error-correction-level */ \"./node_modules/qrcode/lib/core/error-correction-level.js\")\nconst BitBuffer = __webpack_require__(/*! ./bit-buffer */ \"./node_modules/qrcode/lib/core/bit-buffer.js\")\nconst BitMatrix = __webpack_require__(/*! ./bit-matrix */ \"./node_modules/qrcode/lib/core/bit-matrix.js\")\nconst AlignmentPattern = __webpack_require__(/*! ./alignment-pattern */ \"./node_modules/qrcode/lib/core/alignment-pattern.js\")\nconst FinderPattern = __webpack_require__(/*! ./finder-pattern */ \"./node_modules/qrcode/lib/core/finder-pattern.js\")\nconst MaskPattern = __webpack_require__(/*! ./mask-pattern */ \"./node_modules/qrcode/lib/core/mask-pattern.js\")\nconst ECCode = __webpack_require__(/*! ./error-correction-code */ \"./node_modules/qrcode/lib/core/error-correction-code.js\")\nconst ReedSolomonEncoder = __webpack_require__(/*! ./reed-solomon-encoder */ \"./node_modules/qrcode/lib/core/reed-solomon-encoder.js\")\nconst Version = __webpack_require__(/*! ./version */ \"./node_modules/qrcode/lib/core/version.js\")\nconst FormatInfo = __webpack_require__(/*! ./format-info */ \"./node_modules/qrcode/lib/core/format-info.js\")\nconst Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst Segments = __webpack_require__(/*! ./segments */ \"./node_modules/qrcode/lib/core/segments.js\")\n\n/**\n * QRCode for JavaScript\n *\n * modified by Ryan Day for nodejs support\n * Copyright (c) 2011 Ryan Day\n *\n * Licensed under the MIT license:\n * http://www.opensource.org/licenses/mit-license.php\n *\n//---------------------------------------------------------------------\n// QRCode for JavaScript\n//\n// Copyright (c) 2009 Kazuhiko Arase\n//\n// URL: http://www.d-project.com/\n//\n// Licensed under the MIT license:\n// http://www.opensource.org/licenses/mit-license.php\n//\n// The word \"QR Code\" is registered trademark of\n// DENSO WAVE INCORPORATED\n// http://www.denso-wave.com/qrcode/faqpatent-e.html\n//\n//---------------------------------------------------------------------\n*/\n\n/**\n * Add finder patterns bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupFinderPattern (matrix, version) {\n const size = matrix.size\n const pos = FinderPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -1; r <= 7; r++) {\n if (row + r <= -1 || size <= row + r) continue\n\n for (let c = -1; c <= 7; c++) {\n if (col + c <= -1 || size <= col + c) continue\n\n if ((r >= 0 && r <= 6 && (c === 0 || c === 6)) ||\n (c >= 0 && c <= 6 && (r === 0 || r === 6)) ||\n (r >= 2 && r <= 4 && c >= 2 && c <= 4)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add timing pattern bits to matrix\n *\n * Note: this function must be called before {@link setupAlignmentPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n */\nfunction setupTimingPattern (matrix) {\n const size = matrix.size\n\n for (let r = 8; r < size - 8; r++) {\n const value = r % 2 === 0\n matrix.set(r, 6, value, true)\n matrix.set(6, r, value, true)\n }\n}\n\n/**\n * Add alignment patterns bits to matrix\n *\n * Note: this function must be called after {@link setupTimingPattern}\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupAlignmentPattern (matrix, version) {\n const pos = AlignmentPattern.getPositions(version)\n\n for (let i = 0; i < pos.length; i++) {\n const row = pos[i][0]\n const col = pos[i][1]\n\n for (let r = -2; r <= 2; r++) {\n for (let c = -2; c <= 2; c++) {\n if (r === -2 || r === 2 || c === -2 || c === 2 ||\n (r === 0 && c === 0)) {\n matrix.set(row + r, col + c, true, true)\n } else {\n matrix.set(row + r, col + c, false, true)\n }\n }\n }\n }\n}\n\n/**\n * Add version info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Number} version QR Code version\n */\nfunction setupVersionInfo (matrix, version) {\n const size = matrix.size\n const bits = Version.getEncodedBits(version)\n let row, col, mod\n\n for (let i = 0; i < 18; i++) {\n row = Math.floor(i / 3)\n col = i % 3 + size - 8 - 3\n mod = ((bits >> i) & 1) === 1\n\n matrix.set(row, col, mod, true)\n matrix.set(col, row, mod, true)\n }\n}\n\n/**\n * Add format info bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {Number} maskPattern Mask pattern reference value\n */\nfunction setupFormatInfo (matrix, errorCorrectionLevel, maskPattern) {\n const size = matrix.size\n const bits = FormatInfo.getEncodedBits(errorCorrectionLevel, maskPattern)\n let i, mod\n\n for (i = 0; i < 15; i++) {\n mod = ((bits >> i) & 1) === 1\n\n // vertical\n if (i < 6) {\n matrix.set(i, 8, mod, true)\n } else if (i < 8) {\n matrix.set(i + 1, 8, mod, true)\n } else {\n matrix.set(size - 15 + i, 8, mod, true)\n }\n\n // horizontal\n if (i < 8) {\n matrix.set(8, size - i - 1, mod, true)\n } else if (i < 9) {\n matrix.set(8, 15 - i - 1 + 1, mod, true)\n } else {\n matrix.set(8, 15 - i - 1, mod, true)\n }\n }\n\n // fixed module\n matrix.set(size - 8, 8, 1, true)\n}\n\n/**\n * Add encoded data bits to matrix\n *\n * @param {BitMatrix} matrix Modules matrix\n * @param {Uint8Array} data Data codewords\n */\nfunction setupData (matrix, data) {\n const size = matrix.size\n let inc = -1\n let row = size - 1\n let bitIndex = 7\n let byteIndex = 0\n\n for (let col = size - 1; col > 0; col -= 2) {\n if (col === 6) col--\n\n while (true) {\n for (let c = 0; c < 2; c++) {\n if (!matrix.isReserved(row, col - c)) {\n let dark = false\n\n if (byteIndex < data.length) {\n dark = (((data[byteIndex] >>> bitIndex) & 1) === 1)\n }\n\n matrix.set(row, col - c, dark)\n bitIndex--\n\n if (bitIndex === -1) {\n byteIndex++\n bitIndex = 7\n }\n }\n }\n\n row += inc\n\n if (row < 0 || size <= row) {\n row -= inc\n inc = -inc\n break\n }\n }\n }\n}\n\n/**\n * Create encoded codewords from data input\n *\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @param {ByteData} data Data input\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createData (version, errorCorrectionLevel, segments) {\n // Prepare data buffer\n const buffer = new BitBuffer()\n\n segments.forEach(function (data) {\n // prefix data with mode indicator (4 bits)\n buffer.put(data.mode.bit, 4)\n\n // Prefix data with character count indicator.\n // The character count indicator is a string of bits that represents the\n // number of characters that are being encoded.\n // The character count indicator must be placed after the mode indicator\n // and must be a certain number of bits long, depending on the QR version\n // and data mode\n // @see {@link Mode.getCharCountIndicator}.\n buffer.put(data.getLength(), Mode.getCharCountIndicator(data.mode, version))\n\n // add binary data sequence to buffer\n data.write(buffer)\n })\n\n // Calculate required number of bits\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n // Add a terminator.\n // If the bit string is shorter than the total number of required bits,\n // a terminator of up to four 0s must be added to the right side of the string.\n // If the bit string is more than four bits shorter than the required number of bits,\n // add four 0s to the end.\n if (buffer.getLengthInBits() + 4 <= dataTotalCodewordsBits) {\n buffer.put(0, 4)\n }\n\n // If the bit string is fewer than four bits shorter, add only the number of 0s that\n // are needed to reach the required number of bits.\n\n // After adding the terminator, if the number of bits in the string is not a multiple of 8,\n // pad the string on the right with 0s to make the string's length a multiple of 8.\n while (buffer.getLengthInBits() % 8 !== 0) {\n buffer.putBit(0)\n }\n\n // Add pad bytes if the string is still shorter than the total number of required bits.\n // Extend the buffer to fill the data capacity of the symbol corresponding to\n // the Version and Error Correction Level by adding the Pad Codewords 11101100 (0xEC)\n // and 00010001 (0x11) alternately.\n const remainingByte = (dataTotalCodewordsBits - buffer.getLengthInBits()) / 8\n for (let i = 0; i < remainingByte; i++) {\n buffer.put(i % 2 ? 0x11 : 0xEC, 8)\n }\n\n return createCodewords(buffer, version, errorCorrectionLevel)\n}\n\n/**\n * Encode input data with Reed-Solomon and return codewords with\n * relative error correction bits\n *\n * @param {BitBuffer} bitBuffer Data to encode\n * @param {Number} version QR Code version\n * @param {ErrorCorrectionLevel} errorCorrectionLevel Error correction level\n * @return {Uint8Array} Buffer containing encoded codewords\n */\nfunction createCodewords (bitBuffer, version, errorCorrectionLevel) {\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewords = totalCodewords - ecTotalCodewords\n\n // Total number of blocks\n const ecTotalBlocks = ECCode.getBlocksCount(version, errorCorrectionLevel)\n\n // Calculate how many blocks each group should contain\n const blocksInGroup2 = totalCodewords % ecTotalBlocks\n const blocksInGroup1 = ecTotalBlocks - blocksInGroup2\n\n const totalCodewordsInGroup1 = Math.floor(totalCodewords / ecTotalBlocks)\n\n const dataCodewordsInGroup1 = Math.floor(dataTotalCodewords / ecTotalBlocks)\n const dataCodewordsInGroup2 = dataCodewordsInGroup1 + 1\n\n // Number of EC codewords is the same for both groups\n const ecCount = totalCodewordsInGroup1 - dataCodewordsInGroup1\n\n // Initialize a Reed-Solomon encoder with a generator polynomial of degree ecCount\n const rs = new ReedSolomonEncoder(ecCount)\n\n let offset = 0\n const dcData = new Array(ecTotalBlocks)\n const ecData = new Array(ecTotalBlocks)\n let maxDataSize = 0\n const buffer = new Uint8Array(bitBuffer.buffer)\n\n // Divide the buffer into the required number of blocks\n for (let b = 0; b < ecTotalBlocks; b++) {\n const dataSize = b < blocksInGroup1 ? dataCodewordsInGroup1 : dataCodewordsInGroup2\n\n // extract a block of data from buffer\n dcData[b] = buffer.slice(offset, offset + dataSize)\n\n // Calculate EC codewords for this data block\n ecData[b] = rs.encode(dcData[b])\n\n offset += dataSize\n maxDataSize = Math.max(maxDataSize, dataSize)\n }\n\n // Create final data\n // Interleave the data and error correction codewords from each block\n const data = new Uint8Array(totalCodewords)\n let index = 0\n let i, r\n\n // Add data codewords\n for (i = 0; i < maxDataSize; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n if (i < dcData[r].length) {\n data[index++] = dcData[r][i]\n }\n }\n }\n\n // Apped EC codewords\n for (i = 0; i < ecCount; i++) {\n for (r = 0; r < ecTotalBlocks; r++) {\n data[index++] = ecData[r][i]\n }\n }\n\n return data\n}\n\n/**\n * Build QR Code symbol\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @param {ErrorCorretionLevel} errorCorrectionLevel Error level\n * @param {MaskPattern} maskPattern Mask pattern\n * @return {Object} Object containing symbol data\n */\nfunction createSymbol (data, version, errorCorrectionLevel, maskPattern) {\n let segments\n\n if (Array.isArray(data)) {\n segments = Segments.fromArray(data)\n } else if (typeof data === 'string') {\n let estimatedVersion = version\n\n if (!estimatedVersion) {\n const rawSegments = Segments.rawSplit(data)\n\n // Estimate best version that can contain raw splitted segments\n estimatedVersion = Version.getBestVersionForData(rawSegments, errorCorrectionLevel)\n }\n\n // Build optimized segments\n // If estimated version is undefined, try with the highest version\n segments = Segments.fromString(data, estimatedVersion || 40)\n } else {\n throw new Error('Invalid data')\n }\n\n // Get the min version that can contain data\n const bestVersion = Version.getBestVersionForData(segments, errorCorrectionLevel)\n\n // If no version is found, data cannot be stored\n if (!bestVersion) {\n throw new Error('The amount of data is too big to be stored in a QR Code')\n }\n\n // If not specified, use min version as default\n if (!version) {\n version = bestVersion\n\n // Check if the specified version can contain the data\n } else if (version < bestVersion) {\n throw new Error('\\n' +\n 'The chosen QR Code version cannot contain this amount of data.\\n' +\n 'Minimum version required to store current data is: ' + bestVersion + '.\\n'\n )\n }\n\n const dataBits = createData(version, errorCorrectionLevel, segments)\n\n // Allocate matrix buffer\n const moduleCount = Utils.getSymbolSize(version)\n const modules = new BitMatrix(moduleCount)\n\n // Add function modules\n setupFinderPattern(modules, version)\n setupTimingPattern(modules)\n setupAlignmentPattern(modules, version)\n\n // Add temporary dummy bits for format info just to set them as reserved.\n // This is needed to prevent these bits from being masked by {@link MaskPattern.applyMask}\n // since the masking operation must be performed only on the encoding region.\n // These blocks will be replaced with correct values later in code.\n setupFormatInfo(modules, errorCorrectionLevel, 0)\n\n if (version >= 7) {\n setupVersionInfo(modules, version)\n }\n\n // Add data codewords\n setupData(modules, dataBits)\n\n if (isNaN(maskPattern)) {\n // Find best mask pattern\n maskPattern = MaskPattern.getBestMask(modules,\n setupFormatInfo.bind(null, modules, errorCorrectionLevel))\n }\n\n // Apply mask pattern\n MaskPattern.applyMask(maskPattern, modules)\n\n // Replace format info bits with correct values\n setupFormatInfo(modules, errorCorrectionLevel, maskPattern)\n\n return {\n modules: modules,\n version: version,\n errorCorrectionLevel: errorCorrectionLevel,\n maskPattern: maskPattern,\n segments: segments\n }\n}\n\n/**\n * QR Code\n *\n * @param {String | Array} data Input data\n * @param {Object} options Optional configurations\n * @param {Number} options.version QR Code version\n * @param {String} options.errorCorrectionLevel Error correction level\n * @param {Function} options.toSJISFunc Helper func to convert utf8 to sjis\n */\nexports.create = function create (data, options) {\n if (typeof data === 'undefined' || data === '') {\n throw new Error('No input text')\n }\n\n let errorCorrectionLevel = ECLevel.M\n let version\n let mask\n\n if (typeof options !== 'undefined') {\n // Use higher error correction level as default\n errorCorrectionLevel = ECLevel.from(options.errorCorrectionLevel, ECLevel.M)\n version = Version.from(options.version)\n mask = MaskPattern.from(options.maskPattern)\n\n if (options.toSJISFunc) {\n Utils.setToSJISFunction(options.toSJISFunc)\n }\n }\n\n return createSymbol(data, version, errorCorrectionLevel, mask)\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/qrcode.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/reed-solomon-encoder.js":
/*!**************************************************************!*\
!*** ./node_modules/qrcode/lib/core/reed-solomon-encoder.js ***!
\**************************************************************/
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
eval("const Polynomial = __webpack_require__(/*! ./polynomial */ \"./node_modules/qrcode/lib/core/polynomial.js\")\n\nfunction ReedSolomonEncoder (degree) {\n this.genPoly = undefined\n this.degree = degree\n\n if (this.degree) this.initialize(this.degree)\n}\n\n/**\n * Initialize the encoder.\n * The input param should correspond to the number of error correction codewords.\n *\n * @param {Number} degree\n */\nReedSolomonEncoder.prototype.initialize = function initialize (degree) {\n // create an irreducible generator polynomial\n this.degree = degree\n this.genPoly = Polynomial.generateECPolynomial(this.degree)\n}\n\n/**\n * Encodes a chunk of data\n *\n * @param {Uint8Array} data Buffer containing input data\n * @return {Uint8Array} Buffer containing encoded data\n */\nReedSolomonEncoder.prototype.encode = function encode (data) {\n if (!this.genPoly) {\n throw new Error('Encoder not initialized')\n }\n\n // Calculate EC for this data block\n // extends data size to data+genPoly size\n const paddedData = new Uint8Array(data.length + this.degree)\n paddedData.set(data)\n\n // The error correction codewords are the remainder after dividing the data codewords\n // by a generator polynomial\n const remainder = Polynomial.mod(paddedData, this.genPoly)\n\n // return EC data blocks (last n byte, where n is the degree of genPoly)\n // If coefficients number in remainder are less than genPoly degree,\n // pad with 0s to the left to reach the needed number of coefficients\n const start = this.degree - remainder.length\n if (start > 0) {\n const buff = new Uint8Array(this.degree)\n buff.set(remainder, start)\n\n return buff\n }\n\n return remainder\n}\n\nmodule.exports = ReedSolomonEncoder\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/reed-solomon-encoder.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/regex.js":
/*!***********************************************!*\
!*** ./node_modules/qrcode/lib/core/regex.js ***!
\***********************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("const numeric = '[0-9]+'\nconst alphanumeric = '[A-Z $%*+\\\\-./:]+'\nlet kanji = '(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|' +\n '[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|' +\n '[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|' +\n '[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+'\nkanji = kanji.replace(/u/g, '\\\\u')\n\nconst byte = '(?:(?![A-Z0-9 $%*+\\\\-./:]|' + kanji + ')(?:.|[\\r\\n]))+'\n\nexports.KANJI = new RegExp(kanji, 'g')\nexports.BYTE_KANJI = new RegExp('[^A-Z0-9 $%*+\\\\-./:]+', 'g')\nexports.BYTE = new RegExp(byte, 'g')\nexports.NUMERIC = new RegExp(numeric, 'g')\nexports.ALPHANUMERIC = new RegExp(alphanumeric, 'g')\n\nconst TEST_KANJI = new RegExp('^' + kanji + '$')\nconst TEST_NUMERIC = new RegExp('^' + numeric + '$')\nconst TEST_ALPHANUMERIC = new RegExp('^[A-Z0-9 $%*+\\\\-./:]+$')\n\nexports.testKanji = function testKanji (str) {\n return TEST_KANJI.test(str)\n}\n\nexports.testNumeric = function testNumeric (str) {\n return TEST_NUMERIC.test(str)\n}\n\nexports.testAlphanumeric = function testAlphanumeric (str) {\n return TEST_ALPHANUMERIC.test(str)\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/regex.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/segments.js":
/*!**************************************************!*\
!*** ./node_modules/qrcode/lib/core/segments.js ***!
\**************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst NumericData = __webpack_require__(/*! ./numeric-data */ \"./node_modules/qrcode/lib/core/numeric-data.js\")\nconst AlphanumericData = __webpack_require__(/*! ./alphanumeric-data */ \"./node_modules/qrcode/lib/core/alphanumeric-data.js\")\nconst ByteData = __webpack_require__(/*! ./byte-data */ \"./node_modules/qrcode/lib/core/byte-data.js\")\nconst KanjiData = __webpack_require__(/*! ./kanji-data */ \"./node_modules/qrcode/lib/core/kanji-data.js\")\nconst Regex = __webpack_require__(/*! ./regex */ \"./node_modules/qrcode/lib/core/regex.js\")\nconst Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\nconst dijkstra = __webpack_require__(/*! dijkstrajs */ \"./node_modules/dijkstrajs/dijkstra.js\")\n\n/**\n * Returns UTF8 byte length\n *\n * @param {String} str Input string\n * @return {Number} Number of byte\n */\nfunction getStringByteLength (str) {\n return unescape(encodeURIComponent(str)).length\n}\n\n/**\n * Get a list of segments of the specified mode\n * from a string\n *\n * @param {Mode} mode Segment mode\n * @param {String} str String to process\n * @return {Array} Array of object with segments data\n */\nfunction getSegments (regex, mode, str) {\n const segments = []\n let result\n\n while ((result = regex.exec(str)) !== null) {\n segments.push({\n data: result[0],\n index: result.index,\n mode: mode,\n length: result[0].length\n })\n }\n\n return segments\n}\n\n/**\n * Extracts a series of segments with the appropriate\n * modes from a string\n *\n * @param {String} dataStr Input string\n * @return {Array} Array of object with segments data\n */\nfunction getSegmentsFromString (dataStr) {\n const numSegs = getSegments(Regex.NUMERIC, Mode.NUMERIC, dataStr)\n const alphaNumSegs = getSegments(Regex.ALPHANUMERIC, Mode.ALPHANUMERIC, dataStr)\n let byteSegs\n let kanjiSegs\n\n if (Utils.isKanjiModeEnabled()) {\n byteSegs = getSegments(Regex.BYTE, Mode.BYTE, dataStr)\n kanjiSegs = getSegments(Regex.KANJI, Mode.KANJI, dataStr)\n } else {\n byteSegs = getSegments(Regex.BYTE_KANJI, Mode.BYTE, dataStr)\n kanjiSegs = []\n }\n\n const segs = numSegs.concat(alphaNumSegs, byteSegs, kanjiSegs)\n\n return segs\n .sort(function (s1, s2) {\n return s1.index - s2.index\n })\n .map(function (obj) {\n return {\n data: obj.data,\n mode: obj.mode,\n length: obj.length\n }\n })\n}\n\n/**\n * Returns how many bits are needed to encode a string of\n * specified length with the specified mode\n *\n * @param {Number} length String length\n * @param {Mode} mode Segment mode\n * @return {Number} Bit length\n */\nfunction getSegmentBitsLength (length, mode) {\n switch (mode) {\n case Mode.NUMERIC:\n return NumericData.getBitsLength(length)\n case Mode.ALPHANUMERIC:\n return AlphanumericData.getBitsLength(length)\n case Mode.KANJI:\n return KanjiData.getBitsLength(length)\n case Mode.BYTE:\n return ByteData.getBitsLength(length)\n }\n}\n\n/**\n * Merges adjacent segments which have the same mode\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction mergeSegments (segs) {\n return segs.reduce(function (acc, curr) {\n const prevSeg = acc.length - 1 >= 0 ? acc[acc.length - 1] : null\n if (prevSeg && prevSeg.mode === curr.mode) {\n acc[acc.length - 1].data += curr.data\n return acc\n }\n\n acc.push(curr)\n return acc\n }, [])\n}\n\n/**\n * Generates a list of all possible nodes combination which\n * will be used to build a segments graph.\n *\n * Nodes are divided by groups. Each group will contain a list of all the modes\n * in which is possible to encode the given text.\n *\n * For example the text '12345' can be encoded as Numeric, Alphanumeric or Byte.\n * The group for '12345' will contain then 3 objects, one for each\n * possible encoding mode.\n *\n * Each node represents a possible segment.\n *\n * @param {Array} segs Array of object with segments data\n * @return {Array} Array of object with segments data\n */\nfunction buildNodes (segs) {\n const nodes = []\n for (let i = 0; i < segs.length; i++) {\n const seg = segs[i]\n\n switch (seg.mode) {\n case Mode.NUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.ALPHANUMERIC, length: seg.length },\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.ALPHANUMERIC:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: seg.length }\n ])\n break\n case Mode.KANJI:\n nodes.push([seg,\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n break\n case Mode.BYTE:\n nodes.push([\n { data: seg.data, mode: Mode.BYTE, length: getStringByteLength(seg.data) }\n ])\n }\n }\n\n return nodes\n}\n\n/**\n * Builds a graph from a list of nodes.\n * All segments in each node group will be connected with all the segments of\n * the next group and so on.\n *\n * At each connection will be assigned a weight depending on the\n * segment's byte length.\n *\n * @param {Array} nodes Array of object with segments data\n * @param {Number} version QR Code version\n * @return {Object} Graph of all possible segments\n */\nfunction buildGraph (nodes, version) {\n const table = {}\n const graph = { start: {} }\n let prevNodeIds = ['start']\n\n for (let i = 0; i < nodes.length; i++) {\n const nodeGroup = nodes[i]\n const currentNodeIds = []\n\n for (let j = 0; j < nodeGroup.length; j++) {\n const node = nodeGroup[j]\n const key = '' + i + j\n\n currentNodeIds.push(key)\n table[key] = { node: node, lastCount: 0 }\n graph[key] = {}\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n const prevNodeId = prevNodeIds[n]\n\n if (table[prevNodeId] && table[prevNodeId].node.mode === node.mode) {\n graph[prevNodeId][key] =\n getSegmentBitsLength(table[prevNodeId].lastCount + node.length, node.mode) -\n getSegmentBitsLength(table[prevNodeId].lastCount, node.mode)\n\n table[prevNodeId].lastCount += node.length\n } else {\n if (table[prevNodeId]) table[prevNodeId].lastCount = node.length\n\n graph[prevNodeId][key] = getSegmentBitsLength(node.length, node.mode) +\n 4 + Mode.getCharCountIndicator(node.mode, version) // switch cost\n }\n }\n }\n\n prevNodeIds = currentNodeIds\n }\n\n for (let n = 0; n < prevNodeIds.length; n++) {\n graph[prevNodeIds[n]].end = 0\n }\n\n return { map: graph, table: table }\n}\n\n/**\n * Builds a segment from a specified data and mode.\n * If a mode is not specified, the more suitable will be used.\n *\n * @param {String} data Input data\n * @param {Mode | String} modesHint Data mode\n * @return {Segment} Segment\n */\nfunction buildSingleSegment (data, modesHint) {\n let mode\n const bestMode = Mode.getBestModeForData(data)\n\n mode = Mode.from(modesHint, bestMode)\n\n // Make sure data can be encoded\n if (mode !== Mode.BYTE && mode.bit < bestMode.bit) {\n throw new Error('\"' + data + '\"' +\n ' cannot be encoded with mode ' + Mode.toString(mode) +\n '.\\n Suggested mode is: ' + Mode.toString(bestMode))\n }\n\n // Use Mode.BYTE if Kanji support is disabled\n if (mode === Mode.KANJI && !Utils.isKanjiModeEnabled()) {\n mode = Mode.BYTE\n }\n\n switch (mode) {\n case Mode.NUMERIC:\n return new NumericData(data)\n\n case Mode.ALPHANUMERIC:\n return new AlphanumericData(data)\n\n case Mode.KANJI:\n return new KanjiData(data)\n\n case Mode.BYTE:\n return new ByteData(data)\n }\n}\n\n/**\n * Builds a list of segments from an array.\n * Array can contain Strings or Objects with segment's info.\n *\n * For each item which is a string, will be generated a segment with the given\n * string and the more appropriate encoding mode.\n *\n * For each item which is an object, will be generated a segment with the given\n * data and mode.\n * Objects must contain at least the property \"data\".\n * If property \"mode\" is not present, the more suitable mode will be used.\n *\n * @param {Array} array Array of objects with segments data\n * @return {Array} Array of Segments\n */\nexports.fromArray = function fromArray (array) {\n return array.reduce(function (acc, seg) {\n if (typeof seg === 'string') {\n acc.push(buildSingleSegment(seg, null))\n } else if (seg.data) {\n acc.push(buildSingleSegment(seg.data, seg.mode))\n }\n\n return acc\n }, [])\n}\n\n/**\n * Builds an optimized sequence of segments from a string,\n * which will produce the shortest possible bitstream.\n *\n * @param {String} data Input string\n * @param {Number} version QR Code version\n * @return {Array} Array of segments\n */\nexports.fromString = function fromString (data, version) {\n const segs = getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n\n const nodes = buildNodes(segs)\n const graph = buildGraph(nodes, version)\n const path = dijkstra.find_path(graph.map, 'start', 'end')\n\n const optimizedSegs = []\n for (let i = 1; i < path.length - 1; i++) {\n optimizedSegs.push(graph.table[path[i]].node)\n }\n\n return exports.fromArray(mergeSegments(optimizedSegs))\n}\n\n/**\n * Splits a string in various segments with the modes which\n * best represent their content.\n * The produced segments are far from being optimized.\n * The output of this function is only used to estimate a QR Code version\n * which may contain the data.\n *\n * @param {string} data Input string\n * @return {Array} Array of segments\n */\nexports.rawSplit = function rawSplit (data) {\n return exports.fromArray(\n getSegmentsFromString(data, Utils.isKanjiModeEnabled())\n )\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/segments.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/utils.js":
/*!***********************************************!*\
!*** ./node_modules/qrcode/lib/core/utils.js ***!
\***********************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("let toSJISFunction\nconst CODEWORDS_COUNT = [\n 0, // Not used\n 26, 44, 70, 100, 134, 172, 196, 242, 292, 346,\n 404, 466, 532, 581, 655, 733, 815, 901, 991, 1085,\n 1156, 1258, 1364, 1474, 1588, 1706, 1828, 1921, 2051, 2185,\n 2323, 2465, 2611, 2761, 2876, 3034, 3196, 3362, 3532, 3706\n]\n\n/**\n * Returns the QR Code size for the specified version\n *\n * @param {Number} version QR Code version\n * @return {Number} size of QR code\n */\nexports.getSymbolSize = function getSymbolSize (version) {\n if (!version) throw new Error('\"version\" cannot be null or undefined')\n if (version < 1 || version > 40) throw new Error('\"version\" should be in range from 1 to 40')\n return version * 4 + 17\n}\n\n/**\n * Returns the total number of codewords used to store data and EC information.\n *\n * @param {Number} version QR Code version\n * @return {Number} Data length in bits\n */\nexports.getSymbolTotalCodewords = function getSymbolTotalCodewords (version) {\n return CODEWORDS_COUNT[version]\n}\n\n/**\n * Encode data with Bose-Chaudhuri-Hocquenghem\n *\n * @param {Number} data Value to encode\n * @return {Number} Encoded value\n */\nexports.getBCHDigit = function (data) {\n let digit = 0\n\n while (data !== 0) {\n digit++\n data >>>= 1\n }\n\n return digit\n}\n\nexports.setToSJISFunction = function setToSJISFunction (f) {\n if (typeof f !== 'function') {\n throw new Error('\"toSJISFunc\" is not a valid function.')\n }\n\n toSJISFunction = f\n}\n\nexports.isKanjiModeEnabled = function () {\n return typeof toSJISFunction !== 'undefined'\n}\n\nexports.toSJIS = function toSJIS (kanji) {\n return toSJISFunction(kanji)\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/utils.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/version-check.js":
/*!*******************************************************!*\
!*** ./node_modules/qrcode/lib/core/version-check.js ***!
\*******************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("/**\n * Check if QR Code version is valid\n *\n * @param {Number} version QR Code version\n * @return {Boolean} true if valid version, false otherwise\n */\nexports.isValid = function isValid (version) {\n return !isNaN(version) && version >= 1 && version <= 40\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/version-check.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/core/version.js":
/*!*************************************************!*\
!*** ./node_modules/qrcode/lib/core/version.js ***!
\*************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/core/utils.js\")\nconst ECCode = __webpack_require__(/*! ./error-correction-code */ \"./node_modules/qrcode/lib/core/error-correction-code.js\")\nconst ECLevel = __webpack_require__(/*! ./error-correction-level */ \"./node_modules/qrcode/lib/core/error-correction-level.js\")\nconst Mode = __webpack_require__(/*! ./mode */ \"./node_modules/qrcode/lib/core/mode.js\")\nconst VersionCheck = __webpack_require__(/*! ./version-check */ \"./node_modules/qrcode/lib/core/version-check.js\")\n\n// Generator polynomial used to encode version information\nconst G18 = (1 << 12) | (1 << 11) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 5) | (1 << 2) | (1 << 0)\nconst G18_BCH = Utils.getBCHDigit(G18)\n\nfunction getBestVersionForDataLength (mode, length, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, mode)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\nfunction getReservedBitsCount (mode, version) {\n // Character count indicator + mode indicator bits\n return Mode.getCharCountIndicator(mode, version) + 4\n}\n\nfunction getTotalBitsFromDataArray (segments, version) {\n let totalBits = 0\n\n segments.forEach(function (data) {\n const reservedBits = getReservedBitsCount(data.mode, version)\n totalBits += reservedBits + data.getBitsLength()\n })\n\n return totalBits\n}\n\nfunction getBestVersionForMixedData (segments, errorCorrectionLevel) {\n for (let currentVersion = 1; currentVersion <= 40; currentVersion++) {\n const length = getTotalBitsFromDataArray(segments, currentVersion)\n if (length <= exports.getCapacity(currentVersion, errorCorrectionLevel, Mode.MIXED)) {\n return currentVersion\n }\n }\n\n return undefined\n}\n\n/**\n * Returns version number from a value.\n * If value is not a valid version, returns defaultValue\n *\n * @param {Number|String} value QR Code version\n * @param {Number} defaultValue Fallback value\n * @return {Number} QR Code version number\n */\nexports.from = function from (value, defaultValue) {\n if (VersionCheck.isValid(value)) {\n return parseInt(value, 10)\n }\n\n return defaultValue\n}\n\n/**\n * Returns how much data can be stored with the specified QR code version\n * and error correction level\n *\n * @param {Number} version QR Code version (1-40)\n * @param {Number} errorCorrectionLevel Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} Quantity of storable data\n */\nexports.getCapacity = function getCapacity (version, errorCorrectionLevel, mode) {\n if (!VersionCheck.isValid(version)) {\n throw new Error('Invalid QR Code version')\n }\n\n // Use Byte mode as default\n if (typeof mode === 'undefined') mode = Mode.BYTE\n\n // Total codewords for this QR code version (Data + Error correction)\n const totalCodewords = Utils.getSymbolTotalCodewords(version)\n\n // Total number of error correction codewords\n const ecTotalCodewords = ECCode.getTotalCodewordsCount(version, errorCorrectionLevel)\n\n // Total number of data codewords\n const dataTotalCodewordsBits = (totalCodewords - ecTotalCodewords) * 8\n\n if (mode === Mode.MIXED) return dataTotalCodewordsBits\n\n const usableBits = dataTotalCodewordsBits - getReservedBitsCount(mode, version)\n\n // Return max number of storable codewords\n switch (mode) {\n case Mode.NUMERIC:\n return Math.floor((usableBits / 10) * 3)\n\n case Mode.ALPHANUMERIC:\n return Math.floor((usableBits / 11) * 2)\n\n case Mode.KANJI:\n return Math.floor(usableBits / 13)\n\n case Mode.BYTE:\n default:\n return Math.floor(usableBits / 8)\n }\n}\n\n/**\n * Returns the minimum version needed to contain the amount of data\n *\n * @param {Segment} data Segment of data\n * @param {Number} [errorCorrectionLevel=H] Error correction level\n * @param {Mode} mode Data mode\n * @return {Number} QR Code version\n */\nexports.getBestVersionForData = function getBestVersionForData (data, errorCorrectionLevel) {\n let seg\n\n const ecl = ECLevel.from(errorCorrectionLevel, ECLevel.M)\n\n if (Array.isArray(data)) {\n if (data.length > 1) {\n return getBestVersionForMixedData(data, ecl)\n }\n\n if (data.length === 0) {\n return 1\n }\n\n seg = data[0]\n } else {\n seg = data\n }\n\n return getBestVersionForDataLength(seg.mode, seg.getLength(), ecl)\n}\n\n/**\n * Returns version information with relative error correction bits\n *\n * The version information is included in QR Code symbols of version 7 or larger.\n * It consists of an 18-bit sequence containing 6 data bits,\n * with 12 error correction bits calculated using the (18, 6) Golay code.\n *\n * @param {Number} version QR Code version\n * @return {Number} Encoded version info bits\n */\nexports.getEncodedBits = function getEncodedBits (version) {\n if (!VersionCheck.isValid(version) || version < 7) {\n throw new Error('Invalid QR Code version')\n }\n\n let d = version << 12\n\n while (Utils.getBCHDigit(d) - G18_BCH >= 0) {\n d ^= (G18 << (Utils.getBCHDigit(d) - G18_BCH))\n }\n\n return (version << 12) | d\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/core/version.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/renderer/canvas.js":
/*!****************************************************!*\
!*** ./node_modules/qrcode/lib/renderer/canvas.js ***!
\****************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/renderer/utils.js\")\n\nfunction clearCanvas (ctx, canvas, size) {\n ctx.clearRect(0, 0, canvas.width, canvas.height)\n\n if (!canvas.style) canvas.style = {}\n canvas.height = size\n canvas.width = size\n canvas.style.height = size + 'px'\n canvas.style.width = size + 'px'\n}\n\nfunction getCanvasElement () {\n try {\n return document.createElement('canvas')\n } catch (e) {\n throw new Error('You need to specify a canvas element')\n }\n}\n\nexports.render = function render (qrData, canvas, options) {\n let opts = options\n let canvasEl = canvas\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!canvas) {\n canvasEl = getCanvasElement()\n }\n\n opts = Utils.getOptions(opts)\n const size = Utils.getImageWidth(qrData.modules.size, opts)\n\n const ctx = canvasEl.getContext('2d')\n const image = ctx.createImageData(size, size)\n Utils.qrToImageData(image.data, qrData, opts)\n\n clearCanvas(ctx, canvasEl, size)\n ctx.putImageData(image, 0, 0)\n\n return canvasEl\n}\n\nexports.renderToDataURL = function renderToDataURL (qrData, canvas, options) {\n let opts = options\n\n if (typeof opts === 'undefined' && (!canvas || !canvas.getContext)) {\n opts = canvas\n canvas = undefined\n }\n\n if (!opts) opts = {}\n\n const canvasEl = exports.render(qrData, canvas, opts)\n\n const type = opts.type || 'image/png'\n const rendererOpts = opts.rendererOpts || {}\n\n return canvasEl.toDataURL(type, rendererOpts.quality)\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/renderer/canvas.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/renderer/svg-tag.js":
/*!*****************************************************!*\
!*** ./node_modules/qrcode/lib/renderer/svg-tag.js ***!
\*****************************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("const Utils = __webpack_require__(/*! ./utils */ \"./node_modules/qrcode/lib/renderer/utils.js\")\n\nfunction getColorAttrib (color, attrib) {\n const alpha = color.a / 255\n const str = attrib + '=\"' + color.hex + '\"'\n\n return alpha < 1\n ? str + ' ' + attrib + '-opacity=\"' + alpha.toFixed(2).slice(1) + '\"'\n : str\n}\n\nfunction svgCmd (cmd, x, y) {\n let str = cmd + x\n if (typeof y !== 'undefined') str += ' ' + y\n\n return str\n}\n\nfunction qrToPath (data, size, margin) {\n let path = ''\n let moveBy = 0\n let newRow = false\n let lineLength = 0\n\n for (let i = 0; i < data.length; i++) {\n const col = Math.floor(i % size)\n const row = Math.floor(i / size)\n\n if (!col && !newRow) newRow = true\n\n if (data[i]) {\n lineLength++\n\n if (!(i > 0 && col > 0 && data[i - 1])) {\n path += newRow\n ? svgCmd('M', col + margin, 0.5 + row + margin)\n : svgCmd('m', moveBy, 0)\n\n moveBy = 0\n newRow = false\n }\n\n if (!(col + 1 < size && data[i + 1])) {\n path += svgCmd('h', lineLength)\n lineLength = 0\n }\n } else {\n moveBy++\n }\n }\n\n return path\n}\n\nexports.render = function render (qrData, options, cb) {\n const opts = Utils.getOptions(options)\n const size = qrData.modules.size\n const data = qrData.modules.data\n const qrcodesize = size + opts.margin * 2\n\n const bg = !opts.color.light.a\n ? ''\n : '<path ' + getColorAttrib(opts.color.light, 'fill') +\n ' d=\"M0 0h' + qrcodesize + 'v' + qrcodesize + 'H0z\"/>'\n\n const path =\n '<path ' + getColorAttrib(opts.color.dark, 'stroke') +\n ' d=\"' + qrToPath(data, size, opts.margin) + '\"/>'\n\n const viewBox = 'viewBox=\"' + '0 0 ' + qrcodesize + ' ' + qrcodesize + '\"'\n\n const width = !opts.width ? '' : 'width=\"' + opts.width + '\" height=\"' + opts.width + '\" '\n\n const svgTag = '<svg xmlns=\"http://www.w3.org/2000/svg\" ' + width + viewBox + ' shape-rendering=\"crispEdges\">' + bg + path + '</svg>\\n'\n\n if (typeof cb === 'function') {\n cb(null, svgTag)\n }\n\n return svgTag\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/renderer/svg-tag.js?");
/***/ }),
/***/ "./node_modules/qrcode/lib/renderer/utils.js":
/*!***************************************************!*\
!*** ./node_modules/qrcode/lib/renderer/utils.js ***!
\***************************************************/
/***/ ((__unused_webpack_module, exports) => {
eval("function hex2rgba (hex) {\n if (typeof hex === 'number') {\n hex = hex.toString()\n }\n\n if (typeof hex !== 'string') {\n throw new Error('Color should be defined as hex string')\n }\n\n let hexCode = hex.slice().replace('#', '').split('')\n if (hexCode.length < 3 || hexCode.length === 5 || hexCode.length > 8) {\n throw new Error('Invalid hex color: ' + hex)\n }\n\n // Convert from short to long form (fff -> ffffff)\n if (hexCode.length === 3 || hexCode.length === 4) {\n hexCode = Array.prototype.concat.apply([], hexCode.map(function (c) {\n return [c, c]\n }))\n }\n\n // Add default alpha value\n if (hexCode.length === 6) hexCode.push('F', 'F')\n\n const hexValue = parseInt(hexCode.join(''), 16)\n\n return {\n r: (hexValue >> 24) & 255,\n g: (hexValue >> 16) & 255,\n b: (hexValue >> 8) & 255,\n a: hexValue & 255,\n hex: '#' + hexCode.slice(0, 6).join('')\n }\n}\n\nexports.getOptions = function getOptions (options) {\n if (!options) options = {}\n if (!options.color) options.color = {}\n\n const margin = typeof options.margin === 'undefined' ||\n options.margin === null ||\n options.margin < 0\n ? 4\n : options.margin\n\n const width = options.width && options.width >= 21 ? options.width : undefined\n const scale = options.scale || 4\n\n return {\n width: width,\n scale: width ? 4 : scale,\n margin: margin,\n color: {\n dark: hex2rgba(options.color.dark || '#000000ff'),\n light: hex2rgba(options.color.light || '#ffffffff')\n },\n type: options.type,\n rendererOpts: options.rendererOpts || {}\n }\n}\n\nexports.getScale = function getScale (qrSize, opts) {\n return opts.width && opts.width >= qrSize + opts.margin * 2\n ? opts.width / (qrSize + opts.margin * 2)\n : opts.scale\n}\n\nexports.getImageWidth = function getImageWidth (qrSize, opts) {\n const scale = exports.getScale(qrSize, opts)\n return Math.floor((qrSize + opts.margin * 2) * scale)\n}\n\nexports.qrToImageData = function qrToImageData (imgData, qr, opts) {\n const size = qr.modules.size\n const data = qr.modules.data\n const scale = exports.getScale(size, opts)\n const symbolSize = Math.floor((size + opts.margin * 2) * scale)\n const scaledMargin = opts.margin * scale\n const palette = [opts.color.light, opts.color.dark]\n\n for (let i = 0; i < symbolSize; i++) {\n for (let j = 0; j < symbolSize; j++) {\n let posDst = (i * symbolSize + j) * 4\n let pxColor = opts.color.light\n\n if (i >= scaledMargin && j >= scaledMargin &&\n i < symbolSize - scaledMargin && j < symbolSize - scaledMargin) {\n const iSrc = Math.floor((i - scaledMargin) / scale)\n const jSrc = Math.floor((j - scaledMargin) / scale)\n pxColor = palette[data[iSrc * size + jSrc] ? 1 : 0]\n }\n\n imgData[posDst++] = pxColor.r\n imgData[posDst++] = pxColor.g\n imgData[posDst++] = pxColor.b\n imgData[posDst] = pxColor.a\n }\n }\n}\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/qrcode/lib/renderer/utils.js?");
/***/ }),
/***/ "./node_modules/query-string/index.js":
/*!********************************************!*\
!*** ./node_modules/query-string/index.js ***!
\********************************************/
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
eval("\nconst strictUriEncode = __webpack_require__(/*! strict-uri-encode */ \"./node_modules/strict-uri-encode/index.js\");\nconst decodeComponent = __webpack_require__(/*! decode-uri-component */ \"./node_modules/decode-uri-component/index.js\");\nconst splitOnFirst = __webpack_require__(/*! split-on-first */ \"./node_modules/split-on-first/index.js\");\nconst filterObject = __webpack_require__(/*! filter-obj */ \"./node_modules/filter-obj/index.js\");\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), ':list='].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), ':list=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(:list)$/.exec(key);\n\t\t\t\tkey = key.replace(/:list$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\t[encodeFragmentIdentifier]: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true,\n\t\t[encodeFragmentIdentifier]: false\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/query-string/index.js?");
/***/ }),
/***/ "./node_modules/split-on-first/index.js":
/*!**********************************************!*\
!*** ./node_modules/split-on-first/index.js ***!
\**********************************************/
/***/ ((module) => {
eval("\n\nmodule.exports = (string, separator) => {\n\tif (!(typeof string === 'string' && typeof separator === 'string')) {\n\t\tthrow new TypeError('Expected the arguments to be of type `string`');\n\t}\n\n\tif (separator === '') {\n\t\treturn [string];\n\t}\n\n\tconst separatorIndex = string.indexOf(separator);\n\n\tif (separatorIndex === -1) {\n\t\treturn [string];\n\t}\n\n\treturn [\n\t\tstring.slice(0, separatorIndex),\n\t\tstring.slice(separatorIndex + separator.length)\n\t];\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/split-on-first/index.js?");
/***/ }),
/***/ "./node_modules/strict-uri-encode/index.js":
/*!*************************************************!*\
!*** ./node_modules/strict-uri-encode/index.js ***!
\*************************************************/
/***/ ((module) => {
eval("\nmodule.exports = str => encodeURIComponent(str).replace(/[!'()*]/g, x => `%${x.charCodeAt(0).toString(16).toUpperCase()}`);\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/strict-uri-encode/index.js?");
/***/ }),
/***/ "./node_modules/tslib/tslib.es6.js":
/*!*****************************************!*\
!*** ./node_modules/tslib/tslib.es6.js ***!
\*****************************************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__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://wallet_connect_modal_test/./node_modules/tslib/tslib.es6.js?");
/***/ }),
/***/ "./src/main.ts":
/*!*********************!*\
!*** ./src/main.ts ***!
\*********************/
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/wagmi */ \"./node_modules/@web3modal/wagmi/dist/esm/exports/index.js\");\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js\");\n/* harmony import */ var viem_chains__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! viem/chains */ \"./node_modules/viem/_esm/chains/definitions/goerli.js\");\n/* harmony import */ var _wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wagmi/core/providers/public */ \"./node_modules/@wagmi/core/dist/providers/public.js\");\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js\");\n/* harmony import */ var _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wagmi/core/connectors/coinbaseWallet */ \"./node_modules/@wagmi/connectors/dist/coinbaseWallet.js\");\n/* harmony import */ var _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wagmi/core/connectors/walletConnect */ \"./node_modules/@wagmi/connectors/dist/walletConnect.js\");\n\n\n\n\n\n\n\n\n\nconst projectId = '0ff537ebcebc5ce0947866d3a90e0ebf'\n\nconst { chains, publicClient } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_1__.configureChains)([viem_chains__WEBPACK_IMPORTED_MODULE_2__.goerli], [\n (0,_web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__.walletConnectProvider)({ projectId }),\n (0,_wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_3__.publicProvider)()\n])\n\nconst metadata = {\n name: 'Test Web3Modal',\n description: 'Web3Modal Test',\n url: 'https://web3modal.com',\n icons: ['https://avatars.githubusercontent.com/u/37784886']\n}\n\nconst wagmiConfig = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_1__.createConfig)({\n autoConnect: true,\n connectors: [\n new _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_4__.WalletConnectConnector({ chains, options: { projectId, showQrModal: false, metadata } }),\n new _web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__.EIP6963Connector({ chains }),\n new _wagmi_core__WEBPACK_IMPORTED_MODULE_5__.InjectedConnector({ chains, options: { shimDisconnect: true } }),\n new _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_6__.CoinbaseWalletConnector({ chains, options: { appName: metadata.name } })\n ],\n publicClient\n})\n\nconst testWalletIds = [\n 'statusDesktopTest',\n 'af9a6dfff9e63977bbde28fb23518834f08b696fe8bff6dd6827acad1814c6be' // Status Mobile\n]\nconst modal = (0,_web3modal_wagmi__WEBPACK_IMPORTED_MODULE_0__.createWeb3Modal)({ wagmiConfig, projectId, chains,\n customWallets: [\n {\n id: 'statusDesktopTest',\n name: 'Status Desktop Test',\n homepage: 'https://status.app/', // Optional\n image_url: 'https://res.cloudinary.com/dhgck7ebz/image/upload/f_auto,c_limit,w_1080,q_auto/Brand/Logo%20Section/Mark/Mark_01', // Optional\n //mobile_link: 'mobile_link', // Optional - Deeplink or universal\n desktop_link: 'status-app://', // Optional - Deeplink\n //webapp_link: 'webapp_link', // Optional\n //app_store: 'app_store', // Optional\n //play_store: 'play_store' // Optional\n }\n ],\n featuredWalletIds: testWalletIds,\n includeWalletIds: testWalletIds\n})\nmodal.open({ view: 'All wallets' })\n\n//# sourceURL=webpack://wallet_connect_modal_test/./src/main.ts?");
/***/ }),
/***/ "?25ed":
/*!************************!*\
!*** crypto (ignored) ***!
\************************/
/***/ (() => {
eval("/* (ignored) */\n\n//# sourceURL=webpack://wallet_connect_modal_test/crypto_(ignored)?");
/***/ }),
/***/ "./node_modules/@noble/curves/esm/abstract/utils.js":
/*!**********************************************************!*\
!*** ./node_modules/@noble/curves/esm/abstract/utils.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bitGet: () => (/* binding */ bitGet),\n/* harmony export */ bitLen: () => (/* binding */ bitLen),\n/* harmony export */ bitMask: () => (/* binding */ bitMask),\n/* harmony export */ bitSet: () => (/* binding */ bitSet),\n/* harmony export */ bytesToHex: () => (/* binding */ bytesToHex),\n/* harmony export */ bytesToNumberBE: () => (/* binding */ bytesToNumberBE),\n/* harmony export */ bytesToNumberLE: () => (/* binding */ bytesToNumberLE),\n/* harmony export */ concatBytes: () => (/* binding */ concatBytes),\n/* harmony export */ createHmacDrbg: () => (/* binding */ createHmacDrbg),\n/* harmony export */ ensureBytes: () => (/* binding */ ensureBytes),\n/* harmony export */ equalBytes: () => (/* binding */ equalBytes),\n/* harmony export */ hexToBytes: () => (/* binding */ hexToBytes),\n/* harmony export */ hexToNumber: () => (/* binding */ hexToNumber),\n/* harmony export */ numberToBytesBE: () => (/* binding */ numberToBytesBE),\n/* harmony export */ numberToBytesLE: () => (/* binding */ numberToBytesLE),\n/* harmony export */ numberToHexUnpadded: () => (/* binding */ numberToHexUnpadded),\n/* harmony export */ numberToVarBytesBE: () => (/* binding */ numberToVarBytesBE),\n/* harmony export */ utf8ToBytes: () => (/* binding */ utf8ToBytes),\n/* harmony export */ validateObject: () => (/* binding */ validateObject)\n/* harmony export */ });\n/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// 100 lines of code in the file are duplicated from noble-hashes (utils).\n// This is OK: `abstract` directory does not use noble-hashes.\n// User may opt-in into using different hashing library. This way, noble-hashes\n// won't be included into their bundle.\nconst _0n = BigInt(0);\nconst _1n = BigInt(1);\nconst _2n = BigInt(2);\nconst u8a = (a) => a instanceof Uint8Array;\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nfunction bytesToHex(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\nfunction numberToHexUnpadded(num) {\n const hex = num.toString(16);\n return hex.length & 1 ? `0${hex}` : hex;\n}\nfunction hexToNumber(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n // Big Endian\n return BigInt(hex === '' ? '0' : `0x${hex}`);\n}\n/**\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nfunction hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n const len = hex.length;\n if (len % 2)\n throw new Error('padded hex string expected, got unpadded hex of length ' + len);\n const array = new Uint8Array(len / 2);\n for (let i = 0; i < array.length; i++) {\n const j = i * 2;\n const hexByte = hex.slice(j, j + 2);\n const byte = Number.parseInt(hexByte, 16);\n if (Number.isNaN(byte) || byte < 0)\n throw new Error('Invalid byte sequence');\n array[i] = byte;\n }\n return array;\n}\n// BE: Big Endian, LE: Little Endian\nfunction bytesToNumberBE(bytes) {\n return hexToNumber(bytesToHex(bytes));\n}\nfunction bytesToNumberLE(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n return hexToNumber(bytesToHex(Uint8Array.from(bytes).reverse()));\n}\nfunction numberToBytesBE(n, len) {\n return hexToBytes(n.toString(16).padStart(len * 2, '0'));\n}\nfunction numberToBytesLE(n, len) {\n return numberToBytesBE(n, len).reverse();\n}\n// Unpadded, rarely used\nfunction numberToVarBytesBE(n) {\n return hexToBytes(numberToHexUnpadded(n));\n}\n/**\n * Takes hex string or Uint8Array, converts to Uint8Array.\n * Validates output length.\n * Will throw error for other types.\n * @param title descriptive title for an error e.g. 'private key'\n * @param hex hex string or Uint8Array\n * @param expectedLength optional, will compare to result array's length\n * @returns\n */\nfunction ensureBytes(title, hex, expectedLength) {\n let res;\n if (typeof hex === 'string') {\n try {\n res = hexToBytes(hex);\n }\n catch (e) {\n throw new Error(`${title} must be valid hex string, got \"${hex}\". Cause: ${e}`);\n }\n }\n else if (u8a(hex)) {\n // Uint8Array.from() instead of hash.slice() because node.js Buffer\n // is instance of Uint8Array, and its slice() creates **mutable** copy\n res = Uint8Array.from(hex);\n }\n else {\n throw new Error(`${title} must be hex string or Uint8Array`);\n }\n const len = res.length;\n if (typeof expectedLength === 'number' && len !== expectedLength)\n throw new Error(`${title} expected ${expectedLength} bytes, got ${len}`);\n return res;\n}\n/**\n * Copies several Uint8Arrays into one.\n */\nfunction concatBytes(...arrays) {\n const r = new Uint8Array(arrays.reduce((sum, a) => sum + a.length, 0));\n let pad = 0; // walk through each item, ensure they have proper type\n arrays.forEach((a) => {\n if (!u8a(a))\n throw new Error('Uint8Array expected');\n r.set(a, pad);\n pad += a.length;\n });\n return r;\n}\nfunction equalBytes(b1, b2) {\n // We don't care about timing attacks here\n if (b1.length !== b2.length)\n return false;\n for (let i = 0; i < b1.length; i++)\n if (b1[i] !== b2[i])\n return false;\n return true;\n}\n/**\n * @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])\n */\nfunction utf8ToBytes(str) {\n if (typeof str !== 'string')\n throw new Error(`utf8ToBytes expected string, got ${typeof str}`);\n return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809\n}\n// Bit operations\n/**\n * Calculates amount of bits in a bigint.\n * Same as `n.toString(2).length`\n */\nfunction bitLen(n) {\n let len;\n for (len = 0; n > _0n; n >>= _1n, len += 1)\n ;\n return len;\n}\n/**\n * Gets single bit at position.\n * NOTE: first bit position is 0 (same as arrays)\n * Same as `!!+Array.from(n.toString(2)).reverse()[pos]`\n */\nfunction bitGet(n, pos) {\n return (n >> BigInt(pos)) & _1n;\n}\n/**\n * Sets single bit at position.\n */\nconst bitSet = (n, pos, value) => {\n return n | ((value ? _1n : _0n) << BigInt(pos));\n};\n/**\n * Calculate mask for N bits. Not using ** operator with bigints because of old engines.\n * Same as BigInt(`0b${Array(i).fill('1').join('')}`)\n */\nconst bitMask = (n) => (_2n << BigInt(n - 1)) - _1n;\n// DRBG\nconst u8n = (data) => new Uint8Array(data); // creates Uint8Array\nconst u8fr = (arr) => Uint8Array.from(arr); // another shortcut\n/**\n * Minimal HMAC-DRBG from NIST 800-90 for RFC6979 sigs.\n * @returns function that will call DRBG until 2nd arg returns something meaningful\n * @example\n * const drbg = createHmacDRBG<Key>(32, 32, hmac);\n * drbg(seed, bytesToKey); // bytesToKey must return Key or undefined\n */\nfunction createHmacDrbg(hashLen, qByteLen, hmacFn) {\n if (typeof hashLen !== 'number' || hashLen < 2)\n throw new Error('hashLen must be a number');\n if (typeof qByteLen !== 'number' || qByteLen < 2)\n throw new Error('qByteLen must be a number');\n if (typeof hmacFn !== 'function')\n throw new Error('hmacFn must be a function');\n // Step B, Step C: set hashLen to 8*ceil(hlen/8)\n let v = u8n(hashLen); // Minimal non-full-spec HMAC-DRBG from NIST 800-90 for RFC6979 sigs.\n let k = u8n(hashLen); // Steps B and C of RFC6979 3.2: set hashLen, in our case always same\n let i = 0; // Iterations counter, will throw when over 1000\n const reset = () => {\n v.fill(1);\n k.fill(0);\n i = 0;\n };\n const h = (...b) => hmacFn(k, v, ...b); // hmac(k)(v, ...values)\n const reseed = (seed = u8n()) => {\n // HMAC-DRBG reseed() function. Steps D-G\n k = h(u8fr([0x00]), seed); // k = hmac(k || v || 0x00 || seed)\n v = h(); // v = hmac(k || v)\n if (seed.length === 0)\n return;\n k = h(u8fr([0x01]), seed); // k = hmac(k || v || 0x01 || seed)\n v = h(); // v = hmac(k || v)\n };\n const gen = () => {\n // HMAC-DRBG generate() function\n if (i++ >= 1000)\n throw new Error('drbg: tried 1000 values');\n let len = 0;\n const out = [];\n while (len < qByteLen) {\n v = h();\n const sl = v.slice();\n out.push(sl);\n len += v.length;\n }\n return concatBytes(...out);\n };\n const genUntil = (seed, pred) => {\n reset();\n reseed(seed); // Steps D-G\n let res = undefined; // Step H: grind until k is in [1..n-1]\n while (!(res = pred(gen())))\n reseed();\n reset();\n return res;\n };\n return genUntil;\n}\n// Validating curves and fields\nconst validatorFns = {\n bigint: (val) => typeof val === 'bigint',\n function: (val) => typeof val === 'function',\n boolean: (val) => typeof val === 'boolean',\n string: (val) => typeof val === 'string',\n stringOrUint8Array: (val) => typeof val === 'string' || val instanceof Uint8Array,\n isSafeInteger: (val) => Number.isSafeInteger(val),\n array: (val) => Array.isArray(val),\n field: (val, object) => object.Fp.isValid(val),\n hash: (val) => typeof val === 'function' && Number.isSafeInteger(val.outputLen),\n};\n// type Record<K extends string | number | symbol, T> = { [P in K]: T; }\nfunction validateObject(object, validators, optValidators = {}) {\n const checkField = (fieldName, type, isOptional) => {\n const checkVal = validatorFns[type];\n if (typeof checkVal !== 'function')\n throw new Error(`Invalid validator \"${type}\", expected function`);\n const val = object[fieldName];\n if (isOptional && val === undefined)\n return;\n if (!checkVal(val, object)) {\n throw new Error(`Invalid param ${String(fieldName)}=${val} (${typeof val}), expected ${type}`);\n }\n };\n for (const [fieldName, type] of Object.entries(validators))\n checkField(fieldName, type, false);\n for (const [fieldName, type] of Object.entries(optValidators))\n checkField(fieldName, type, true);\n return object;\n}\n// validate type tests\n// const o: { a: number; b: number; c: number } = { a: 1, b: 5, c: 6 };\n// const z0 = validateObject(o, { a: 'isSafeInteger' }, { c: 'bigint' }); // Ok!\n// // Should fail type-check\n// const z1 = validateObject(o, { a: 'tmp' }, { c: 'zz' });\n// const z2 = validateObject(o, { a: 'isSafeInteger' }, { c: 'zz' });\n// const z3 = validateObject(o, { test: 'boolean', z: 'bug' });\n// const z4 = validateObject(o, { a: 'boolean', z: 'bug' });\n//# sourceMappingURL=utils.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/curves/esm/abstract/utils.js?");
/***/ }),
/***/ "./node_modules/@noble/hashes/esm/_assert.js":
/*!***************************************************!*\
!*** ./node_modules/@noble/hashes/esm/_assert.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bool: () => (/* binding */ bool),\n/* harmony export */ bytes: () => (/* binding */ bytes),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ exists: () => (/* binding */ exists),\n/* harmony export */ hash: () => (/* binding */ hash),\n/* harmony export */ number: () => (/* binding */ number),\n/* harmony export */ output: () => (/* binding */ output)\n/* harmony export */ });\nfunction number(n) {\n if (!Number.isSafeInteger(n) || n < 0)\n throw new Error(`Wrong positive integer: ${n}`);\n}\nfunction bool(b) {\n if (typeof b !== 'boolean')\n throw new Error(`Expected boolean, not ${b}`);\n}\nfunction bytes(b, ...lengths) {\n if (!(b instanceof Uint8Array))\n throw new Error('Expected Uint8Array');\n if (lengths.length > 0 && !lengths.includes(b.length))\n throw new Error(`Expected Uint8Array of length ${lengths}, not of length=${b.length}`);\n}\nfunction hash(hash) {\n if (typeof hash !== 'function' || typeof hash.create !== 'function')\n throw new Error('Hash should be wrapped by utils.wrapConstructor');\n number(hash.outputLen);\n number(hash.blockLen);\n}\nfunction exists(instance, checkFinished = true) {\n if (instance.destroyed)\n throw new Error('Hash instance has been destroyed');\n if (checkFinished && instance.finished)\n throw new Error('Hash#digest() has already been called');\n}\nfunction output(out, instance) {\n bytes(out);\n const min = instance.outputLen;\n if (out.length < min) {\n throw new Error(`digestInto() expects output buffer of length at least ${min}`);\n }\n}\n\nconst assert = { number, bool, bytes, hash, exists, output };\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (assert);\n//# sourceMappingURL=_assert.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/hashes/esm/_assert.js?");
/***/ }),
/***/ "./node_modules/@noble/hashes/esm/_u64.js":
/*!************************************************!*\
!*** ./node_modules/@noble/hashes/esm/_u64.js ***!
\************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ add: () => (/* binding */ add),\n/* harmony export */ add3H: () => (/* binding */ add3H),\n/* harmony export */ add3L: () => (/* binding */ add3L),\n/* harmony export */ add4H: () => (/* binding */ add4H),\n/* harmony export */ add4L: () => (/* binding */ add4L),\n/* harmony export */ add5H: () => (/* binding */ add5H),\n/* harmony export */ add5L: () => (/* binding */ add5L),\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__),\n/* harmony export */ fromBig: () => (/* binding */ fromBig),\n/* harmony export */ rotlBH: () => (/* binding */ rotlBH),\n/* harmony export */ rotlBL: () => (/* binding */ rotlBL),\n/* harmony export */ rotlSH: () => (/* binding */ rotlSH),\n/* harmony export */ rotlSL: () => (/* binding */ rotlSL),\n/* harmony export */ rotr32H: () => (/* binding */ rotr32H),\n/* harmony export */ rotr32L: () => (/* binding */ rotr32L),\n/* harmony export */ rotrBH: () => (/* binding */ rotrBH),\n/* harmony export */ rotrBL: () => (/* binding */ rotrBL),\n/* harmony export */ rotrSH: () => (/* binding */ rotrSH),\n/* harmony export */ rotrSL: () => (/* binding */ rotrSL),\n/* harmony export */ shrSH: () => (/* binding */ shrSH),\n/* harmony export */ shrSL: () => (/* binding */ shrSL),\n/* harmony export */ split: () => (/* binding */ split),\n/* harmony export */ toBig: () => (/* binding */ toBig)\n/* harmony export */ });\nconst U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);\nconst _32n = /* @__PURE__ */ BigInt(32);\n// We are not using BigUint64Array, because they are extremely slow as per 2022\nfunction fromBig(n, le = false) {\n if (le)\n return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };\n return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };\n}\nfunction split(lst, le = false) {\n let Ah = new Uint32Array(lst.length);\n let Al = new Uint32Array(lst.length);\n for (let i = 0; i < lst.length; i++) {\n const { h, l } = fromBig(lst[i], le);\n [Ah[i], Al[i]] = [h, l];\n }\n return [Ah, Al];\n}\nconst toBig = (h, l) => (BigInt(h >>> 0) << _32n) | BigInt(l >>> 0);\n// for Shift in [0, 32)\nconst shrSH = (h, _l, s) => h >>> s;\nconst shrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in [1, 32)\nconst rotrSH = (h, l, s) => (h >>> s) | (l << (32 - s));\nconst rotrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// Right rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotrBH = (h, l, s) => (h << (64 - s)) | (l >>> (s - 32));\nconst rotrBL = (h, l, s) => (h >>> (s - 32)) | (l << (64 - s));\n// Right rotate for shift===32 (just swaps l&h)\nconst rotr32H = (_h, l) => l;\nconst rotr32L = (h, _l) => h;\n// Left rotate for Shift in [1, 32)\nconst rotlSH = (h, l, s) => (h << s) | (l >>> (32 - s));\nconst rotlSL = (h, l, s) => (l << s) | (h >>> (32 - s));\n// Left rotate for Shift in (32, 64), NOTE: 32 is special case.\nconst rotlBH = (h, l, s) => (l << (s - 32)) | (h >>> (64 - s));\nconst rotlBL = (h, l, s) => (h << (s - 32)) | (l >>> (64 - s));\n// JS uses 32-bit signed integers for bitwise operations which means we cannot\n// simple take carry out of low bit sum by shift, we need to use division.\nfunction add(Ah, Al, Bh, Bl) {\n const l = (Al >>> 0) + (Bl >>> 0);\n return { h: (Ah + Bh + ((l / 2 ** 32) | 0)) | 0, l: l | 0 };\n}\n// Addition with more than 2 elements\nconst add3L = (Al, Bl, Cl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0);\nconst add3H = (low, Ah, Bh, Ch) => (Ah + Bh + Ch + ((low / 2 ** 32) | 0)) | 0;\nconst add4L = (Al, Bl, Cl, Dl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0);\nconst add4H = (low, Ah, Bh, Ch, Dh) => (Ah + Bh + Ch + Dh + ((low / 2 ** 32) | 0)) | 0;\nconst add5L = (Al, Bl, Cl, Dl, El) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);\nconst add5H = (low, Ah, Bh, Ch, Dh, Eh) => (Ah + Bh + Ch + Dh + Eh + ((low / 2 ** 32) | 0)) | 0;\n// prettier-ignore\n\n// prettier-ignore\nconst u64 = {\n fromBig, split, toBig,\n shrSH, shrSL,\n rotrSH, rotrSL, rotrBH, rotrBL,\n rotr32H, rotr32L,\n rotlSH, rotlSL, rotlBH, rotlBL,\n add, add3L, add3H, add4L, add4H, add5H, add5L,\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (u64);\n//# sourceMappingURL=_u64.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/hashes/esm/_u64.js?");
/***/ }),
/***/ "./node_modules/@noble/hashes/esm/crypto.js":
/*!**************************************************!*\
!*** ./node_modules/@noble/hashes/esm/crypto.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ crypto: () => (/* binding */ crypto)\n/* harmony export */ });\nconst crypto = typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;\n//# sourceMappingURL=crypto.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/hashes/esm/crypto.js?");
/***/ }),
/***/ "./node_modules/@noble/hashes/esm/sha3.js":
/*!************************************************!*\
!*** ./node_modules/@noble/hashes/esm/sha3.js ***!
\************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Keccak: () => (/* binding */ Keccak),\n/* harmony export */ keccakP: () => (/* binding */ keccakP),\n/* harmony export */ keccak_224: () => (/* binding */ keccak_224),\n/* harmony export */ keccak_256: () => (/* binding */ keccak_256),\n/* harmony export */ keccak_384: () => (/* binding */ keccak_384),\n/* harmony export */ keccak_512: () => (/* binding */ keccak_512),\n/* harmony export */ sha3_224: () => (/* binding */ sha3_224),\n/* harmony export */ sha3_256: () => (/* binding */ sha3_256),\n/* harmony export */ sha3_384: () => (/* binding */ sha3_384),\n/* harmony export */ sha3_512: () => (/* binding */ sha3_512),\n/* harmony export */ shake128: () => (/* binding */ shake128),\n/* harmony export */ shake256: () => (/* binding */ shake256)\n/* harmony export */ });\n/* harmony import */ var _assert_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./_assert.js */ \"./node_modules/@noble/hashes/esm/_assert.js\");\n/* harmony import */ var _u64_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./_u64.js */ \"./node_modules/@noble/hashes/esm/_u64.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/@noble/hashes/esm/utils.js\");\n\n\n\n// SHA3 (keccak) is based on a new design: basically, the internal state is bigger than output size.\n// It's called a sponge function.\n// Various per round constants calculations\nconst [SHA3_PI, SHA3_ROTL, _SHA3_IOTA] = [[], [], []];\nconst _0n = /* @__PURE__ */ BigInt(0);\nconst _1n = /* @__PURE__ */ BigInt(1);\nconst _2n = /* @__PURE__ */ BigInt(2);\nconst _7n = /* @__PURE__ */ BigInt(7);\nconst _256n = /* @__PURE__ */ BigInt(256);\nconst _0x71n = /* @__PURE__ */ BigInt(0x71);\nfor (let round = 0, R = _1n, x = 1, y = 0; round < 24; round++) {\n // Pi\n [x, y] = [y, (2 * x + 3 * y) % 5];\n SHA3_PI.push(2 * (5 * y + x));\n // Rotational\n SHA3_ROTL.push((((round + 1) * (round + 2)) / 2) % 64);\n // Iota\n let t = _0n;\n for (let j = 0; j < 7; j++) {\n R = ((R << _1n) ^ ((R >> _7n) * _0x71n)) % _256n;\n if (R & _2n)\n t ^= _1n << ((_1n << /* @__PURE__ */ BigInt(j)) - _1n);\n }\n _SHA3_IOTA.push(t);\n}\nconst [SHA3_IOTA_H, SHA3_IOTA_L] = /* @__PURE__ */ (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.split)(_SHA3_IOTA, true);\n// Left rotation (without 0, 32, 64)\nconst rotlH = (h, l, s) => (s > 32 ? (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlBH)(h, l, s) : (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlSH)(h, l, s));\nconst rotlL = (h, l, s) => (s > 32 ? (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlBL)(h, l, s) : (0,_u64_js__WEBPACK_IMPORTED_MODULE_0__.rotlSL)(h, l, s));\n// Same as keccakf1600, but allows to skip some rounds\nfunction keccakP(s, rounds = 24) {\n const B = new Uint32Array(5 * 2);\n // NOTE: all indices are x2 since we store state as u32 instead of u64 (bigints to slow in js)\n for (let round = 24 - rounds; round < 24; round++) {\n // Theta θ\n for (let x = 0; x < 10; x++)\n B[x] = s[x] ^ s[x + 10] ^ s[x + 20] ^ s[x + 30] ^ s[x + 40];\n for (let x = 0; x < 10; x += 2) {\n const idx1 = (x + 8) % 10;\n const idx0 = (x + 2) % 10;\n const B0 = B[idx0];\n const B1 = B[idx0 + 1];\n const Th = rotlH(B0, B1, 1) ^ B[idx1];\n const Tl = rotlL(B0, B1, 1) ^ B[idx1 + 1];\n for (let y = 0; y < 50; y += 10) {\n s[x + y] ^= Th;\n s[x + y + 1] ^= Tl;\n }\n }\n // Rho (ρ) and Pi (π)\n let curH = s[2];\n let curL = s[3];\n for (let t = 0; t < 24; t++) {\n const shift = SHA3_ROTL[t];\n const Th = rotlH(curH, curL, shift);\n const Tl = rotlL(curH, curL, shift);\n const PI = SHA3_PI[t];\n curH = s[PI];\n curL = s[PI + 1];\n s[PI] = Th;\n s[PI + 1] = Tl;\n }\n // Chi (χ)\n for (let y = 0; y < 50; y += 10) {\n for (let x = 0; x < 10; x++)\n B[x] = s[y + x];\n for (let x = 0; x < 10; x++)\n s[y + x] ^= ~B[(x + 2) % 10] & B[(x + 4) % 10];\n }\n // Iota (ι)\n s[0] ^= SHA3_IOTA_H[round];\n s[1] ^= SHA3_IOTA_L[round];\n }\n B.fill(0);\n}\nclass Keccak extends _utils_js__WEBPACK_IMPORTED_MODULE_1__.Hash {\n // NOTE: we accept arguments in bytes instead of bits here.\n constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {\n super();\n this.blockLen = blockLen;\n this.suffix = suffix;\n this.outputLen = outputLen;\n this.enableXOF = enableXOF;\n this.rounds = rounds;\n this.pos = 0;\n this.posOut = 0;\n this.finished = false;\n this.destroyed = false;\n // Can be passed from user as dkLen\n (0,_assert_js__WEBPACK_IMPORTED_MODULE_2__.number)(outputLen);\n // 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes\n if (0 >= this.blockLen || this.blockLen >= 200)\n throw new Error('Sha3 supports only keccak-f1600 function');\n this.state = new Uint8Array(200);\n this.state32 = (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.u32)(this.state);\n }\n keccak() {\n keccakP(this.state32, this.rounds);\n this.posOut = 0;\n this.pos = 0;\n }\n update(data) {\n (0,_assert_js__WEBPACK_IMPORTED_MODULE_2__.exists)(this);\n const { blockLen, state } = this;\n data = (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(data);\n const len = data.length;\n for (let pos = 0; pos < len;) {\n const take = Math.min(blockLen - this.pos, len - pos);\n for (let i = 0; i < take; i++)\n state[this.pos++] ^= data[pos++];\n if (this.pos === blockLen)\n this.keccak();\n }\n return this;\n }\n finish() {\n if (this.finished)\n return;\n this.finished = true;\n const { state, suffix, pos, blockLen } = this;\n // Do the padding\n state[pos] ^= suffix;\n if ((suffix & 0x80) !== 0 && pos === blockLen - 1)\n this.keccak();\n state[blockLen - 1] ^= 0x80;\n this.keccak();\n }\n writeInto(out) {\n (0,_assert_js__WEBPACK_IMPORTED_MODULE_2__.exists)(this, false);\n (0,_assert_js__WEBPACK_IMPORTED_MODULE_2__.bytes)(out);\n this.finish();\n const bufferOut = this.state;\n const { blockLen } = this;\n for (let pos = 0, len = out.length; pos < len;) {\n if (this.posOut >= blockLen)\n this.keccak();\n const take = Math.min(blockLen - this.posOut, len - pos);\n out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);\n this.posOut += take;\n pos += take;\n }\n return out;\n }\n xofInto(out) {\n // Sha3/Keccak usage with XOF is probably mistake, only SHAKE instances can do XOF\n if (!this.enableXOF)\n throw new Error('XOF is not possible for this instance');\n return this.writeInto(out);\n }\n xof(bytes) {\n (0,_assert_js__WEBPACK_IMPORTED_MODULE_2__.number)(bytes);\n return this.xofInto(new Uint8Array(bytes));\n }\n digestInto(out) {\n (0,_assert_js__WEBPACK_IMPORTED_MODULE_2__.output)(out, this);\n if (this.finished)\n throw new Error('digest() was already called');\n this.writeInto(out);\n this.destroy();\n return out;\n }\n digest() {\n return this.digestInto(new Uint8Array(this.outputLen));\n }\n destroy() {\n this.destroyed = true;\n this.state.fill(0);\n }\n _cloneInto(to) {\n const { blockLen, suffix, outputLen, rounds, enableXOF } = this;\n to || (to = new Keccak(blockLen, suffix, outputLen, enableXOF, rounds));\n to.state32.set(this.state32);\n to.pos = this.pos;\n to.posOut = this.posOut;\n to.finished = this.finished;\n to.rounds = rounds;\n // Suffix can change in cSHAKE\n to.suffix = suffix;\n to.outputLen = outputLen;\n to.enableXOF = enableXOF;\n to.destroyed = this.destroyed;\n return to;\n }\n}\nconst gen = (suffix, blockLen, outputLen) => (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.wrapConstructor)(() => new Keccak(blockLen, suffix, outputLen));\nconst sha3_224 = /* @__PURE__ */ gen(0x06, 144, 224 / 8);\n/**\n * SHA3-256 hash function\n * @param message - that would be hashed\n */\nconst sha3_256 = /* @__PURE__ */ gen(0x06, 136, 256 / 8);\nconst sha3_384 = /* @__PURE__ */ gen(0x06, 104, 384 / 8);\nconst sha3_512 = /* @__PURE__ */ gen(0x06, 72, 512 / 8);\nconst keccak_224 = /* @__PURE__ */ gen(0x01, 144, 224 / 8);\n/**\n * keccak-256 hash function. Different from SHA3-256.\n * @param message - that would be hashed\n */\nconst keccak_256 = /* @__PURE__ */ gen(0x01, 136, 256 / 8);\nconst keccak_384 = /* @__PURE__ */ gen(0x01, 104, 384 / 8);\nconst keccak_512 = /* @__PURE__ */ gen(0x01, 72, 512 / 8);\nconst genShake = (suffix, blockLen, outputLen) => (0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.wrapXOFConstructorWithOpts)((opts = {}) => new Keccak(blockLen, suffix, opts.dkLen === undefined ? outputLen : opts.dkLen, true));\nconst shake128 = /* @__PURE__ */ genShake(0x1f, 168, 128 / 8);\nconst shake256 = /* @__PURE__ */ genShake(0x1f, 136, 256 / 8);\n//# sourceMappingURL=sha3.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/hashes/esm/sha3.js?");
/***/ }),
/***/ "./node_modules/@noble/hashes/esm/utils.js":
/*!*************************************************!*\
!*** ./node_modules/@noble/hashes/esm/utils.js ***!
\*************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Hash: () => (/* binding */ Hash),\n/* harmony export */ asyncLoop: () => (/* binding */ asyncLoop),\n/* harmony export */ bytesToHex: () => (/* binding */ bytesToHex),\n/* harmony export */ checkOpts: () => (/* binding */ checkOpts),\n/* harmony export */ concatBytes: () => (/* binding */ concatBytes),\n/* harmony export */ createView: () => (/* binding */ createView),\n/* harmony export */ hexToBytes: () => (/* binding */ hexToBytes),\n/* harmony export */ isLE: () => (/* binding */ isLE),\n/* harmony export */ nextTick: () => (/* binding */ nextTick),\n/* harmony export */ randomBytes: () => (/* binding */ randomBytes),\n/* harmony export */ rotr: () => (/* binding */ rotr),\n/* harmony export */ toBytes: () => (/* binding */ toBytes),\n/* harmony export */ u32: () => (/* binding */ u32),\n/* harmony export */ u8: () => (/* binding */ u8),\n/* harmony export */ utf8ToBytes: () => (/* binding */ utf8ToBytes),\n/* harmony export */ wrapConstructor: () => (/* binding */ wrapConstructor),\n/* harmony export */ wrapConstructorWithOpts: () => (/* binding */ wrapConstructorWithOpts),\n/* harmony export */ wrapXOFConstructorWithOpts: () => (/* binding */ wrapXOFConstructorWithOpts)\n/* harmony export */ });\n/* harmony import */ var _noble_hashes_crypto__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @noble/hashes/crypto */ \"./node_modules/@noble/hashes/esm/crypto.js\");\n/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */\n// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.\n// node.js versions earlier than v19 don't declare it in global scope.\n// For node.js, package.json#exports field mapping rewrites import\n// from `crypto` to `cryptoNode`, which imports native module.\n// Makes the utils un-importable in browsers without a bundler.\n// Once node.js 18 is deprecated, we can just drop the import.\n\nconst u8a = (a) => a instanceof Uint8Array;\n// Cast array to different type\nconst u8 = (arr) => new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\nconst u32 = (arr) => new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));\n// Cast array to view\nconst createView = (arr) => new DataView(arr.buffer, arr.byteOffset, arr.byteLength);\n// The rotate right (circular right shift) operation for uint32\nconst rotr = (word, shift) => (word << (32 - shift)) | (word >>> shift);\n// big-endian hardware is rare. Just in case someone still decides to run hashes:\n// early-throw an error because we don't support BE yet.\nconst isLE = new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44;\nif (!isLE)\n throw new Error('Non little-endian hardware is not supported');\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * @example bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])) // 'cafe0123'\n */\nfunction bytesToHex(bytes) {\n if (!u8a(bytes))\n throw new Error('Uint8Array expected');\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\n/**\n * @example hexToBytes('cafe0123') // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n */\nfunction hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new Error('hex string expected, got ' + typeof hex);\n const len = hex.length;\n if (len % 2)\n throw new Error('padded hex string expected, got unpadded hex of length ' + len);\n const array = new Uint8Array(len / 2);\n for (let i = 0; i < array.length; i++) {\n const j = i * 2;\n const hexByte = hex.slice(j, j + 2);\n const byte = Number.parseInt(hexByte, 16);\n if (Number.isNaN(byte) || byte < 0)\n throw new Error('Invalid byte sequence');\n array[i] = byte;\n }\n return array;\n}\n// There is no setImmediate in browser and setTimeout is slow.\n// call of async fn will return Promise, which will be fullfiled only on\n// next scheduler queue processing step and this is exactly what we need.\nconst nextTick = async () => { };\n// Returns control to thread each 'tick' ms to avoid blocking\nasync function asyncLoop(iters, tick, cb) {\n let ts = Date.now();\n for (let i = 0; i < iters; i++) {\n cb(i);\n // Date.now() is not monotonic, so in case if clock goes backwards we return return control too\n const diff = Date.now() - ts;\n if (diff >= 0 && diff < tick)\n continue;\n await nextTick();\n ts += diff;\n }\n}\n/**\n * @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])\n */\nfunction utf8ToBytes(str) {\n if (typeof str !== 'string')\n throw new Error(`utf8ToBytes expected string, got ${typeof str}`);\n return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809\n}\n/**\n * Normalizes (non-hex) string or Uint8Array to Uint8Array.\n * Warning: when Uint8Array is passed, it would NOT get copied.\n * Keep in mind for future mutable operations.\n */\nfunction toBytes(data) {\n if (typeof data === 'string')\n data = utf8ToBytes(data);\n if (!u8a(data))\n throw new Error(`expected Uint8Array, got ${typeof data}`);\n return data;\n}\n/**\n * Copies several Uint8Arrays into one.\n */\nfunction concatBytes(...arrays) {\n const r = new Uint8Array(arrays.reduce((sum, a) => sum + a.length, 0));\n let pad = 0; // walk through each item, ensure they have proper type\n arrays.forEach((a) => {\n if (!u8a(a))\n throw new Error('Uint8Array expected');\n r.set(a, pad);\n pad += a.length;\n });\n return r;\n}\n// For runtime check if class implements interface\nclass Hash {\n // Safe version that clones internal state\n clone() {\n return this._cloneInto();\n }\n}\nconst toStr = {}.toString;\nfunction checkOpts(defaults, opts) {\n if (opts !== undefined && toStr.call(opts) !== '[object Object]')\n throw new Error('Options should be object or undefined');\n const merged = Object.assign(defaults, opts);\n return merged;\n}\nfunction wrapConstructor(hashCons) {\n const hashC = (msg) => hashCons().update(toBytes(msg)).digest();\n const tmp = hashCons();\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = () => hashCons();\n return hashC;\n}\nfunction wrapConstructorWithOpts(hashCons) {\n const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({});\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts) => hashCons(opts);\n return hashC;\n}\nfunction wrapXOFConstructorWithOpts(hashCons) {\n const hashC = (msg, opts) => hashCons(opts).update(toBytes(msg)).digest();\n const tmp = hashCons({});\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.create = (opts) => hashCons(opts);\n return hashC;\n}\n/**\n * Secure PRNG. Uses `crypto.getRandomValues`, which defers to OS.\n */\nfunction randomBytes(bytesLength = 32) {\n if (_noble_hashes_crypto__WEBPACK_IMPORTED_MODULE_0__.crypto && typeof _noble_hashes_crypto__WEBPACK_IMPORTED_MODULE_0__.crypto.getRandomValues === 'function') {\n return _noble_hashes_crypto__WEBPACK_IMPORTED_MODULE_0__.crypto.getRandomValues(new Uint8Array(bytesLength));\n }\n throw new Error('crypto.getRandomValues must be defined');\n}\n//# sourceMappingURL=utils.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@noble/hashes/esm/utils.js?");
/***/ }),
/***/ "./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js":
/*!***************************************************************!*\
!*** ./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InjectedConnector: () => (/* binding */ InjectedConnector)\n/* harmony export */ });\n/* harmony import */ var _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./chunk-UGBGYVBH.js */ \"./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js\");\n/* harmony import */ var _chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-OQILYQDO.js */ \"./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js\");\n/* harmony import */ var _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-W65LBPLT.js */ \"./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/createWalletClient.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/custom.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n// src/injected.ts\n\n\n// src/utils/getInjectedName.ts\nfunction getInjectedName(ethereum) {\n if (!ethereum)\n return \"Injected\";\n const getName = (provider) => {\n if (provider.isApexWallet)\n return \"Apex Wallet\";\n if (provider.isAvalanche)\n return \"Core Wallet\";\n if (provider.isBackpack)\n return \"Backpack\";\n if (provider.isBifrost)\n return \"Bifrost Wallet\";\n if (provider.isBitKeep)\n return \"BitKeep\";\n if (provider.isBitski)\n return \"Bitski\";\n if (provider.isBlockWallet)\n return \"BlockWallet\";\n if (provider.isBraveWallet)\n return \"Brave Wallet\";\n if (provider.isCoin98)\n return \"Coin98 Wallet\";\n if (provider.isCoinbaseWallet)\n return \"Coinbase Wallet\";\n if (provider.isDawn)\n return \"Dawn Wallet\";\n if (provider.isDefiant)\n return \"Defiant\";\n if (provider.isDesig)\n return \"Desig Wallet\";\n if (provider.isEnkrypt)\n return \"Enkrypt\";\n if (provider.isExodus)\n return \"Exodus\";\n if (provider.isFordefi)\n return \"Fordefi\";\n if (provider.isFrame)\n return \"Frame\";\n if (provider.isFrontier)\n return \"Frontier Wallet\";\n if (provider.isGamestop)\n return \"GameStop Wallet\";\n if (provider.isHaqqWallet)\n return \"HAQQ Wallet\";\n if (provider.isHyperPay)\n return \"HyperPay Wallet\";\n if (provider.isImToken)\n return \"ImToken\";\n if (provider.isHaloWallet)\n return \"Halo Wallet\";\n if (provider.isKuCoinWallet)\n return \"KuCoin Wallet\";\n if (provider.isMathWallet)\n return \"MathWallet\";\n if (provider.isNovaWallet)\n return \"Nova Wallet\";\n if (provider.isOkxWallet || provider.isOKExWallet)\n return \"OKX Wallet\";\n if (provider.isOneInchIOSWallet || provider.isOneInchAndroidWallet)\n return \"1inch Wallet\";\n if (provider.isOpera)\n return \"Opera\";\n if (provider.isPhantom)\n return \"Phantom\";\n if (provider.isPortal)\n return \"Ripio Portal\";\n if (provider.isRabby)\n return \"Rabby Wallet\";\n if (provider.isRainbow)\n return \"Rainbow\";\n if (provider.isSafePal)\n return \"SafePal Wallet\";\n if (provider.isStatus)\n return \"Status\";\n if (provider.isSubWallet)\n return \"SubWallet\";\n if (provider.isTalisman)\n return \"Talisman\";\n if (provider.isTally)\n return \"Taho\";\n if (provider.isTokenPocket)\n return \"TokenPocket\";\n if (provider.isTokenary)\n return \"Tokenary\";\n if (provider.isTrust || provider.isTrustWallet)\n return \"Trust Wallet\";\n if (provider.isTTWallet)\n return \"TTWallet\";\n if (provider.isXDEFI)\n return \"XDEFI Wallet\";\n if (provider.isZeal)\n return \"Zeal\";\n if (provider.isZerion)\n return \"Zerion\";\n if (provider.isMetaMask)\n return \"MetaMask\";\n };\n if (ethereum.providers?.length) {\n const nameSet = /* @__PURE__ */ new Set();\n let unknownCount = 1;\n for (const provider of ethereum.providers) {\n let name = getName(provider);\n if (!name) {\n name = `Unknown Wallet #${unknownCount}`;\n unknownCount += 1;\n }\n nameSet.add(name);\n }\n const names = [...nameSet];\n if (names.length)\n return names;\n return names[0] ?? \"Injected\";\n }\n return getName(ethereum) ?? \"Injected\";\n}\n\n// src/injected.ts\nvar _provider;\nvar InjectedConnector = class extends _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.Connector {\n constructor({\n chains,\n options: options_\n } = {}) {\n const options = {\n shimDisconnect: true,\n getProvider() {\n if (typeof window === \"undefined\")\n return;\n const ethereum = window.ethereum;\n if (ethereum?.providers && ethereum.providers.length > 0)\n return ethereum.providers[0];\n return ethereum;\n },\n ...options_\n };\n super({ chains, options });\n this.id = \"injected\";\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _provider, void 0);\n this.shimDisconnectKey = `${this.id}.shimDisconnect`;\n this.onAccountsChanged = (accounts) => {\n if (accounts.length === 0)\n this.emit(\"disconnect\");\n else\n this.emit(\"change\", {\n account: (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0])\n });\n };\n this.onChainChanged = (chainId) => {\n const id = (0,_chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__.normalizeChainId)(chainId);\n const unsupported = this.isChainUnsupported(id);\n this.emit(\"change\", { chain: { id, unsupported } });\n };\n this.onDisconnect = async (error) => {\n if (error.code === 1013) {\n const provider = await this.getProvider();\n if (provider) {\n const isAuthorized = await this.getAccount();\n if (isAuthorized)\n return;\n }\n }\n this.emit(\"disconnect\");\n if (this.options.shimDisconnect)\n this.storage?.removeItem(this.shimDisconnectKey);\n };\n const provider = options.getProvider();\n if (typeof options.name === \"string\")\n this.name = options.name;\n else if (provider) {\n const detectedName = getInjectedName(provider);\n if (options.name)\n this.name = options.name(detectedName);\n else {\n if (typeof detectedName === \"string\")\n this.name = detectedName;\n else\n this.name = detectedName[0];\n }\n } else\n this.name = \"Injected\";\n this.ready = !!provider;\n }\n async connect({ chainId } = {}) {\n try {\n const provider = await this.getProvider();\n if (!provider)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__.ConnectorNotFoundError();\n if (provider.on) {\n provider.on(\"accountsChanged\", this.onAccountsChanged);\n provider.on(\"chainChanged\", this.onChainChanged);\n provider.on(\"disconnect\", this.onDisconnect);\n }\n this.emit(\"message\", { type: \"connecting\" });\n const accounts = await provider.request({\n method: \"eth_requestAccounts\"\n });\n const account = (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]);\n let id = await this.getChainId();\n let unsupported = this.isChainUnsupported(id);\n if (chainId && id !== chainId) {\n const chain = await this.switchChain(chainId);\n id = chain.id;\n unsupported = this.isChainUnsupported(id);\n }\n if (this.options.shimDisconnect)\n this.storage?.setItem(this.shimDisconnectKey, true);\n return { account, chain: { id, unsupported } };\n } catch (error) {\n if (this.isUserRejectedRequestError(error))\n throw new viem__WEBPACK_IMPORTED_MODULE_4__.UserRejectedRequestError(error);\n if (error.code === -32002)\n throw new viem__WEBPACK_IMPORTED_MODULE_4__.ResourceUnavailableRpcError(error);\n throw error;\n }\n }\n async disconnect() {\n const provider = await this.getProvider();\n if (!provider?.removeListener)\n return;\n provider.removeListener(\"accountsChanged\", this.onAccountsChanged);\n provider.removeListener(\"chainChanged\", this.onChainChanged);\n provider.removeListener(\"disconnect\", this.onDisconnect);\n if (this.options.shimDisconnect)\n this.storage?.removeItem(this.shimDisconnectKey);\n }\n async getAccount() {\n const provider = await this.getProvider();\n if (!provider)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__.ConnectorNotFoundError();\n const accounts = await provider.request({\n method: \"eth_accounts\"\n });\n return (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]);\n }\n async getChainId() {\n const provider = await this.getProvider();\n if (!provider)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__.ConnectorNotFoundError();\n return provider.request({ method: \"eth_chainId\" }).then(_chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__.normalizeChainId);\n }\n async getProvider() {\n const provider = this.options.getProvider();\n if (provider)\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateSet)(this, _provider, provider);\n return (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider);\n }\n async getWalletClient({\n chainId\n } = {}) {\n const [provider, account] = await Promise.all([\n this.getProvider(),\n this.getAccount()\n ]);\n const chain = this.chains.find((x) => x.id === chainId);\n if (!provider)\n throw new Error(\"provider is required.\");\n return (0,viem__WEBPACK_IMPORTED_MODULE_5__.createWalletClient)({\n account,\n chain,\n transport: (0,viem__WEBPACK_IMPORTED_MODULE_6__.custom)(provider)\n });\n }\n async isAuthorized() {\n try {\n if (this.options.shimDisconnect && !this.storage?.getItem(this.shimDisconnectKey))\n return false;\n const provider = await this.getProvider();\n if (!provider)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__.ConnectorNotFoundError();\n const account = await this.getAccount();\n return !!account;\n } catch {\n return false;\n }\n }\n async switchChain(chainId) {\n const provider = await this.getProvider();\n if (!provider)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__.ConnectorNotFoundError();\n const id = (0,viem__WEBPACK_IMPORTED_MODULE_7__.numberToHex)(chainId);\n try {\n await Promise.all([\n provider.request({\n method: \"wallet_switchEthereumChain\",\n params: [{ chainId: id }]\n }),\n new Promise(\n (res) => this.on(\"change\", ({ chain }) => {\n if (chain?.id === chainId)\n res();\n })\n )\n ]);\n return this.chains.find((x) => x.id === chainId) ?? {\n id: chainId,\n name: `Chain ${id}`,\n network: `${id}`,\n nativeCurrency: { name: \"Ether\", decimals: 18, symbol: \"ETH\" },\n rpcUrls: { default: { http: [\"\"] }, public: { http: [\"\"] } }\n };\n } catch (error) {\n const chain = this.chains.find((x) => x.id === chainId);\n if (!chain)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__.ChainNotConfiguredForConnectorError({\n chainId,\n connectorId: this.id\n });\n if (error.code === 4902 || error?.data?.originalError?.code === 4902) {\n try {\n await provider.request({\n method: \"wallet_addEthereumChain\",\n params: [\n {\n chainId: id,\n chainName: chain.name,\n nativeCurrency: chain.nativeCurrency,\n rpcUrls: [chain.rpcUrls.public?.http[0] ?? \"\"],\n blockExplorerUrls: this.getBlockExplorerUrls(chain)\n }\n ]\n });\n const currentChainId = await this.getChainId();\n if (currentChainId !== chainId)\n throw new viem__WEBPACK_IMPORTED_MODULE_4__.UserRejectedRequestError(\n new Error(\"User rejected switch after adding network.\")\n );\n return chain;\n } catch (error2) {\n throw new viem__WEBPACK_IMPORTED_MODULE_4__.UserRejectedRequestError(error2);\n }\n }\n if (this.isUserRejectedRequestError(error))\n throw new viem__WEBPACK_IMPORTED_MODULE_4__.UserRejectedRequestError(error);\n throw new viem__WEBPACK_IMPORTED_MODULE_4__.SwitchChainError(error);\n }\n }\n async watchAsset({\n address,\n decimals = 18,\n image,\n symbol\n }) {\n const provider = await this.getProvider();\n if (!provider)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_3__.ConnectorNotFoundError();\n return provider.request({\n method: \"wallet_watchAsset\",\n params: {\n type: \"ERC20\",\n options: {\n address,\n decimals,\n image,\n symbol\n }\n }\n });\n }\n isUserRejectedRequestError(error) {\n return error.code === 4001;\n }\n};\n_provider = new WeakMap();\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js?");
/***/ }),
/***/ "./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js":
/*!***************************************************************!*\
!*** ./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ normalizeChainId: () => (/* binding */ normalizeChainId)\n/* harmony export */ });\n// src/utils/normalizeChainId.ts\nfunction normalizeChainId(chainId) {\n if (typeof chainId === \"string\")\n return Number.parseInt(\n chainId,\n chainId.trim().substring(0, 2) === \"0x\" ? 16 : 10\n );\n if (typeof chainId === \"bigint\")\n return Number(chainId);\n return chainId;\n}\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js?");
/***/ }),
/***/ "./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js":
/*!***************************************************************!*\
!*** ./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainNotConfiguredForConnectorError: () => (/* binding */ ChainNotConfiguredForConnectorError),\n/* harmony export */ ConnectorNotFoundError: () => (/* binding */ ConnectorNotFoundError)\n/* harmony export */ });\n// src/errors.ts\nvar ChainNotConfiguredForConnectorError = class extends Error {\n constructor({\n chainId,\n connectorId\n }) {\n super(`Chain \"${chainId}\" not configured for connector \"${connectorId}\".`);\n this.name = \"ChainNotConfiguredForConnectorError\";\n }\n};\nvar ConnectorNotFoundError = class extends Error {\n constructor() {\n super(...arguments);\n this.name = \"ConnectorNotFoundError\";\n this.message = \"Connector not found\";\n }\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js?");
/***/ }),
/***/ "./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js":
/*!***************************************************************!*\
!*** ./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Connector: () => (/* binding */ Connector),\n/* harmony export */ __privateAdd: () => (/* binding */ __privateAdd),\n/* harmony export */ __privateGet: () => (/* binding */ __privateGet),\n/* harmony export */ __privateMethod: () => (/* binding */ __privateMethod),\n/* harmony export */ __privateSet: () => (/* binding */ __privateSet)\n/* harmony export */ });\n/* harmony import */ var eventemitter3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! eventemitter3 */ \"./node_modules/eventemitter3/index.js\");\n/* harmony import */ var viem_chains__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem/chains */ \"./node_modules/viem/_esm/chains/definitions/mainnet.js\");\n/* harmony import */ var viem_chains__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! viem/chains */ \"./node_modules/viem/_esm/chains/definitions/goerli.js\");\nvar __accessCheck = (obj, member, msg) => {\n if (!member.has(obj))\n throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n __accessCheck(obj, member, \"read from private field\");\n return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n if (member.has(obj))\n throw TypeError(\"Cannot add the same private member more than once\");\n member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n __accessCheck(obj, member, \"write to private field\");\n setter ? setter.call(obj, value) : member.set(obj, value);\n return value;\n};\nvar __privateMethod = (obj, member, method) => {\n __accessCheck(obj, member, \"access private method\");\n return method;\n};\n\n// src/base.ts\n\n\nvar Connector = class extends eventemitter3__WEBPACK_IMPORTED_MODULE_0__ {\n constructor({\n chains = [viem_chains__WEBPACK_IMPORTED_MODULE_1__.mainnet, viem_chains__WEBPACK_IMPORTED_MODULE_2__.goerli],\n options\n }) {\n super();\n this.chains = chains;\n this.options = options;\n }\n getBlockExplorerUrls(chain) {\n const { default: blockExplorer, ...blockExplorers } = chain.blockExplorers ?? {};\n if (blockExplorer)\n return [\n blockExplorer.url,\n ...Object.values(blockExplorers).map((x) => x.url)\n ];\n }\n isChainUnsupported(chainId) {\n return !this.chains.some((x) => x.id === chainId);\n }\n setStorage(storage) {\n this.storage = storage;\n }\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js?");
/***/ }),
/***/ "./node_modules/@wagmi/connectors/dist/coinbaseWallet.js":
/*!***************************************************************!*\
!*** ./node_modules/@wagmi/connectors/dist/coinbaseWallet.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CoinbaseWalletConnector: () => (/* binding */ CoinbaseWalletConnector)\n/* harmony export */ });\n/* harmony import */ var _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./chunk-UGBGYVBH.js */ \"./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js\");\n/* harmony import */ var _chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./chunk-OQILYQDO.js */ \"./node_modules/@wagmi/connectors/dist/chunk-OQILYQDO.js\");\n/* harmony import */ var _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-W65LBPLT.js */ \"./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/createWalletClient.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/custom.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n// src/coinbaseWallet.ts\n\nvar _client, _provider;\nvar CoinbaseWalletConnector = class extends _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.Connector {\n constructor({ chains, options }) {\n super({\n chains,\n options: {\n reloadOnDisconnect: false,\n ...options\n }\n });\n this.id = \"coinbaseWallet\";\n this.name = \"Coinbase Wallet\";\n this.ready = true;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _client, void 0);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _provider, void 0);\n this.onAccountsChanged = (accounts) => {\n if (accounts.length === 0)\n this.emit(\"disconnect\");\n else\n this.emit(\"change\", { account: (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]) });\n };\n this.onChainChanged = (chainId) => {\n const id = (0,_chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__.normalizeChainId)(chainId);\n const unsupported = this.isChainUnsupported(id);\n this.emit(\"change\", { chain: { id, unsupported } });\n };\n this.onDisconnect = () => {\n this.emit(\"disconnect\");\n };\n }\n async connect({ chainId } = {}) {\n try {\n const provider = await this.getProvider();\n provider.on(\"accountsChanged\", this.onAccountsChanged);\n provider.on(\"chainChanged\", this.onChainChanged);\n provider.on(\"disconnect\", this.onDisconnect);\n this.emit(\"message\", { type: \"connecting\" });\n const accounts = await provider.enable();\n const account = (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]);\n let id = await this.getChainId();\n let unsupported = this.isChainUnsupported(id);\n if (chainId && id !== chainId) {\n const chain = await this.switchChain(chainId);\n id = chain.id;\n unsupported = this.isChainUnsupported(id);\n }\n return {\n account,\n chain: { id, unsupported }\n };\n } catch (error) {\n if (/(user closed modal|accounts received is empty)/i.test(\n error.message\n ))\n throw new viem__WEBPACK_IMPORTED_MODULE_3__.UserRejectedRequestError(error);\n throw error;\n }\n }\n async disconnect() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider))\n return;\n const provider = await this.getProvider();\n provider.removeListener(\"accountsChanged\", this.onAccountsChanged);\n provider.removeListener(\"chainChanged\", this.onChainChanged);\n provider.removeListener(\"disconnect\", this.onDisconnect);\n provider.disconnect();\n provider.close();\n }\n async getAccount() {\n const provider = await this.getProvider();\n const accounts = await provider.request({\n method: \"eth_accounts\"\n });\n return (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]);\n }\n async getChainId() {\n const provider = await this.getProvider();\n const chainId = (0,_chunk_OQILYQDO_js__WEBPACK_IMPORTED_MODULE_2__.normalizeChainId)(provider.chainId);\n return chainId;\n }\n async getProvider() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider)) {\n let CoinbaseWalletSDK = (await Promise.all(/*! import() */[__webpack_require__.e(\"vendors-node_modules_events_events_js\"), __webpack_require__.e(\"vendors-node_modules_coinbase_wallet-sdk_dist_index_js\"), __webpack_require__.e(\"_8131-_4f7e-_ed1b-_d17e\")]).then(__webpack_require__.t.bind(__webpack_require__, /*! @coinbase/wallet-sdk */ \"./node_modules/@coinbase/wallet-sdk/dist/index.js\", 19))).default;\n if (typeof CoinbaseWalletSDK !== \"function\" && typeof CoinbaseWalletSDK.default === \"function\")\n CoinbaseWalletSDK = CoinbaseWalletSDK.default;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateSet)(this, _client, new CoinbaseWalletSDK(this.options));\n class WalletProvider {\n }\n class Client {\n }\n const walletExtensionChainId = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _client).walletExtension?.getChainId();\n const chain = this.chains.find(\n (chain2) => this.options.chainId ? chain2.id === this.options.chainId : chain2.id === walletExtensionChainId\n ) || this.chains[0];\n const chainId = this.options.chainId || chain?.id;\n const jsonRpcUrl = this.options.jsonRpcUrl || chain?.rpcUrls.default.http[0];\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateSet)(this, _provider, (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _client).makeWeb3Provider(jsonRpcUrl, chainId));\n }\n return (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider);\n }\n async getWalletClient({\n chainId\n } = {}) {\n const [provider, account] = await Promise.all([\n this.getProvider(),\n this.getAccount()\n ]);\n const chain = this.chains.find((x) => x.id === chainId);\n if (!provider)\n throw new Error(\"provider is required.\");\n return (0,viem__WEBPACK_IMPORTED_MODULE_4__.createWalletClient)({\n account,\n chain,\n transport: (0,viem__WEBPACK_IMPORTED_MODULE_5__.custom)(provider)\n });\n }\n async isAuthorized() {\n try {\n const account = await this.getAccount();\n return !!account;\n } catch {\n return false;\n }\n }\n async switchChain(chainId) {\n const provider = await this.getProvider();\n const id = (0,viem__WEBPACK_IMPORTED_MODULE_6__.numberToHex)(chainId);\n try {\n await provider.request({\n method: \"wallet_switchEthereumChain\",\n params: [{ chainId: id }]\n });\n return this.chains.find((x) => x.id === chainId) ?? {\n id: chainId,\n name: `Chain ${id}`,\n network: `${id}`,\n nativeCurrency: { name: \"Ether\", decimals: 18, symbol: \"ETH\" },\n rpcUrls: { default: { http: [\"\"] }, public: { http: [\"\"] } }\n };\n } catch (error) {\n const chain = this.chains.find((x) => x.id === chainId);\n if (!chain)\n throw new _chunk_UGBGYVBH_js__WEBPACK_IMPORTED_MODULE_7__.ChainNotConfiguredForConnectorError({\n chainId,\n connectorId: this.id\n });\n if (error.code === 4902) {\n try {\n await provider.request({\n method: \"wallet_addEthereumChain\",\n params: [\n {\n chainId: id,\n chainName: chain.name,\n nativeCurrency: chain.nativeCurrency,\n rpcUrls: [chain.rpcUrls.public?.http[0] ?? \"\"],\n blockExplorerUrls: this.getBlockExplorerUrls(chain)\n }\n ]\n });\n return chain;\n } catch (error2) {\n throw new viem__WEBPACK_IMPORTED_MODULE_3__.UserRejectedRequestError(error2);\n }\n }\n throw new viem__WEBPACK_IMPORTED_MODULE_3__.SwitchChainError(error);\n }\n }\n async watchAsset({\n address,\n decimals = 18,\n image,\n symbol\n }) {\n const provider = await this.getProvider();\n return provider.request({\n method: \"wallet_watchAsset\",\n params: {\n type: \"ERC20\",\n options: {\n address,\n decimals,\n image,\n symbol\n }\n }\n });\n }\n};\n_client = new WeakMap();\n_provider = new WeakMap();\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/coinbaseWallet.js?");
/***/ }),
/***/ "./node_modules/@wagmi/connectors/dist/walletConnect.js":
/*!**************************************************************!*\
!*** ./node_modules/@wagmi/connectors/dist/walletConnect.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WalletConnectConnector: () => (/* binding */ WalletConnectConnector)\n/* harmony export */ });\n/* harmony import */ var _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./chunk-W65LBPLT.js */ \"./node_modules/@wagmi/connectors/dist/chunk-W65LBPLT.js\");\n/* harmony import */ var _walletconnect_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @walletconnect/utils */ \"./node_modules/@wagmi/connectors/node_modules/@walletconnect/utils/dist/index.es.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/createWalletClient.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/custom.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n// src/walletConnect.ts\n\n\nvar NAMESPACE = \"eip155\";\nvar STORE_KEY = \"store\";\nvar REQUESTED_CHAINS_KEY = \"requestedChains\";\nvar ADD_ETH_CHAIN_METHOD = \"wallet_addEthereumChain\";\nvar _provider, _initProviderPromise, _createProvider, createProvider_fn, _initProvider, initProvider_fn, _isChainsStale, isChainsStale_fn, _setupListeners, setupListeners_fn, _removeListeners, removeListeners_fn, _setRequestedChainsIds, setRequestedChainsIds_fn, _getRequestedChainsIds, getRequestedChainsIds_fn, _getNamespaceChainsIds, getNamespaceChainsIds_fn, _getNamespaceMethods, getNamespaceMethods_fn;\nvar WalletConnectConnector = class extends _chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.Connector {\n constructor(config) {\n super({\n ...config,\n options: { isNewChainsStale: true, ...config.options }\n });\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _createProvider);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _initProvider);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _isChainsStale);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _setupListeners);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _removeListeners);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _setRequestedChainsIds);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _getRequestedChainsIds);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _getNamespaceChainsIds);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _getNamespaceMethods);\n this.id = \"walletConnect\";\n this.name = \"WalletConnect\";\n this.ready = true;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _provider, void 0);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateAdd)(this, _initProviderPromise, void 0);\n this.onAccountsChanged = (accounts) => {\n if (accounts.length === 0)\n this.emit(\"disconnect\");\n else\n this.emit(\"change\", { account: (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]) });\n };\n this.onChainChanged = (chainId) => {\n const id = Number(chainId);\n const unsupported = this.isChainUnsupported(id);\n this.emit(\"change\", { chain: { id, unsupported } });\n };\n this.onDisconnect = () => {\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _setRequestedChainsIds, setRequestedChainsIds_fn).call(this, []);\n this.emit(\"disconnect\");\n };\n this.onDisplayUri = (uri) => {\n this.emit(\"message\", { type: \"display_uri\", data: uri });\n };\n this.onConnect = () => {\n this.emit(\"connect\", {});\n };\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _createProvider, createProvider_fn).call(this);\n }\n async connect({ chainId, pairingTopic } = {}) {\n try {\n let targetChainId = chainId;\n if (!targetChainId) {\n const store = this.storage?.getItem(STORE_KEY);\n const lastUsedChainId = store?.state?.data?.chain?.id;\n if (lastUsedChainId && !this.isChainUnsupported(lastUsedChainId))\n targetChainId = lastUsedChainId;\n else\n targetChainId = this.chains[0]?.id;\n }\n if (!targetChainId)\n throw new Error(\"No chains found on connector.\");\n const provider = await this.getProvider();\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _setupListeners, setupListeners_fn).call(this);\n const isChainsStale = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _isChainsStale, isChainsStale_fn).call(this);\n if (provider.session && isChainsStale)\n await provider.disconnect();\n if (!provider.session || isChainsStale) {\n const optionalChains = this.chains.filter((chain) => chain.id !== targetChainId).map((optionalChain) => optionalChain.id);\n this.emit(\"message\", { type: \"connecting\" });\n await provider.connect({\n pairingTopic,\n chains: [targetChainId],\n optionalChains: optionalChains.length ? optionalChains : void 0\n });\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _setRequestedChainsIds, setRequestedChainsIds_fn).call(this, this.chains.map(({ id: id2 }) => id2));\n }\n const accounts = await provider.enable();\n const account = (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]);\n const id = await this.getChainId();\n const unsupported = this.isChainUnsupported(id);\n return {\n account,\n chain: { id, unsupported }\n };\n } catch (error) {\n if (/user rejected/i.test(error?.message)) {\n throw new viem__WEBPACK_IMPORTED_MODULE_2__.UserRejectedRequestError(error);\n }\n throw error;\n }\n }\n async disconnect() {\n const provider = await this.getProvider();\n try {\n await provider.disconnect();\n } catch (error) {\n if (!/No matching key/i.test(error.message))\n throw error;\n } finally {\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _removeListeners, removeListeners_fn).call(this);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _setRequestedChainsIds, setRequestedChainsIds_fn).call(this, []);\n }\n }\n async getAccount() {\n const { accounts } = await this.getProvider();\n return (0,viem__WEBPACK_IMPORTED_MODULE_1__.getAddress)(accounts[0]);\n }\n async getChainId() {\n const { chainId } = await this.getProvider();\n return chainId;\n }\n async getProvider({ chainId } = {}) {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider))\n await (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _createProvider, createProvider_fn).call(this);\n if (chainId)\n await this.switchChain(chainId);\n return (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider);\n }\n async getWalletClient({\n chainId\n } = {}) {\n const [provider, account] = await Promise.all([\n this.getProvider({ chainId }),\n this.getAccount()\n ]);\n const chain = this.chains.find((x) => x.id === chainId);\n if (!provider)\n throw new Error(\"provider is required.\");\n return (0,viem__WEBPACK_IMPORTED_MODULE_3__.createWalletClient)({\n account,\n chain,\n transport: (0,viem__WEBPACK_IMPORTED_MODULE_4__.custom)(provider)\n });\n }\n async isAuthorized() {\n try {\n const [account, provider] = await Promise.all([\n this.getAccount(),\n this.getProvider()\n ]);\n const isChainsStale = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _isChainsStale, isChainsStale_fn).call(this);\n if (!account)\n return false;\n if (isChainsStale && provider.session) {\n try {\n await provider.disconnect();\n } catch {\n }\n return false;\n }\n return true;\n } catch {\n return false;\n }\n }\n async switchChain(chainId) {\n const chain = this.chains.find((chain2) => chain2.id === chainId);\n if (!chain)\n throw new viem__WEBPACK_IMPORTED_MODULE_2__.SwitchChainError(new Error(\"chain not found on connector.\"));\n try {\n const provider = await this.getProvider();\n const namespaceChains = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _getNamespaceChainsIds, getNamespaceChainsIds_fn).call(this);\n const namespaceMethods = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _getNamespaceMethods, getNamespaceMethods_fn).call(this);\n const isChainApproved = namespaceChains.includes(chainId);\n if (!isChainApproved && namespaceMethods.includes(ADD_ETH_CHAIN_METHOD)) {\n await provider.request({\n method: ADD_ETH_CHAIN_METHOD,\n params: [\n {\n chainId: (0,viem__WEBPACK_IMPORTED_MODULE_5__.numberToHex)(chain.id),\n blockExplorerUrls: [chain.blockExplorers?.default?.url],\n chainName: chain.name,\n nativeCurrency: chain.nativeCurrency,\n rpcUrls: [...chain.rpcUrls.default.http]\n }\n ]\n });\n const requestedChains = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _getRequestedChainsIds, getRequestedChainsIds_fn).call(this);\n requestedChains.push(chainId);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _setRequestedChainsIds, setRequestedChainsIds_fn).call(this, requestedChains);\n }\n await provider.request({\n method: \"wallet_switchEthereumChain\",\n params: [{ chainId: (0,viem__WEBPACK_IMPORTED_MODULE_5__.numberToHex)(chainId) }]\n });\n return chain;\n } catch (error) {\n const message = typeof error === \"string\" ? error : error?.message;\n if (/user rejected request/i.test(message)) {\n throw new viem__WEBPACK_IMPORTED_MODULE_2__.UserRejectedRequestError(error);\n }\n throw new viem__WEBPACK_IMPORTED_MODULE_2__.SwitchChainError(error);\n }\n }\n};\n_provider = new WeakMap();\n_initProviderPromise = new WeakMap();\n_createProvider = new WeakSet();\ncreateProvider_fn = async function() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _initProviderPromise) && typeof window !== \"undefined\") {\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateSet)(this, _initProviderPromise, (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _initProvider, initProvider_fn).call(this));\n }\n return (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _initProviderPromise);\n};\n_initProvider = new WeakSet();\ninitProvider_fn = async function() {\n const { EthereumProvider, OPTIONAL_EVENTS, OPTIONAL_METHODS } = await Promise.all(/*! import() */[__webpack_require__.e(\"vendors-node_modules_events_events_js\"), __webpack_require__.e(\"vendors-node_modules_walletconnect_ethereum-provider_dist_index_es_js\")]).then(__webpack_require__.bind(__webpack_require__, /*! @walletconnect/ethereum-provider */ \"./node_modules/@walletconnect/ethereum-provider/dist/index.es.js\"));\n const [defaultChain, ...optionalChains] = this.chains.map(({ id }) => id);\n if (defaultChain) {\n const {\n projectId,\n showQrModal = true,\n qrModalOptions,\n metadata,\n relayUrl\n } = this.options;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateSet)(this, _provider, await EthereumProvider.init({\n showQrModal,\n qrModalOptions,\n projectId,\n optionalMethods: OPTIONAL_METHODS,\n optionalEvents: OPTIONAL_EVENTS,\n chains: [defaultChain],\n optionalChains: optionalChains.length ? optionalChains : void 0,\n rpcMap: Object.fromEntries(\n this.chains.map((chain) => [\n chain.id,\n chain.rpcUrls.default.http[0]\n ])\n ),\n metadata,\n relayUrl\n }));\n }\n};\n_isChainsStale = new WeakSet();\nisChainsStale_fn = function() {\n const namespaceMethods = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _getNamespaceMethods, getNamespaceMethods_fn).call(this);\n if (namespaceMethods.includes(ADD_ETH_CHAIN_METHOD))\n return false;\n if (!this.options.isNewChainsStale)\n return false;\n const requestedChains = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _getRequestedChainsIds, getRequestedChainsIds_fn).call(this);\n const connectorChains = this.chains.map(({ id }) => id);\n const namespaceChains = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _getNamespaceChainsIds, getNamespaceChainsIds_fn).call(this);\n if (namespaceChains.length && !namespaceChains.some((id) => connectorChains.includes(id)))\n return false;\n return !connectorChains.every((id) => requestedChains.includes(id));\n};\n_setupListeners = new WeakSet();\nsetupListeners_fn = function() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider))\n return;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateMethod)(this, _removeListeners, removeListeners_fn).call(this);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).on(\"accountsChanged\", this.onAccountsChanged);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).on(\"chainChanged\", this.onChainChanged);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).on(\"disconnect\", this.onDisconnect);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).on(\"session_delete\", this.onDisconnect);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).on(\"display_uri\", this.onDisplayUri);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).on(\"connect\", this.onConnect);\n};\n_removeListeners = new WeakSet();\nremoveListeners_fn = function() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider))\n return;\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).removeListener(\"accountsChanged\", this.onAccountsChanged);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).removeListener(\"chainChanged\", this.onChainChanged);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).removeListener(\"disconnect\", this.onDisconnect);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).removeListener(\"session_delete\", this.onDisconnect);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).removeListener(\"display_uri\", this.onDisplayUri);\n (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).removeListener(\"connect\", this.onConnect);\n};\n_setRequestedChainsIds = new WeakSet();\nsetRequestedChainsIds_fn = function(chains) {\n this.storage?.setItem(REQUESTED_CHAINS_KEY, chains);\n};\n_getRequestedChainsIds = new WeakSet();\ngetRequestedChainsIds_fn = function() {\n return this.storage?.getItem(REQUESTED_CHAINS_KEY) ?? [];\n};\n_getNamespaceChainsIds = new WeakSet();\ngetNamespaceChainsIds_fn = function() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider))\n return [];\n const namespaces = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).session?.namespaces;\n if (!namespaces)\n return [];\n const normalizedNamespaces = (0,_walletconnect_utils__WEBPACK_IMPORTED_MODULE_6__.normalizeNamespaces)(namespaces);\n const chainIds = normalizedNamespaces[NAMESPACE]?.chains?.map(\n (chain) => parseInt(chain.split(\":\")[1] || \"\")\n );\n return chainIds ?? [];\n};\n_getNamespaceMethods = new WeakSet();\ngetNamespaceMethods_fn = function() {\n if (!(0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider))\n return [];\n const namespaces = (0,_chunk_W65LBPLT_js__WEBPACK_IMPORTED_MODULE_0__.__privateGet)(this, _provider).session?.namespaces;\n if (!namespaces)\n return [];\n const normalizedNamespaces = (0,_walletconnect_utils__WEBPACK_IMPORTED_MODULE_6__.normalizeNamespaces)(namespaces);\n const methods = normalizedNamespaces[NAMESPACE]?.methods;\n return methods ?? [];\n};\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/connectors/dist/walletConnect.js?");
/***/ }),
/***/ "./node_modules/@wagmi/core/dist/chunk-MQXBDTVK.js":
/*!*********************************************************!*\
!*** ./node_modules/@wagmi/core/dist/chunk-MQXBDTVK.js ***!
\*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ __privateAdd: () => (/* binding */ __privateAdd),\n/* harmony export */ __privateGet: () => (/* binding */ __privateGet),\n/* harmony export */ __privateMethod: () => (/* binding */ __privateMethod),\n/* harmony export */ __privateSet: () => (/* binding */ __privateSet)\n/* harmony export */ });\nvar __accessCheck = (obj, member, msg) => {\n if (!member.has(obj))\n throw TypeError(\"Cannot \" + msg);\n};\nvar __privateGet = (obj, member, getter) => {\n __accessCheck(obj, member, \"read from private field\");\n return getter ? getter.call(obj) : member.get(obj);\n};\nvar __privateAdd = (obj, member, value) => {\n if (member.has(obj))\n throw TypeError(\"Cannot add the same private member more than once\");\n member instanceof WeakSet ? member.add(obj) : member.set(obj, value);\n};\nvar __privateSet = (obj, member, value, setter) => {\n __accessCheck(obj, member, \"write to private field\");\n setter ? setter.call(obj, value) : member.set(obj, value);\n return value;\n};\nvar __privateMethod = (obj, member, method) => {\n __accessCheck(obj, member, \"access private method\");\n return method;\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/core/dist/chunk-MQXBDTVK.js?");
/***/ }),
/***/ "./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js":
/*!*********************************************************!*\
!*** ./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js ***!
\*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainMismatchError: () => (/* binding */ ChainMismatchError),\n/* harmony export */ ChainNotConfiguredError: () => (/* binding */ ChainNotConfiguredError),\n/* harmony export */ Config: () => (/* binding */ Config),\n/* harmony export */ ConfigChainsNotFound: () => (/* binding */ ConfigChainsNotFound),\n/* harmony export */ ConnectorAlreadyConnectedError: () => (/* binding */ ConnectorAlreadyConnectedError),\n/* harmony export */ ConnectorNotFoundError: () => (/* reexport safe */ _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError),\n/* harmony export */ SwitchChainNotSupportedError: () => (/* binding */ SwitchChainNotSupportedError),\n/* harmony export */ configureChains: () => (/* binding */ configureChains),\n/* harmony export */ connect: () => (/* binding */ connect),\n/* harmony export */ createConfig: () => (/* binding */ createConfig),\n/* harmony export */ createStorage: () => (/* binding */ createStorage),\n/* harmony export */ deepEqual: () => (/* binding */ deepEqual),\n/* harmony export */ deserialize: () => (/* binding */ deserialize),\n/* harmony export */ disconnect: () => (/* binding */ disconnect),\n/* harmony export */ erc20ABI: () => (/* binding */ erc20ABI),\n/* harmony export */ erc4626ABI: () => (/* binding */ erc4626ABI),\n/* harmony export */ erc721ABI: () => (/* binding */ erc721ABI),\n/* harmony export */ fetchBalance: () => (/* binding */ fetchBalance),\n/* harmony export */ fetchBlockNumber: () => (/* binding */ fetchBlockNumber),\n/* harmony export */ fetchEnsAddress: () => (/* binding */ fetchEnsAddress),\n/* harmony export */ fetchEnsAvatar: () => (/* binding */ fetchEnsAvatar),\n/* harmony export */ fetchEnsName: () => (/* binding */ fetchEnsName),\n/* harmony export */ fetchEnsResolver: () => (/* binding */ fetchEnsResolver),\n/* harmony export */ fetchFeeData: () => (/* binding */ fetchFeeData),\n/* harmony export */ fetchToken: () => (/* binding */ fetchToken),\n/* harmony export */ fetchTransaction: () => (/* binding */ fetchTransaction),\n/* harmony export */ getAccount: () => (/* binding */ getAccount),\n/* harmony export */ getCallParameters: () => (/* binding */ getCallParameters),\n/* harmony export */ getConfig: () => (/* binding */ getConfig),\n/* harmony export */ getContract: () => (/* binding */ getContract),\n/* harmony export */ getNetwork: () => (/* binding */ getNetwork),\n/* harmony export */ getPublicClient: () => (/* binding */ getPublicClient),\n/* harmony export */ getSendTransactionParameters: () => (/* binding */ getSendTransactionParameters),\n/* harmony export */ getUnit: () => (/* binding */ getUnit),\n/* harmony export */ getWalletClient: () => (/* binding */ getWalletClient),\n/* harmony export */ getWebSocketPublicClient: () => (/* binding */ getWebSocketPublicClient),\n/* harmony export */ multicall: () => (/* binding */ multicall),\n/* harmony export */ noopStorage: () => (/* binding */ noopStorage),\n/* harmony export */ prepareSendTransaction: () => (/* binding */ prepareSendTransaction),\n/* harmony export */ prepareWriteContract: () => (/* binding */ prepareWriteContract),\n/* harmony export */ readContract: () => (/* binding */ readContract),\n/* harmony export */ readContracts: () => (/* binding */ readContracts),\n/* harmony export */ sendTransaction: () => (/* binding */ sendTransaction),\n/* harmony export */ serialize: () => (/* binding */ serialize),\n/* harmony export */ signMessage: () => (/* binding */ signMessage),\n/* harmony export */ signTypedData: () => (/* binding */ signTypedData),\n/* harmony export */ switchNetwork: () => (/* binding */ switchNetwork),\n/* harmony export */ waitForTransaction: () => (/* binding */ waitForTransaction),\n/* harmony export */ watchAccount: () => (/* binding */ watchAccount),\n/* harmony export */ watchBlockNumber: () => (/* binding */ watchBlockNumber),\n/* harmony export */ watchContractEvent: () => (/* binding */ watchContractEvent),\n/* harmony export */ watchMulticall: () => (/* binding */ watchMulticall),\n/* harmony export */ watchNetwork: () => (/* binding */ watchNetwork),\n/* harmony export */ watchPendingTransactions: () => (/* binding */ watchPendingTransactions),\n/* harmony export */ watchPublicClient: () => (/* binding */ watchPublicClient),\n/* harmony export */ watchReadContract: () => (/* binding */ watchReadContract),\n/* harmony export */ watchReadContracts: () => (/* binding */ watchReadContracts),\n/* harmony export */ watchWalletClient: () => (/* binding */ watchWalletClient),\n/* harmony export */ watchWebSocketPublicClient: () => (/* binding */ watchWebSocketPublicClient),\n/* harmony export */ writeContract: () => (/* binding */ writeContract)\n/* harmony export */ });\n/* harmony import */ var _chunk_BVC4KGLQ_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./chunk-BVC4KGLQ.js */ \"./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js\");\n/* harmony import */ var _chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./chunk-MQXBDTVK.js */ \"./node_modules/@wagmi/core/dist/chunk-MQXBDTVK.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/createPublicClient.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/fallback.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/http.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/clients/transports/webSocket.js\");\n/* harmony import */ var _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! @wagmi/connectors */ \"./node_modules/@wagmi/connectors/dist/chunk-UGBGYVBH.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/constants/unit.js\");\n/* harmony import */ var zustand_middleware__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! zustand/middleware */ \"./node_modules/zustand/esm/middleware.mjs\");\n/* harmony import */ var zustand_vanilla__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! zustand/vanilla */ \"./node_modules/zustand/esm/vanilla.mjs\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/unit/formatUnits.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/data/trim.js\");\n/* harmony import */ var zustand_shallow__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! zustand/shallow */ \"./node_modules/zustand/esm/shallow.mjs\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/actions/getContract.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/unit/parseGwei.js\");\n/* harmony import */ var viem__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! viem */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n\n\n\n// src/utils/configureChains.ts\n\nfunction configureChains(defaultChains, providers, {\n batch = { multicall: { wait: 32 } },\n pollingInterval = 4e3,\n rank,\n retryCount,\n retryDelay,\n stallTimeout\n} = {}) {\n if (!defaultChains.length)\n throw new Error(\"must have at least one chain\");\n let chains = [];\n const httpUrls = {};\n const wsUrls = {};\n for (const chain of defaultChains) {\n let configExists = false;\n for (const provider of providers) {\n const apiConfig = provider(chain);\n if (!apiConfig)\n continue;\n configExists = true;\n if (!chains.some(({ id }) => id === chain.id)) {\n chains = [...chains, apiConfig.chain];\n }\n httpUrls[chain.id] = [\n ...httpUrls[chain.id] || [],\n ...apiConfig.rpcUrls.http\n ];\n if (apiConfig.rpcUrls.webSocket) {\n wsUrls[chain.id] = [\n ...wsUrls[chain.id] || [],\n ...apiConfig.rpcUrls.webSocket\n ];\n }\n }\n if (!configExists) {\n throw new Error(\n [\n `Could not find valid provider configuration for chain \"${chain.name}\".\n`,\n \"You may need to add `jsonRpcProvider` to `configureChains` with the chain's RPC URLs.\",\n \"Read more: https://wagmi.sh/core/providers/jsonRpc\"\n ].join(\"\\n\")\n );\n }\n }\n return {\n chains,\n publicClient: ({ chainId }) => {\n const activeChain = chains.find((x) => x.id === chainId) ?? defaultChains[0];\n const chainHttpUrls = httpUrls[activeChain.id];\n if (!chainHttpUrls || !chainHttpUrls[0])\n throw new Error(`No providers configured for chain \"${activeChain.id}\"`);\n const publicClient = (0,viem__WEBPACK_IMPORTED_MODULE_0__.createPublicClient)({\n batch,\n chain: activeChain,\n transport: (0,viem__WEBPACK_IMPORTED_MODULE_1__.fallback)(\n chainHttpUrls.map((url) => (0,viem__WEBPACK_IMPORTED_MODULE_2__.http)(url, { timeout: stallTimeout })),\n { rank, retryCount, retryDelay }\n ),\n pollingInterval\n });\n return Object.assign(publicClient, {\n chains\n });\n },\n webSocketPublicClient: ({ chainId }) => {\n const activeChain = chains.find((x) => x.id === chainId) ?? defaultChains[0];\n const chainWsUrls = wsUrls[activeChain.id];\n if (!chainWsUrls || !chainWsUrls[0])\n return void 0;\n const publicClient = (0,viem__WEBPACK_IMPORTED_MODULE_0__.createPublicClient)({\n batch,\n chain: activeChain,\n transport: (0,viem__WEBPACK_IMPORTED_MODULE_1__.fallback)(\n chainWsUrls.map((url) => (0,viem__WEBPACK_IMPORTED_MODULE_3__.webSocket)(url, { timeout: stallTimeout })),\n { rank, retryCount, retryDelay }\n ),\n pollingInterval\n });\n return Object.assign(publicClient, {\n chains\n });\n }\n };\n}\n\n// src/errors.ts\n\nvar ChainMismatchError = class extends Error {\n constructor({\n activeChain,\n targetChain\n }) {\n super(\n `Chain mismatch: Expected \"${targetChain}\", received \"${activeChain}\".`\n );\n this.name = \"ChainMismatchError\";\n }\n};\nvar ChainNotConfiguredError = class extends Error {\n constructor({\n chainId,\n connectorId\n }) {\n super(\n `Chain \"${chainId}\" not configured${connectorId ? ` for connector \"${connectorId}\"` : \"\"}.`\n );\n this.name = \"ChainNotConfigured\";\n }\n};\nvar ConnectorAlreadyConnectedError = class extends Error {\n constructor() {\n super(...arguments);\n this.name = \"ConnectorAlreadyConnectedError\";\n this.message = \"Connector already connected\";\n }\n};\nvar ConfigChainsNotFound = class extends Error {\n constructor() {\n super(...arguments);\n this.name = \"ConfigChainsNotFound\";\n this.message = \"No chains were found on the wagmi config. Some functions that require a chain may not work.\";\n }\n};\nvar SwitchChainNotSupportedError = class extends Error {\n constructor({ connector }) {\n super(`\"${connector.name}\" does not support programmatic chain switching.`);\n this.name = \"SwitchChainNotSupportedError\";\n }\n};\n\n// src/utils/deepEqual.ts\nfunction deepEqual(a, b) {\n if (a === b)\n return true;\n if (a && b && typeof a === \"object\" && typeof b === \"object\") {\n if (a.constructor !== b.constructor)\n return false;\n let length;\n let i;\n if (Array.isArray(a) && Array.isArray(b)) {\n length = a.length;\n if (length != b.length)\n return false;\n for (i = length; i-- !== 0; )\n if (!deepEqual(a[i], b[i]))\n return false;\n return true;\n }\n if (a.valueOf !== Object.prototype.valueOf)\n return a.valueOf() === b.valueOf();\n if (a.toString !== Object.prototype.toString)\n return a.toString() === b.toString();\n const keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length)\n return false;\n for (i = length; i-- !== 0; )\n if (!Object.prototype.hasOwnProperty.call(b, keys[i]))\n return false;\n for (i = length; i-- !== 0; ) {\n const key = keys[i];\n if (key && !deepEqual(a[key], b[key]))\n return false;\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\n// src/utils/deserialize.ts\nvar findAndReplace = (cacheRef, {\n find,\n replace\n}) => {\n if (cacheRef && find(cacheRef)) {\n return replace(cacheRef);\n }\n if (typeof cacheRef !== \"object\") {\n return cacheRef;\n }\n if (Array.isArray(cacheRef)) {\n return cacheRef.map((item) => findAndReplace(item, { find, replace }));\n }\n if (cacheRef instanceof Object) {\n return Object.entries(cacheRef).reduce(\n (curr, [key, value]) => ({\n ...curr,\n [key]: findAndReplace(value, { find, replace })\n }),\n {}\n );\n }\n return cacheRef;\n};\nfunction deserialize(cachedString) {\n const cache = JSON.parse(cachedString);\n const deserializedCacheWithBigInts = findAndReplace(cache, {\n find: (data) => typeof data === \"string\" && data.startsWith(\"#bigint.\"),\n replace: (data) => BigInt(data.replace(\"#bigint.\", \"\"))\n });\n return deserializedCacheWithBigInts;\n}\n\n// src/utils/getParameters.ts\nfunction getCallParameters(args) {\n return {\n accessList: args.accessList,\n account: args.account,\n blockNumber: args.blockNumber,\n blockTag: args.blockTag,\n data: args.data,\n gas: args.gas,\n gasPrice: args.gasPrice,\n maxFeePerGas: args.maxFeePerGas,\n maxPriorityFeePerGas: args.maxPriorityFeePerGas,\n nonce: args.nonce,\n to: args.to,\n value: args.value\n };\n}\nfunction getSendTransactionParameters(args) {\n return {\n accessList: args.accessList,\n account: args.account,\n data: args.data,\n gas: args.gas,\n gasPrice: args.gasPrice,\n maxFeePerGas: args.maxFeePerGas,\n maxPriorityFeePerGas: args.maxPriorityFeePerGas,\n nonce: args.nonce,\n to: args.to,\n value: args.value\n };\n}\n\n// src/utils/getUnit.ts\n\nfunction getUnit(unit) {\n if (typeof unit === \"number\")\n return unit;\n if (unit === \"wei\")\n return 0;\n return Math.abs(viem__WEBPACK_IMPORTED_MODULE_4__.weiUnits[unit]);\n}\n\n// src/utils/serialize.ts\nfunction getReferenceKey(keys, cutoff) {\n return keys.slice(0, cutoff).join(\".\") || \".\";\n}\nfunction getCutoff(array, value) {\n const { length } = array;\n for (let index = 0; index < length; ++index) {\n if (array[index] === value) {\n return index + 1;\n }\n }\n return 0;\n}\nfunction createReplacer(replacer, circularReplacer) {\n const hasReplacer = typeof replacer === \"function\";\n const hasCircularReplacer = typeof circularReplacer === \"function\";\n const cache = [];\n const keys = [];\n return function replace(key, value) {\n if (typeof value === \"object\") {\n if (cache.length) {\n const thisCutoff = getCutoff(cache, this);\n if (thisCutoff === 0) {\n cache[cache.length] = this;\n } else {\n cache.splice(thisCutoff);\n keys.splice(thisCutoff);\n }\n keys[keys.length] = key;\n const valueCutoff = getCutoff(cache, value);\n if (valueCutoff !== 0) {\n return hasCircularReplacer ? circularReplacer.call(\n this,\n key,\n value,\n getReferenceKey(keys, valueCutoff)\n ) : `[ref=${getReferenceKey(keys, valueCutoff)}]`;\n }\n } else {\n cache[0] = value;\n keys[0] = key;\n }\n }\n return hasReplacer ? replacer.call(this, key, value) : value;\n };\n}\nfunction serialize(value, replacer, indent, circularReplacer) {\n return JSON.stringify(\n value,\n createReplacer((key, value_) => {\n const value2 = typeof value_ === \"bigint\" ? `#bigint.${value_.toString()}` : value_;\n return replacer?.(key, value2) || value2;\n }, circularReplacer),\n indent ?? void 0\n );\n}\n\n// src/config.ts\n\n\n\n// src/storage.ts\nvar noopStorage = {\n getItem: (_key) => \"\",\n setItem: (_key, _value) => null,\n removeItem: (_key) => null\n};\nfunction createStorage({\n deserialize: deserialize2 = deserialize,\n key: prefix = \"wagmi\",\n serialize: serialize2 = serialize,\n storage\n}) {\n return {\n ...storage,\n getItem: (key, defaultState = null) => {\n const value = storage.getItem(`${prefix}.${key}`);\n try {\n return value ? deserialize2(value) : defaultState;\n } catch (error) {\n console.warn(error);\n return defaultState;\n }\n },\n setItem: (key, value) => {\n if (value === null) {\n storage.removeItem(`${prefix}.${key}`);\n } else {\n try {\n storage.setItem(`${prefix}.${key}`, serialize2(value));\n } catch (err) {\n console.error(err);\n }\n }\n },\n removeItem: (key) => storage.removeItem(`${prefix}.${key}`)\n };\n}\n\n// src/config.ts\nvar storeKey = \"store\";\nvar _isAutoConnecting, _lastUsedConnector, _addEffects, addEffects_fn;\nvar Config = class {\n constructor({\n autoConnect = false,\n connectors = [new _chunk_BVC4KGLQ_js__WEBPACK_IMPORTED_MODULE_5__.InjectedConnector()],\n publicClient,\n storage = createStorage({\n storage: typeof window !== \"undefined\" ? window.localStorage : noopStorage\n }),\n logger = {\n warn: console.warn\n },\n webSocketPublicClient\n }) {\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateAdd)(this, _addEffects);\n this.publicClients = /* @__PURE__ */ new Map();\n this.webSocketPublicClients = /* @__PURE__ */ new Map();\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateAdd)(this, _isAutoConnecting, void 0);\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateAdd)(this, _lastUsedConnector, void 0);\n this.args = {\n autoConnect,\n connectors,\n logger,\n publicClient,\n storage,\n webSocketPublicClient\n };\n let status = \"disconnected\";\n let chainId;\n if (autoConnect) {\n try {\n const rawState = storage.getItem(storeKey);\n const data = rawState?.state?.data;\n status = data?.account ? \"reconnecting\" : \"connecting\";\n chainId = data?.chain?.id;\n } catch (_error) {\n }\n }\n const connectors_ = typeof connectors === \"function\" ? connectors() : connectors;\n connectors_.forEach((connector) => connector.setStorage(storage));\n this.store = (0,zustand_vanilla__WEBPACK_IMPORTED_MODULE_7__.createStore)(\n (0,zustand_middleware__WEBPACK_IMPORTED_MODULE_8__.subscribeWithSelector)(\n (0,zustand_middleware__WEBPACK_IMPORTED_MODULE_8__.persist)(\n () => ({\n connectors: connectors_,\n publicClient: this.getPublicClient({ chainId }),\n status,\n webSocketPublicClient: this.getWebSocketPublicClient({ chainId })\n }),\n {\n name: storeKey,\n storage,\n partialize: (state) => ({\n ...autoConnect && {\n data: {\n account: state?.data?.account,\n chain: state?.data?.chain\n }\n },\n chains: state?.chains\n }),\n version: 2\n }\n )\n )\n );\n this.storage = storage;\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateSet)(this, _lastUsedConnector, storage?.getItem(\"wallet\"));\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateMethod)(this, _addEffects, addEffects_fn).call(this);\n if (autoConnect && typeof window !== \"undefined\")\n setTimeout(async () => await this.autoConnect(), 0);\n }\n get chains() {\n return this.store.getState().chains;\n }\n get connectors() {\n return this.store.getState().connectors;\n }\n get connector() {\n return this.store.getState().connector;\n }\n get data() {\n return this.store.getState().data;\n }\n get error() {\n return this.store.getState().error;\n }\n get lastUsedChainId() {\n return this.data?.chain?.id;\n }\n get publicClient() {\n return this.store.getState().publicClient;\n }\n get status() {\n return this.store.getState().status;\n }\n get subscribe() {\n return this.store.subscribe;\n }\n get webSocketPublicClient() {\n return this.store.getState().webSocketPublicClient;\n }\n setState(updater) {\n const newState = typeof updater === \"function\" ? updater(this.store.getState()) : updater;\n this.store.setState(newState, true);\n }\n clearState() {\n this.setState((x) => ({\n ...x,\n chains: void 0,\n connector: void 0,\n data: void 0,\n error: void 0,\n status: \"disconnected\"\n }));\n }\n async destroy() {\n if (this.connector)\n await this.connector.disconnect?.();\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateSet)(this, _isAutoConnecting, false);\n this.clearState();\n this.store.destroy();\n }\n async autoConnect() {\n if ((0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateGet)(this, _isAutoConnecting))\n return;\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateSet)(this, _isAutoConnecting, true);\n this.setState((x) => ({\n ...x,\n status: x.data?.account ? \"reconnecting\" : \"connecting\"\n }));\n const sorted = (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateGet)(this, _lastUsedConnector) ? [...this.connectors].sort(\n (x) => x.id === (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateGet)(this, _lastUsedConnector) ? -1 : 1\n ) : this.connectors;\n let connected = false;\n for (const connector of sorted) {\n if (!connector.ready || !connector.isAuthorized)\n continue;\n const isAuthorized = await connector.isAuthorized();\n if (!isAuthorized)\n continue;\n const data = await connector.connect();\n this.setState((x) => ({\n ...x,\n connector,\n chains: connector?.chains,\n data,\n status: \"connected\"\n }));\n connected = true;\n break;\n }\n if (!connected)\n this.setState((x) => ({\n ...x,\n data: void 0,\n status: \"disconnected\"\n }));\n (0,_chunk_MQXBDTVK_js__WEBPACK_IMPORTED_MODULE_6__.__privateSet)(this, _isAutoConnecting, false);\n return this.data;\n }\n setConnectors(connectors) {\n this.args = {\n ...this.args,\n connectors\n };\n const connectors_ = typeof connectors === \"function\" ? connectors() : connectors;\n connectors_.forEach((connector) => connector.setStorage(this.args.storage));\n this.setState((x) => ({\n ...x,\n connectors: connectors_\n }));\n }\n getPublicClient({ chainId } = {}) {\n let publicClient_ = this.publicClients.get(-1);\n if (publicClient_ && publicClient_?.chain.id === chainId)\n return publicClient_;\n publicClient_ = this.publicClients.get(chainId ?? -1);\n if (publicClient_)\n return publicClient_;\n const { publicClient } = this.args;\n publicClient_ = typeof publicClient === \"function\" ? publicClient({ chainId }) : publicClient;\n this.publicClients.set(chainId ?? -1, publicClient_);\n return publicClient_;\n }\n setPublicClient(publicClient) {\n const chainId = this.data?.chain?.id;\n this.args = {\n ...this.args,\n publicClient\n };\n this.publicClients.clear();\n this.setState((x) => ({\n ...x,\n publicClient: this.getPublicClient({ chainId })\n }));\n }\n getWebSocketPublicClient({ chainId } = {}) {\n let webSocketPublicClient_ = this.webSocketPublicClients.get(-1);\n if (webSocketPublicClient_ && webSocketPublicClient_?.chain.id === chainId)\n return webSocketPublicClient_;\n webSocketPublicClient_ = this.webSocketPublicClients.get(chainId ?? -1);\n if (webSocketPublicClient_)\n return webSocketPublicClient_;\n const { webSocketPublicClient } = this.args;\n webSocketPublicClient_ = typeof webSocketPublicClient === \"function\" ? webSocketPublicClient({ chainId }) : webSocketPublicClient;\n if (webSocketPublicClient_)\n this.webSocketPublicClients.set(chainId ?? -1, webSocketPublicClient_);\n return webSocketPublicClient_;\n }\n setWebSocketPublicClient(webSocketPublicClient) {\n const chainId = this.data?.chain?.id;\n this.args = {\n ...this.args,\n webSocketPublicClient\n };\n this.webSocketPublicClients.clear();\n this.setState((x) => ({\n ...x,\n webSocketPublicClient: this.getWebSocketPublicClient({\n chainId\n })\n }));\n }\n setLastUsedConnector(lastUsedConnector = null) {\n this.storage?.setItem(\"wallet\", lastUsedConnector);\n }\n};\n_isAutoConnecting = new WeakMap();\n_lastUsedConnector = new WeakMap();\n_addEffects = new WeakSet();\naddEffects_fn = function() {\n const onChange = (data) => {\n this.setState((x) => ({\n ...x,\n data: { ...x.data, ...data }\n }));\n };\n const onDisconnect = () => {\n this.clearState();\n };\n const onError = (error) => {\n this.setState((x) => ({ ...x, error }));\n };\n this.store.subscribe(\n ({ connector }) => connector,\n (connector, prevConnector) => {\n prevConnector?.off?.(\"change\", onChange);\n prevConnector?.off?.(\"disconnect\", onDisconnect);\n prevConnector?.off?.(\"error\", onError);\n if (!connector)\n return;\n connector.on?.(\"change\", onChange);\n connector.on?.(\"disconnect\", onDisconnect);\n connector.on?.(\"error\", onError);\n }\n );\n const { publicClient, webSocketPublicClient } = this.args;\n const subscribePublicClient = typeof publicClient === \"function\";\n const subscribeWebSocketPublicClient = typeof webSocketPublicClient === \"function\";\n if (subscribePublicClient || subscribeWebSocketPublicClient)\n this.store.subscribe(\n ({ data }) => data?.chain?.id,\n (chainId) => {\n this.setState((x) => ({\n ...x,\n publicClient: this.getPublicClient({ chainId }),\n webSocketPublicClient: this.getWebSocketPublicClient({\n chainId\n })\n }));\n }\n );\n};\nvar config;\nfunction createConfig(args) {\n const config_ = new Config(args);\n config = config_;\n return config_;\n}\nfunction getConfig() {\n if (!config) {\n throw new Error(\n \"No wagmi config found. Ensure you have set up a config: https://wagmi.sh/react/config\"\n );\n }\n return config;\n}\n\n// src/actions/accounts/connect.ts\nasync function connect({ chainId, connector }) {\n const config2 = getConfig();\n const activeConnector = config2.connector;\n if (activeConnector && connector.id === activeConnector.id)\n throw new ConnectorAlreadyConnectedError();\n try {\n config2.setState((x) => ({ ...x, status: \"connecting\" }));\n const data = await connector.connect({ chainId });\n config2.setLastUsedConnector(connector.id);\n config2.setState((x) => ({\n ...x,\n connector,\n chains: connector?.chains,\n data,\n status: \"connected\"\n }));\n config2.storage.setItem(\"connected\", true);\n return { ...data, connector };\n } catch (err) {\n config2.setState((x) => {\n return {\n ...x,\n status: x.connector ? \"connected\" : \"disconnected\"\n };\n });\n throw err;\n }\n}\n\n// src/actions/accounts/disconnect.ts\nasync function disconnect() {\n const config2 = getConfig();\n if (config2.connector)\n await config2.connector.disconnect();\n config2.clearState();\n config2.storage.removeItem(\"connected\");\n}\n\n// src/actions/accounts/fetchBalance.ts\n\n\n// src/constants/abis.ts\nvar erc20ABI = [\n {\n type: \"event\",\n name: \"Approval\",\n inputs: [\n {\n indexed: true,\n name: \"owner\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"spender\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"value\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"event\",\n name: \"Transfer\",\n inputs: [\n {\n indexed: true,\n name: \"from\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"to\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"value\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"allowance\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"owner\",\n type: \"address\"\n },\n {\n name: \"spender\",\n type: \"address\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"approve\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"spender\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"balanceOf\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"account\",\n type: \"address\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"decimals\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"uint8\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"name\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"string\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"symbol\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"string\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"totalSupply\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"transfer\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"recipient\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"transferFrom\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"sender\",\n type: \"address\"\n },\n {\n name: \"recipient\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ]\n }\n];\nvar erc20ABI_bytes32 = [\n {\n type: \"event\",\n name: \"Approval\",\n inputs: [\n {\n indexed: true,\n name: \"owner\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"spender\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"value\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"event\",\n name: \"Transfer\",\n inputs: [\n {\n indexed: true,\n name: \"from\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"to\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"value\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"allowance\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"owner\",\n type: \"address\"\n },\n {\n name: \"spender\",\n type: \"address\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"approve\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"spender\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"balanceOf\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"account\",\n type: \"address\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"decimals\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"uint8\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"name\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"bytes32\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"symbol\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"bytes32\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"totalSupply\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"transfer\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"recipient\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"transferFrom\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"sender\",\n type: \"address\"\n },\n {\n name: \"recipient\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ]\n }\n];\nvar erc721ABI = [\n {\n type: \"event\",\n name: \"Approval\",\n inputs: [\n {\n indexed: true,\n name: \"owner\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"spender\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"tokenId\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"event\",\n name: \"ApprovalForAll\",\n inputs: [\n {\n indexed: true,\n name: \"owner\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"operator\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"approved\",\n type: \"bool\"\n }\n ]\n },\n {\n type: \"event\",\n name: \"Transfer\",\n inputs: [\n {\n indexed: true,\n name: \"from\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"to\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"tokenId\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"approve\",\n stateMutability: \"payable\",\n inputs: [\n {\n name: \"spender\",\n type: \"address\"\n },\n {\n name: \"tokenId\",\n type: \"uint256\"\n }\n ],\n outputs: []\n },\n {\n type: \"function\",\n name: \"balanceOf\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"account\",\n type: \"address\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"getApproved\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"tokenId\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"address\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"isApprovedForAll\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"owner\",\n type: \"address\"\n },\n {\n name: \"operator\",\n type: \"address\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"name\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"string\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"ownerOf\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"tokenId\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"owner\",\n type: \"address\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"safeTransferFrom\",\n stateMutability: \"payable\",\n inputs: [\n {\n name: \"from\",\n type: \"address\"\n },\n {\n name: \"to\",\n type: \"address\"\n },\n {\n name: \"tokenId\",\n type: \"uint256\"\n }\n ],\n outputs: []\n },\n {\n type: \"function\",\n name: \"safeTransferFrom\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"from\",\n type: \"address\"\n },\n {\n name: \"to\",\n type: \"address\"\n },\n {\n name: \"id\",\n type: \"uint256\"\n },\n {\n name: \"data\",\n type: \"bytes\"\n }\n ],\n outputs: []\n },\n {\n type: \"function\",\n name: \"setApprovalForAll\",\n stateMutability: \"nonpayable\",\n inputs: [\n {\n name: \"operator\",\n type: \"address\"\n },\n {\n name: \"approved\",\n type: \"bool\"\n }\n ],\n outputs: []\n },\n {\n type: \"function\",\n name: \"symbol\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"string\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"tokenByIndex\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"index\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"tokenByIndex\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"owner\",\n type: \"address\"\n },\n {\n name: \"index\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"tokenId\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"tokenURI\",\n stateMutability: \"view\",\n inputs: [\n {\n name: \"tokenId\",\n type: \"uint256\"\n }\n ],\n outputs: [\n {\n name: \"\",\n type: \"string\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"totalSupply\",\n stateMutability: \"view\",\n inputs: [],\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ]\n },\n {\n type: \"function\",\n name: \"transferFrom\",\n stateMutability: \"payable\",\n inputs: [\n {\n name: \"sender\",\n type: \"address\"\n },\n {\n name: \"recipient\",\n type: \"address\"\n },\n {\n name: \"tokeId\",\n type: \"uint256\"\n }\n ],\n outputs: []\n }\n];\nvar erc4626ABI = [\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"owner\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"spender\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"value\",\n type: \"uint256\"\n }\n ],\n name: \"Approval\",\n type: \"event\"\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"sender\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"receiver\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"assets\",\n type: \"uint256\"\n },\n {\n indexed: false,\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n name: \"Deposit\",\n type: \"event\"\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"from\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"to\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"value\",\n type: \"uint256\"\n }\n ],\n name: \"Transfer\",\n type: \"event\"\n },\n {\n anonymous: false,\n inputs: [\n {\n indexed: true,\n name: \"sender\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"receiver\",\n type: \"address\"\n },\n {\n indexed: true,\n name: \"owner\",\n type: \"address\"\n },\n {\n indexed: false,\n name: \"assets\",\n type: \"uint256\"\n },\n {\n indexed: false,\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n name: \"Withdraw\",\n type: \"event\"\n },\n {\n inputs: [\n {\n name: \"owner\",\n type: \"address\"\n },\n {\n name: \"spender\",\n type: \"address\"\n }\n ],\n name: \"allowance\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"spender\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n name: \"approve\",\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ],\n stateMutability: \"nonpayable\",\n type: \"function\"\n },\n {\n inputs: [],\n name: \"asset\",\n outputs: [\n {\n name: \"assetTokenAddress\",\n type: \"address\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"account\",\n type: \"address\"\n }\n ],\n name: \"balanceOf\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n name: \"convertToAssets\",\n outputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n name: \"convertToShares\",\n outputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n },\n {\n name: \"receiver\",\n type: \"address\"\n }\n ],\n name: \"deposit\",\n outputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"nonpayable\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"caller\",\n type: \"address\"\n }\n ],\n name: \"maxDeposit\",\n outputs: [\n {\n name: \"maxAssets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"caller\",\n type: \"address\"\n }\n ],\n name: \"maxMint\",\n outputs: [\n {\n name: \"maxShares\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"owner\",\n type: \"address\"\n }\n ],\n name: \"maxRedeem\",\n outputs: [\n {\n name: \"maxShares\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"owner\",\n type: \"address\"\n }\n ],\n name: \"maxWithdraw\",\n outputs: [\n {\n name: \"maxAssets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n },\n {\n name: \"receiver\",\n type: \"address\"\n }\n ],\n name: \"mint\",\n outputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"nonpayable\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n name: \"previewDeposit\",\n outputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n name: \"previewMint\",\n outputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n name: \"previewRedeem\",\n outputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n name: \"previewWithdraw\",\n outputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n },\n {\n name: \"receiver\",\n type: \"address\"\n },\n {\n name: \"owner\",\n type: \"address\"\n }\n ],\n name: \"redeem\",\n outputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"nonpayable\",\n type: \"function\"\n },\n {\n inputs: [],\n name: \"totalAssets\",\n outputs: [\n {\n name: \"totalManagedAssets\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [],\n name: \"totalSupply\",\n outputs: [\n {\n name: \"\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"view\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"to\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n name: \"transfer\",\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ],\n stateMutability: \"nonpayable\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"from\",\n type: \"address\"\n },\n {\n name: \"to\",\n type: \"address\"\n },\n {\n name: \"amount\",\n type: \"uint256\"\n }\n ],\n name: \"transferFrom\",\n outputs: [\n {\n name: \"\",\n type: \"bool\"\n }\n ],\n stateMutability: \"nonpayable\",\n type: \"function\"\n },\n {\n inputs: [\n {\n name: \"assets\",\n type: \"uint256\"\n },\n {\n name: \"receiver\",\n type: \"address\"\n },\n {\n name: \"owner\",\n type: \"address\"\n }\n ],\n name: \"withdraw\",\n outputs: [\n {\n name: \"shares\",\n type: \"uint256\"\n }\n ],\n stateMutability: \"nonpayable\",\n type: \"function\"\n }\n];\n\n// src/actions/contracts/fetchToken.ts\n\nasync function fetchToken({\n address,\n chainId,\n formatUnits: unit = 18\n}) {\n async function fetchToken_({ abi }) {\n const erc20Config = { address, abi, chainId };\n const [decimals, name, symbol, totalSupply] = await readContracts({\n allowFailure: false,\n contracts: [\n { ...erc20Config, functionName: \"decimals\" },\n { ...erc20Config, functionName: \"name\" },\n { ...erc20Config, functionName: \"symbol\" },\n { ...erc20Config, functionName: \"totalSupply\" }\n ]\n });\n return {\n address,\n decimals,\n name,\n symbol,\n totalSupply: {\n formatted: (0,viem__WEBPACK_IMPORTED_MODULE_9__.formatUnits)(totalSupply, getUnit(unit)),\n value: totalSupply\n }\n };\n }\n try {\n return await fetchToken_({ abi: erc20ABI });\n } catch (err) {\n if (err instanceof viem__WEBPACK_IMPORTED_MODULE_10__.ContractFunctionExecutionError) {\n const { name, symbol, ...rest } = await fetchToken_({\n abi: erc20ABI_bytes32\n });\n return {\n name: (0,viem__WEBPACK_IMPORTED_MODULE_11__.hexToString)((0,viem__WEBPACK_IMPORTED_MODULE_12__.trim)(name, { dir: \"right\" })),\n symbol: (0,viem__WEBPACK_IMPORTED_MODULE_11__.hexToString)((0,viem__WEBPACK_IMPORTED_MODULE_12__.trim)(symbol, { dir: \"right\" })),\n ...rest\n };\n }\n throw err;\n }\n}\n\n// src/actions/viem/getPublicClient.ts\nfunction getPublicClient({ chainId } = {}) {\n const config2 = getConfig();\n if (chainId)\n return config2.getPublicClient({ chainId }) || config2.publicClient;\n return config2.publicClient;\n}\n\n// src/actions/viem/getWalletClient.ts\nasync function getWalletClient({\n chainId\n} = {}) {\n const config2 = getConfig();\n const walletClient = await config2.connector?.getWalletClient?.({ chainId }) || null;\n return walletClient;\n}\n\n// src/actions/viem/getWebSocketPublicClient.ts\nfunction getWebSocketPublicClient({\n chainId\n} = {}) {\n const config2 = getConfig();\n if (chainId)\n return config2.getWebSocketPublicClient({ chainId }) || config2.webSocketPublicClient;\n return config2.webSocketPublicClient;\n}\n\n// src/actions/viem/watchPublicClient.ts\nfunction watchPublicClient(args, callback) {\n const config2 = getConfig();\n const handleChange = async () => callback(getPublicClient(args));\n const unsubscribe = config2.subscribe(\n ({ publicClient }) => publicClient,\n handleChange\n );\n return unsubscribe;\n}\n\n// src/actions/viem/watchWalletClient.ts\n\nfunction watchWalletClient({ chainId }, callback) {\n const config2 = getConfig();\n const handleChange = async ({ chainId: chainId_ }) => {\n if (chainId && chainId_ && chainId !== chainId_)\n return;\n const walletClient = await getWalletClient({ chainId });\n if (!getConfig().connector)\n return callback(null);\n return callback(walletClient);\n };\n const unsubscribe = config2.subscribe(\n ({ data, connector }) => ({\n account: data?.account,\n chainId: data?.chain?.id,\n connector\n }),\n handleChange,\n {\n equalityFn: zustand_shallow__WEBPACK_IMPORTED_MODULE_13__.shallow\n }\n );\n return unsubscribe;\n}\n\n// src/actions/viem/watchWebSocketPublicClient.ts\nfunction watchWebSocketPublicClient(args, callback) {\n const config2 = getConfig();\n const handleChange = async () => callback(getWebSocketPublicClient(args));\n const unsubscribe = config2.subscribe(\n ({ webSocketPublicClient }) => webSocketPublicClient,\n handleChange\n );\n return unsubscribe;\n}\n\n// src/actions/contracts/prepareWriteContract.ts\nasync function prepareWriteContract({\n abi,\n address,\n args,\n chainId,\n dataSuffix,\n functionName,\n walletClient: walletClient_,\n ...config2\n}) {\n const publicClient = getPublicClient({ chainId });\n const walletClient = walletClient_ ?? await getWalletClient({ chainId });\n if (!walletClient)\n throw new _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError();\n if (chainId)\n assertActiveChain({ chainId });\n const {\n account,\n accessList,\n blockNumber,\n blockTag,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n value\n } = getCallParameters(config2);\n const { result, request } = await publicClient.simulateContract({\n abi,\n address,\n functionName,\n args,\n account: account || walletClient.account,\n accessList,\n blockNumber,\n blockTag,\n dataSuffix,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n value\n });\n const minimizedAbi = abi.filter(\n (abiItem) => \"name\" in abiItem && abiItem.name === functionName\n );\n return {\n mode: \"prepared\",\n request: {\n ...request,\n abi: minimizedAbi,\n chainId\n },\n result\n };\n}\n\n// src/actions/contracts/getContract.ts\n\nfunction getContract({\n address,\n abi,\n chainId,\n walletClient\n}) {\n const publicClient = getPublicClient({ chainId });\n return (0,viem__WEBPACK_IMPORTED_MODULE_15__.getContract)({\n address,\n abi,\n publicClient,\n walletClient\n });\n}\n\n// src/actions/contracts/multicall.ts\nasync function multicall({\n chainId,\n contracts,\n blockNumber,\n blockTag,\n ...args\n}) {\n const publicClient = getPublicClient({ chainId });\n if (!publicClient.chains)\n throw new ConfigChainsNotFound();\n if (chainId && publicClient.chain.id !== chainId)\n throw new ChainNotConfiguredError({ chainId });\n return publicClient.multicall({\n allowFailure: args.allowFailure ?? true,\n blockNumber,\n blockTag,\n contracts\n });\n}\n\n// src/actions/contracts/readContract.ts\nasync function readContract({\n address,\n account,\n chainId,\n abi,\n args,\n functionName,\n blockNumber,\n blockTag\n}) {\n const publicClient = getPublicClient({ chainId });\n return publicClient.readContract({\n abi,\n address,\n account,\n functionName,\n args,\n blockNumber,\n blockTag\n });\n}\n\n// src/actions/contracts/readContracts.ts\n\nasync function readContracts({\n contracts,\n blockNumber,\n blockTag,\n ...args\n}) {\n const { allowFailure = true } = args;\n try {\n const publicClient = getPublicClient();\n const contractsByChainId = contracts.reduce((contracts2, contract, index) => {\n const chainId = contract.chainId ?? publicClient.chain.id;\n return {\n ...contracts2,\n [chainId]: [...contracts2[chainId] || [], { contract, index }]\n };\n }, {});\n const promises = () => Object.entries(contractsByChainId).map(\n ([chainId, contracts2]) => multicall({\n allowFailure,\n chainId: parseInt(chainId),\n contracts: contracts2.map(\n ({ contract }) => contract\n ),\n blockNumber,\n blockTag\n })\n );\n const multicallResults = (await Promise.all(promises())).flat();\n const resultIndexes = Object.values(contractsByChainId).flatMap(\n (contracts2) => contracts2.map(({ index }) => index)\n );\n return multicallResults.reduce((results, result, index) => {\n if (results)\n results[resultIndexes[index]] = result;\n return results;\n }, []);\n } catch (err) {\n if (err instanceof viem__WEBPACK_IMPORTED_MODULE_10__.ContractFunctionExecutionError)\n throw err;\n const promises = () => contracts.map(\n (contract) => readContract({ ...contract, blockNumber, blockTag })\n );\n if (allowFailure)\n return (await Promise.allSettled(promises())).map((result) => {\n if (result.status === \"fulfilled\")\n return { result: result.value, status: \"success\" };\n return { error: result.reason, result: void 0, status: \"failure\" };\n });\n return await Promise.all(promises());\n }\n}\n\n// src/actions/contracts/watchContractEvent.ts\n\nfunction watchContractEvent({\n address,\n abi,\n chainId,\n eventName\n}, callback) {\n let unwatch;\n const watchEvent = async () => {\n if (unwatch)\n unwatch();\n const publicClient = getWebSocketPublicClient({ chainId }) || getPublicClient({ chainId });\n unwatch = publicClient.watchContractEvent({\n address,\n abi,\n eventName,\n onLogs: callback\n });\n };\n watchEvent();\n const config2 = getConfig();\n const unsubscribe = config2.subscribe(\n ({ publicClient, webSocketPublicClient }) => ({\n publicClient,\n webSocketPublicClient\n }),\n watchEvent,\n { equalityFn: zustand_shallow__WEBPACK_IMPORTED_MODULE_13__.shallow }\n );\n return () => {\n unwatch?.();\n unsubscribe();\n };\n}\n\n// src/actions/network-status/watchBlockNumber.ts\n\nfunction watchBlockNumber(args, callback) {\n let unwatch;\n const createListener = (publicClient) => {\n if (unwatch)\n unwatch();\n unwatch = publicClient.watchBlockNumber({\n onBlockNumber: callback,\n emitOnBegin: true,\n poll: true\n });\n };\n const publicClient_ = getWebSocketPublicClient({ chainId: args.chainId }) ?? getPublicClient({ chainId: args.chainId });\n if (args.listen)\n createListener(publicClient_);\n const config2 = getConfig();\n const unsubscribe = config2.subscribe(\n ({ publicClient, webSocketPublicClient }) => ({\n publicClient,\n webSocketPublicClient\n }),\n async ({ publicClient, webSocketPublicClient }) => {\n const publicClient_2 = webSocketPublicClient ?? publicClient;\n if (args.listen && !args.chainId && publicClient_2) {\n createListener(publicClient_2);\n }\n },\n {\n equalityFn: zustand_shallow__WEBPACK_IMPORTED_MODULE_13__.shallow\n }\n );\n return () => {\n unsubscribe();\n unwatch?.();\n };\n}\n\n// src/actions/contracts/watchMulticall.ts\nfunction watchMulticall(args, callback) {\n const config2 = getConfig();\n const handleChange = async () => callback(await multicall(args));\n const unwatch = args.listenToBlock ? watchBlockNumber({ listen: true }, handleChange) : void 0;\n const unsubscribe = config2.subscribe(\n ({ publicClient }) => publicClient,\n handleChange\n );\n return () => {\n unsubscribe();\n unwatch?.();\n };\n}\n\n// src/actions/contracts/watchReadContract.ts\nfunction watchReadContract(args, callback) {\n const config2 = getConfig();\n const handleChange = async () => callback(await readContract(args));\n const unwatch = args.listenToBlock ? watchBlockNumber({ listen: true }, handleChange) : void 0;\n const unsubscribe = config2.subscribe(\n ({ publicClient }) => publicClient,\n handleChange\n );\n return () => {\n unsubscribe();\n unwatch?.();\n };\n}\n\n// src/actions/contracts/watchReadContracts.ts\nfunction watchReadContracts(args, callback) {\n const config2 = getConfig();\n const handleChange = async () => callback(await readContracts(args));\n const unwatch = args.listenToBlock ? watchBlockNumber({ listen: true }, handleChange) : void 0;\n const unsubscribe = config2.subscribe(\n ({ publicClient }) => publicClient,\n handleChange\n );\n return () => {\n unsubscribe();\n unwatch?.();\n };\n}\n\n// src/actions/contracts/writeContract.ts\nasync function writeContract(config2) {\n const walletClient = await getWalletClient({ chainId: config2.chainId });\n if (!walletClient)\n throw new _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError();\n if (config2.chainId)\n assertActiveChain({ chainId: config2.chainId });\n let request;\n if (config2.mode === \"prepared\") {\n request = config2.request;\n } else {\n const { chainId: _, mode: __, ...args } = config2;\n const res = await prepareWriteContract(args);\n request = res.request;\n }\n const hash = await walletClient.writeContract({\n ...request,\n chain: config2.chainId ? { id: config2.chainId } : null\n });\n return { hash };\n}\n\n// src/actions/accounts/fetchBalance.ts\nasync function fetchBalance({\n address,\n chainId,\n formatUnits: unit,\n token\n}) {\n const config2 = getConfig();\n const publicClient = getPublicClient({ chainId });\n if (token) {\n const fetchContractBalance = async ({ abi }) => {\n const erc20Config = { abi, address: token, chainId };\n const [value2, decimals, symbol] = await readContracts({\n allowFailure: false,\n contracts: [\n {\n ...erc20Config,\n functionName: \"balanceOf\",\n args: [address]\n },\n { ...erc20Config, functionName: \"decimals\" },\n { ...erc20Config, functionName: \"symbol\" }\n ]\n });\n return {\n decimals,\n formatted: (0,viem__WEBPACK_IMPORTED_MODULE_9__.formatUnits)(value2 ?? \"0\", getUnit(unit ?? decimals)),\n symbol,\n value: value2\n };\n };\n try {\n return await fetchContractBalance({ abi: erc20ABI });\n } catch (err) {\n if (err instanceof viem__WEBPACK_IMPORTED_MODULE_10__.ContractFunctionExecutionError) {\n const { symbol, ...rest } = await fetchContractBalance({\n abi: erc20ABI_bytes32\n });\n return {\n symbol: (0,viem__WEBPACK_IMPORTED_MODULE_11__.hexToString)((0,viem__WEBPACK_IMPORTED_MODULE_12__.trim)(symbol, { dir: \"right\" })),\n ...rest\n };\n }\n throw err;\n }\n }\n const chains = [\n ...config2.publicClient.chains || [],\n ...config2.chains ?? []\n ];\n const value = await publicClient.getBalance({ address });\n const chain = chains.find((x) => x.id === publicClient.chain.id);\n return {\n decimals: chain?.nativeCurrency.decimals ?? 18,\n formatted: (0,viem__WEBPACK_IMPORTED_MODULE_9__.formatUnits)(value ?? \"0\", getUnit(unit ?? 18)),\n symbol: chain?.nativeCurrency.symbol ?? \"ETH\",\n value\n };\n}\n\n// src/actions/accounts/getAccount.ts\nfunction getAccount() {\n const { data, connector, status } = getConfig();\n switch (status) {\n case \"connected\":\n return {\n address: data?.account,\n connector,\n isConnected: true,\n isConnecting: false,\n isDisconnected: false,\n isReconnecting: false,\n status\n };\n case \"reconnecting\":\n return {\n address: data?.account,\n connector,\n isConnected: !!data?.account,\n isConnecting: false,\n isDisconnected: false,\n isReconnecting: true,\n status\n };\n case \"connecting\":\n return {\n address: data?.account,\n connector,\n isConnected: false,\n isConnecting: true,\n isDisconnected: false,\n isReconnecting: false,\n status\n };\n case \"disconnected\":\n return {\n address: void 0,\n connector: void 0,\n isConnected: false,\n isConnecting: false,\n isDisconnected: true,\n isReconnecting: false,\n status\n };\n }\n}\n\n// src/actions/accounts/getNetwork.ts\nfunction getNetwork() {\n const config2 = getConfig();\n const chainId = config2.data?.chain?.id;\n const activeChains = config2.chains ?? [];\n const activeChain = [\n ...config2.publicClient?.chains || [],\n ...activeChains\n ].find((x) => x.id === chainId) ?? {\n id: chainId,\n name: `Chain ${chainId}`,\n network: `${chainId}`,\n nativeCurrency: { name: \"Ether\", decimals: 18, symbol: \"ETH\" },\n rpcUrls: {\n default: { http: [\"\"] },\n public: { http: [\"\"] }\n }\n };\n return {\n chain: chainId ? {\n ...activeChain,\n ...config2.data?.chain,\n id: chainId\n } : void 0,\n chains: activeChains\n };\n}\n\n// src/actions/accounts/signMessage.ts\nasync function signMessage(args) {\n const walletClient = await getWalletClient();\n if (!walletClient)\n throw new _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError();\n return await walletClient.signMessage({\n message: args.message\n });\n}\n\n// src/actions/accounts/signTypedData.ts\nasync function signTypedData({\n domain,\n message,\n primaryType,\n types\n}) {\n const walletClient = await getWalletClient();\n if (!walletClient)\n throw new _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError();\n const { chainId } = domain;\n if (chainId)\n assertActiveChain({ chainId });\n return walletClient.signTypedData({\n message,\n primaryType,\n types,\n domain\n });\n}\n\n// src/actions/accounts/switchNetwork.ts\nasync function switchNetwork({\n chainId\n}) {\n const { connector } = getConfig();\n if (!connector)\n throw new _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError();\n if (!connector.switchChain)\n throw new SwitchChainNotSupportedError({\n connector\n });\n return connector.switchChain(chainId);\n}\n\n// src/actions/accounts/watchAccount.ts\n\nfunction watchAccount(callback, { selector = (x) => x } = {}) {\n const config2 = getConfig();\n const handleChange = () => callback(getAccount());\n const unsubscribe = config2.subscribe(\n ({ data, connector, status }) => selector({\n address: data?.account,\n connector,\n status\n }),\n handleChange,\n {\n equalityFn: zustand_shallow__WEBPACK_IMPORTED_MODULE_13__.shallow\n }\n );\n return unsubscribe;\n}\n\n// src/actions/accounts/watchNetwork.ts\n\nfunction watchNetwork(callback, { selector = (x) => x } = {}) {\n const config2 = getConfig();\n const handleChange = () => callback(getNetwork());\n const unsubscribe = config2.subscribe(\n ({ data, chains }) => selector({ chainId: data?.chain?.id, chains }),\n handleChange,\n {\n equalityFn: zustand_shallow__WEBPACK_IMPORTED_MODULE_13__.shallow\n }\n );\n return unsubscribe;\n}\n\n// src/actions/ens/fetchEnsAddress.ts\n\nasync function fetchEnsAddress({\n chainId,\n name\n}) {\n const { normalize } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_viem__esm_ens_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! viem/ens */ \"./node_modules/viem/_esm/ens/index.js\"));\n const publicClient = getPublicClient({ chainId });\n const address = await publicClient.getEnsAddress({\n name: normalize(name)\n });\n try {\n if (address === \"0x0000000000000000000000000000000000000000\")\n return null;\n return address ? (0,viem__WEBPACK_IMPORTED_MODULE_16__.getAddress)(address) : null;\n } catch (_error) {\n return null;\n }\n}\n\n// src/actions/ens/fetchEnsAvatar.ts\nasync function fetchEnsAvatar({\n name,\n chainId\n}) {\n const { normalize } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_viem__esm_ens_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! viem/ens */ \"./node_modules/viem/_esm/ens/index.js\"));\n const publicClient = getPublicClient({ chainId });\n const avatar = await publicClient.getEnsAvatar({ name: normalize(name) });\n return avatar;\n}\n\n// src/actions/ens/fetchEnsName.ts\n\nasync function fetchEnsName({\n address,\n chainId\n}) {\n const publicClient = getPublicClient({ chainId });\n return publicClient.getEnsName({\n address: (0,viem__WEBPACK_IMPORTED_MODULE_16__.getAddress)(address)\n });\n}\n\n// src/actions/ens/fetchEnsResolver.ts\nasync function fetchEnsResolver({\n chainId,\n name\n}) {\n const { normalize } = await __webpack_require__.e(/*! import() */ \"vendors-node_modules_viem__esm_ens_index_js\").then(__webpack_require__.bind(__webpack_require__, /*! viem/ens */ \"./node_modules/viem/_esm/ens/index.js\"));\n const publicClient = getPublicClient({ chainId });\n const resolver = await publicClient.getEnsResolver({ name: normalize(name) });\n return resolver;\n}\n\n// src/actions/network-status/fetchBlockNumber.ts\nasync function fetchBlockNumber({\n chainId\n} = {}) {\n const publicClient = getPublicClient({ chainId });\n const blockNumber = await publicClient.getBlockNumber();\n return blockNumber;\n}\n\n// src/actions/network-status/fetchFeeData.ts\n\nasync function fetchFeeData({\n chainId,\n formatUnits: units = \"gwei\"\n} = {}) {\n const publicClient = getPublicClient({ chainId });\n const block = await publicClient.getBlock();\n let gasPrice = null;\n try {\n gasPrice = await publicClient.getGasPrice();\n } catch {\n }\n let lastBaseFeePerGas = null;\n let maxFeePerGas = null;\n let maxPriorityFeePerGas = null;\n if (block?.baseFeePerGas) {\n lastBaseFeePerGas = block.baseFeePerGas;\n maxPriorityFeePerGas = (0,viem__WEBPACK_IMPORTED_MODULE_17__.parseGwei)(\"1\");\n maxFeePerGas = block.baseFeePerGas * 2n + maxPriorityFeePerGas;\n }\n const unit = getUnit(units);\n const formatted = {\n gasPrice: gasPrice ? (0,viem__WEBPACK_IMPORTED_MODULE_9__.formatUnits)(gasPrice, unit) : null,\n maxFeePerGas: maxFeePerGas ? (0,viem__WEBPACK_IMPORTED_MODULE_9__.formatUnits)(maxFeePerGas, unit) : null,\n maxPriorityFeePerGas: maxPriorityFeePerGas ? (0,viem__WEBPACK_IMPORTED_MODULE_9__.formatUnits)(maxPriorityFeePerGas, unit) : null\n };\n return {\n lastBaseFeePerGas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n formatted\n };\n}\n\n// src/actions/transactions/fetchTransaction.ts\nasync function fetchTransaction({\n chainId,\n hash\n}) {\n const publicClient = getPublicClient({ chainId });\n return publicClient.getTransaction({ hash });\n}\n\n// src/actions/transactions/prepareSendTransaction.ts\n\nasync function prepareSendTransaction({\n accessList,\n account,\n chainId,\n data,\n gas: gas_,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to: to_,\n value,\n walletClient: walletClient_\n}) {\n const publicClient = getPublicClient({ chainId });\n const walletClient = walletClient_ ?? await getWalletClient({ chainId });\n if (!walletClient)\n throw new _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError();\n if (chainId)\n assertActiveChain({ chainId });\n const to = (to_ && !(0,viem__WEBPACK_IMPORTED_MODULE_18__.isAddress)(to_) ? await fetchEnsAddress({ name: to_ }) : to_) || void 0;\n if (to && !(0,viem__WEBPACK_IMPORTED_MODULE_18__.isAddress)(to))\n throw new Error(\"Invalid address\");\n const gas = typeof gas_ === \"undefined\" ? await publicClient.estimateGas({\n accessList,\n account: walletClient.account,\n data,\n gas: gas_ ?? void 0,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to,\n value\n }) : gas_ || void 0;\n return {\n accessList,\n account,\n data,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n mode: \"prepared\",\n nonce,\n to,\n value,\n ...chainId ? { chainId } : {}\n };\n}\n\n// src/actions/transactions/sendTransaction.ts\nasync function sendTransaction({\n accessList,\n account,\n chainId,\n data,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n mode,\n nonce,\n to,\n value\n}) {\n const walletClient = await getWalletClient({ chainId });\n if (!walletClient)\n throw new _wagmi_connectors__WEBPACK_IMPORTED_MODULE_14__.ConnectorNotFoundError();\n if (chainId)\n assertActiveChain({ chainId });\n let args;\n if (mode === \"prepared\") {\n args = {\n account,\n accessList,\n chain: null,\n data,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to,\n value\n };\n } else {\n args = await prepareSendTransaction({\n accessList,\n account,\n chainId,\n data,\n gas: gas || null,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to,\n value\n });\n }\n const hash = await walletClient.sendTransaction({\n ...args,\n chain: chainId ? { id: chainId } : null\n });\n return { hash };\n}\n\n// src/actions/transactions/waitForTransaction.ts\n\nasync function waitForTransaction({\n chainId,\n confirmations = 1,\n hash,\n onReplaced,\n timeout = 0\n}) {\n const publicClient = getPublicClient({ chainId });\n const receipt = await publicClient.waitForTransactionReceipt({\n hash,\n confirmations,\n onReplaced,\n timeout\n });\n if (receipt.status === \"reverted\") {\n const txn = await publicClient.getTransaction({\n hash: receipt.transactionHash\n });\n const code = await publicClient.call({\n ...txn,\n gasPrice: txn.type !== \"eip1559\" ? txn.gasPrice : void 0,\n maxFeePerGas: txn.type === \"eip1559\" ? txn.maxFeePerGas : void 0,\n maxPriorityFeePerGas: txn.type === \"eip1559\" ? txn.maxPriorityFeePerGas : void 0\n });\n const reason = (0,viem__WEBPACK_IMPORTED_MODULE_11__.hexToString)(`0x${code.substring(138)}`);\n throw new Error(reason);\n }\n return receipt;\n}\n\n// src/actions/transactions/watchPendingTransactions.ts\n\nfunction watchPendingTransactions(args, callback) {\n let unwatch;\n const createListener = (publicClient) => {\n if (unwatch)\n unwatch();\n unwatch = publicClient.watchPendingTransactions({\n onTransactions: callback,\n poll: true\n });\n };\n const publicClient_ = getWebSocketPublicClient({ chainId: args.chainId }) ?? getPublicClient({ chainId: args.chainId });\n createListener(publicClient_);\n const config2 = getConfig();\n const unsubscribe = config2.subscribe(\n ({ publicClient, webSocketPublicClient }) => ({\n publicClient,\n webSocketPublicClient\n }),\n async ({ publicClient, webSocketPublicClient }) => {\n const publicClient_2 = webSocketPublicClient ?? publicClient;\n if (!args.chainId && publicClient_2) {\n createListener(publicClient_2);\n }\n },\n {\n equalityFn: zustand_shallow__WEBPACK_IMPORTED_MODULE_13__.shallow\n }\n );\n return () => {\n unsubscribe();\n unwatch?.();\n };\n}\n\n// src/utils/assertActiveChain.ts\nfunction assertActiveChain({ chainId }) {\n const { chain: activeChain, chains } = getNetwork();\n const activeChainId = activeChain?.id;\n if (activeChainId && chainId !== activeChainId) {\n throw new ChainMismatchError({\n activeChain: chains.find((x) => x.id === activeChainId)?.name ?? `Chain ${activeChainId}`,\n targetChain: chains.find((x) => x.id === chainId)?.name ?? `Chain ${chainId}`\n });\n }\n}\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js?");
/***/ }),
/***/ "./node_modules/@wagmi/core/dist/providers/public.js":
/*!***********************************************************!*\
!*** ./node_modules/@wagmi/core/dist/providers/public.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ publicProvider: () => (/* binding */ publicProvider)\n/* harmony export */ });\n\n\n// src/providers/public.ts\nfunction publicProvider() {\n return function(chain) {\n if (!chain.rpcUrls.public.http[0])\n return null;\n return {\n chain,\n rpcUrls: chain.rpcUrls.public\n };\n };\n}\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@wagmi/core/dist/providers/public.js?");
/***/ }),
/***/ "./node_modules/@web3modal/common/dist/esm/index.js":
/*!**********************************************************!*\
!*** ./node_modules/@web3modal/common/dist/esm/index.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DateUtil: () => (/* reexport safe */ _src_utils_DateUtil_js__WEBPACK_IMPORTED_MODULE_0__.DateUtil)\n/* harmony export */ });\n/* harmony import */ var _src_utils_DateUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/utils/DateUtil.js */ \"./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js\");\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/common/dist/esm/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DateUtil: () => (/* binding */ DateUtil)\n/* harmony export */ });\n/* harmony import */ var dayjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\n/* harmony import */ var dayjs_plugin_updateLocale_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! dayjs/plugin/updateLocale.js */ \"./node_modules/dayjs/plugin/updateLocale.js\");\n/* harmony import */ var dayjs_plugin_relativeTime_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! dayjs/plugin/relativeTime.js */ \"./node_modules/dayjs/plugin/relativeTime.js\");\n\n\n\ndayjs__WEBPACK_IMPORTED_MODULE_0__.extend(dayjs_plugin_relativeTime_js__WEBPACK_IMPORTED_MODULE_2__);\ndayjs__WEBPACK_IMPORTED_MODULE_0__.extend(dayjs_plugin_updateLocale_js__WEBPACK_IMPORTED_MODULE_1__);\ndayjs__WEBPACK_IMPORTED_MODULE_0__.updateLocale('en', {\n relativeTime: {\n future: 'in %s',\n past: '%s ago',\n s: '%s sec',\n m: '1 min',\n mm: '%d min',\n h: '1 hr',\n hh: '%d hrs',\n d: '1 d',\n dd: '%d d',\n M: '1 mo',\n MM: '%d mo',\n y: '1 yr',\n yy: '%d yr'\n }\n});\nconst DateUtil = {\n getYear(date = new Date().toISOString()) {\n return dayjs__WEBPACK_IMPORTED_MODULE_0__(date).year();\n },\n getRelativeDateFromNow(date) {\n return dayjs__WEBPACK_IMPORTED_MODULE_0__(date).fromNow(true);\n }\n};\n//# sourceMappingURL=DateUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/common/dist/esm/src/utils/DateUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/index.js":
/*!********************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/index.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AccountController: () => (/* reexport safe */ _src_controllers_AccountController_js__WEBPACK_IMPORTED_MODULE_2__.AccountController),\n/* harmony export */ ApiController: () => (/* reexport safe */ _src_controllers_ApiController_js__WEBPACK_IMPORTED_MODULE_8__.ApiController),\n/* harmony export */ AssetController: () => (/* reexport safe */ _src_controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_9__.AssetController),\n/* harmony export */ AssetUtil: () => (/* reexport safe */ _src_utils_AssetUtil_js__WEBPACK_IMPORTED_MODULE_16__.AssetUtil),\n/* harmony export */ BlockchainApiController: () => (/* reexport safe */ _src_controllers_BlockchainApiController_js__WEBPACK_IMPORTED_MODULE_12__.BlockchainApiController),\n/* harmony export */ ConnectionController: () => (/* reexport safe */ _src_controllers_ConnectionController_js__WEBPACK_IMPORTED_MODULE_4__.ConnectionController),\n/* harmony export */ ConnectorController: () => (/* reexport safe */ _src_controllers_ConnectorController_js__WEBPACK_IMPORTED_MODULE_6__.ConnectorController),\n/* harmony export */ ConstantsUtil: () => (/* reexport safe */ _src_utils_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_17__.ConstantsUtil),\n/* harmony export */ CoreHelperUtil: () => (/* reexport safe */ _src_utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_18__.CoreHelperUtil),\n/* harmony export */ EventsController: () => (/* reexport safe */ _src_controllers_EventsController_js__WEBPACK_IMPORTED_MODULE_14__.EventsController),\n/* harmony export */ ModalController: () => (/* reexport safe */ _src_controllers_ModalController_js__WEBPACK_IMPORTED_MODULE_0__.ModalController),\n/* harmony export */ NetworkController: () => (/* reexport safe */ _src_controllers_NetworkController_js__WEBPACK_IMPORTED_MODULE_3__.NetworkController),\n/* harmony export */ OptionsController: () => (/* reexport safe */ _src_controllers_OptionsController_js__WEBPACK_IMPORTED_MODULE_11__.OptionsController),\n/* harmony export */ PublicStateController: () => (/* reexport safe */ _src_controllers_PublicStateController_js__WEBPACK_IMPORTED_MODULE_13__.PublicStateController),\n/* harmony export */ RouterController: () => (/* reexport safe */ _src_controllers_RouterController_js__WEBPACK_IMPORTED_MODULE_1__.RouterController),\n/* harmony export */ SIWEController: () => (/* reexport safe */ _src_controllers_SIWEController_js__WEBPACK_IMPORTED_MODULE_5__.SIWEController),\n/* harmony export */ SnackController: () => (/* reexport safe */ _src_controllers_SnackController_js__WEBPACK_IMPORTED_MODULE_7__.SnackController),\n/* harmony export */ StorageUtil: () => (/* reexport safe */ _src_utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_19__.StorageUtil),\n/* harmony export */ ThemeController: () => (/* reexport safe */ _src_controllers_ThemeController_js__WEBPACK_IMPORTED_MODULE_10__.ThemeController),\n/* harmony export */ TransactionsController: () => (/* reexport safe */ _src_controllers_TransactionsController_js__WEBPACK_IMPORTED_MODULE_15__.TransactionsController)\n/* harmony export */ });\n/* harmony import */ var _src_controllers_ModalController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/controllers/ModalController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js\");\n/* harmony import */ var _src_controllers_RouterController_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/controllers/RouterController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js\");\n/* harmony import */ var _src_controllers_AccountController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/controllers/AccountController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js\");\n/* harmony import */ var _src_controllers_NetworkController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/controllers/NetworkController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js\");\n/* harmony import */ var _src_controllers_ConnectionController_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/controllers/ConnectionController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectionController.js\");\n/* harmony import */ var _src_controllers_SIWEController_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./src/controllers/SIWEController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/SIWEController.js\");\n/* harmony import */ var _src_controllers_ConnectorController_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./src/controllers/ConnectorController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js\");\n/* harmony import */ var _src_controllers_SnackController_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./src/controllers/SnackController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js\");\n/* harmony import */ var _src_controllers_ApiController_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./src/controllers/ApiController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js\");\n/* harmony import */ var _src_controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./src/controllers/AssetController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js\");\n/* harmony import */ var _src_controllers_ThemeController_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./src/controllers/ThemeController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ThemeController.js\");\n/* harmony import */ var _src_controllers_OptionsController_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./src/controllers/OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n/* harmony import */ var _src_controllers_BlockchainApiController_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./src/controllers/BlockchainApiController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js\");\n/* harmony import */ var _src_controllers_PublicStateController_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./src/controllers/PublicStateController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js\");\n/* harmony import */ var _src_controllers_EventsController_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./src/controllers/EventsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js\");\n/* harmony import */ var _src_controllers_TransactionsController_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./src/controllers/TransactionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js\");\n/* harmony import */ var _src_utils_AssetUtil_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./src/utils/AssetUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/AssetUtil.js\");\n/* harmony import */ var _src_utils_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./src/utils/ConstantsUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js\");\n/* harmony import */ var _src_utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./src/utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _src_utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./src/utils/StorageUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AccountController: () => (/* binding */ AccountController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.proxy)({\n isConnected: false\n});\nconst AccountController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.subscribe)(state, () => callback(state));\n },\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_2__.subscribeKey)(state, key, callback);\n },\n setIsConnected(isConnected) {\n state.isConnected = isConnected;\n },\n setCaipAddress(caipAddress) {\n state.caipAddress = caipAddress;\n state.address = caipAddress ? _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getPlainAddress(caipAddress) : undefined;\n },\n setBalance(balance, balanceSymbol) {\n state.balance = balance;\n state.balanceSymbol = balanceSymbol;\n },\n setProfileName(profileName) {\n state.profileName = profileName;\n },\n setProfileImage(profileImage) {\n state.profileImage = profileImage;\n },\n setAddressExplorerUrl(explorerUrl) {\n state.addressExplorerUrl = explorerUrl;\n },\n resetAccount() {\n state.isConnected = false;\n state.caipAddress = undefined;\n state.address = undefined;\n state.balance = undefined;\n state.balanceSymbol = undefined;\n state.profileName = undefined;\n state.profileImage = undefined;\n state.addressExplorerUrl = undefined;\n }\n};\n//# sourceMappingURL=AccountController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js":
/*!********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js ***!
\********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ApiController: () => (/* binding */ ApiController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/FetchUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js\");\n/* harmony import */ var _utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/StorageUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js\");\n/* harmony import */ var _AssetController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./AssetController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js\");\n/* harmony import */ var _ConnectorController_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./ConnectorController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js\");\n/* harmony import */ var _NetworkController_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./NetworkController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n\n\n\n\n\n\n\n\n\nconst baseUrl = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getApiUrl();\nconst api = new _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__.FetchUtil({ baseUrl });\nconst entries = '40';\nconst recommendedEntries = '4';\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_7__.proxy)({\n page: 1,\n count: 0,\n featured: [],\n recommended: [],\n wallets: [],\n search: []\n});\nconst ApiController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_8__.subscribeKey)(state, key, callback);\n },\n _getApiHeaders() {\n const { projectId, sdkType, sdkVersion } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__.OptionsController.state;\n return {\n 'x-project-id': projectId,\n 'x-sdk-type': sdkType,\n 'x-sdk-version': sdkVersion\n };\n },\n async _fetchWalletImage(imageId) {\n const imageUrl = `${api.baseUrl}/getWalletImage/${imageId}`;\n const blob = await api.getBlob({ path: imageUrl, headers: ApiController._getApiHeaders() });\n _AssetController_js__WEBPACK_IMPORTED_MODULE_3__.AssetController.setWalletImage(imageId, URL.createObjectURL(blob));\n },\n async _fetchNetworkImage(imageId) {\n const imageUrl = `${api.baseUrl}/public/getAssetImage/${imageId}`;\n const blob = await api.getBlob({ path: imageUrl, headers: ApiController._getApiHeaders() });\n _AssetController_js__WEBPACK_IMPORTED_MODULE_3__.AssetController.setNetworkImage(imageId, URL.createObjectURL(blob));\n },\n async _fetchConnectorImage(imageId) {\n const imageUrl = `${api.baseUrl}/public/getAssetImage/${imageId}`;\n const blob = await api.getBlob({ path: imageUrl, headers: ApiController._getApiHeaders() });\n _AssetController_js__WEBPACK_IMPORTED_MODULE_3__.AssetController.setConnectorImage(imageId, URL.createObjectURL(blob));\n },\n async fetchNetworkImages() {\n const { requestedCaipNetworks } = _NetworkController_js__WEBPACK_IMPORTED_MODULE_5__.NetworkController.state;\n const ids = requestedCaipNetworks?.map(({ imageId }) => imageId).filter(Boolean);\n if (ids) {\n await Promise.allSettled(ids.map(id => ApiController._fetchNetworkImage(id)));\n }\n },\n async fetchConnectorImages() {\n const { connectors } = _ConnectorController_js__WEBPACK_IMPORTED_MODULE_4__.ConnectorController.state;\n const ids = connectors.map(({ imageId }) => imageId).filter(Boolean);\n await Promise.allSettled(ids.map(id => ApiController._fetchConnectorImage(id)));\n },\n async fetchFeaturedWallets() {\n const { featuredWalletIds } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__.OptionsController.state;\n if (featuredWalletIds?.length) {\n const { data } = await api.get({\n path: '/getWallets',\n headers: ApiController._getApiHeaders(),\n params: {\n page: '1',\n entries: featuredWalletIds?.length\n ? String(featuredWalletIds.length)\n : recommendedEntries,\n include: featuredWalletIds?.join(',')\n }\n });\n data.sort((a, b) => featuredWalletIds.indexOf(a.id) - featuredWalletIds.indexOf(b.id));\n const images = data.map(d => d.image_id).filter(Boolean);\n await Promise.allSettled(images.map(id => ApiController._fetchWalletImage(id)));\n state.featured = data;\n }\n },\n async fetchRecommendedWallets() {\n const { includeWalletIds, excludeWalletIds, featuredWalletIds } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__.OptionsController.state;\n const exclude = [...(excludeWalletIds ?? []), ...(featuredWalletIds ?? [])].filter(Boolean);\n const { data, count } = await api.get({\n path: '/getWallets',\n headers: ApiController._getApiHeaders(),\n params: {\n page: '1',\n entries: recommendedEntries,\n include: includeWalletIds?.join(','),\n exclude: exclude?.join(',')\n }\n });\n const recent = _utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_2__.StorageUtil.getRecentWallets();\n const recommendedImages = data.map(d => d.image_id).filter(Boolean);\n const recentImages = recent.map(r => r.image_id).filter(Boolean);\n await Promise.allSettled([...recommendedImages, ...recentImages].map(id => ApiController._fetchWalletImage(id)));\n state.recommended = data;\n state.count = count ?? 0;\n },\n async fetchWallets({ page }) {\n const { includeWalletIds, excludeWalletIds, featuredWalletIds } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__.OptionsController.state;\n const exclude = [\n ...state.recommended.map(({ id }) => id),\n ...(excludeWalletIds ?? []),\n ...(featuredWalletIds ?? [])\n ].filter(Boolean);\n const { data, count } = await api.get({\n path: '/getWallets',\n headers: ApiController._getApiHeaders(),\n params: {\n page: String(page),\n entries,\n include: includeWalletIds?.join(','),\n exclude: exclude.join(',')\n }\n });\n const images = data.map(w => w.image_id).filter(Boolean);\n await Promise.allSettled([\n ...images.map(id => ApiController._fetchWalletImage(id)),\n _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.wait(300)\n ]);\n state.wallets = [...state.wallets, ...data];\n state.count = count > state.count ? count : state.count;\n state.page = page;\n },\n async searchWallet({ search }) {\n const { includeWalletIds, excludeWalletIds } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_6__.OptionsController.state;\n state.search = [];\n const { data } = await api.get({\n path: '/getWallets',\n headers: ApiController._getApiHeaders(),\n params: {\n page: '1',\n entries: '100',\n search,\n include: includeWalletIds?.join(','),\n exclude: excludeWalletIds?.join(',')\n }\n });\n const images = data.map(w => w.image_id).filter(Boolean);\n await Promise.allSettled([\n ...images.map(id => ApiController._fetchWalletImage(id)),\n _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.wait(300)\n ]);\n state.search = data;\n },\n prefetch() {\n state.prefetchPromise = Promise.race([\n Promise.allSettled([\n ApiController.fetchFeaturedWallets(),\n ApiController.fetchRecommendedWallets(),\n ApiController.fetchNetworkImages(),\n ApiController.fetchConnectorImages()\n ]),\n _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.wait(3000)\n ]);\n }\n};\n//# sourceMappingURL=ApiController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AssetController: () => (/* binding */ AssetController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n walletImages: {},\n networkImages: {},\n connectorImages: {},\n tokenImages: {}\n});\nconst AssetController = {\n state,\n subscribeNetworkImages(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state.networkImages, () => callback(state.networkImages));\n },\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n setWalletImage(key, value) {\n state.walletImages[key] = value;\n },\n setNetworkImage(key, value) {\n state.networkImages[key] = value;\n },\n setConnectorImage(key, value) {\n state.connectorImages[key] = value;\n },\n setTokenImage(key, value) {\n state.tokenImages[key] = value;\n }\n};\n//# sourceMappingURL=AssetController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js":
/*!******************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js ***!
\******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BlockchainApiController: () => (/* binding */ BlockchainApiController)\n/* harmony export */ });\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/FetchUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n\n\n\nconst baseUrl = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getBlockchainApiUrl();\nconst api = new _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__.FetchUtil({ baseUrl });\nconst BlockchainApiController = {\n fetchIdentity({ caipChainId, address }) {\n return api.get({\n path: `/v1/identity/${address}`,\n params: {\n chainId: caipChainId,\n projectId: _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__.OptionsController.state.projectId\n }\n });\n },\n fetchTransactions({ account, projectId, cursor }) {\n const queryParams = cursor ? { cursor } : {};\n return api.get({\n path: `/v1/account/${account}/history?projectId=${projectId}`,\n params: queryParams\n });\n }\n};\n//# sourceMappingURL=BlockchainApiController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectionController.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectionController.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConnectionController: () => (/* binding */ ConnectionController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/StorageUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js\");\n/* harmony import */ var _TransactionsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./TransactionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js\");\n\n\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.proxy)({\n wcError: false,\n buffering: false\n});\nconst ConnectionController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_4__.subscribeKey)(state, key, callback);\n },\n _getClient() {\n if (!state._client) {\n throw new Error('ConnectionController client not set');\n }\n return state._client;\n },\n setClient(client) {\n state._client = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.ref)(client);\n },\n connectWalletConnect() {\n state.wcPromise = this._getClient().connectWalletConnect(uri => {\n state.wcUri = uri;\n state.wcPairingExpiry = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getPairingExpiry();\n });\n },\n async connectExternal(options) {\n await this._getClient().connectExternal?.(options);\n },\n checkInstalled(ids) {\n return this._getClient().checkInstalled?.(ids);\n },\n resetWcConnection() {\n state.wcUri = undefined;\n state.wcPairingExpiry = undefined;\n state.wcPromise = undefined;\n state.wcLinking = undefined;\n state.recentWallet = undefined;\n _TransactionsController_js__WEBPACK_IMPORTED_MODULE_2__.TransactionsController.resetTransactions();\n _utils_StorageUtil_js__WEBPACK_IMPORTED_MODULE_1__.StorageUtil.deleteWalletConnectDeepLink();\n },\n setWcLinking(wcLinking) {\n state.wcLinking = wcLinking;\n },\n setWcError(wcError) {\n state.wcError = wcError;\n state.buffering = false;\n },\n setRecentWallet(wallet) {\n state.recentWallet = wallet;\n },\n setBuffering(buffering) {\n state.buffering = buffering;\n },\n async disconnect() {\n await this._getClient().disconnect();\n this.resetWcConnection();\n }\n};\n//# sourceMappingURL=ConnectionController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectionController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js":
/*!**************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js ***!
\**************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConnectorController: () => (/* binding */ ConnectorController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n connectors: []\n});\nconst ConnectorController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n setConnectors(connectors) {\n state.connectors = connectors.map(c => (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.ref)(c));\n },\n addConnector(connector) {\n state.connectors.push((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.ref)(connector));\n },\n getConnectors() {\n return state.connectors;\n }\n};\n//# sourceMappingURL=ConnectorController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ConnectorController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EventsController: () => (/* binding */ EventsController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/CoreHelperUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js\");\n/* harmony import */ var _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/FetchUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n\n\n\n\nconst baseUrl = _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getAnalyticsUrl();\nconst api = new _utils_FetchUtil_js__WEBPACK_IMPORTED_MODULE_1__.FetchUtil({ baseUrl });\nconst excluded = ['MODAL_CREATED'];\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.proxy)({\n timestamp: Date.now(),\n data: {\n type: 'track',\n event: 'MODAL_CREATED'\n }\n});\nconst EventsController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_3__.subscribe)(state, () => callback(state));\n },\n _getApiHeaders() {\n const { projectId, sdkType, sdkVersion } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_2__.OptionsController.state;\n return {\n 'x-project-id': projectId,\n 'x-sdk-type': sdkType,\n 'x-sdk-version': sdkVersion\n };\n },\n async _sendAnalyticsEvent(payload) {\n try {\n if (excluded.includes(payload.data.event) || typeof window === 'undefined') {\n return;\n }\n await api.post({\n path: '/e',\n headers: EventsController._getApiHeaders(),\n body: {\n eventId: _utils_CoreHelperUtil_js__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getUUID(),\n url: window.location.href,\n domain: window.location.hostname,\n timestamp: payload.timestamp,\n props: payload.data\n }\n });\n }\n catch {\n }\n },\n sendEvent(data) {\n state.timestamp = Date.now();\n state.data = data;\n if (_OptionsController_js__WEBPACK_IMPORTED_MODULE_2__.OptionsController.state.enableAnalytics) {\n EventsController._sendAnalyticsEvent(state);\n }\n }\n};\n//# sourceMappingURL=EventsController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ModalController: () => (/* binding */ ModalController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _AccountController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./AccountController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AccountController.js\");\n/* harmony import */ var _ApiController_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ApiController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/ApiController.js\");\n/* harmony import */ var _EventsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js\");\n/* harmony import */ var _PublicStateController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./PublicStateController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js\");\n/* harmony import */ var _RouterController_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./RouterController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js\");\n\n\n\n\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_5__.proxy)({\n open: false\n});\nconst ModalController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_6__.subscribeKey)(state, key, callback);\n },\n async open(options) {\n await _ApiController_js__WEBPACK_IMPORTED_MODULE_1__.ApiController.state.prefetchPromise;\n if (options?.view) {\n _RouterController_js__WEBPACK_IMPORTED_MODULE_4__.RouterController.reset(options.view);\n }\n else if (_AccountController_js__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.isConnected) {\n _RouterController_js__WEBPACK_IMPORTED_MODULE_4__.RouterController.reset('Account');\n }\n else {\n _RouterController_js__WEBPACK_IMPORTED_MODULE_4__.RouterController.reset('Connect');\n }\n state.open = true;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_3__.PublicStateController.set({ open: true });\n _EventsController_js__WEBPACK_IMPORTED_MODULE_2__.EventsController.sendEvent({ type: 'track', event: 'MODAL_OPEN' });\n },\n close() {\n state.open = false;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_3__.PublicStateController.set({ open: false });\n _EventsController_js__WEBPACK_IMPORTED_MODULE_2__.EventsController.sendEvent({ type: 'track', event: 'MODAL_CLOSE' });\n }\n};\n//# sourceMappingURL=ModalController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ModalController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ NetworkController: () => (/* binding */ NetworkController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _PublicStateController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublicStateController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js\");\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.proxy)({\n supportsAllNetworks: true,\n isDefaultCaipNetwork: false\n});\nconst NetworkController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_2__.subscribeKey)(state, key, callback);\n },\n _getClient() {\n if (!state._client) {\n throw new Error('NetworkController client not set');\n }\n return state._client;\n },\n setClient(client) {\n state._client = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_1__.ref)(client);\n },\n setCaipNetwork(caipNetwork) {\n state.caipNetwork = caipNetwork;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_0__.PublicStateController.set({ selectedNetworkId: caipNetwork?.id });\n },\n setDefaultCaipNetwork(caipNetwork) {\n state.caipNetwork = caipNetwork;\n _PublicStateController_js__WEBPACK_IMPORTED_MODULE_0__.PublicStateController.set({ selectedNetworkId: caipNetwork?.id });\n state.isDefaultCaipNetwork = true;\n },\n setRequestedCaipNetworks(requestedNetworks) {\n state.requestedCaipNetworks = requestedNetworks;\n },\n async getApprovedCaipNetworksData() {\n const data = await this._getClient().getApprovedCaipNetworksData();\n state.supportsAllNetworks = data.supportsAllNetworks;\n state.approvedCaipNetworkIds = data.approvedCaipNetworkIds;\n },\n async switchActiveNetwork(network) {\n await this._getClient().switchCaipNetwork(network);\n state.caipNetwork = network;\n },\n resetNetwork() {\n if (!state.isDefaultCaipNetwork) {\n state.caipNetwork = undefined;\n }\n state.approvedCaipNetworkIds = undefined;\n state.supportsAllNetworks = true;\n }\n};\n//# sourceMappingURL=NetworkController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/NetworkController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ OptionsController: () => (/* binding */ OptionsController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n projectId: '',\n sdkType: 'w3m',\n sdkVersion: 'html-wagmi-undefined'\n});\nconst OptionsController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n setProjectId(projectId) {\n state.projectId = projectId;\n },\n setIncludeWalletIds(includeWalletIds) {\n state.includeWalletIds = includeWalletIds;\n },\n setExcludeWalletIds(excludeWalletIds) {\n state.excludeWalletIds = excludeWalletIds;\n },\n setFeaturedWalletIds(featuredWalletIds) {\n state.featuredWalletIds = featuredWalletIds;\n },\n setTokens(tokens) {\n state.tokens = tokens;\n },\n setTermsConditionsUrl(termsConditionsUrl) {\n state.termsConditionsUrl = termsConditionsUrl;\n },\n setPrivacyPolicyUrl(privacyPolicyUrl) {\n state.privacyPolicyUrl = privacyPolicyUrl;\n },\n setCustomWallets(customWallets) {\n state.customWallets = customWallets;\n },\n setEnableAnalytics(enableAnalytics) {\n state.enableAnalytics = enableAnalytics;\n },\n setSdkVersion(sdkVersion) {\n state.sdkVersion = sdkVersion;\n },\n setMetadata(metadata) {\n state.metadata = metadata;\n }\n};\n//# sourceMappingURL=OptionsController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PublicStateController: () => (/* binding */ PublicStateController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n open: false,\n selectedNetworkId: undefined\n});\nconst PublicStateController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state, () => callback(state));\n },\n set(newState) {\n Object.assign(state, { ...state, ...newState });\n }\n};\n//# sourceMappingURL=PublicStateController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/PublicStateController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ RouterController: () => (/* binding */ RouterController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n view: 'Connect',\n history: ['Connect']\n});\nconst RouterController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n push(view, data) {\n if (view !== state.view) {\n state.view = view;\n state.history.push(view);\n state.data = data;\n }\n },\n reset(view) {\n state.view = view;\n state.history = [view];\n },\n replace(view) {\n if (state.history.length > 1 && state.history.at(-1) !== view) {\n state.view = view;\n state.history[state.history.length - 1] = view;\n }\n },\n goBack() {\n if (state.history.length > 1) {\n state.history.pop();\n const [last] = state.history.slice(-1);\n if (last) {\n state.view = last;\n }\n }\n }\n};\n//# sourceMappingURL=RouterController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/RouterController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/SIWEController.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/SIWEController.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SIWEController: () => (/* binding */ SIWEController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n status: 'uninitialized'\n});\nconst SIWEController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state, () => callback(state));\n },\n _getClient() {\n if (!state._client) {\n throw new Error('SIWEController client not set');\n }\n return state._client;\n },\n setSIWEClient(client) {\n state._client = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.ref)(client);\n state.status = 'ready';\n },\n setNonce(nonce) {\n state.nonce = nonce;\n },\n setStatus(status) {\n state.status = status;\n },\n setMessage(message) {\n state.message = message;\n },\n setSession(session) {\n state.session = session;\n }\n};\n//# sourceMappingURL=SIWEController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/SIWEController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SnackController: () => (/* binding */ SnackController)\n/* harmony export */ });\n/* harmony import */ var valtio_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! valtio/utils */ \"./node_modules/valtio/esm/vanilla/utils.mjs\");\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n message: '',\n variant: 'success',\n open: false\n});\nconst SnackController = {\n state,\n subscribeKey(key, callback) {\n return (0,valtio_utils__WEBPACK_IMPORTED_MODULE_1__.subscribeKey)(state, key, callback);\n },\n showSuccess(message) {\n state.message = message;\n state.variant = 'success';\n state.open = true;\n },\n showError(message) {\n state.message = message;\n state.variant = 'error';\n state.open = true;\n },\n hide() {\n state.open = false;\n }\n};\n//# sourceMappingURL=SnackController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/ThemeController.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/ThemeController.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ThemeController: () => (/* binding */ ThemeController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n themeMode: 'dark',\n themeVariables: {}\n});\nconst ThemeController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(state, () => callback(state));\n },\n setThemeMode(themeMode) {\n state.themeMode = themeMode;\n },\n setThemeVariables(themeVariables) {\n state.themeVariables = { ...state.themeVariables, ...themeVariables };\n }\n};\n//# sourceMappingURL=ThemeController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/ThemeController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionsController: () => (/* binding */ TransactionsController)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n/* harmony import */ var _BlockchainApiController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./BlockchainApiController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/BlockchainApiController.js\");\n/* harmony import */ var _OptionsController_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./OptionsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/OptionsController.js\");\n/* harmony import */ var _EventsController_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./EventsController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/EventsController.js\");\n/* harmony import */ var _SnackController_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./SnackController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/SnackController.js\");\n\n\n\n\n\nconst state = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_4__.proxy)({\n transactions: [],\n transactionsByYear: {},\n loading: false,\n empty: false,\n next: undefined\n});\nconst TransactionsController = {\n state,\n subscribe(callback) {\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_4__.subscribe)(state, () => callback(state));\n },\n async fetchTransactions(accountAddress) {\n const { projectId } = _OptionsController_js__WEBPACK_IMPORTED_MODULE_1__.OptionsController.state;\n if (!projectId || !accountAddress) {\n throw new Error(\"Transactions can't be fetched without a projectId and an accountAddress\");\n }\n state.loading = true;\n try {\n const response = await _BlockchainApiController_js__WEBPACK_IMPORTED_MODULE_0__.BlockchainApiController.fetchTransactions({\n account: accountAddress,\n projectId,\n cursor: state.next\n });\n const nonSpamTransactions = this.filterSpamTransactions(response.data);\n const filteredTransactions = [...state.transactions, ...nonSpamTransactions];\n state.loading = false;\n state.transactions = filteredTransactions;\n state.transactionsByYear = this.groupTransactionsByYear(state.transactionsByYear, nonSpamTransactions);\n state.empty = filteredTransactions.length === 0;\n state.next = response.next ? response.next : undefined;\n }\n catch (error) {\n _EventsController_js__WEBPACK_IMPORTED_MODULE_2__.EventsController.sendEvent({\n type: 'track',\n event: 'ERROR_FETCH_TRANSACTIONS',\n properties: {\n address: accountAddress,\n projectId,\n cursor: state.next\n }\n });\n _SnackController_js__WEBPACK_IMPORTED_MODULE_3__.SnackController.showError('Failed to fetch transactions');\n state.loading = false;\n state.empty = true;\n }\n },\n groupTransactionsByYear(transactionsMap = {}, transactions = []) {\n const grouped = transactionsMap;\n transactions.forEach(transaction => {\n const year = new Date(transaction.metadata.minedAt).getFullYear();\n if (!grouped[year]) {\n grouped[year] = [];\n }\n grouped[year]?.push(transaction);\n });\n return grouped;\n },\n filterSpamTransactions(transactions) {\n return transactions.filter(transaction => {\n const isAllSpam = transaction.transfers.every(transfer => transfer.nft_info?.flags.is_spam === true);\n return !isAllSpam;\n });\n },\n resetTransactions() {\n state.transactions = [];\n state.transactionsByYear = {};\n state.loading = false;\n state.empty = false;\n state.next = undefined;\n }\n};\n//# sourceMappingURL=TransactionsController.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/controllers/TransactionsController.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/AssetUtil.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/AssetUtil.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AssetUtil: () => (/* binding */ AssetUtil)\n/* harmony export */ });\n/* harmony import */ var _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../controllers/AssetController.js */ \"./node_modules/@web3modal/core/dist/esm/src/controllers/AssetController.js\");\n\nconst AssetUtil = {\n getWalletImage(wallet) {\n if (wallet?.image_url) {\n return wallet?.image_url;\n }\n if (wallet?.image_id) {\n return _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.walletImages[wallet.image_id];\n }\n return undefined;\n },\n getNetworkImage(network) {\n if (network?.imageUrl) {\n return network?.imageUrl;\n }\n if (network?.imageId) {\n return _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.networkImages[network.imageId];\n }\n return undefined;\n },\n getConnectorImage(connector) {\n if (connector?.imageUrl) {\n return connector.imageUrl;\n }\n if (connector?.imageId) {\n return _controllers_AssetController_js__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.connectorImages[connector.imageId];\n }\n return undefined;\n }\n};\n//# sourceMappingURL=AssetUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/AssetUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConstantsUtil: () => (/* binding */ ConstantsUtil)\n/* harmony export */ });\nconst ConstantsUtil = {\n FOUR_MINUTES_MS: 240000,\n TEN_SEC_MS: 10000,\n ONE_SEC_MS: 1000,\n RESTRICTED_TIMEZONES: [\n 'ASIA/SHANGHAI',\n 'ASIA/URUMQI',\n 'ASIA/CHONGQING',\n 'ASIA/HARBIN',\n 'ASIA/KASHGAR',\n 'ASIA/MACAU',\n 'ASIA/HONG_KONG',\n 'ASIA/MACAO',\n 'ASIA/BEIJING',\n 'ASIA/HARBIN'\n ]\n};\n//# sourceMappingURL=ConstantsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CoreHelperUtil: () => (/* binding */ CoreHelperUtil)\n/* harmony export */ });\n/* harmony import */ var _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstantsUtil.js */ \"./node_modules/@web3modal/core/dist/esm/src/utils/ConstantsUtil.js\");\n\nconst CoreHelperUtil = {\n isMobile() {\n if (typeof window !== 'undefined') {\n return Boolean(window.matchMedia('(pointer:coarse)').matches ||\n /Android|webOS|iPhone|iPad|iPod|BlackBerry|Opera Mini/u.test(navigator.userAgent));\n }\n return false;\n },\n isAndroid() {\n const ua = navigator.userAgent.toLowerCase();\n return CoreHelperUtil.isMobile() && ua.includes('android');\n },\n isIos() {\n const ua = navigator.userAgent.toLowerCase();\n return CoreHelperUtil.isMobile() && (ua.includes('iphone') || ua.includes('ipad'));\n },\n isClient() {\n return typeof window !== 'undefined';\n },\n isPairingExpired(expiry) {\n return expiry ? expiry - Date.now() <= _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.TEN_SEC_MS : true;\n },\n isAllowedRetry(lastRetry) {\n return Date.now() - lastRetry >= _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.ONE_SEC_MS;\n },\n copyToClopboard(text) {\n navigator.clipboard.writeText(text);\n },\n getPairingExpiry() {\n return Date.now() + _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.FOUR_MINUTES_MS;\n },\n getPlainAddress(caipAddress) {\n return caipAddress.split(':')[2];\n },\n async wait(milliseconds) {\n return new Promise(resolve => {\n setTimeout(resolve, milliseconds);\n });\n },\n debounce(func, timeout = 500) {\n let timer = undefined;\n return (...args) => {\n function next() {\n func(...args);\n }\n if (timer) {\n clearTimeout(timer);\n }\n timer = setTimeout(next, timeout);\n };\n },\n isHttpUrl(url) {\n return url.startsWith('http://') || url.startsWith('https://');\n },\n formatNativeUrl(appUrl, wcUri) {\n if (CoreHelperUtil.isHttpUrl(appUrl)) {\n return this.formatUniversalUrl(appUrl, wcUri);\n }\n let safeAppUrl = appUrl;\n if (!safeAppUrl.includes('://')) {\n safeAppUrl = appUrl.replaceAll('/', '').replaceAll(':', '');\n safeAppUrl = `${safeAppUrl}://`;\n }\n if (!safeAppUrl.endsWith('/')) {\n safeAppUrl = `${safeAppUrl}/`;\n }\n const encodedWcUrl = encodeURIComponent(wcUri);\n return {\n redirect: `${safeAppUrl}wc?uri=${encodedWcUrl}`,\n href: safeAppUrl\n };\n },\n formatUniversalUrl(appUrl, wcUri) {\n if (!CoreHelperUtil.isHttpUrl(appUrl)) {\n return this.formatNativeUrl(appUrl, wcUri);\n }\n let safeAppUrl = appUrl;\n if (!safeAppUrl.endsWith('/')) {\n safeAppUrl = `${safeAppUrl}/`;\n }\n const encodedWcUrl = encodeURIComponent(wcUri);\n return {\n redirect: `${safeAppUrl}wc?uri=${encodedWcUrl}`,\n href: safeAppUrl\n };\n },\n openHref(href, target) {\n window.open(href, target, 'noreferrer noopener');\n },\n async preloadImage(src) {\n const imagePromise = new Promise((resolve, reject) => {\n const image = new Image();\n image.onload = resolve;\n image.onerror = reject;\n image.crossOrigin = 'anonymous';\n image.src = src;\n });\n return Promise.race([imagePromise, CoreHelperUtil.wait(2000)]);\n },\n formatBalance(balance, symbol) {\n let formattedBalance = undefined;\n if (balance === '0') {\n formattedBalance = '0.000';\n }\n else if (typeof balance === 'string') {\n const number = Number(balance);\n if (number) {\n formattedBalance = number.toString().match(/^-?\\d+(?:\\.\\d{0,3})?/u)?.[0];\n }\n }\n return formattedBalance ? `${formattedBalance} ${symbol}` : '0.000';\n },\n isRestrictedRegion() {\n try {\n const { timeZone } = new Intl.DateTimeFormat().resolvedOptions();\n const capTimeZone = timeZone.toUpperCase();\n return _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.RESTRICTED_TIMEZONES.includes(capTimeZone);\n }\n catch {\n return false;\n }\n },\n getApiUrl() {\n return CoreHelperUtil.isRestrictedRegion()\n ? 'https://api.web3modal.org'\n : 'https://api.web3modal.com';\n },\n getBlockchainApiUrl() {\n return CoreHelperUtil.isRestrictedRegion()\n ? 'https://rpc.walletconnect.org'\n : 'https://rpc.walletconnect.com';\n },\n getAnalyticsUrl() {\n return CoreHelperUtil.isRestrictedRegion()\n ? 'https://pulse.walletconnect.org'\n : 'https://pulse.walletconnect.com';\n },\n getUUID() {\n if (crypto?.randomUUID) {\n return crypto.randomUUID();\n }\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/gu, c => {\n const r = (Math.random() * 16) | 0;\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\n return v.toString(16);\n });\n }\n};\n//# sourceMappingURL=CoreHelperUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/CoreHelperUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FetchUtil: () => (/* binding */ FetchUtil)\n/* harmony export */ });\nclass FetchUtil {\n constructor({ baseUrl }) {\n this.baseUrl = baseUrl;\n }\n async get({ headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, { method: 'GET', headers });\n return response.json();\n }\n async getBlob({ headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, { method: 'GET', headers });\n return response.blob();\n }\n async post({ body, headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, {\n method: 'POST',\n headers,\n body: body ? JSON.stringify(body) : undefined\n });\n return response.json();\n }\n async put({ body, headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, {\n method: 'PUT',\n headers,\n body: body ? JSON.stringify(body) : undefined\n });\n return response.json();\n }\n async delete({ body, headers, ...args }) {\n const url = this.createUrl(args);\n const response = await fetch(url, {\n method: 'DELETE',\n headers,\n body: body ? JSON.stringify(body) : undefined\n });\n return response.json();\n }\n createUrl({ path, params }) {\n const url = new URL(path, this.baseUrl);\n if (params) {\n Object.entries(params).forEach(([key, value]) => {\n if (value) {\n url.searchParams.append(key, value);\n }\n });\n }\n return url;\n }\n}\n//# sourceMappingURL=FetchUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/FetchUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js":
/*!************************************************************************!*\
!*** ./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js ***!
\************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ StorageUtil: () => (/* binding */ StorageUtil)\n/* harmony export */ });\nconst WC_DEEPLINK = 'WALLETCONNECT_DEEPLINK_CHOICE';\nconst W3M_RECENT = '@w3m/recent';\nconst W3M_CONNECTED_WALLET_IMAGE_URL = '@w3m/connected_wallet_image_url';\nconst StorageUtil = {\n setWalletConnectDeepLink({ href, name }) {\n try {\n localStorage.setItem(WC_DEEPLINK, JSON.stringify({ href, name }));\n }\n catch {\n console.info('Unable to set WalletConnect deep link');\n }\n },\n getWalletConnectDeepLink() {\n try {\n const deepLink = localStorage.getItem(WC_DEEPLINK);\n if (deepLink) {\n return JSON.parse(deepLink);\n }\n }\n catch {\n console.info('Unable to get WalletConnect deep link');\n }\n return undefined;\n },\n deleteWalletConnectDeepLink() {\n try {\n localStorage.removeItem(WC_DEEPLINK);\n }\n catch {\n console.info('Unable to delete WalletConnect deep link');\n }\n },\n setWeb3ModalRecent(wallet) {\n try {\n const recentWallets = StorageUtil.getRecentWallets();\n const exists = recentWallets.find(w => w.id === wallet.id);\n if (!exists) {\n recentWallets.unshift(wallet);\n if (recentWallets.length > 2) {\n recentWallets.pop();\n }\n localStorage.setItem(W3M_RECENT, JSON.stringify(recentWallets));\n }\n }\n catch {\n console.info('Unable to set Web3Modal recent');\n }\n },\n getRecentWallets() {\n try {\n const recent = localStorage.getItem(W3M_RECENT);\n return recent ? JSON.parse(recent) : [];\n }\n catch {\n console.info('Unable to get Web3Modal recent');\n }\n return [];\n },\n setConnectedWalletImageUrl(imageUrl) {\n try {\n localStorage.setItem(W3M_CONNECTED_WALLET_IMAGE_URL, imageUrl);\n }\n catch {\n console.info('Unable to set Connected Wallet Image Url');\n }\n },\n getConnectedWalletImageUrl() {\n try {\n return localStorage.getItem(W3M_CONNECTED_WALLET_IMAGE_URL);\n }\n catch {\n console.info('Unable to set Connected Wallet Image Url');\n }\n return undefined;\n }\n};\n//# sourceMappingURL=StorageUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/core/dist/esm/src/utils/StorageUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/polyfills/dist/esm/index.js":
/*!*************************************************************!*\
!*** ./node_modules/@web3modal/polyfills/dist/esm/index.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var buffer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! buffer */ \"./node_modules/buffer/index.js\");\n\nif (typeof window !== 'undefined') {\n if (!window.Buffer) {\n window.Buffer = buffer__WEBPACK_IMPORTED_MODULE_0__.Buffer;\n }\n if (!window.global) {\n window.global = window;\n }\n if (!window.process) {\n window.process = {};\n }\n if (!window.process?.env) {\n window.process = { env: {} };\n }\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/polyfills/dist/esm/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/index.js":
/*!******************************************************************!*\
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/index.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConstantsUtil: () => (/* reexport safe */ _src_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil),\n/* harmony export */ HelpersUtil: () => (/* reexport safe */ _src_HelpersUtil_js__WEBPACK_IMPORTED_MODULE_2__.HelpersUtil),\n/* harmony export */ PresetsUtil: () => (/* reexport safe */ _src_PresetsUtil_js__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil)\n/* harmony export */ });\n/* harmony import */ var _src_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/ConstantsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js\");\n/* harmony import */ var _src_PresetsUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/PresetsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js\");\n/* harmony import */ var _src_HelpersUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/HelpersUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js\");\n\n\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ConstantsUtil: () => (/* binding */ ConstantsUtil)\n/* harmony export */ });\nconst ConstantsUtil = {\n WALLET_CONNECT_CONNECTOR_ID: 'walletConnect',\n INJECTED_CONNECTOR_ID: 'injected',\n COINBASE_CONNECTOR_ID: 'coinbaseWallet',\n SAFE_CONNECTOR_ID: 'safe',\n LEDGER_CONNECTOR_ID: 'ledger',\n EIP6963_CONNECTOR_ID: 'eip6963',\n EIP155: 'eip155',\n ADD_CHAIN_METHOD: 'wallet_addEthereumChain',\n EIP6963_ANNOUNCE_EVENT: 'eip6963:announceProvider',\n EIP6963_REQUEST_EVENT: 'eip6963:requestProvider',\n VERSION: '3.4.0'\n};\n//# sourceMappingURL=ConstantsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js":
/*!****************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HelpersUtil: () => (/* binding */ HelpersUtil)\n/* harmony export */ });\n/* harmony import */ var _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstantsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js\");\n\nconst HelpersUtil = {\n caipNetworkIdToNumber(caipnetworkId) {\n return caipnetworkId ? Number(caipnetworkId.split(':')[1]) : undefined;\n },\n getCaipTokens(tokens) {\n if (!tokens) {\n return undefined;\n }\n const caipTokens = {};\n Object.entries(tokens).forEach(([id, token]) => {\n caipTokens[`${_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.EIP155}:${id}`] = token;\n });\n return caipTokens;\n }\n};\n//# sourceMappingURL=HelpersUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/src/HelpersUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js":
/*!****************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ PresetsUtil: () => (/* binding */ PresetsUtil)\n/* harmony export */ });\n/* harmony import */ var _ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./ConstantsUtil.js */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/src/ConstantsUtil.js\");\n\nconst PresetsUtil = {\n ConnectorExplorerIds: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.COINBASE_CONNECTOR_ID]: 'fd20dc426fb37566d803205b19bbc1d4096b248ac04548e3cfb6b3a38bd033aa',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.SAFE_CONNECTOR_ID]: '225affb176778569276e484e1b92637ad061b01e13a048b35a9d280c3b58970f',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.LEDGER_CONNECTOR_ID]: '19177a98252e07ddfc9af2083ba8e07ef627cb6103467ffebb3f8f4205fd7927'\n },\n EIP155NetworkImageIds: {\n 1: '692ed6ba-e569-459a-556a-776476829e00',\n 42161: '600a9a04-c1b9-42ca-6785-9b4b6ff85200',\n 43114: '30c46e53-e989-45fb-4549-be3bd4eb3b00',\n 56: '93564157-2e8e-4ce7-81df-b264dbee9b00',\n 250: '06b26297-fe0c-4733-5d6b-ffa5498aac00',\n 10: 'ab9c186a-c52f-464b-2906-ca59d760a400',\n 137: '41d04d42-da3b-4453-8506-668cc0727900',\n 100: '02b53f6a-e3d4-479e-1cb4-21178987d100',\n 9001: 'f926ff41-260d-4028-635e-91913fc28e00',\n 324: 'b310f07f-4ef7-49f3-7073-2a0a39685800',\n 314: '5a73b3dd-af74-424e-cae0-0de859ee9400',\n 4689: '34e68754-e536-40da-c153-6ef2e7188a00',\n 1088: '3897a66d-40b9-4833-162f-a2c90531c900',\n 1284: '161038da-44ae-4ec7-1208-0ea569454b00',\n 1285: 'f1d73bb6-5450-4e18-38f7-fb6484264a00',\n 7777777: '845c60df-d429-4991-e687-91ae45791600',\n 42220: 'ab781bbc-ccc6-418d-d32d-789b15da1f00',\n 8453: '7289c336-3981-4081-c5f4-efc26ac64a00',\n 1313161554: '3ff73439-a619-4894-9262-4470c773a100'\n },\n ConnectorImageIds: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.COINBASE_CONNECTOR_ID]: '0c2840c3-5b04-4c44-9661-fbd4b49e1800',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.SAFE_CONNECTOR_ID]: '461db637-8616-43ce-035a-d89b8a1d5800',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.LEDGER_CONNECTOR_ID]: '54a1aa77-d202-4f8d-0fb2-5d2bb6db0300',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID]: 'ef1a1fcf-7fe8-4d69-bd6d-fda1345b4400',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.INJECTED_CONNECTOR_ID]: '07ba87ed-43aa-4adf-4540-9e6a2b9cae00'\n },\n ConnectorNamesMap: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.INJECTED_CONNECTOR_ID]: 'Browser Wallet',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID]: 'WalletConnect',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.COINBASE_CONNECTOR_ID]: 'Coinbase',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.LEDGER_CONNECTOR_ID]: 'Ledger',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.SAFE_CONNECTOR_ID]: 'Safe'\n },\n ConnectorTypesMap: {\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.INJECTED_CONNECTOR_ID]: 'INJECTED',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID]: 'WALLET_CONNECT',\n [_ConstantsUtil_js__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.EIP6963_CONNECTOR_ID]: 'ANNOUNCED'\n }\n};\n//# sourceMappingURL=PresetsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold-utils/dist/esm/src/PresetsUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/index.js":
/*!************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/index.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CoreHelperUtil: () => (/* reexport safe */ _web3modal_core__WEBPACK_IMPORTED_MODULE_35__.CoreHelperUtil),\n/* harmony export */ W3mAccountButton: () => (/* reexport safe */ _src_modal_w3m_account_button_index_js__WEBPACK_IMPORTED_MODULE_0__.W3mAccountButton),\n/* harmony export */ W3mAccountView: () => (/* reexport safe */ _src_views_w3m_account_view_index_js__WEBPACK_IMPORTED_MODULE_6__.W3mAccountView),\n/* harmony export */ W3mAllWalletsList: () => (/* reexport safe */ _src_partials_w3m_all_wallets_list_index_js__WEBPACK_IMPORTED_MODULE_19__.W3mAllWalletsList),\n/* harmony export */ W3mAllWalletsSearch: () => (/* reexport safe */ _src_partials_w3m_all_wallets_search_index_js__WEBPACK_IMPORTED_MODULE_20__.W3mAllWalletsSearch),\n/* harmony export */ W3mAllWalletsView: () => (/* reexport safe */ _src_views_w3m_all_wallets_view_index_js__WEBPACK_IMPORTED_MODULE_7__.W3mAllWalletsView),\n/* harmony export */ W3mButton: () => (/* reexport safe */ _src_modal_w3m_button_index_js__WEBPACK_IMPORTED_MODULE_1__.W3mButton),\n/* harmony export */ W3mConnectButton: () => (/* reexport safe */ _src_modal_w3m_connect_button_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectButton),\n/* harmony export */ W3mConnectView: () => (/* reexport safe */ _src_views_w3m_connect_view_index_js__WEBPACK_IMPORTED_MODULE_8__.W3mConnectView),\n/* harmony export */ W3mConnectingExternalView: () => (/* reexport safe */ _src_views_w3m_connecting_external_view_index_js__WEBPACK_IMPORTED_MODULE_9__.W3mConnectingExternalView),\n/* harmony export */ W3mConnectingHeader: () => (/* reexport safe */ _src_partials_w3m_connecting_header_index_js__WEBPACK_IMPORTED_MODULE_21__.W3mConnectingHeader),\n/* harmony export */ W3mConnectingSiwe: () => (/* reexport safe */ _src_partials_w3m_connecting_siwe_index_js__WEBPACK_IMPORTED_MODULE_26__.W3mConnectingSiwe),\n/* harmony export */ W3mConnectingSiweView: () => (/* reexport safe */ _src_views_w3m_connecting_siwe_view_index_js__WEBPACK_IMPORTED_MODULE_10__.W3mConnectingSiweView),\n/* harmony export */ W3mConnectingWcBrowser: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_browser_index_js__WEBPACK_IMPORTED_MODULE_22__.W3mConnectingWcBrowser),\n/* harmony export */ W3mConnectingWcDesktop: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_desktop_index_js__WEBPACK_IMPORTED_MODULE_23__.W3mConnectingWcDesktop),\n/* harmony export */ W3mConnectingWcMobile: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_mobile_index_js__WEBPACK_IMPORTED_MODULE_24__.W3mConnectingWcMobile),\n/* harmony export */ W3mConnectingWcQrcode: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_qrcode_index_js__WEBPACK_IMPORTED_MODULE_25__.W3mConnectingWcQrcode),\n/* harmony export */ W3mConnectingWcUnsupported: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_unsupported_index_js__WEBPACK_IMPORTED_MODULE_27__.W3mConnectingWcUnsupported),\n/* harmony export */ W3mConnectingWcView: () => (/* reexport safe */ _src_views_w3m_connecting_wc_view_index_js__WEBPACK_IMPORTED_MODULE_11__.W3mConnectingWcView),\n/* harmony export */ W3mConnectingWcWeb: () => (/* reexport safe */ _src_partials_w3m_connecting_wc_web_index_js__WEBPACK_IMPORTED_MODULE_28__.W3mConnectingWcWeb),\n/* harmony export */ W3mDownloadsView: () => (/* reexport safe */ _src_views_w3m_downloads_view_index_js__WEBPACK_IMPORTED_MODULE_12__.W3mDownloadsView),\n/* harmony export */ W3mGetWalletView: () => (/* reexport safe */ _src_views_w3m_get_wallet_view_index_js__WEBPACK_IMPORTED_MODULE_13__.W3mGetWalletView),\n/* harmony export */ W3mHeader: () => (/* reexport safe */ _src_partials_w3m_header_index_js__WEBPACK_IMPORTED_MODULE_29__.W3mHeader),\n/* harmony export */ W3mHelpWidget: () => (/* reexport safe */ _src_partials_w3m_help_widget_index_js__WEBPACK_IMPORTED_MODULE_30__.W3mHelpWidget),\n/* harmony export */ W3mLegalFooter: () => (/* reexport safe */ _src_partials_w3m_legal_footer_index_js__WEBPACK_IMPORTED_MODULE_31__.W3mLegalFooter),\n/* harmony export */ W3mMobileDownloadLinks: () => (/* reexport safe */ _src_partials_w3m_mobile_download_links_index_js__WEBPACK_IMPORTED_MODULE_32__.W3mMobileDownloadLinks),\n/* harmony export */ W3mModal: () => (/* reexport safe */ _src_modal_w3m_modal_index_js__WEBPACK_IMPORTED_MODULE_3__.W3mModal),\n/* harmony export */ W3mNetworkButton: () => (/* reexport safe */ _src_modal_w3m_network_button_index_js__WEBPACK_IMPORTED_MODULE_4__.W3mNetworkButton),\n/* harmony export */ W3mNetworkSwitchView: () => (/* reexport safe */ _src_views_w3m_network_switch_view_index_js__WEBPACK_IMPORTED_MODULE_14__.W3mNetworkSwitchView),\n/* harmony export */ W3mNetworksView: () => (/* reexport safe */ _src_views_w3m_networks_view_index_js__WEBPACK_IMPORTED_MODULE_15__.W3mNetworksView),\n/* harmony export */ W3mRouter: () => (/* reexport safe */ _src_modal_w3m_router_index_js__WEBPACK_IMPORTED_MODULE_5__.W3mRouter),\n/* harmony export */ W3mSnackBar: () => (/* reexport safe */ _src_partials_w3m_snackbar_index_js__WEBPACK_IMPORTED_MODULE_33__.W3mSnackBar),\n/* harmony export */ W3mTransactionsView: () => (/* reexport safe */ _src_views_w3m_transactions_view_index_js__WEBPACK_IMPORTED_MODULE_16__.W3mTransactionsView),\n/* harmony export */ W3mWhatIsANetworkView: () => (/* reexport safe */ _src_views_w3m_what_is_a_network_view_index_js__WEBPACK_IMPORTED_MODULE_17__.W3mWhatIsANetworkView),\n/* harmony export */ W3mWhatIsAWalletView: () => (/* reexport safe */ _src_views_w3m_what_is_a_wallet_view_index_js__WEBPACK_IMPORTED_MODULE_18__.W3mWhatIsAWalletView),\n/* harmony export */ Web3ModalScaffold: () => (/* reexport safe */ _src_client_js__WEBPACK_IMPORTED_MODULE_34__.Web3ModalScaffold)\n/* harmony export */ });\n/* harmony import */ var _src_modal_w3m_account_button_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/modal/w3m-account-button/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-account-button/index.js\");\n/* harmony import */ var _src_modal_w3m_button_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/modal/w3m-button/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-button/index.js\");\n/* harmony import */ var _src_modal_w3m_connect_button_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/modal/w3m-connect-button/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-connect-button/index.js\");\n/* harmony import */ var _src_modal_w3m_modal_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/modal/w3m-modal/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/index.js\");\n/* harmony import */ var _src_modal_w3m_network_button_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/modal/w3m-network-button/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-network-button/index.js\");\n/* harmony import */ var _src_modal_w3m_router_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./src/modal/w3m-router/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/index.js\");\n/* harmony import */ var _src_views_w3m_account_view_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./src/views/w3m-account-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/index.js\");\n/* harmony import */ var _src_views_w3m_all_wallets_view_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./src/views/w3m-all-wallets-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-all-wallets-view/index.js\");\n/* harmony import */ var _src_views_w3m_connect_view_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./src/views/w3m-connect-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/index.js\");\n/* harmony import */ var _src_views_w3m_connecting_external_view_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./src/views/w3m-connecting-external-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-external-view/index.js\");\n/* harmony import */ var _src_views_w3m_connecting_siwe_view_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./src/views/w3m-connecting-siwe-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-siwe-view/index.js\");\n/* harmony import */ var _src_views_w3m_connecting_wc_view_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./src/views/w3m-connecting-wc-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-wc-view/index.js\");\n/* harmony import */ var _src_views_w3m_downloads_view_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./src/views/w3m-downloads-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-downloads-view/index.js\");\n/* harmony import */ var _src_views_w3m_get_wallet_view_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./src/views/w3m-get-wallet-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-get-wallet-view/index.js\");\n/* harmony import */ var _src_views_w3m_network_switch_view_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./src/views/w3m-network-switch-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/index.js\");\n/* harmony import */ var _src_views_w3m_networks_view_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./src/views/w3m-networks-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-networks-view/index.js\");\n/* harmony import */ var _src_views_w3m_transactions_view_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./src/views/w3m-transactions-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/index.js\");\n/* harmony import */ var _src_views_w3m_what_is_a_network_view_index_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./src/views/w3m-what-is-a-network-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-network-view/index.js\");\n/* harmony import */ var _src_views_w3m_what_is_a_wallet_view_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./src/views/w3m-what-is-a-wallet-view/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-wallet-view/index.js\");\n/* harmony import */ var _src_partials_w3m_all_wallets_list_index_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./src/partials/w3m-all-wallets-list/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/index.js\");\n/* harmony import */ var _src_partials_w3m_all_wallets_search_index_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./src/partials/w3m-all-wallets-search/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_header_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./src/partials/w3m-connecting-header/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-header/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_wc_browser_index_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./src/partials/w3m-connecting-wc-browser/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-browser/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_wc_desktop_index_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./src/partials/w3m-connecting-wc-desktop/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-desktop/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_wc_mobile_index_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./src/partials/w3m-connecting-wc-mobile/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-mobile/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_wc_qrcode_index_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./src/partials/w3m-connecting-wc-qrcode/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_siwe_index_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./src/partials/w3m-connecting-siwe/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_wc_unsupported_index_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./src/partials/w3m-connecting-wc-unsupported/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-unsupported/index.js\");\n/* harmony import */ var _src_partials_w3m_connecting_wc_web_index_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./src/partials/w3m-connecting-wc-web/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-web/index.js\");\n/* harmony import */ var _src_partials_w3m_header_index_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./src/partials/w3m-header/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/index.js\");\n/* harmony import */ var _src_partials_w3m_help_widget_index_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./src/partials/w3m-help-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-help-widget/index.js\");\n/* harmony import */ var _src_partials_w3m_legal_footer_index_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./src/partials/w3m-legal-footer/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/index.js\");\n/* harmony import */ var _src_partials_w3m_mobile_download_links_index_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./src/partials/w3m-mobile-download-links/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/index.js\");\n/* harmony import */ var _src_partials_w3m_snackbar_index_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./src/partials/w3m-snackbar/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/index.js\");\n/* harmony import */ var _src_client_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./src/client.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/client.js\");\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.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//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/client.js":
/*!*****************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/client.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Web3ModalScaffold: () => (/* binding */ Web3ModalScaffold)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n\n\nlet isInitialized = false;\nclass Web3ModalScaffold {\n constructor(options) {\n this.initPromise = undefined;\n this.setIsConnected = isConnected => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setIsConnected(isConnected);\n };\n this.setCaipAddress = caipAddress => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setCaipAddress(caipAddress);\n };\n this.setBalance = (balance, balanceSymbol) => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setBalance(balance, balanceSymbol);\n };\n this.setProfileName = profileName => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setProfileName(profileName);\n };\n this.setProfileImage = profileImage => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setProfileImage(profileImage);\n };\n this.resetAccount = () => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.resetAccount();\n };\n this.setCaipNetwork = caipNetwork => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.setCaipNetwork(caipNetwork);\n };\n this.getCaipNetwork = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.setRequestedCaipNetworks = requestedCaipNetworks => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.setRequestedCaipNetworks(requestedCaipNetworks);\n };\n this.getApprovedCaipNetworksData = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.getApprovedCaipNetworksData();\n this.resetNetwork = () => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.resetNetwork();\n };\n this.setConnectors = connectors => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.setConnectors(connectors);\n };\n this.addConnector = connector => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.addConnector(connector);\n };\n this.getConnectors = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.getConnectors();\n this.resetWcConnection = () => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.resetWcConnection();\n };\n this.fetchIdentity = request => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.BlockchainApiController.fetchIdentity(request);\n this.setAddressExplorerUrl = addressExplorerUrl => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.setAddressExplorerUrl(addressExplorerUrl);\n };\n this.setSIWENonce = nonce => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setNonce(nonce);\n };\n this.setSIWESession = session => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setSession(session);\n };\n this.setSIWEStatus = status => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setStatus(status);\n };\n this.setSIWEMessage = message => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setMessage(message);\n };\n this.getSIWENonce = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.state.nonce;\n this.getSIWESession = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.state.session;\n this.getSIWEStatus = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.state.status;\n this.getSIWEMessage = () => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.state.message;\n this.initControllers(options);\n this.initOrContinue();\n }\n async open(options) {\n await this.initOrContinue();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.open(options);\n }\n async close() {\n await this.initOrContinue();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n getThemeMode() {\n return _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state.themeMode;\n }\n getThemeVariables() {\n return _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state.themeVariables;\n }\n setThemeMode(themeMode) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.setThemeMode(themeMode);\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.setColorTheme)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state.themeMode);\n }\n setThemeVariables(themeVariables) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.setThemeVariables(themeVariables);\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.setThemeVariables)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state.themeVariables);\n }\n subscribeTheme(callback) {\n return _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.subscribe(callback);\n }\n getState() {\n return { ..._web3modal_core__WEBPACK_IMPORTED_MODULE_0__.PublicStateController.state };\n }\n subscribeState(callback) {\n return _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.PublicStateController.subscribe(callback);\n }\n getEvent() {\n return { ..._web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.state };\n }\n subscribeEvents(callback) {\n return _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.subscribe(callback);\n }\n subscribeSIWEState(callback) {\n return _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.subscribe(callback);\n }\n initControllers(options) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.setClient(options.networkControllerClient);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.setDefaultCaipNetwork(options.defaultChain);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setProjectId(options.projectId);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setIncludeWalletIds(options.includeWalletIds);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setExcludeWalletIds(options.excludeWalletIds);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setFeaturedWalletIds(options.featuredWalletIds);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setTokens(options.tokens);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setTermsConditionsUrl(options.termsConditionsUrl);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setPrivacyPolicyUrl(options.privacyPolicyUrl);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setCustomWallets(options.customWallets);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setEnableAnalytics(options.enableAnalytics);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setSdkVersion(options._sdkVersion);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setClient(options.connectionControllerClient);\n if (options.siweControllerClient) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SIWEController.setSIWEClient(options.siweControllerClient);\n }\n if (options.metadata) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.setMetadata(options.metadata);\n }\n if (options.themeMode) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.setThemeMode(options.themeMode);\n }\n if (options.themeVariables) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.setThemeVariables(options.themeVariables);\n }\n }\n async initOrContinue() {\n if (!this.initPromise && !isInitialized && _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isClient()) {\n isInitialized = true;\n this.initPromise = new Promise(async (resolve) => {\n await Promise.all([Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\")), Promise.resolve(/*! import() */).then(__webpack_require__.bind(__webpack_require__, /*! ./modal/w3m-modal/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/index.js\"))]);\n const modal = document.createElement('w3m-modal');\n document.body.insertAdjacentElement('beforeend', modal);\n resolve();\n });\n }\n return this.initPromise;\n }\n}\n//# sourceMappingURL=client.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/client.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-account-button/index.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-account-button/index.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAccountButton: () => (/* binding */ W3mAccountButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mAccountButton = class W3mAccountButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.networkImages = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.networkImages;\n this.disabled = false;\n this.balance = 'show';\n this.address = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.address;\n this.balanceVal = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balance;\n this.balanceSymbol = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balanceSymbol;\n this.profileName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileName;\n this.profileImage = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileImage;\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribe(val => {\n if (val.isConnected) {\n this.address = val.address;\n this.balanceVal = val.balance;\n this.profileName = val.profileName;\n this.profileImage = val.profileImage;\n this.balanceSymbol = val.balanceSymbol;\n }\n else {\n this.address = '';\n this.balanceVal = '';\n this.profileName = '';\n this.profileImage = '';\n this.balanceSymbol = '';\n }\n }),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => (this.network = val))\n ]);\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n const networkImage = this.networkImages[this.network?.imageId ?? ''];\n const showBalance = this.balance === 'show';\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-account-button\n .disabled=${Boolean(this.disabled)}\n address=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.profileName ?? this.address)}\n ?isProfileName=${Boolean(this.profileName)}\n networkSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(networkImage)}\n avatarSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.profileImage)}\n balance=${showBalance\n ? _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatBalance(this.balanceVal, this.balanceSymbol)\n : ''}\n @click=${this.onClick.bind(this)}\n >\n </wui-account-button>\n `;\n }\n onClick() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.open();\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Boolean })\n], W3mAccountButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mAccountButton.prototype, \"balance\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountButton.prototype, \"address\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountButton.prototype, \"balanceVal\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountButton.prototype, \"balanceSymbol\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountButton.prototype, \"profileName\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountButton.prototype, \"profileImage\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountButton.prototype, \"network\", void 0);\nW3mAccountButton = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-account-button')\n], W3mAccountButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-account-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-button/index.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-button/index.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mButton: () => (/* binding */ W3mButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mButton = class W3mButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.disabled = false;\n this.balance = undefined;\n this.size = undefined;\n this.label = undefined;\n this.loadingLabel = undefined;\n this.isAccount = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.isConnected;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribeKey('isConnected', val => {\n this.isAccount = val;\n }));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return this.isAccount\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-account-button\n .disabled=${Boolean(this.disabled)}\n balance=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.balance)}\n >\n </w3m-account-button>\n `\n : (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-connect-button\n size=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.size)}\n label=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.label)}\n loadingLabel=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.loadingLabel)}\n ></w3m-connect-button>\n `;\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Boolean })\n], W3mButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"balance\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"label\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mButton.prototype, \"loadingLabel\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mButton.prototype, \"isAccount\", void 0);\nW3mButton = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-button')\n], W3mButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-connect-button/index.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-connect-button/index.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectButton: () => (/* binding */ W3mConnectButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mConnectButton = class W3mConnectButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.size = 'md';\n this.label = 'Connect Wallet';\n this.loadingLabel = 'Connecting...';\n this.open = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.state.open;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.subscribeKey('open', val => (this.open = val)));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-connect-button\n size=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.size)}\n .loading=${this.open}\n @click=${this.onClick.bind(this)}\n >\n ${this.open ? this.loadingLabel : this.label}\n </wui-connect-button>\n `;\n }\n onClick() {\n if (this.open) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.open();\n }\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectButton.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectButton.prototype, \"label\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectButton.prototype, \"loadingLabel\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mConnectButton.prototype, \"open\", void 0);\nW3mConnectButton = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connect-button')\n], W3mConnectButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-connect-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/index.js":
/*!********************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/index.js ***!
\********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mModal: () => (/* binding */ W3mModal)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nconst SCROLL_LOCK = 'scroll-lock';\nlet W3mModal = class W3mModal extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.abortController = undefined;\n this.open = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.state.open;\n this.initializeTheming();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.prefetch();\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.subscribeKey('open', val => (val ? this.onOpen() : this.onClose())));\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'MODAL_LOADED' });\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n this.onRemoveKeyboardListener();\n }\n render() {\n return this.open\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex @click=${this.onOverlayClick.bind(this)}>\n <wui-card role=\"alertdialog\" aria-modal=\"true\" tabindex=\"0\">\n <w3m-header></w3m-header>\n <w3m-router></w3m-router>\n <w3m-snackbar></w3m-snackbar>\n </wui-card>\n </wui-flex>\n `\n : null;\n }\n onOverlayClick(event) {\n if (event.target === event.currentTarget) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n }\n initializeTheming() {\n const { themeVariables, themeMode } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state;\n const defaultThemeMode = _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getColorTheme(themeMode);\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.initializeTheming)(themeVariables, defaultThemeMode);\n }\n async onClose() {\n this.onScrollUnlock();\n await this.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n easing: 'ease',\n fill: 'forwards'\n }).finished;\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.hide();\n this.open = false;\n this.onRemoveKeyboardListener();\n }\n async onOpen() {\n this.onScrollLock();\n this.open = true;\n await this.animate([{ opacity: 0 }, { opacity: 1 }], {\n duration: 200,\n easing: 'ease',\n fill: 'forwards',\n delay: 300\n }).finished;\n this.onAddKeyboardListener();\n }\n onScrollLock() {\n const styleTag = document.createElement('style');\n styleTag.dataset['w3m'] = SCROLL_LOCK;\n styleTag.textContent = `\n html, body {\n touch-action: none;\n overflow: hidden;\n overscroll-behavior: contain;\n }\n w3m-modal {\n pointer-events: auto;\n }\n `;\n document.head.appendChild(styleTag);\n }\n onScrollUnlock() {\n const styleTag = document.head.querySelector(`style[data-w3m=\"${SCROLL_LOCK}\"]`);\n if (styleTag) {\n styleTag.remove();\n }\n }\n onAddKeyboardListener() {\n this.abortController = new AbortController();\n const card = this.shadowRoot?.querySelector('wui-card');\n card?.focus();\n window.addEventListener('keydown', event => {\n if (event.key === 'Escape') {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n else if (event.key === 'Tab') {\n const { tagName } = event.target;\n if (tagName && !tagName.includes('W3M-') && !tagName.includes('WUI-')) {\n card?.focus();\n }\n }\n }, this.abortController);\n }\n onRemoveKeyboardListener() {\n this.abortController?.abort();\n this.abortController = undefined;\n }\n};\nW3mModal.styles = _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mModal.prototype, \"open\", void 0);\nW3mModal = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-modal')\n], W3mModal);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n z-index: var(--w3m-z-index);\n display: block;\n backface-visibility: hidden;\n will-change: opacity;\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n pointer-events: none;\n opacity: 0;\n background-color: var(--wui-cover);\n }\n\n @keyframes zoom-in {\n 0% {\n transform: scale(0.95) translateY(0);\n }\n 100% {\n transform: scale(1) translateY(0);\n }\n }\n\n @keyframes slide-in {\n 0% {\n transform: scale(1) translateY(50px);\n }\n 100% {\n transform: scale(1) translateY(0);\n }\n }\n\n wui-card {\n max-width: 360px;\n width: 100%;\n position: relative;\n animation-delay: 0.3s;\n animation-duration: 0.2s;\n animation-name: zoom-in;\n animation-fill-mode: backwards;\n animation-timing-function: var(--wui-ease-out-power-2);\n outline: none;\n }\n\n wui-flex {\n overflow-x: hidden;\n overflow-y: auto;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n }\n\n @media (max-height: 700px) and (min-width: 431px) {\n wui-flex {\n align-items: flex-start;\n }\n\n wui-card {\n margin: var(--wui-spacing-xxl) 0px;\n }\n }\n\n @media (max-width: 430px) {\n wui-flex {\n align-items: flex-end;\n }\n\n wui-card {\n max-width: 100%;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n border-bottom: none;\n animation-name: slide-in;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-modal/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-network-button/index.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-network-button/index.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mNetworkButton: () => (/* binding */ W3mNetworkButton)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mNetworkButton = class W3mNetworkButton extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.disabled = false;\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.connected = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.isConnected;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => (this.network = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribeKey('isConnected', val => (this.connected = val))\n ]);\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-network-button\n .disabled=${Boolean(this.disabled)}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getNetworkImage(this.network))}\n @click=${this.onClick.bind(this)}\n >\n ${this.network?.name ?? (this.connected ? 'Unknown Network' : 'Select Network')}\n </wui-network-button>\n `;\n }\n onClick() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.open({ view: 'Networks' });\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Boolean })\n], W3mNetworkButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworkButton.prototype, \"network\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworkButton.prototype, \"connected\", void 0);\nW3mNetworkButton = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-network-button')\n], W3mNetworkButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-network-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/index.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/index.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mRouter: () => (/* binding */ W3mRouter)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mRouter = class W3mRouter extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.resizeObserver = undefined;\n this.prevHeight = '0px';\n this.prevHistoryLength = 1;\n this.unsubscribe = [];\n this.view = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.view;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.subscribeKey('view', val => this.onViewChange(val)));\n }\n firstUpdated() {\n this.resizeObserver = new ResizeObserver(async ([content]) => {\n const height = `${content?.contentRect.height}px`;\n if (this.prevHeight !== '0px') {\n await this.animate([{ height: this.prevHeight }, { height }], {\n duration: 150,\n easing: 'ease',\n fill: 'forwards'\n }).finished;\n this.style.height = 'auto';\n }\n this.prevHeight = height;\n });\n this.resizeObserver.observe(this.getWrapper());\n }\n disconnectedCallback() {\n this.resizeObserver?.unobserve(this.getWrapper());\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<div>${this.viewTemplate()}</div>`;\n }\n viewTemplate() {\n switch (this.view) {\n case 'Connect':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connect-view></w3m-connect-view>`;\n case 'ConnectingWalletConnect':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-wc-view></w3m-connecting-wc-view>`;\n case 'ConnectingExternal':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-external-view></w3m-connecting-external-view>`;\n case 'ConnectingSiwe':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-siwe-view></w3m-connecting-siwe-view>`;\n case 'AllWallets':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-all-wallets-view></w3m-all-wallets-view>`;\n case 'Networks':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-networks-view></w3m-networks-view>`;\n case 'SwitchNetwork':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-network-switch-view></w3m-network-switch-view>`;\n case 'Account':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-account-view></w3m-account-view>`;\n case 'WhatIsAWallet':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-what-is-a-wallet-view></w3m-what-is-a-wallet-view>`;\n case 'WhatIsANetwork':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-what-is-a-network-view></w3m-what-is-a-network-view>`;\n case 'GetWallet':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-get-wallet-view></w3m-get-wallet-view>`;\n case 'Downloads':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-downloads-view></w3m-downloads-view>`;\n case 'Transactions':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-transactions-view></w3m-transactions-view>`;\n default:\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connect-view></w3m-connect-view>`;\n }\n }\n async onViewChange(newView) {\n const { history } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state;\n let xOut = -10;\n let xIn = 10;\n if (history.length < this.prevHistoryLength) {\n xOut = 10;\n xIn = -10;\n }\n this.prevHistoryLength = history.length;\n await this.animate([\n { opacity: 1, transform: 'translateX(0px)' },\n { opacity: 0, transform: `translateX(${xOut}px)` }\n ], { duration: 150, easing: 'ease', fill: 'forwards' }).finished;\n this.view = newView;\n await this.animate([\n { opacity: 0, transform: `translateX(${xIn}px)` },\n { opacity: 1, transform: 'translateX(0px)' }\n ], { duration: 150, easing: 'ease', fill: 'forwards', delay: 50 }).finished;\n }\n getWrapper() {\n return this.shadowRoot?.querySelector('div');\n }\n};\nW3mRouter.styles = _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mRouter.prototype, \"view\", void 0);\nW3mRouter = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-router')\n], W3mRouter);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n will-change: transform, opacity;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/modal/w3m-router/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/index.js":
/*!**********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/index.js ***!
\**********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAllWalletsList: () => (/* binding */ W3mAllWalletsList)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nconst PAGINATOR_ID = 'local-paginator';\nlet W3mAllWalletsList = class W3mAllWalletsList extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.paginationObserver = undefined;\n this.initial = !_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.wallets.length;\n this.wallets = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.wallets;\n this.recommended = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.recommended;\n this.featured = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.featured;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.subscribeKey('wallets', val => (this.wallets = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.subscribeKey('recommended', val => (this.recommended = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.subscribeKey('featured', val => (this.featured = val))\n ]);\n }\n firstUpdated() {\n this.initialFetch();\n this.createPaginationObserver();\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n this.paginationObserver?.disconnect();\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-grid\n data-scroll=${!this.initial}\n .padding=${['0', 's', 's', 's']}\n columnGap=\"xxs\"\n rowGap=\"l\"\n justifyContent=\"space-between\"\n >\n ${this.initial ? this.shimmerTemplate(16) : this.walletsTemplate()}\n ${this.paginationLoaderTemplate()}\n </wui-grid>\n `;\n }\n async initialFetch() {\n const gridEl = this.shadowRoot?.querySelector('wui-grid');\n if (this.initial && gridEl) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.fetchWallets({ page: 1 });\n await gridEl.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n }).finished;\n this.initial = false;\n gridEl.animate([{ opacity: 0 }, { opacity: 1 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n shimmerTemplate(items, id) {\n return [...Array(items)].map(() => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-card-select-loader type=\"wallet\" id=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(id)}></wui-card-select-loader>\n `);\n }\n walletsTemplate() {\n const wallets = [...this.featured, ...this.recommended, ...this.wallets];\n return wallets.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-card-select\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n type=\"wallet\"\n name=${wallet.name}\n @click=${() => this.onConnectWallet(wallet)}\n ></wui-card-select>\n `);\n }\n paginationLoaderTemplate() {\n const { wallets, recommended, featured, count } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n const columns = window.innerWidth < 352 ? 3 : 4;\n const currentWallets = wallets.length + recommended.length;\n const minimumRows = Math.ceil(currentWallets / columns);\n let shimmerCount = minimumRows * columns - currentWallets + columns;\n shimmerCount -= wallets.length ? featured.length % columns : 0;\n if (count === 0 || [...featured, ...wallets, ...recommended].length < count) {\n return this.shimmerTemplate(shimmerCount, PAGINATOR_ID);\n }\n return null;\n }\n createPaginationObserver() {\n const loaderEl = this.shadowRoot?.querySelector(`#${PAGINATOR_ID}`);\n if (loaderEl) {\n this.paginationObserver = new IntersectionObserver(([element]) => {\n if (element?.isIntersecting && !this.initial) {\n const { page, count, wallets } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n if (wallets.length < count) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.fetchWallets({ page: page + 1 });\n }\n }\n });\n this.paginationObserver.observe(loaderEl);\n }\n }\n onConnectWallet(wallet) {\n const { connectors } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state;\n const connector = connectors.find(({ explorerId }) => explorerId === wallet.id);\n if (connector) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingExternal', { connector });\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingWalletConnect', { wallet });\n }\n }\n};\nW3mAllWalletsList.styles = _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAllWalletsList.prototype, \"initial\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAllWalletsList.prototype, \"wallets\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAllWalletsList.prototype, \"recommended\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAllWalletsList.prototype, \"featured\", void 0);\nW3mAllWalletsList = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-all-wallets-list')\n], W3mAllWalletsList);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-grid {\n max-height: clamp(360px, 400px, 80vh);\n overflow: scroll;\n scrollbar-width: none;\n grid-auto-rows: min-content;\n grid-template-columns: repeat(auto-fill, 76px);\n }\n\n @media (max-width: 435px) {\n wui-grid {\n grid-template-columns: repeat(auto-fill, 77px);\n }\n }\n\n wui-grid[data-scroll='false'] {\n overflow: hidden;\n }\n\n wui-grid::-webkit-scrollbar {\n display: none;\n }\n\n wui-loading-spinner {\n padding-top: var(--wui-spacing-l);\n padding-bottom: var(--wui-spacing-l);\n justify-content: center;\n grid-column: 1 / span 4;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-list/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/index.js":
/*!************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/index.js ***!
\************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAllWalletsSearch: () => (/* binding */ W3mAllWalletsSearch)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mAllWalletsSearch = class W3mAllWalletsSearch extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.prevQuery = '';\n this.loading = true;\n this.query = '';\n }\n render() {\n this.onSearch();\n return this.loading\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-loading-spinner color=\"accent-100\"></wui-loading-spinner>`\n : this.walletsTemplate();\n }\n async onSearch() {\n if (this.query !== this.prevQuery) {\n this.prevQuery = this.query;\n this.loading = true;\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.searchWallet({ search: this.query });\n this.loading = false;\n }\n }\n walletsTemplate() {\n const { search } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n if (!search.length) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex justifyContent=\"center\" alignItems=\"center\" gap=\"s\" flexDirection=\"column\">\n <wui-icon-box\n size=\"lg\"\n iconColor=\"fg-200\"\n backgroundColor=\"fg-300\"\n icon=\"wallet\"\n background=\"transparent\"\n ></wui-icon-box>\n <wui-text color=\"fg-200\" variant=\"paragraph-500\">No Wallet found</wui-text>\n </wui-flex>\n `;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-grid\n .padding=${['0', 's', 's', 's']}\n gridTemplateColumns=\"repeat(4, 1fr)\"\n rowGap=\"l\"\n columnGap=\"xs\"\n >\n ${search.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-card-select\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n type=\"wallet\"\n name=${wallet.name}\n @click=${() => this.onConnectWallet(wallet)}\n ></wui-card-select>\n `)}\n </wui-grid>\n `;\n }\n onConnectWallet(wallet) {\n const { connectors } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state;\n const connector = connectors.find(({ explorerId }) => explorerId === wallet.id);\n if (connector) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingExternal', { connector });\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingWalletConnect', { wallet });\n }\n }\n};\nW3mAllWalletsSearch.styles = _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAllWalletsSearch.prototype, \"loading\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mAllWalletsSearch.prototype, \"query\", void 0);\nW3mAllWalletsSearch = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-all-wallets-search')\n], W3mAllWalletsSearch);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js":
/*!*************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js ***!
\*************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-grid,\n wui-loading-spinner,\n wui-flex {\n height: 360px;\n }\n\n wui-grid {\n overflow: scroll;\n scrollbar-width: none;\n grid-auto-rows: min-content;\n }\n\n wui-grid[data-scroll='false'] {\n overflow: hidden;\n }\n\n wui-grid::-webkit-scrollbar {\n display: none;\n }\n\n wui-loading-spinner {\n justify-content: center;\n align-items: center;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-all-wallets-search/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-header/index.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-header/index.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingHeader: () => (/* binding */ W3mConnectingHeader)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingHeader = class W3mConnectingHeader extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.platformTabs = [];\n this.unsubscribe = [];\n this.platforms = [];\n this.onSelectPlatfrom = undefined;\n this.buffering = false;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('buffering', val => (this.buffering = val)));\n }\n disconnectCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n const tabs = this.generateTabs();\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex justifyContent=\"center\" .padding=${['l', '0', '0', '0']}>\n <wui-tabs\n ?disabled=${this.buffering}\n .tabs=${tabs}\n .onTabChange=${this.onTabChange.bind(this)}\n ></wui-tabs>\n </wui-flex>\n `;\n }\n generateTabs() {\n const tabs = this.platforms.map(platform => {\n if (platform === 'browser') {\n return { label: 'Browser', icon: 'extension', platform: 'browser' };\n }\n else if (platform === 'mobile') {\n return { label: 'Mobile', icon: 'mobile', platform: 'mobile' };\n }\n else if (platform === 'qrcode') {\n return { label: 'Mobile', icon: 'mobile', platform: 'qrcode' };\n }\n else if (platform === 'web') {\n return { label: 'Webapp', icon: 'browser', platform: 'web' };\n }\n else if (platform === 'desktop') {\n return { label: 'Desktop', icon: 'desktop', platform: 'desktop' };\n }\n return { label: 'Browser', icon: 'extension', platform: 'unsupported' };\n });\n this.platformTabs = tabs.map(({ platform }) => platform);\n return tabs;\n }\n onTabChange(index) {\n const tab = this.platformTabs[index];\n if (tab) {\n this.onSelectPlatfrom?.(tab);\n }\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Array })\n], W3mConnectingHeader.prototype, \"platforms\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)()\n], W3mConnectingHeader.prototype, \"onSelectPlatfrom\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mConnectingHeader.prototype, \"buffering\", void 0);\nW3mConnectingHeader = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-header')\n], W3mConnectingHeader);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-header/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/index.js":
/*!*********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/index.js ***!
\*********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingSiwe: () => (/* binding */ W3mConnectingSiwe)\n/* harmony export */ });\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js\");\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingSiwe = class W3mConnectingSiwe extends lit__WEBPACK_IMPORTED_MODULE_1__.LitElement {\n constructor() {\n super(...arguments);\n this.dappImageUrl = _web3modal_core__WEBPACK_IMPORTED_MODULE_3__.OptionsController.state.metadata?.icons;\n this.walletImageUrl = _web3modal_core__WEBPACK_IMPORTED_MODULE_3__.StorageUtil.getConnectedWalletImageUrl();\n }\n firstUpdated() {\n const visuals = this.shadowRoot?.querySelectorAll('wui-visual-thumbnail');\n if (visuals?.[0]) {\n this.createAnimation(visuals[0], 'translate(18px)');\n }\n if (visuals?.[1]) {\n this.createAnimation(visuals[1], 'translate(-18px)');\n }\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-visual-thumbnail\n ?borderRadiusFull=${true}\n .imageSrc=${this.dappImageUrl?.[0]}\n ></wui-visual-thumbnail>\n <wui-visual-thumbnail .imageSrc=${this.walletImageUrl}></wui-visual-thumbnail>\n `;\n }\n createAnimation(element, translation) {\n element.animate([{ transform: 'translateX(0px)' }, { transform: translation }], {\n duration: 1600,\n easing: 'cubic-bezier(0.56, 0, 0.48, 1)',\n direction: 'alternate',\n iterations: Infinity\n });\n }\n};\nW3mConnectingSiwe.styles = _styles_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"];\nW3mConnectingSiwe = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_0__.customElement)('w3m-connecting-siwe')\n], W3mConnectingSiwe);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js":
/*!**********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js ***!
\**********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n justify-content: center;\n gap: var(--wui-spacing-2xl);\n }\n\n wui-visual-thumbnail:nth-child(1) {\n z-index: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-siwe/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-browser/index.js":
/*!***************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-browser/index.js ***!
\***************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcBrowser: () => (/* binding */ W3mConnectingWcBrowser)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcBrowser = class W3mConnectingWcBrowser extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-browser: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.onAutoConnect = this.onConnectProxy.bind(this);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'browser' }\n });\n }\n async onConnectProxy() {\n try {\n this.error = false;\n const { connectors } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state;\n const announcedConnector = connectors.find(c => c.type === 'ANNOUNCED' && c.info?.rdns === this.wallet?.rdns);\n const injectedConnector = connectors.find(c => c.type === 'INJECTED');\n if (announcedConnector) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectExternal(announcedConnector);\n }\n else if (injectedConnector) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectExternal(injectedConnector);\n }\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_SUCCESS',\n properties: { method: 'browser' }\n });\n }\n catch (error) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_ERROR',\n properties: { message: error?.message ?? 'Unknown' }\n });\n this.error = true;\n }\n }\n};\nW3mConnectingWcBrowser = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-browser')\n], W3mConnectingWcBrowser);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-browser/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-desktop/index.js":
/*!***************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-desktop/index.js ***!
\***************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcDesktop: () => (/* binding */ W3mConnectingWcDesktop)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcDesktop = class W3mConnectingWcDesktop extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-desktop: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.onRender = this.onRenderProxy.bind(this);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'desktop' }\n });\n }\n onRenderProxy() {\n if (!this.ready && this.uri) {\n this.ready = true;\n this.timeout = setTimeout(() => {\n this.onConnect?.();\n }, 200);\n }\n }\n onConnectProxy() {\n if (this.wallet?.desktop_link && this.uri) {\n try {\n this.error = false;\n const { desktop_link, name } = this.wallet;\n const { redirect, href } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatNativeUrl(desktop_link, this.uri);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking({ name, href });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setRecentWallet(this.wallet);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(redirect, '_self');\n }\n catch {\n this.error = true;\n }\n }\n }\n};\nW3mConnectingWcDesktop = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-desktop')\n], W3mConnectingWcDesktop);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-desktop/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-mobile/index.js":
/*!**************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-mobile/index.js ***!
\**************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcMobile: () => (/* binding */ W3mConnectingWcMobile)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcMobile = class W3mConnectingWcMobile extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-mobile: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.onRender = this.onRenderProxy.bind(this);\n document.addEventListener('visibilitychange', this.onBuffering.bind(this));\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'mobile' }\n });\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n document.removeEventListener('visibilitychange', this.onBuffering.bind(this));\n }\n onRenderProxy() {\n if (!this.ready && this.uri) {\n this.ready = true;\n this.onConnect?.();\n }\n }\n onConnectProxy() {\n if (this.wallet?.mobile_link && this.uri) {\n try {\n this.error = false;\n const { mobile_link, name } = this.wallet;\n const { redirect, href } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatNativeUrl(mobile_link, this.uri);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking({ name, href });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setRecentWallet(this.wallet);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(redirect, '_self');\n }\n catch {\n this.error = true;\n }\n }\n }\n onBuffering() {\n const isIos = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isIos();\n if (document?.visibilityState === 'visible' && !this.error && isIos) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setBuffering(true);\n setTimeout(() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setBuffering(false);\n }, 5000);\n }\n }\n};\nW3mConnectingWcMobile = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-mobile')\n], W3mConnectingWcMobile);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-mobile/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/index.js":
/*!**************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/index.js ***!
\**************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcQrcode: () => (/* binding */ W3mConnectingWcQrcode)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mConnectingWcQrcode = class W3mConnectingWcQrcode extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_4__.W3mConnectingWidget {\n constructor() {\n super();\n this.forceUpdate = () => {\n this.requestUpdate();\n };\n window.addEventListener('resize', this.forceUpdate);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet?.name ?? 'WalletConnect', platform: 'qrcode' }\n });\n }\n disconnectedCallback() {\n super.disconnectedCallback();\n window.removeEventListener('resize', this.forceUpdate);\n }\n render() {\n this.onRenderProxy();\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex padding=\"xl\" flexDirection=\"column\" gap=\"xl\" alignItems=\"center\">\n <wui-shimmer borderRadius=\"l\" width=\"100%\"> ${this.qrCodeTemplate()} </wui-shimmer>\n\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">\n Scan this QR Code with your phone\n </wui-text>\n\n <wui-link @click=${this.onCopyUri} color=\"fg-200\">\n <wui-icon size=\"sm\" color=\"fg-200\" slot=\"iconLeft\" name=\"copy\"></wui-icon>\n Copy Link\n </wui-link>\n </wui-flex>\n\n <w3m-mobile-download-links .wallet=${this.wallet}></w3m-mobile-download-links>\n `;\n }\n onRenderProxy() {\n if (!this.ready && this.uri) {\n this.timeout = setTimeout(() => {\n this.ready = true;\n }, 200);\n }\n }\n qrCodeTemplate() {\n if (!this.uri || !this.ready) {\n return null;\n }\n const size = this.getBoundingClientRect().width - 40;\n const alt = this.wallet ? this.wallet.name : undefined;\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking(undefined);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setRecentWallet(this.wallet);\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-qr-code\n size=${size}\n theme=${_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state.themeMode}\n uri=${this.uri}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(this.wallet))}\n alt=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(alt)}\n ></wui-qr-code>`;\n }\n};\nW3mConnectingWcQrcode.styles = _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\nW3mConnectingWcQrcode = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-qrcode')\n], W3mConnectingWcQrcode);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js":
/*!***************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js ***!
\***************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n @keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n\n wui-shimmer {\n width: 100%;\n aspect-ratio: 1 / 1;\n border-radius: clamp(0px, var(--wui-border-radius-l), 40px) !important;\n }\n\n wui-qr-code {\n opacity: 0;\n animation-duration: 200ms;\n animation-timing-function: ease;\n animation-name: fadein;\n animation-fill-mode: forwards;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-qrcode/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-unsupported/index.js":
/*!*******************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-unsupported/index.js ***!
\*******************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcUnsupported: () => (/* binding */ W3mConnectingWcUnsupported)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingWcUnsupported = class W3mConnectingWcUnsupported extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-unsupported: No wallet provided');\n }\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'browser' }\n });\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n flexDirection=\"column\"\n alignItems=\"center\"\n .padding=${['3xl', 'xl', 'xl', 'xl']}\n gap=\"xl\"\n >\n <wui-wallet-image\n size=\"lg\"\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(this.wallet))}\n ></wui-wallet-image>\n\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Not Detected</wui-text>\n </wui-flex>\n\n <w3m-mobile-download-links .wallet=${this.wallet}></w3m-mobile-download-links>\n `;\n }\n};\nW3mConnectingWcUnsupported = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-unsupported')\n], W3mConnectingWcUnsupported);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-unsupported/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-web/index.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-web/index.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcWeb: () => (/* binding */ W3mConnectingWcWeb)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingWcWeb = class W3mConnectingWcWeb extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-web: No wallet provided');\n }\n this.onConnect = this.onConnectProxy.bind(this);\n this.secondaryBtnLabel = 'Open';\n this.secondaryLabel = 'Open and continue in a new browser tab';\n this.secondaryBtnIcon = 'externalLink';\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: { name: this.wallet.name, platform: 'web' }\n });\n }\n onConnectProxy() {\n if (this.wallet?.webapp_link && this.uri) {\n try {\n this.error = false;\n const { webapp_link, name } = this.wallet;\n const { redirect, href } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatUniversalUrl(webapp_link, this.uri);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcLinking({ name, href });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setRecentWallet(this.wallet);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(redirect, '_blank');\n }\n catch {\n this.error = true;\n }\n }\n }\n};\nW3mConnectingWcWeb = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-web')\n], W3mConnectingWcWeb);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-connecting-wc-web/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/index.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/index.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mHeader: () => (/* binding */ W3mHeader)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nfunction headings() {\n const connectorName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.connector?.name;\n const walletName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet?.name;\n const networkName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.network?.name;\n const name = walletName ?? connectorName;\n return {\n Connect: 'Connect Wallet',\n Account: undefined,\n ConnectingExternal: name ?? 'Connect Wallet',\n ConnectingWalletConnect: name ?? 'WalletConnect',\n ConnectingSiwe: 'Sign In',\n Networks: 'Choose Network',\n SwitchNetwork: networkName ?? 'Switch Network',\n AllWallets: 'All Wallets',\n WhatIsANetwork: 'What is a network?',\n WhatIsAWallet: 'What is a wallet?',\n GetWallet: 'Get a Wallet',\n Downloads: name ? `Get ${name}` : 'Downloads',\n Transactions: 'Activity'\n };\n}\nlet W3mHeader = class W3mHeader extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.heading = headings()[_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.view];\n this.buffering = false;\n this.showBack = false;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.subscribeKey('view', val => {\n this.onViewChange(val);\n this.onHistoryChange();\n }), _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('buffering', val => (this.buffering = val)));\n }\n disconnectCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex .padding=${this.getPadding()} justifyContent=\"space-between\" alignItems=\"center\">\n ${this.dynamicButtonTemplate()} ${this.titleTemplate()}\n <wui-icon-link\n ?disabled=${this.buffering}\n icon=\"close\"\n @click=${_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close}\n ></wui-icon-link>\n </wui-flex>\n ${this.separatorTemplate()}\n `;\n }\n onWalletHelp() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'CLICK_WALLET_HELP' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('WhatIsAWallet');\n }\n titleTemplate() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-text variant=\"paragraph-700\" color=\"fg-100\">${this.heading}</wui-text>`;\n }\n dynamicButtonTemplate() {\n const { view } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state;\n const isConnectHelp = view === 'Connect';\n if (this.showBack) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-icon-link\n id=\"dynamic\"\n icon=\"chevronLeft\"\n ?disabled=${this.buffering}\n @click=${_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.goBack}\n ></wui-icon-link>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-icon-link\n data-hidden=${!isConnectHelp}\n id=\"dynamic\"\n icon=\"helpCircle\"\n @click=${this.onWalletHelp.bind(this)}\n ></wui-icon-link>`;\n }\n separatorTemplate() {\n if (!this.heading) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-separator></wui-separator>`;\n }\n getPadding() {\n if (this.heading) {\n return ['l', '2l', 'l', '2l'];\n }\n return ['l', '2l', '0', '2l'];\n }\n async onViewChange(view) {\n const headingEl = this.shadowRoot?.querySelector('wui-text');\n if (headingEl) {\n const preset = headings()[view];\n await headingEl.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n }).finished;\n this.heading = preset;\n headingEl.animate([{ opacity: 0 }, { opacity: 1 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n async onHistoryChange() {\n const { history } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state;\n const buttonEl = this.shadowRoot?.querySelector('#dynamic');\n if (history.length > 1 && !this.showBack && buttonEl) {\n await buttonEl.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n }).finished;\n this.showBack = true;\n buttonEl.animate([{ opacity: 0 }, { opacity: 1 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n else if (history.length <= 1 && this.showBack && buttonEl) {\n await buttonEl.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n }).finished;\n this.showBack = false;\n buttonEl.animate([{ opacity: 0 }, { opacity: 1 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n};\nW3mHeader.styles = [_styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mHeader.prototype, \"heading\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mHeader.prototype, \"buffering\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mHeader.prototype, \"showBack\", void 0);\nW3mHeader = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-header')\n], W3mHeader);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-icon-link[data-hidden='true'] {\n opacity: 0 !important;\n pointer-events: none;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-header/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-help-widget/index.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-help-widget/index.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mHelpWidget: () => (/* binding */ W3mHelpWidget)\n/* harmony export */ });\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mHelpWidget = class W3mHelpWidget extends lit__WEBPACK_IMPORTED_MODULE_1__.LitElement {\n constructor() {\n super(...arguments);\n this.data = [];\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"l\">\n ${this.data.map(item => (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"xl\">\n <wui-flex flexDirection=\"row\" justifyContent=\"center\" gap=\"1xs\">\n ${item.images.map(image => (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `<wui-visual name=${image}></wui-visual>`)}\n </wui-flex>\n </wui-flex>\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"xxs\">\n <wui-text variant=\"paragraph-500\" color=\"fg-100\" align=\"center\">\n ${item.title}\n </wui-text>\n <wui-text variant=\"small-500\" color=\"fg-200\" align=\"center\">${item.text}</wui-text>\n </wui-flex>\n `)}\n </wui-flex>\n `;\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.property)({ type: Array })\n], W3mHelpWidget.prototype, \"data\", void 0);\nW3mHelpWidget = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_0__.customElement)('w3m-help-widget')\n], W3mHelpWidget);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-help-widget/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/index.js":
/*!******************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/index.js ***!
\******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mLegalFooter: () => (/* binding */ W3mLegalFooter)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mLegalFooter = class W3mLegalFooter extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n const { termsConditionsUrl, privacyPolicyUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!termsConditionsUrl && !privacyPolicyUrl) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex .padding=${['m', 's', 's', 's']} justifyContent=\"center\">\n <wui-text color=\"fg-250\" variant=\"small-500\" align=\"center\">\n By connecting your wallet, you agree to our <br />\n ${this.termsTemplate()} ${this.andTemplate()} ${this.privacyTemplate()}\n </wui-text>\n </wui-flex>\n `;\n }\n andTemplate() {\n const { termsConditionsUrl, privacyPolicyUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n return termsConditionsUrl && privacyPolicyUrl ? 'and' : '';\n }\n termsTemplate() {\n const { termsConditionsUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!termsConditionsUrl) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<a href=${termsConditionsUrl}>Terms of Service</a>`;\n }\n privacyTemplate() {\n const { privacyPolicyUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!privacyPolicyUrl) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<a href=${privacyPolicyUrl}>Privacy Policy</a>`;\n }\n};\nW3mLegalFooter.styles = [_styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\nW3mLegalFooter = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-legal-footer')\n], W3mLegalFooter);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js ***!
\*******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n background-color: var(--wui-gray-glass-005);\n }\n\n a {\n text-decoration: none;\n color: var(--wui-color-fg-175);\n font-weight: 600;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-legal-footer/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/index.js":
/*!***************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/index.js ***!
\***************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mMobileDownloadLinks: () => (/* binding */ W3mMobileDownloadLinks)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mMobileDownloadLinks = class W3mMobileDownloadLinks extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.wallet = undefined;\n }\n render() {\n if (!this.wallet) {\n this.style.display = 'none';\n return null;\n }\n const { name, app_store, play_store, chrome_store, homepage } = this.wallet;\n const isMobile = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile();\n const isIos = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isIos();\n const isAndroid = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isAndroid();\n const isMultiple = [app_store, play_store, homepage, chrome_store].filter(Boolean).length > 1;\n const shortName = _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: name,\n charsStart: 12,\n charsEnd: 0,\n truncate: 'end'\n });\n if (isMultiple && !isMobile) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${() => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('Downloads', { wallet: this.wallet })}\n ></wui-cta-button>\n `;\n }\n if (!isMultiple && homepage) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${this.onHomePage.bind(this)}\n ></wui-cta-button>\n `;\n }\n if (app_store && isIos) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${this.onAppStore.bind(this)}\n ></wui-cta-button>\n `;\n }\n if (play_store && isAndroid) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-cta-button\n label=${`Don't have ${shortName}?`}\n buttonLabel=\"Get\"\n @click=${this.onPlayStore.bind(this)}\n ></wui-cta-button>\n `;\n }\n this.style.display = 'none';\n return null;\n }\n onAppStore() {\n if (this.wallet?.app_store) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.app_store, '_blank');\n }\n }\n onPlayStore() {\n if (this.wallet?.play_store) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.play_store, '_blank');\n }\n }\n onHomePage() {\n if (this.wallet?.homepage) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.homepage, '_blank');\n }\n }\n};\nW3mMobileDownloadLinks.styles = [_styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.property)({ type: Object })\n], W3mMobileDownloadLinks.prototype, \"wallet\", void 0);\nW3mMobileDownloadLinks = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-mobile-download-links')\n], W3mMobileDownloadLinks);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js":
/*!****************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js ***!
\****************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n padding: 0 var(--wui-spacing-xl) var(--wui-spacing-xl);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-mobile-download-links/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/index.js":
/*!**************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/index.js ***!
\**************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mSnackBar: () => (/* binding */ W3mSnackBar)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nconst presets = {\n success: {\n backgroundColor: 'success-100',\n iconColor: 'success-100',\n icon: 'checkmark'\n },\n error: {\n backgroundColor: 'error-100',\n iconColor: 'error-100',\n icon: 'close'\n }\n};\nlet W3mSnackBar = class W3mSnackBar extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.timeout = undefined;\n this.open = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.state.open;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.subscribeKey('open', val => {\n this.open = val;\n this.onOpen();\n }));\n }\n disconnectedCallback() {\n clearTimeout(this.timeout);\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n const { message, variant } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.state;\n const preset = presets[variant];\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-snackbar\n message=${message}\n backgroundColor=${preset.backgroundColor}\n iconColor=${preset.iconColor}\n icon=${preset.icon}\n ></wui-snackbar>\n `;\n }\n onOpen() {\n clearTimeout(this.timeout);\n if (this.open) {\n this.animate([\n { opacity: 0, transform: 'translateX(-50%) scale(0.85)' },\n { opacity: 1, transform: 'translateX(-50%) scale(1)' }\n ], {\n duration: 150,\n fill: 'forwards',\n easing: 'ease'\n });\n this.timeout = setTimeout(() => _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.hide(), 2500);\n }\n else {\n this.animate([\n { opacity: 1, transform: 'translateX(-50%) scale(1)' },\n { opacity: 0, transform: 'translateX(-50%) scale(0.85)' }\n ], {\n duration: 150,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n};\nW3mSnackBar.styles = _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mSnackBar.prototype, \"open\", void 0);\nW3mSnackBar = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-snackbar')\n], W3mSnackBar);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n position: absolute;\n opacity: 0;\n pointer-events: none;\n top: 11px;\n left: 50%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/partials/w3m-snackbar/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js":
/*!********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js ***!
\********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWidget: () => (/* binding */ W3mConnectingWidget)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nclass W3mConnectingWidget extends lit__WEBPACK_IMPORTED_MODULE_1__.LitElement {\n constructor() {\n super();\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n this.connector = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.connector;\n this.timeout = undefined;\n this.secondaryBtnLabel = 'Try again';\n this.secondaryBtnIcon = 'refresh';\n this.secondaryLabel = 'Accept connection request in the wallet';\n this.onConnect = undefined;\n this.onRender = undefined;\n this.onAutoConnect = undefined;\n this.isWalletConnect = true;\n this.unsubscribe = [];\n this.imageSrc = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(this.wallet) ?? _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(this.connector);\n this.name = this.wallet?.name ?? this.connector?.name ?? 'Wallet';\n this.isRetrying = false;\n this.uri = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state.wcUri;\n this.error = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state.wcError;\n this.ready = false;\n this.showRetry = false;\n this.buffering = false;\n this.isMobile = false;\n this.onRetry = undefined;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('wcUri', val => {\n this.uri = val;\n if (this.isRetrying && this.onRetry) {\n this.isRetrying = false;\n this.onConnect?.();\n }\n }),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('wcError', val => (this.error = val)),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.subscribeKey('buffering', val => (this.buffering = val))\n ]);\n }\n firstUpdated() {\n this.onAutoConnect?.();\n this.showRetry = !this.onAutoConnect;\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n clearTimeout(this.timeout);\n }\n render() {\n this.onRender?.();\n this.onShowRetry();\n const subLabel = this.error\n ? 'Connection can be declined if a previous request is still active'\n : this.secondaryLabel;\n let label = `Continue in ${this.name}`;\n if (this.buffering) {\n label = 'Connecting...';\n }\n if (this.error) {\n label = 'Connection declined';\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-flex\n data-error=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(this.error)}\n data-retry=${this.showRetry}\n flexDirection=\"column\"\n alignItems=\"center\"\n .padding=${['3xl', 'xl', 'xl', 'xl']}\n gap=\"xl\"\n >\n <wui-flex justifyContent=\"center\" alignItems=\"center\">\n <wui-wallet-image size=\"lg\" imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(this.imageSrc)}></wui-wallet-image>\n\n ${this.error ? null : this.loaderTemplate()}\n\n <wui-icon-box\n backgroundColor=\"error-100\"\n background=\"opaque\"\n iconColor=\"error-100\"\n icon=\"close\"\n size=\"sm\"\n border\n borderColor=\"wui-color-bg-125\"\n ></wui-icon-box>\n </wui-flex>\n\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"xs\">\n <wui-text variant=\"paragraph-500\" color=${this.error ? 'error-100' : 'fg-100'}>\n ${label}\n </wui-text>\n <wui-text align=\"center\" variant=\"small-500\" color=\"fg-200\">${subLabel}</wui-text>\n </wui-flex>\n\n <wui-button\n variant=\"accent\"\n ?disabled=${!this.error && this.buffering}\n @click=${this.onTryAgain.bind(this)}\n >\n <wui-icon color=\"inherit\" slot=\"iconLeft\" name=${this.secondaryBtnIcon}></wui-icon>\n ${this.secondaryBtnLabel}\n </wui-button>\n </wui-flex>\n\n ${this.isWalletConnect\n ? (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `\n <wui-flex .padding=${['0', 'xl', 'xl', 'xl']} justifyContent=\"center\">\n <wui-link @click=${this.onCopyUri} color=\"fg-200\">\n <wui-icon size=\"sm\" color=\"fg-200\" slot=\"iconLeft\" name=\"copy\"></wui-icon>\n Copy Link\n </wui-link>\n </wui-flex>\n `\n : null}\n\n <w3m-mobile-download-links .wallet=${this.wallet}></w3m-mobile-download-links>\n `;\n }\n onShowRetry() {\n if (this.error && !this.showRetry) {\n this.showRetry = true;\n const retryButton = this.shadowRoot?.querySelector('wui-button');\n retryButton.animate([{ opacity: 0 }, { opacity: 1 }], {\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n onTryAgain() {\n if (!this.buffering) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcError(false);\n if (this.onRetry) {\n this.isRetrying = true;\n this.onRetry?.();\n }\n else {\n this.onConnect?.();\n }\n }\n }\n loaderTemplate() {\n const borderRadiusMaster = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ThemeController.state.themeVariables['--w3m-border-radius-master'];\n const radius = borderRadiusMaster ? parseInt(borderRadiusMaster.replace('px', ''), 10) : 4;\n return (0,lit__WEBPACK_IMPORTED_MODULE_1__.html) `<wui-loading-thumbnail radius=${radius * 9}></wui-loading-thumbnail>`;\n }\n onCopyUri() {\n try {\n if (this.uri) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.copyToClopboard(this.uri);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.showSuccess('Link copied');\n }\n }\n catch {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.showError('Failed to copy');\n }\n }\n}\nW3mConnectingWidget.styles = _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.state)()\n], W3mConnectingWidget.prototype, \"uri\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.state)()\n], W3mConnectingWidget.prototype, \"error\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.state)()\n], W3mConnectingWidget.prototype, \"ready\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.state)()\n], W3mConnectingWidget.prototype, \"showRetry\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.state)()\n], W3mConnectingWidget.prototype, \"buffering\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.property)({ type: Boolean })\n], W3mConnectingWidget.prototype, \"isMobile\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_2__.property)()\n], W3mConnectingWidget.prototype, \"onRetry\", void 0);\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js":
/*!*********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js ***!
\*********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n @keyframes shake {\n 0% {\n transform: translateX(0);\n }\n 25% {\n transform: translateX(3px);\n }\n 50% {\n transform: translateX(-3px);\n }\n 75% {\n transform: translateX(3px);\n }\n 100% {\n transform: translateX(0);\n }\n }\n\n wui-flex:first-child:not(:only-child) {\n position: relative;\n }\n\n wui-loading-thumbnail {\n position: absolute;\n }\n\n wui-icon-box {\n position: absolute;\n right: calc(var(--wui-spacing-3xs) * -1);\n bottom: calc(var(--wui-spacing-3xs) * -1);\n opacity: 0;\n transform: scale(0.5);\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n wui-text[align='center'] {\n width: 100%;\n padding: 0px var(--wui-spacing-l);\n }\n\n [data-error='true'] wui-icon-box {\n opacity: 1;\n transform: scale(1);\n }\n\n [data-error='true'] > wui-flex:first-child {\n animation: shake 250ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;\n }\n\n [data-retry='false'] wui-link {\n display: none;\n }\n\n [data-retry='true'] wui-link {\n display: block;\n opacity: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/index.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/index.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAccountView: () => (/* binding */ W3mAccountView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mAccountView = class W3mAccountView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.usubscribe = [];\n this.networkImages = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetController.state.networkImages;\n this.address = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.address;\n this.profileImage = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileImage;\n this.profileName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.profileName;\n this.balance = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balance;\n this.balanceSymbol = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state.balanceSymbol;\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.disconecting = false;\n this.usubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.subscribe(val => {\n if (val.address) {\n this.address = val.address;\n this.profileImage = val.profileImage;\n this.profileName = val.profileName;\n this.balance = val.balance;\n this.balanceSymbol = val.balanceSymbol;\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n })\n ], _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => {\n if (val?.id) {\n this.network = val;\n }\n }));\n }\n disconnectedCallback() {\n this.usubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n if (!this.address) {\n throw new Error('w3m-account-view: No account provided');\n }\n const networkImage = this.networkImages[this.network?.imageId ?? ''];\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n flexDirection=\"column\"\n .padding=${['0', 's', 'm', 's']}\n alignItems=\"center\"\n gap=\"l\"\n >\n <wui-avatar\n alt=${this.address}\n address=${this.address}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(this.profileImage)}\n ></wui-avatar>\n\n <wui-flex flexDirection=\"column\" alignItems=\"center\">\n <wui-flex gap=\"3xs\" alignItems=\"center\" justifyContent=\"center\">\n <wui-text variant=\"large-600\" color=\"fg-100\">\n ${this.profileName\n ? _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: this.profileName,\n charsStart: 20,\n charsEnd: 0,\n truncate: 'end'\n })\n : _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: this.address,\n charsStart: 4,\n charsEnd: 6,\n truncate: 'middle'\n })}\n </wui-text>\n <wui-icon-link\n size=\"md\"\n icon=\"copy\"\n iconColor=\"fg-200\"\n @click=${this.onCopyAddress}\n ></wui-icon-link>\n </wui-flex>\n <wui-flex gap=\"s\" flexDirection=\"column\" alignItems=\"center\">\n <wui-text variant=\"paragraph-500\" color=\"fg-200\">\n ${_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.formatBalance(this.balance, this.balanceSymbol)}\n </wui-text>\n\n ${this.explorerBtnTemplate()}\n </wui-flex>\n </wui-flex>\n </wui-flex>\n\n <wui-flex flexDirection=\"column\" gap=\"xs\" .padding=${['0', 's', 's', 's']}>\n <wui-list-item\n .variant=${networkImage ? 'image' : 'icon'}\n iconVariant=\"overlay\"\n icon=\"networkPlaceholder\"\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(networkImage)}\n ?chevron=${this.isAllowedNetworkSwitch()}\n @click=${this.onNetworks.bind(this)}\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">\n ${this.network?.name ?? 'Unknown'}\n </wui-text>\n </wui-list-item>\n <wui-list-item\n iconVariant=\"blue\"\n icon=\"swapHorizontalBold\"\n iconSize=\"sm\"\n ?chevron=${true}\n @click=${this.onTransactions.bind(this)}\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Activity</wui-text>\n </wui-list-item>\n <wui-list-item\n variant=\"icon\"\n iconVariant=\"overlay\"\n icon=\"disconnect\"\n ?chevron=${false}\n .loading=${this.disconecting}\n @click=${this.onDisconnect.bind(this)}\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-200\">Disconnect</wui-text>\n </wui-list-item>\n </wui-flex>\n `;\n }\n explorerBtnTemplate() {\n const { addressExplorerUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state;\n if (!addressExplorerUrl) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-button size=\"sm\" variant=\"shade\" @click=${this.onExplorer.bind(this)}>\n <wui-icon size=\"sm\" color=\"inherit\" slot=\"iconLeft\" name=\"compass\"></wui-icon>\n Block Explorer\n <wui-icon size=\"sm\" color=\"inherit\" slot=\"iconRight\" name=\"externalLink\"></wui-icon>\n </wui-button>\n `;\n }\n isAllowedNetworkSwitch() {\n const { requestedCaipNetworks } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state;\n const isMultiNetwork = requestedCaipNetworks ? requestedCaipNetworks.length > 1 : false;\n const isValidNetwork = requestedCaipNetworks?.find(({ id }) => id === this.network?.id);\n return isMultiNetwork || !isValidNetwork;\n }\n onCopyAddress() {\n try {\n if (this.address) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.copyToClopboard(this.address);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.showSuccess('Address copied');\n }\n }\n catch {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.showError('Failed to copy');\n }\n }\n onNetworks() {\n if (this.isAllowedNetworkSwitch()) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('Networks');\n }\n }\n onTransactions() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'CLICK_TRANSACTIONS' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('Transactions');\n }\n async onDisconnect() {\n try {\n this.disconecting = true;\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.disconnect();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'DISCONNECT_SUCCESS' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n catch {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'DISCONNECT_ERROR' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.showError('Failed to disconnect');\n }\n finally {\n this.disconecting = false;\n }\n }\n onExplorer() {\n const { addressExplorerUrl } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state;\n if (addressExplorerUrl) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(addressExplorerUrl, '_blank');\n }\n }\n};\nW3mAccountView.styles = _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountView.prototype, \"address\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountView.prototype, \"profileImage\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountView.prototype, \"profileName\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountView.prototype, \"balance\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountView.prototype, \"balanceSymbol\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountView.prototype, \"network\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAccountView.prototype, \"disconecting\", void 0);\nW3mAccountView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-account-view')\n], W3mAccountView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n width: 100%;\n }\n\n :host > wui-flex:first-child {\n transform: translateY(calc(var(--wui-spacing-xxs) * -1));\n }\n\n wui-icon-link {\n margin-right: calc(var(--wui-icon-box-size-md) * -1);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-account-view/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-all-wallets-view/index.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-all-wallets-view/index.js ***!
\*******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mAllWalletsView: () => (/* binding */ W3mAllWalletsView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mAllWalletsView = class W3mAllWalletsView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.search = '';\n this.onDebouncedSearch = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.debounce((value) => {\n this.search = value;\n });\n }\n render() {\n const isSearch = this.search.length >= 2;\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex padding=\"s\" gap=\"s\">\n <wui-search-bar @inputChange=${this.onInputChange.bind(this)}></wui-search-bar>\n ${this.qrButtonTemplate()}\n </wui-flex>\n ${isSearch\n ? (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-all-wallets-search query=${this.search}></w3m-all-wallets-search>`\n : (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-all-wallets-list></w3m-all-wallets-list>`}\n `;\n }\n onInputChange(event) {\n this.onDebouncedSearch(event.detail);\n }\n qrButtonTemplate() {\n if (_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile()) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-icon-box\n size=\"lg\"\n iconSize=\"xl\"\n iconColor=\"accent-100\"\n backgroundColor=\"accent-100\"\n icon=\"qrCode\"\n background=\"transparent\"\n border\n borderColor=\"wui-accent-glass-010\"\n @click=${this.onWalletConnectQr.bind(this)}\n ></wui-icon-box>\n `;\n }\n return null;\n }\n onWalletConnectQr() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingWalletConnect');\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mAllWalletsView.prototype, \"search\", void 0);\nW3mAllWalletsView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-all-wallets-view')\n], W3mAllWalletsView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-all-wallets-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/index.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/index.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectView: () => (/* binding */ W3mConnectView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mConnectView = class W3mConnectView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.connectors = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state.connectors;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.subscribeKey('connectors', val => (this.connectors = val)));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex flexDirection=\"column\" padding=\"s\" gap=\"xs\">\n ${this.walletConnectConnectorTemplate()} ${this.recentTemplate()}\n ${this.announcedTemplate()} ${this.injectedTemplate()} ${this.featuredTemplate()}\n ${this.customTemplate()} ${this.recommendedTemplate()} ${this.connectorsTemplate()}\n ${this.allWalletsTemplate()}\n </wui-flex>\n <w3m-legal-footer></w3m-legal-footer>\n `;\n }\n walletConnectConnectorTemplate() {\n if (_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile()) {\n return null;\n }\n const connector = this.connectors.find(c => c.type === 'WALLET_CONNECT');\n if (!connector) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(connector))}\n name=${connector.name ?? 'Unknown'}\n @click=${() => this.onConnector(connector)}\n tagLabel=\"qr code\"\n tagVariant=\"main\"\n >\n </wui-list-wallet>\n `;\n }\n customTemplate() {\n const { customWallets } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n if (!customWallets?.length) {\n return null;\n }\n const wallets = this.filterOutDuplicateWallets(customWallets);\n return wallets.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n name=${wallet.name ?? 'Unknown'}\n @click=${() => this.onConnectWallet(wallet)}\n >\n </wui-list-wallet>\n `);\n }\n featuredTemplate() {\n const { featured } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n if (!featured.length) {\n return null;\n }\n const wallets = this.filterOutDuplicateWallets(featured);\n return wallets.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n name=${wallet.name ?? 'Unknown'}\n @click=${() => this.onConnectWallet(wallet)}\n >\n </wui-list-wallet>\n `);\n }\n recentTemplate() {\n const recent = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.getRecentWallets();\n return recent.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n name=${wallet.name ?? 'Unknown'}\n @click=${() => this.onConnectWallet(wallet)}\n tagLabel=\"recent\"\n tagVariant=\"shade\"\n >\n </wui-list-wallet>\n `);\n }\n announcedTemplate() {\n return this.connectors.map(connector => {\n if (connector.type !== 'ANNOUNCED') {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(connector))}\n name=${connector.name ?? 'Unknown'}\n @click=${() => this.onConnector(connector)}\n tagLabel=\"installed\"\n tagVariant=\"success\"\n >\n </wui-list-wallet>\n `;\n });\n }\n injectedTemplate() {\n const announced = this.connectors.find(c => c.type === 'ANNOUNCED');\n return this.connectors.map(connector => {\n if (connector.type !== 'INJECTED') {\n return null;\n }\n if (!_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.checkInstalled()) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(connector))}\n name=${connector.name ?? 'Unknown'}\n @click=${() => this.onConnector(connector)}\n tagLabel=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(announced ? undefined : 'installed')}\n tagVariant=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(announced ? undefined : 'success')}\n >\n </wui-list-wallet>\n `;\n });\n }\n connectorsTemplate() {\n return this.connectors.map(connector => {\n if (['WALLET_CONNECT', 'INJECTED', 'ANNOUNCED'].includes(connector.type)) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(connector))}\n name=${connector.name ?? 'Unknown'}\n @click=${() => this.onConnector(connector)}\n >\n </wui-list-wallet>\n `;\n });\n }\n allWalletsTemplate() {\n const roundedCount = Math.floor(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state.count / 10) * 10;\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n name=\"All Wallets\"\n walletIcon=\"allWallets\"\n showAllWallets\n @click=${this.onAllWallets.bind(this)}\n tagLabel=${`${roundedCount}+`}\n tagVariant=\"shade\"\n ></wui-list-wallet>\n `;\n }\n recommendedTemplate() {\n const { recommended } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n const { customWallets, featuredWalletIds } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n const { connectors } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state;\n const recent = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.getRecentWallets();\n const eip6963 = connectors.filter(c => c.type === 'ANNOUNCED');\n if (featuredWalletIds || customWallets || !recommended.length) {\n return null;\n }\n const overrideLength = eip6963.length + recent.length;\n const maxRecommended = Math.max(0, 2 - overrideLength);\n const wallets = this.filterOutDuplicateWallets(recommended).slice(0, maxRecommended);\n return wallets.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n name=${wallet?.name ?? 'Unknown'}\n @click=${() => this.onConnectWallet(wallet)}\n >\n </wui-list-wallet>\n `);\n }\n onConnector(connector) {\n if (connector.type === 'WALLET_CONNECT') {\n if (_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile()) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('AllWallets');\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingWalletConnect');\n }\n }\n else {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingExternal', { connector });\n }\n }\n filterOutDuplicateWallets(wallets) {\n const { connectors } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state;\n const recent = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.getRecentWallets();\n const recentIds = recent.map(wallet => wallet.id);\n const rdnsIds = connectors.map(c => c.info?.rdns).filter(Boolean);\n const filtered = wallets.filter(wallet => !recentIds.includes(wallet.id) && !rdnsIds.includes(wallet.rdns ?? undefined));\n return filtered;\n }\n onAllWallets() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'CLICK_ALL_WALLETS' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('AllWallets');\n }\n onConnectWallet(wallet) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('ConnectingWalletConnect', { wallet });\n }\n};\nW3mConnectView.styles = _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mConnectView.prototype, \"connectors\", void 0);\nW3mConnectView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connect-view')\n], W3mConnectView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n max-height: clamp(360px, 540px, 80vh);\n overflow: scroll;\n scrollbar-width: none;\n }\n\n wui-flex::-webkit-scrollbar {\n display: none;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connect-view/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-external-view/index.js":
/*!***************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-external-view/index.js ***!
\***************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingExternalView: () => (/* binding */ W3mConnectingExternalView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/w3m-connecting-widget/index.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/utils/w3m-connecting-widget/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nconst platformMap = {\n INJECTED: 'browser',\n ANNOUNCED: 'browser'\n};\nlet W3mConnectingExternalView = class W3mConnectingExternalView extends _utils_w3m_connecting_widget_index_js__WEBPACK_IMPORTED_MODULE_2__.W3mConnectingWidget {\n constructor() {\n super();\n if (!this.connector) {\n throw new Error('w3m-connecting-view: No connector provided');\n }\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'SELECT_WALLET',\n properties: {\n name: this.connector.name ?? 'Unknown',\n platform: platformMap[this.connector.type] ?? 'external'\n }\n });\n this.onConnect = this.onConnectProxy.bind(this);\n this.onAutoConnect = this.onConnectProxy.bind(this);\n this.isWalletConnect = false;\n }\n async onConnectProxy() {\n try {\n this.error = false;\n if (this.connector) {\n if (this.connector.imageUrl) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setConnectedWalletImageUrl(this.connector.imageUrl);\n }\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectExternal(this.connector);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_SUCCESS',\n properties: { method: 'external' }\n });\n }\n }\n catch (error) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_ERROR',\n properties: { message: error?.message ?? 'Unknown' }\n });\n this.error = true;\n }\n }\n};\nW3mConnectingExternalView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-external-view')\n], W3mConnectingExternalView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-external-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-siwe-view/index.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-siwe-view/index.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingSiweView: () => (/* binding */ W3mConnectingSiweView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mConnectingSiweView = class W3mConnectingSiweView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.dappUrl = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state.metadata?.url;\n this.dappName = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state.metadata?.name;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex justifyContent=\"center\" .padding=${['2xl', '0', 'xxl', '0']}>\n <w3m-connecting-siwe></w3m-connecting-siwe>\n </wui-flex>\n <wui-flex\n .padding=${['0', '4xl', 'l', '4xl']}\n gap=\"s\"\n justifyContent=\"space-between\"\n >\n <wui-text variant=\"paragraph-500\" align=\"center\" color=\"fg-100\"\n >${this.dappName ?? 'Dapp'} wants to connect to your wallet</wui-text\n >\n </wui-flex>\n ${this.urlTemplate()}\n <wui-flex\n .padding=${['0', '3xl', 'l', '3xl']}\n gap=\"s\"\n justifyContent=\"space-between\"\n >\n <wui-text variant=\"small-400\" align=\"center\" color=\"fg-200\"\n >Sign this message to prove you own this wallet and to continue</wui-text\n >\n </wui-flex>\n <wui-flex .padding=${['l', 'xl', 'xl', 'xl']} gap=\"s\" justifyContent=\"space-between\">\n <wui-button size=\"md\" ?fullwidth=${true} variant=\"shade\" @click=${this.onCancel.bind(this)}>\n Cancel\n </wui-button>\n <wui-button size=\"md\" ?fullwidth=${true} variant=\"fill\" @click=${this.onSign.bind(this)}>\n Sign\n </wui-button>\n </wui-flex>\n `;\n }\n urlTemplate() {\n if (this.dappUrl) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-flex .padding=${['0', '0', 'l', '0']} justifyContent=\"center\">\n <wui-button size=\"sm\" variant=\"accentBg\" @click=${this.onDappLink.bind(this)}>\n ${this.dappUrl}\n <wui-icon size=\"sm\" color=\"inherit\" slot=\"iconRight\" name=\"externalLink\"></wui-icon>\n </wui-button>\n </wui-flex>`;\n }\n return null;\n }\n onDappLink() {\n if (this.dappUrl) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.dappUrl, '_blank');\n }\n }\n onSign() {\n }\n onCancel() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.goBack();\n }\n};\nW3mConnectingSiweView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-siwe-view')\n], W3mConnectingSiweView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-siwe-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-wc-view/index.js":
/*!*********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-wc-view/index.js ***!
\*********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mConnectingWcView: () => (/* binding */ W3mConnectingWcView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet W3mConnectingWcView = class W3mConnectingWcView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.interval = undefined;\n this.lastRetry = Date.now();\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n this.platform = undefined;\n this.platforms = [];\n this.initializeConnection();\n this.interval = setInterval(this.initializeConnection.bind(this), _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.TEN_SEC_MS);\n }\n disconnectedCallback() {\n clearTimeout(this.interval);\n }\n render() {\n if (!this.wallet) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-wc-qrcode></w3m-connecting-wc-qrcode>`;\n }\n this.determinePlatforms();\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n ${this.headerTemplate()}\n <div>${this.platformTemplate()}</div>\n `;\n }\n async initializeConnection(retry = false) {\n try {\n const { wcPairingExpiry } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state;\n if (retry || _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isPairingExpired(wcPairingExpiry)) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.connectWalletConnect();\n if (this.wallet) {\n const url = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(this.wallet);\n if (url) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setConnectedWalletImageUrl(url);\n }\n }\n else {\n const connectors = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectorController.state.connectors;\n const connector = connectors.find(c => c.type === 'WALLET_CONNECT');\n const url = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getConnectorImage(connector);\n if (url) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setConnectedWalletImageUrl(url);\n }\n }\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state.wcPromise;\n this.finalizeConnection();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ModalController.close();\n }\n }\n catch (error) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_ERROR',\n properties: { message: error?.message ?? 'Unknown' }\n });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.setWcError(true);\n if (_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isAllowedRetry(this.lastRetry)) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.SnackController.showError('Declined');\n this.lastRetry = Date.now();\n this.initializeConnection(true);\n }\n }\n }\n finalizeConnection() {\n const { wcLinking, recentWallet } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.state;\n if (wcLinking) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setWalletConnectDeepLink(wcLinking);\n }\n if (recentWallet) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.StorageUtil.setWeb3ModalRecent(recentWallet);\n }\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({\n type: 'track',\n event: 'CONNECT_SUCCESS',\n properties: {\n method: wcLinking ? 'mobile' : 'qrcode'\n }\n });\n }\n determinePlatforms() {\n if (!this.wallet) {\n throw new Error('w3m-connecting-wc-view:determinePlatforms No wallet');\n }\n if (this.platform) {\n return;\n }\n const { mobile_link, desktop_link, webapp_link, injected, rdns } = this.wallet;\n const injectedIds = injected?.map(({ injected_id }) => injected_id).filter(Boolean);\n const browserIds = rdns ? [rdns] : injectedIds ?? [];\n const isBrowser = browserIds.length;\n const isMobileWc = mobile_link;\n const isWebWc = webapp_link;\n const isBrowserInstalled = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ConnectionController.checkInstalled(browserIds);\n const isBrowserWc = isBrowser && isBrowserInstalled;\n const isDesktopWc = desktop_link && !_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile();\n if (isBrowserWc) {\n this.platforms.push('browser');\n }\n if (isMobileWc) {\n this.platforms.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.isMobile() ? 'mobile' : 'qrcode');\n }\n if (isWebWc) {\n this.platforms.push('web');\n }\n if (isDesktopWc) {\n this.platforms.push('desktop');\n }\n if (!isBrowserWc && isBrowser) {\n this.platforms.push('unsupported');\n }\n this.platform = this.platforms[0];\n }\n platformTemplate() {\n switch (this.platform) {\n case 'browser':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-wc-browser></w3m-connecting-wc-browser>`;\n case 'desktop':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-connecting-wc-desktop .onRetry=${() => this.initializeConnection(true)}>\n </w3m-connecting-wc-desktop>\n `;\n case 'web':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-connecting-wc-web .onRetry=${() => this.initializeConnection(true)}>\n </w3m-connecting-wc-web>\n `;\n case 'mobile':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-connecting-wc-mobile isMobile .onRetry=${() => this.initializeConnection(true)}>\n </w3m-connecting-wc-mobile>\n `;\n case 'qrcode':\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-wc-qrcode></w3m-connecting-wc-qrcode>`;\n default:\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<w3m-connecting-wc-unsupported></w3m-connecting-wc-unsupported>`;\n }\n }\n headerTemplate() {\n const multiPlatform = this.platforms.length > 1;\n if (!multiPlatform) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <w3m-connecting-header\n .platforms=${this.platforms}\n .onSelectPlatfrom=${this.onSelectPlatform.bind(this)}\n >\n </w3m-connecting-header>\n `;\n }\n async onSelectPlatform(platform) {\n const container = this.shadowRoot?.querySelector('div');\n if (container) {\n await container.animate([{ opacity: 1 }, { opacity: 0 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n }).finished;\n this.platform = platform;\n container.animate([{ opacity: 0 }, { opacity: 1 }], {\n duration: 200,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mConnectingWcView.prototype, \"platform\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mConnectingWcView.prototype, \"platforms\", void 0);\nW3mConnectingWcView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-connecting-wc-view')\n], W3mConnectingWcView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-connecting-wc-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-downloads-view/index.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-downloads-view/index.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mDownloadsView: () => (/* binding */ W3mDownloadsView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nlet W3mDownloadsView = class W3mDownloadsView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super(...arguments);\n this.wallet = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.wallet;\n }\n render() {\n if (!this.wallet) {\n throw new Error('w3m-downloads-view');\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex gap=\"xs\" flexDirection=\"column\" .padding=${['s', 's', 'l', 's']}>\n ${this.chromeTemplate()} ${this.iosTemplate()} ${this.androidTemplate()}\n ${this.homepageTemplate()}\n </wui-flex>\n `;\n }\n chromeTemplate() {\n if (!this.wallet?.chrome_store) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-list-item\n variant=\"icon\"\n icon=\"chromeStore\"\n iconVariant=\"square\"\n @click=${this.onChromeStore.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Chrome Extension</wui-text>\n </wui-list-item>`;\n }\n iosTemplate() {\n if (!this.wallet?.app_store) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-list-item\n variant=\"icon\"\n icon=\"appStore\"\n iconVariant=\"square\"\n @click=${this.onAppStore.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">iOS App</wui-text>\n </wui-list-item>`;\n }\n androidTemplate() {\n if (!this.wallet?.play_store) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-list-item\n variant=\"icon\"\n icon=\"playStore\"\n iconVariant=\"square\"\n @click=${this.onPlayStore.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Android App</wui-text>\n </wui-list-item>`;\n }\n homepageTemplate() {\n if (!this.wallet?.homepage) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-item\n variant=\"icon\"\n icon=\"browser\"\n iconVariant=\"square-blue\"\n @click=${this.onHomePage.bind(this)}\n chevron\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">Website</wui-text>\n </wui-list-item>\n `;\n }\n onChromeStore() {\n if (this.wallet?.chrome_store) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.chrome_store, '_blank');\n }\n }\n onAppStore() {\n if (this.wallet?.app_store) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.app_store, '_blank');\n }\n }\n onPlayStore() {\n if (this.wallet?.play_store) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.play_store, '_blank');\n }\n }\n onHomePage() {\n if (this.wallet?.homepage) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(this.wallet.homepage, '_blank');\n }\n }\n};\nW3mDownloadsView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-downloads-view')\n], W3mDownloadsView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-downloads-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-get-wallet-view/index.js":
/*!******************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-get-wallet-view/index.js ***!
\******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mGetWalletView: () => (/* binding */ W3mGetWalletView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nconst EXPLORER = 'https://walletconnect.com/explorer';\nlet W3mGetWalletView = class W3mGetWalletView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex flexDirection=\"column\" padding=\"s\" gap=\"xs\">\n ${this.recommendedWalletsTemplate()}\n <wui-list-wallet\n name=\"Explore all\"\n showAllWallets\n walletIcon=\"allWallets\"\n icon=\"externalLink\"\n @click=${() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref('https://walletconnect.com/explorer?type=wallet', '_blank');\n }}\n ></wui-list-wallet>\n </wui-flex>\n `;\n }\n recommendedWalletsTemplate() {\n const { recommended, featured } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.ApiController.state;\n const { customWallets } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.OptionsController.state;\n const wallets = [...featured, ...(customWallets ?? []), ...recommended].slice(0, 4);\n return wallets.map(wallet => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-list-wallet\n name=${wallet.name ?? 'Unknown'}\n tagVariant=\"main\"\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_3__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getWalletImage(wallet))}\n @click=${() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref(wallet.homepage ?? EXPLORER, '_blank');\n }}\n ></wui-list-wallet>\n `);\n }\n};\nW3mGetWalletView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-get-wallet-view')\n], W3mGetWalletView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-get-wallet-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/index.js":
/*!**********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/index.js ***!
\**********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mNetworkSwitchView: () => (/* binding */ W3mNetworkSwitchView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet W3mNetworkSwitchView = class W3mNetworkSwitchView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.network = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.state.data?.network;\n this.unsubscribe = [];\n this.showRetry = false;\n this.error = false;\n this.currentNetwork = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => {\n if (val?.id !== this.currentNetwork?.id) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.goBack();\n }\n }));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n firstUpdated() {\n this.onSwitchNetwork();\n }\n render() {\n if (!this.network) {\n throw new Error('w3m-network-switch-view: No network provided');\n }\n this.onShowRetry();\n const label = this.error ? 'Switch declined' : 'Approve in wallet';\n const subLabel = this.error\n ? 'Switch can be declined if chain is not supported by a wallet or previous request is still active'\n : 'Accept connection request in your wallet';\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n data-error=${this.error}\n flexDirection=\"column\"\n alignItems=\"center\"\n .padding=${['3xl', 'xl', '3xl', 'xl']}\n gap=\"xl\"\n >\n <wui-flex justifyContent=\"center\" alignItems=\"center\">\n <wui-network-image\n size=\"lg\"\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getNetworkImage(this.network))}\n ></wui-network-image>\n\n ${this.error ? null : (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `<wui-loading-hexagon></wui-loading-hexagon>`}\n\n <wui-icon-box\n backgroundColor=\"error-100\"\n background=\"opaque\"\n iconColor=\"error-100\"\n icon=\"close\"\n size=\"sm\"\n ?border=${true}\n borderColor=\"wui-color-bg-125\"\n ></wui-icon-box>\n </wui-flex>\n\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"xs\">\n <wui-text align=\"center\" variant=\"paragraph-500\" color=\"fg-100\">${label}</wui-text>\n <wui-text align=\"center\" variant=\"small-500\" color=\"fg-200\">${subLabel}</wui-text>\n </wui-flex>\n\n <wui-button\n data-retry=${this.showRetry}\n variant=\"fill\"\n .disabled=${!this.error}\n @click=${this.onSwitchNetwork.bind(this)}\n >\n <wui-icon color=\"inherit\" slot=\"iconLeft\" name=\"refresh\"></wui-icon>\n Try again\n </wui-button>\n </wui-flex>\n `;\n }\n onShowRetry() {\n if (this.error && !this.showRetry) {\n this.showRetry = true;\n const retryButton = this.shadowRoot?.querySelector('wui-button');\n retryButton.animate([{ opacity: 0 }, { opacity: 1 }], {\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n async onSwitchNetwork() {\n try {\n this.error = false;\n if (this.network) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.switchActiveNetwork(this.network);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.goBack();\n }\n }\n catch {\n this.error = true;\n }\n }\n};\nW3mNetworkSwitchView.styles = _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworkSwitchView.prototype, \"showRetry\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworkSwitchView.prototype, \"error\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworkSwitchView.prototype, \"currentNetwork\", void 0);\nW3mNetworkSwitchView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-network-switch-view')\n], W3mNetworkSwitchView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n @keyframes shake {\n 0% {\n transform: translateX(0);\n }\n 25% {\n transform: translateX(3px);\n }\n 50% {\n transform: translateX(-3px);\n }\n 75% {\n transform: translateX(3px);\n }\n 100% {\n transform: translateX(0);\n }\n }\n\n wui-flex:first-child:not(:only-child) {\n position: relative;\n }\n\n wui-loading-hexagon {\n position: absolute;\n }\n\n wui-icon-box {\n position: absolute;\n right: 4px;\n bottom: 0;\n opacity: 0;\n transform: scale(0.5);\n z-index: 1;\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n wui-button {\n display: none;\n }\n\n [data-error='true'] wui-icon-box {\n opacity: 1;\n transform: scale(1);\n }\n\n [data-error='true'] > wui-flex:first-child {\n animation: shake 250ms cubic-bezier(0.36, 0.07, 0.19, 0.97) both;\n }\n\n wui-button[data-retry='true'] {\n display: block;\n opacity: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-network-switch-view/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-networks-view/index.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-networks-view/index.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mNetworksView: () => (/* binding */ W3mNetworksView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet W3mNetworksView = class W3mNetworksView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.caipNetwork = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state.caipNetwork;\n this.unsubscribe.push(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.subscribeKey('caipNetwork', val => (this.caipNetwork = val)));\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-grid padding=\"s\" gridTemplateColumns=\"repeat(4, 1fr)\" rowGap=\"l\" columnGap=\"xs\">\n ${this.networksTemplate()}\n </wui-grid>\n\n <wui-separator></wui-separator>\n\n <wui-flex padding=\"s\" flexDirection=\"column\" gap=\"m\" alignItems=\"center\">\n <wui-text variant=\"small-500\" color=\"fg-300\" align=\"center\">\n Your connected wallet may not support some of the networks available for this dApp\n </wui-text>\n <wui-link @click=${this.onNetworkHelp.bind(this)}>\n <wui-icon size=\"xs\" color=\"accent-100\" slot=\"iconLeft\" name=\"helpCircle\"></wui-icon>\n What is a network\n </wui-link>\n </wui-flex>\n `;\n }\n onNetworkHelp() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'CLICK_NETWORK_HELP' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('WhatIsANetwork');\n }\n networksTemplate() {\n const { approvedCaipNetworkIds, requestedCaipNetworks, supportsAllNetworks } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state;\n const approvedIds = approvedCaipNetworkIds;\n const requested = requestedCaipNetworks;\n if (approvedIds?.length) {\n requested?.sort((a, b) => approvedIds.indexOf(b.id) - approvedIds.indexOf(a.id));\n }\n return requested?.map(network => (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-card-select\n .selected=${this.caipNetwork?.id === network.id}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_4__.ifDefined)(_web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AssetUtil.getNetworkImage(network))}\n type=\"network\"\n name=${network.name ?? network.id}\n @click=${() => this.onSwitchNetwork(network)}\n .disabled=${!supportsAllNetworks && !approvedIds?.includes(network.id)}\n ></wui-card-select>\n `);\n }\n async onSwitchNetwork(network) {\n const { isConnected } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.AccountController.state;\n const { approvedCaipNetworkIds, supportsAllNetworks, caipNetwork } = _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.state;\n if (isConnected && caipNetwork?.id !== network.id) {\n if (approvedCaipNetworkIds?.includes(network.id)) {\n await _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.switchActiveNetwork(network);\n }\n else if (supportsAllNetworks) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('SwitchNetwork', { network });\n }\n }\n else if (!isConnected) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.NetworkController.setCaipNetwork(network);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('Connect');\n }\n }\n};\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_3__.state)()\n], W3mNetworksView.prototype, \"caipNetwork\", void 0);\nW3mNetworksView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-networks-view')\n], W3mNetworksView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-networks-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/index.js":
/*!********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/index.js ***!
\********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mTransactionsView: () => (/* binding */ W3mTransactionsView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/common */ \"./node_modules/@web3modal/common/dist/esm/index.js\");\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nconst PAGINATOR_ID = 'last-transaction';\nconst LOADING_ITEM_COUNT = 7;\nlet W3mTransactionsView = class W3mTransactionsView extends lit__WEBPACK_IMPORTED_MODULE_3__.LitElement {\n constructor() {\n super();\n this.unsubscribe = [];\n this.paginationObserver = undefined;\n this.address = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.AccountController.state.address;\n this.transactions = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.transactions;\n this.transactionsByYear = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.transactionsByYear;\n this.loading = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.loading;\n this.empty = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.empty;\n this.next = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.state.next;\n this.unsubscribe.push(...[\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.AccountController.subscribe(val => {\n if (val.isConnected) {\n if (this.address !== val.address) {\n this.address = val.address;\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.resetTransactions();\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.fetchTransactions(val.address);\n }\n }\n }),\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.subscribe(val => {\n this.transactions = val.transactions;\n this.transactionsByYear = val.transactionsByYear;\n this.loading = val.loading;\n this.empty = val.empty;\n this.next = val.next;\n })\n ]);\n }\n firstUpdated() {\n if (this.transactions.length === 0) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.fetchTransactions(this.address);\n }\n this.createPaginationObserver();\n }\n updated() {\n this.setPaginationObserver();\n }\n disconnectedCallback() {\n this.unsubscribe.forEach(unsubscribe => unsubscribe());\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_3__.html) `\n <wui-flex flexDirection=\"column\" padding=\"s\" gap=\"s\">\n ${this.empty ? null : this.templateTransactionsByYear()}\n ${this.loading ? this.templateLoading() : null}\n ${!this.loading && this.empty ? this.templateEmpty() : null}\n </wui-flex>\n `;\n }\n templateTransactionsByYear() {\n const sortedYearKeys = Object.keys(this.transactionsByYear).sort().reverse();\n return sortedYearKeys.map((year, index) => {\n const isLastGroup = index === sortedYearKeys.length - 1;\n const yearInt = parseInt(year, 10);\n const groupTitle = _web3modal_ui__WEBPACK_IMPORTED_MODULE_2__.TransactionUtil.getTransactionGroupTitle(yearInt);\n const transactions = this.transactionsByYear[yearInt];\n if (!transactions) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_3__.html) `\n <wui-flex flexDirection=\"column\" gap=\"sm\">\n <wui-flex\n alignItems=\"center\"\n flexDirection=\"row\"\n .padding=${['xs', 's', 's', 's']}\n >\n <wui-text variant=\"paragraph-500\" color=\"fg-200\">${groupTitle}</wui-text>\n </wui-flex>\n <wui-flex flexDirection=\"column\" gap=\"xs\">\n ${this.templateTransactions(transactions, isLastGroup)}\n </wui-flex>\n </wui-flex>\n `;\n });\n }\n templateRenderTransaction(transaction, isLastTransaction) {\n const { date, descriptions, direction, isAllNFT, images, status, transfers, type } = this.getTransactionListItemProps(transaction);\n const haveMultipleTransfers = transfers?.length > 1;\n const haveTwoTransfers = transfers?.length === 2;\n if (haveTwoTransfers && !isAllNFT) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_3__.html) `\n <wui-transaction-list-item\n date=${date}\n direction=${direction}\n id=${isLastTransaction && this.next ? PAGINATOR_ID : ''}\n status=${status}\n type=${type}\n .images=${images}\n .descriptions=${descriptions}\n ></wui-transaction-list-item>\n `;\n }\n if (haveMultipleTransfers) {\n return transfers.map((transfer, index) => {\n const description = _web3modal_ui__WEBPACK_IMPORTED_MODULE_2__.TransactionUtil.getTransferDescription(transfer);\n const isLastTransfer = isLastTransaction && index === transfers.length - 1;\n return (0,lit__WEBPACK_IMPORTED_MODULE_3__.html) ` <wui-transaction-list-item\n date=${date}\n direction=${transfer.direction}\n id=${isLastTransfer && this.next ? PAGINATOR_ID : ''}\n status=${status}\n type=${type}\n onlyDirectionIcon=${true}\n .images=${[images?.[index]]}\n .descriptions=${[description]}\n ></wui-transaction-list-item>`;\n });\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_3__.html) `\n <wui-transaction-list-item\n date=${date}\n direction=${direction}\n id=${isLastTransaction && this.next ? PAGINATOR_ID : ''}\n status=${status}\n type=${type}\n .images=${images}\n .descriptions=${descriptions}\n ></wui-transaction-list-item>\n `;\n }\n templateTransactions(transactions, isLastGroup) {\n return transactions.map((transaction, index) => {\n const isLastTransaction = isLastGroup && index === transactions.length - 1;\n return (0,lit__WEBPACK_IMPORTED_MODULE_3__.html) `${this.templateRenderTransaction(transaction, isLastTransaction)}`;\n });\n }\n templateEmpty() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_3__.html) `\n <wui-flex\n flexGrow=\"1\"\n flexDirection=\"column\"\n justifyContent=\"center\"\n alignItems=\"center\"\n .padding=${['3xl', 'xl', '3xl', 'xl']}\n gap=\"xl\"\n >\n <wui-icon-box\n backgroundColor=\"glass-005\"\n background=\"gray\"\n iconColor=\"fg-200\"\n icon=\"wallet\"\n size=\"lg\"\n ?border=${true}\n borderColor=\"wui-color-bg-125\"\n ></wui-icon-box>\n <wui-flex flexDirection=\"column\" alignItems=\"center\" gap=\"xs\">\n <wui-text align=\"center\" variant=\"paragraph-500\" color=\"fg-100\"\n >No Transactions yet</wui-text\n >\n <wui-text align=\"center\" variant=\"small-500\" color=\"fg-200\"\n >Start trading on dApps <br />\n to grow your wallet!</wui-text\n >\n </wui-flex>\n </wui-flex>\n `;\n }\n templateLoading() {\n return Array(LOADING_ITEM_COUNT)\n .fill((0,lit__WEBPACK_IMPORTED_MODULE_3__.html) ` <wui-transaction-list-item-loader></wui-transaction-list-item-loader> `)\n .map(item => item);\n }\n createPaginationObserver() {\n const { projectId } = _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.OptionsController.state;\n this.paginationObserver = new IntersectionObserver(([element]) => {\n if (element?.isIntersecting && !this.loading) {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.TransactionsController.fetchTransactions(this.address);\n _web3modal_core__WEBPACK_IMPORTED_MODULE_1__.EventsController.sendEvent({\n type: 'track',\n event: 'LOAD_MORE_TRANSACTIONS',\n properties: {\n address: this.address,\n projectId,\n cursor: this.next\n }\n });\n }\n }, {});\n this.setPaginationObserver();\n }\n setPaginationObserver() {\n this.paginationObserver?.disconnect();\n const lastItem = this.shadowRoot?.querySelector(`#${PAGINATOR_ID}`);\n if (lastItem) {\n this.paginationObserver?.observe(lastItem);\n }\n }\n getTransactionListItemProps(transaction) {\n const date = _web3modal_common__WEBPACK_IMPORTED_MODULE_0__.DateUtil.getRelativeDateFromNow(transaction?.metadata?.minedAt);\n const descriptions = _web3modal_ui__WEBPACK_IMPORTED_MODULE_2__.TransactionUtil.getTransactionDescriptions(transaction);\n const transfers = transaction?.transfers;\n const transfer = transaction?.transfers?.[0];\n const isAllNFT = Boolean(transfer) && transaction?.transfers?.every(item => Boolean(item.nft_info));\n const images = _web3modal_ui__WEBPACK_IMPORTED_MODULE_2__.TransactionUtil.getTransactionImages(transfers);\n return {\n date,\n direction: transfer?.direction,\n descriptions,\n isAllNFT,\n images,\n status: transaction.metadata?.status,\n transfers,\n type: transaction.metadata?.operationType\n };\n }\n};\nW3mTransactionsView.styles = _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__.state)()\n], W3mTransactionsView.prototype, \"address\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__.state)()\n], W3mTransactionsView.prototype, \"transactions\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__.state)()\n], W3mTransactionsView.prototype, \"transactionsByYear\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__.state)()\n], W3mTransactionsView.prototype, \"loading\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__.state)()\n], W3mTransactionsView.prototype, \"empty\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_4__.state)()\n], W3mTransactionsView.prototype, \"next\", void 0);\nW3mTransactionsView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_2__.customElement)('w3m-transactions-view')\n], W3mTransactionsView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js":
/*!*********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js ***!
\*********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex:first-child {\n height: 500px;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-width: none;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-transactions-view/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-network-view/index.js":
/*!*************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-network-view/index.js ***!
\*************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mWhatIsANetworkView: () => (/* binding */ W3mWhatIsANetworkView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nconst data = [\n {\n images: ['network', 'layers', 'system'],\n title: 'The systems nuts and bolts',\n text: 'A network is what brings the blockchain to life, as this technical infrastructure allows apps to access the ledger and smart contract services.'\n },\n {\n images: ['noun', 'defiAlt', 'dao'],\n title: 'Designed for different uses',\n text: 'Each network is designed differently, and may therefore suit certain apps and experiences.'\n }\n];\nlet W3mWhatIsANetworkView = class W3mWhatIsANetworkView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n flexDirection=\"column\"\n .padding=${['xxl', 'xl', 'xl', 'xl']}\n alignItems=\"center\"\n gap=\"xl\"\n >\n <w3m-help-widget .data=${data}></w3m-help-widget>\n <wui-button\n variant=\"fill\"\n size=\"sm\"\n @click=${() => {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.openHref('https://ethereum.org/en/developers/docs/networks/', '_blank');\n }}\n >\n Learn more\n <wui-icon color=\"inherit\" slot=\"iconRight\" name=\"externalLink\"></wui-icon>\n </wui-button>\n </wui-flex>\n `;\n }\n};\nW3mWhatIsANetworkView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-what-is-a-network-view')\n], W3mWhatIsANetworkView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-network-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-wallet-view/index.js":
/*!************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-wallet-view/index.js ***!
\************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ W3mWhatIsAWalletView: () => (/* binding */ W3mWhatIsAWalletView)\n/* harmony export */ });\n/* harmony import */ var _web3modal_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/core */ \"./node_modules/@web3modal/core/dist/esm/index.js\");\n/* harmony import */ var _web3modal_ui__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/ui */ \"./node_modules/@web3modal/ui/dist/esm/index.js\");\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/scaffold/node_modules/lit/index.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\nconst data = [\n {\n images: ['login', 'profile', 'lock'],\n title: 'One login for all of web3',\n text: 'Log in to any app by connecting your wallet. Say goodbye to countless passwords!'\n },\n {\n images: ['defi', 'nft', 'eth'],\n title: 'A home for your digital assets',\n text: 'A wallet lets you store, send and receive digital assets like cryptocurrencies and NFTs.'\n },\n {\n images: ['browser', 'noun', 'dao'],\n title: 'Your gateway to a new web',\n text: 'With your wallet, you can explore and interact with DeFi, NFTs, DAOs, and much more.'\n }\n];\nlet W3mWhatIsAWalletView = class W3mWhatIsAWalletView extends lit__WEBPACK_IMPORTED_MODULE_2__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_2__.html) `\n <wui-flex\n flexDirection=\"column\"\n .padding=${['xxl', 'xl', 'xl', 'xl']}\n alignItems=\"center\"\n gap=\"xl\"\n >\n <w3m-help-widget .data=${data}></w3m-help-widget>\n <wui-button variant=\"fill\" size=\"sm\" @click=${this.onGetWallet.bind(this)}>\n <wui-icon color=\"inherit\" slot=\"iconLeft\" name=\"wallet\"></wui-icon>\n Get a Wallet\n </wui-button>\n </wui-flex>\n `;\n }\n onGetWallet() {\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.EventsController.sendEvent({ type: 'track', event: 'CLICK_GET_WALLET' });\n _web3modal_core__WEBPACK_IMPORTED_MODULE_0__.RouterController.push('GetWallet');\n }\n};\nW3mWhatIsAWalletView = __decorate([\n (0,_web3modal_ui__WEBPACK_IMPORTED_MODULE_1__.customElement)('w3m-what-is-a-wallet-view')\n], W3mWhatIsAWalletView);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/dist/esm/src/views/w3m-what-is-a-wallet-view/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/css-tag.js":
/*!****************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/css-tag.js ***!
\****************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* binding */ CSSResult),\n/* harmony export */ adoptStyles: () => (/* binding */ adoptStyles),\n/* harmony export */ css: () => (/* binding */ css),\n/* harmony export */ getCompatibleStyle: () => (/* binding */ getCompatibleStyle),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* binding */ supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* binding */ unsafeCSS)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Whether the current browser supports `adoptedStyleSheets`.\n */\nconst supportsAdoptingStyleSheets = global.ShadowRoot &&\n (global.ShadyCSS === undefined || global.ShadyCSS.nativeShadow) &&\n 'adoptedStyleSheets' in Document.prototype &&\n 'replace' in CSSStyleSheet.prototype;\nconst constructionToken = Symbol();\nconst cssTagCache = new WeakMap();\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nclass CSSResult {\n constructor(cssText, strings, safeToken) {\n // This property needs to remain unminified.\n this['_$cssResult$'] = true;\n if (safeToken !== constructionToken) {\n throw new Error('CSSResult is not constructable. Use `unsafeCSS` or `css` instead.');\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet() {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(this.cssText);\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n toString() {\n return this.cssText;\n }\n}\nconst textFromCSSResult = (value) => {\n // This property needs to remain unminified.\n if (value['_$cssResult$'] === true) {\n return value.cssText;\n }\n else if (typeof value === 'number') {\n return value;\n }\n else {\n throw new Error(`Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`);\n }\n};\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nconst unsafeCSS = (value) => new CSSResult(typeof value === 'string' ? value : String(value), undefined, constructionToken);\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an expression.\n */\nconst css = (strings, ...values) => {\n const cssText = strings.length === 1\n ? strings[0]\n : values.reduce((acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1], strings[0]);\n return new CSSResult(cssText, strings, constructionToken);\n};\n/**\n * Applies the given styles to a `shadowRoot`. When Shadow DOM is\n * available but `adoptedStyleSheets` is not, styles are appended to the\n * `shadowRoot` to [mimic spec behavior](https://wicg.github.io/construct-stylesheets/#using-constructed-stylesheets).\n * Note, when shimming is used, any styles that are subsequently placed into\n * the shadowRoot should be placed *before* any shimmed adopted styles. This\n * will match spec behavior that gives adopted sheets precedence over styles in\n * shadowRoot.\n */\nconst adoptStyles = (renderRoot, styles) => {\n if (supportsAdoptingStyleSheets) {\n renderRoot.adoptedStyleSheets = styles.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);\n }\n else {\n for (const s of styles) {\n const style = document.createElement('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nonce = global['litNonce'];\n if (nonce !== undefined) {\n style.setAttribute('nonce', nonce);\n }\n style.textContent = s.cssText;\n renderRoot.appendChild(style);\n }\n }\n};\nconst cssResultFromStyleSheet = (sheet) => {\n let cssText = '';\n for (const rule of sheet.cssRules) {\n cssText += rule.cssText;\n }\n return unsafeCSS(cssText);\n};\nconst getCompatibleStyle = supportsAdoptingStyleSheets ||\n (NODE_MODE && global.CSSStyleSheet === undefined)\n ? (s) => s\n : (s) => s instanceof CSSStyleSheet ? cssResultFromStyleSheet(s) : s;\n//# sourceMappingURL=css-tag.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/css-tag.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js":
/*!************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js ***!
\************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ desc: () => (/* binding */ desc)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Wraps up a few best practices when returning a property descriptor from a\n * decorator.\n *\n * Marks the defined property as configurable, and enumerable, and handles\n * the case where we have a busted Reflect.decorate zombiefill (e.g. in Angular\n * apps).\n *\n * @internal\n */\nconst desc = (obj, name, descriptor) => {\n // For backwards compatibility, we keep them configurable and enumerable.\n descriptor.configurable = true;\n descriptor.enumerable = true;\n if (\n // We check for Reflect.decorate each time, in case the zombiefill\n // is applied via lazy loading some Angular code.\n Reflect.decorate &&\n typeof name !== 'object') {\n // If we're called as a legacy decorator, and Reflect.decorate is present\n // then we have no guarantees that the returned descriptor will be\n // defined on the class, so we must apply it directly ourselves.\n Object.defineProperty(obj, name, descriptor);\n }\n return descriptor;\n};\n//# sourceMappingURL=base.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js":
/*!**********************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js ***!
\**********************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* binding */ customElement)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Class decorator factory that defines the decorated class as a custom element.\n *\n * ```js\n * @customElement('my-element')\n * class MyElement extends LitElement {\n * render() {\n * return html``;\n * }\n * }\n * ```\n * @category Decorator\n * @param tagName The tag name of the custom element to define.\n */\nconst customElement = (tagName) => (classOrTarget, context) => {\n if (context !== undefined) {\n context.addInitializer(() => {\n customElements.define(tagName, classOrTarget);\n });\n }\n else {\n customElements.define(tagName, classOrTarget);\n }\n};\n//# sourceMappingURL=custom-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js":
/*!*********************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js ***!
\*********************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ eventOptions: () => (/* binding */ eventOptions)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Adds event listener options to a method used as an event listener in a\n * lit-html template.\n *\n * @param options An object that specifies event listener options as accepted by\n * `EventTarget#addEventListener` and `EventTarget#removeEventListener`.\n *\n * Current browsers support the `capture`, `passive`, and `once` options. See:\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters\n *\n * ```ts\n * class MyElement {\n * clicked = false;\n *\n * render() {\n * return html`\n * <div @click=${this._onClick}>\n * <button></button>\n * </div>\n * `;\n * }\n *\n * @eventOptions({capture: true})\n * _onClick(e) {\n * this.clicked = true;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction eventOptions(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((protoOrValue, nameOrContext) => {\n const method = typeof protoOrValue === 'function'\n ? protoOrValue\n : protoOrValue[nameOrContext];\n Object.assign(method, options);\n });\n}\n//# sourceMappingURL=event-options.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js ***!
\****************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ property: () => (/* binding */ property),\n/* harmony export */ standardProperty: () => (/* binding */ standardProperty)\n/* harmony export */ });\n/* harmony import */ var _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../reactive-element.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\nconst legacyProperty = (options, proto, name) => {\n const hasOwnProperty = proto.hasOwnProperty(name);\n proto.constructor.createProperty(name, hasOwnProperty ? { ...options, wrapped: true } : options);\n // For accessors (which have a descriptor on the prototype) we need to\n // return a descriptor, otherwise TypeScript overwrites the descriptor we\n // define in createProperty() with the original descriptor. We don't do this\n // for fields, which don't have a descriptor, because this could overwrite\n // descriptor defined by other decorators.\n return hasOwnProperty\n ? Object.getOwnPropertyDescriptor(proto, name)\n : undefined;\n};\n// This is duplicated from a similar variable in reactive-element.ts, but\n// actually makes sense to have this default defined with the decorator, so\n// that different decorators could have different defaults.\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.defaultConverter,\n reflect: false,\n hasChanged: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.notEqual,\n};\n/**\n * Wraps a class accessor or setter so that `requestUpdate()` is called with the\n * property name and old value when the accessor is set.\n */\nconst standardProperty = (options = defaultPropertyDeclaration, target, context) => {\n const { kind, metadata } = context;\n if (DEV_MODE && metadata == null) {\n issueWarning('missing-class-metadata', `The class ${target} is missing decorator metadata. This ` +\n `could mean that you're using a compiler that supports decorators ` +\n `but doesn't support decorator metadata, such as TypeScript 5.1. ` +\n `Please update your compiler.`);\n }\n // Store the property options\n let properties = globalThis.litPropertyMetadata.get(metadata);\n if (properties === undefined) {\n globalThis.litPropertyMetadata.set(metadata, (properties = new Map()));\n }\n properties.set(context.name, options);\n if (kind === 'accessor') {\n // Standard decorators cannot dynamically modify the class, so we can't\n // replace a field with accessors. The user must use the new `accessor`\n // keyword instead.\n const { name } = context;\n return {\n set(v) {\n const oldValue = target.get.call(this);\n target.set.call(this, v);\n this.requestUpdate(name, oldValue, options);\n },\n init(v) {\n if (v !== undefined) {\n this._$changeProperty(name, undefined, options);\n }\n return v;\n },\n };\n }\n else if (kind === 'setter') {\n const { name } = context;\n return function (value) {\n const oldValue = this[name];\n target.call(this, value);\n this.requestUpdate(name, oldValue, options);\n };\n }\n throw new Error(`Unsupported decorator location: ${kind}`);\n};\n/**\n * A class field or accessor decorator which creates a reactive property that\n * reflects a corresponding attribute value. When a decorated property is set\n * the element will update and render. A {@linkcode PropertyDeclaration} may\n * optionally be supplied to configure property features.\n *\n * This decorator should only be used for public fields. As public fields,\n * properties should be considered as primarily settable by element users,\n * either via attribute or the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the {@linkcode state} decorator.\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating public\n * properties should typically not be done for non-primitive (object or array)\n * properties. In other cases when an element needs to manage state, a private\n * property decorated via the {@linkcode state} decorator should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n *\n * ```ts\n * class MyElement {\n * @property({ type: Boolean })\n * clicked = false;\n * }\n * ```\n * @category Decorator\n * @ExportDecoratedItems\n */\nfunction property(options) {\n return (protoOrTarget, nameOrContext\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ) => {\n return (typeof nameOrContext === 'object'\n ? standardProperty(options, protoOrTarget, nameOrContext)\n : legacyProperty(options, protoOrTarget, nameOrContext));\n };\n}\n//# sourceMappingURL=property.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js":
/*!*****************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js ***!
\*****************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAll: () => (/* binding */ queryAll)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Shared fragment used to generate empty NodeLists when a render root is\n// undefined\nlet fragment;\n/**\n * A property decorator that converts a class property into a getter\n * that executes a querySelectorAll on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See:\n * https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll\n *\n * ```ts\n * class MyElement {\n * @queryAll('div')\n * divs: NodeListOf<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction queryAll(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const container = this.renderRoot ?? (fragment ??= document.createDocumentFragment());\n return container.querySelectorAll(selector);\n },\n });\n });\n}\n//# sourceMappingURL=query-all.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js":
/*!*******************************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js ***!
\*******************************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedElements: () => (/* binding */ queryAssignedElements)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedElements` of the given `slot`. Provides a declarative\n * way to use\n * [`HTMLSlotElement.assignedElements`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedElements).\n *\n * Can be passed an optional {@linkcode QueryAssignedElementsOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedElements({ slot: 'list' })\n * listItems!: Array<HTMLElement>;\n * @queryAssignedElements()\n * unnamedSlotEls!: Array<HTMLElement>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * <slot></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note, the type of this property should be annotated as `Array<HTMLElement>`.\n *\n * @category Decorator\n */\nfunction queryAssignedElements(options) {\n return ((obj, name) => {\n const { slot, selector } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n const elements = slotEl?.assignedElements(options) ?? [];\n return (selector === undefined\n ? elements\n : elements.filter((node) => node.matches(selector)));\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-elements.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js":
/*!****************************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js ***!
\****************************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedNodes: () => (/* binding */ queryAssignedNodes)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedNodes` of the given `slot`.\n *\n * Can be passed an optional {@linkcode QueryAssignedNodesOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedNodes({slot: 'list', flatten: true})\n * listItems!: Array<Node>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note the type of this property should be annotated as `Array<Node>`. Use the\n * queryAssignedElements decorator to list only elements, and optionally filter\n * the element list using a CSS selector.\n *\n * @category Decorator\n */\nfunction queryAssignedNodes(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((obj, name) => {\n const { slot } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n return (slotEl?.assignedNodes(options) ?? []);\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-nodes.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js":
/*!*******************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js ***!
\*******************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAsync: () => (/* binding */ queryAsync)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Note, in the future, we may extend this decorator to support the use case\n// where the queried element may need to do work to become ready to interact\n// with (e.g. load some implementation code). If so, we might elect to\n// add a second argument defining a function that can be run to make the\n// queried element loaded/updated/ready.\n/**\n * A property decorator that converts a class property into a getter that\n * returns a promise that resolves to the result of a querySelector on the\n * element's renderRoot done after the element's `updateComplete` promise\n * resolves. When the queried property may change with element state, this\n * decorator can be used instead of requiring users to await the\n * `updateComplete` before accessing the property.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @queryAsync('#first')\n * first: Promise<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n *\n * // external usage\n * async doSomethingWithFirst() {\n * (await aMyElement.first).doSomething();\n * }\n * ```\n * @category Decorator\n */\nfunction queryAsync(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n async get() {\n await this.updateComplete;\n return this.renderRoot?.querySelector(selector) ?? null;\n },\n });\n });\n}\n//# sourceMappingURL=query-async.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query.js ***!
\*************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ query: () => (/* binding */ query)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\n/**\n * A property decorator that converts a class property into a getter that\n * executes a querySelector on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n * @param cache An optional boolean which when true performs the DOM query only\n * once and caches the result.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @query('#first')\n * first: HTMLDivElement;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction query(selector, cache) {\n return ((protoOrTarget, nameOrContext, descriptor) => {\n const doQuery = (el) => {\n const result = (el.renderRoot?.querySelector(selector) ?? null);\n if (DEV_MODE && result === null && cache && !el.hasUpdated) {\n const name = typeof nameOrContext === 'object'\n ? nameOrContext.name\n : nameOrContext;\n issueWarning('', `@query'd field ${JSON.stringify(String(name))} with the 'cache' ` +\n `flag set for selector '${selector}' has been accessed before ` +\n `the first update and returned null. This is expected if the ` +\n `renderRoot tree has not been provided beforehand (e.g. via ` +\n `Declarative Shadow DOM). Therefore the value hasn't been cached.`);\n }\n // TODO: if we want to allow users to assert that the query will never\n // return null, we need a new option and to throw here if the result\n // is null.\n return result;\n };\n if (cache) {\n // Accessors to wrap from either:\n // 1. The decorator target, in the case of standard decorators\n // 2. The property descriptor, in the case of experimental decorators\n // on auto-accessors.\n // 3. Functions that access our own cache-key property on the instance,\n // in the case of experimental decorators on fields.\n const { get, set } = typeof nameOrContext === 'object'\n ? protoOrTarget\n : descriptor ??\n (() => {\n const key = DEV_MODE\n ? Symbol(`${String(nameOrContext)} (@query() cache)`)\n : Symbol();\n return {\n get() {\n return this[key];\n },\n set(v) {\n this[key] = v;\n },\n };\n })();\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(protoOrTarget, nameOrContext, {\n get() {\n let result = get.call(this);\n if (result === undefined) {\n result = doQuery(this);\n if (result !== null || this.hasUpdated) {\n set.call(this, result);\n }\n }\n return result;\n },\n });\n }\n else {\n // This object works as the return type for both standard and\n // experimental decorators.\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(protoOrTarget, nameOrContext, {\n get() {\n return doQuery(this);\n },\n });\n }\n });\n}\n//# sourceMappingURL=query.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js ***!
\*************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ state: () => (/* binding */ state)\n/* harmony export */ });\n/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./property.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\n/**\n * Declares a private or protected reactive property that still triggers\n * updates to the element when it changes. It does not reflect from the\n * corresponding attribute.\n *\n * Properties declared this way must not be used from HTML or HTML templating\n * systems, they're solely for properties internal to the element. These\n * properties may be renamed by optimization tools like closure compiler.\n * @category Decorator\n */\nfunction state(options) {\n return (0,_property_js__WEBPACK_IMPORTED_MODULE_0__.property)({\n ...options,\n // Add both `state` and `attribute` because we found a third party\n // controller that is keying off of PropertyOptions.state to determine\n // whether a field is a private internal property or not.\n state: true,\n attribute: false,\n });\n}\n//# sourceMappingURL=state.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js ***!
\*************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ ReactiveElement: () => (/* binding */ ReactiveElement),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* binding */ defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ notEqual: () => (/* binding */ notEqual),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _css_tag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./css-tag.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/css-tag.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst { is, defineProperty, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, } = Object;\nconst NODE_MODE = false;\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\nconst DEV_MODE = true;\nlet issueWarning;\nconst trustedTypes = global\n .trustedTypes;\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? trustedTypes.emptyScript\n : '';\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (global.litIssuedWarnings ??=\n new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning('polyfill-support-missing', `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`);\n }\n}\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = (prop, _obj) => prop;\nconst defaultConverter = {\n toAttribute(value, type) {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n fromAttribute(value, type) {\n let fromValue = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value);\n }\n catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nconst notEqual = (value, old) => !is(value, old);\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual,\n};\n// Ensure metadata is enabled. TypeScript does not polyfill\n// Symbol.metadata, so we must ensure that it exists.\nSymbol.metadata ??= Symbol('metadata');\n// Map from a class's metadata object to property options\n// Note that we must use nullish-coalescing assignment so that we only use one\n// map even if we load multiple version of this module.\nglobal.litPropertyMetadata ??= new WeakMap();\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclasses to render updates as desired.\n * @noInheritDoc\n */\nclass ReactiveElement\n// In the Node build, this `extends` clause will be substituted with\n// `(globalThis.HTMLElement ?? HTMLElement)`.\n//\n// This way, we will first prefer any global `HTMLElement` polyfill that the\n// user has assigned, and then fall back to the `HTMLElement` shim which has\n// been imported (see note at the top of this file about how this import is\n// generated by Rollup). Note that the `HTMLElement` variable has been\n// shadowed by this import, so it no longer refers to the global.\n extends HTMLElement {\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer) {\n this.__prepare();\n (this._initializers ??= []).push(initializer);\n }\n /**\n * Returns a list of attributes corresponding to the registered properties.\n * @nocollapse\n * @category attributes\n */\n static get observedAttributes() {\n // Ensure we've created all properties\n this.finalize();\n // this.__attributeToPropertyMap is only undefined after finalize() in\n // ReactiveElement itself. ReactiveElement.observedAttributes is only\n // accessed with ReactiveElement as the receiver when a subclass or mixin\n // calls super.observedAttributes\n return (this.__attributeToPropertyMap && [...this.__attributeToPropertyMap.keys()]);\n }\n /**\n * Creates a property accessor on the element prototype if one does not exist\n * and stores a {@linkcode PropertyDeclaration} for the property with the\n * given options. The property setter calls the property's `hasChanged`\n * property option or uses a strict identity check to determine whether or not\n * to request an update.\n *\n * This method may be overridden to customize properties; however,\n * when doing so, it's important to call `super.createProperty` to ensure\n * the property is setup correctly. This method calls\n * `getPropertyDescriptor` internally to get a descriptor to install.\n * To customize what properties do when they are get or set, override\n * `getPropertyDescriptor`. To customize the options for a property,\n * implement `createProperty` like this:\n *\n * ```ts\n * static createProperty(name, options) {\n * options = Object.assign(options, {myOption: true});\n * super.createProperty(name, options);\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static createProperty(name, options = defaultPropertyDeclaration) {\n // If this is a state property, force the attribute to false.\n if (options.state) {\n options.attribute = false;\n }\n this.__prepare();\n this.elementProperties.set(name, options);\n if (!options.noAccessor) {\n const key = DEV_MODE\n ? // Use Symbol.for in dev mode to make it easier to maintain state\n // when doing HMR.\n Symbol.for(`${String(name)} (@property() cache)`)\n : Symbol();\n const descriptor = this.getPropertyDescriptor(name, key, options);\n if (descriptor !== undefined) {\n defineProperty(this.prototype, name, descriptor);\n }\n }\n }\n /**\n * Returns a property descriptor to be defined on the given named property.\n * If no descriptor is returned, the property will not become an accessor.\n * For example,\n *\n * ```ts\n * class MyElement extends LitElement {\n * static getPropertyDescriptor(name, key, options) {\n * const defaultDescriptor =\n * super.getPropertyDescriptor(name, key, options);\n * const setter = defaultDescriptor.set;\n * return {\n * get: defaultDescriptor.get,\n * set(value) {\n * setter.call(this, value);\n * // custom action.\n * },\n * configurable: true,\n * enumerable: true\n * }\n * }\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static getPropertyDescriptor(name, key, options) {\n const { get, set } = getOwnPropertyDescriptor(this.prototype, name) ?? {\n get() {\n return this[key];\n },\n set(v) {\n this[key] = v;\n },\n };\n if (DEV_MODE && get == null) {\n if ('value' in (getOwnPropertyDescriptor(this.prototype, name) ?? {})) {\n throw new Error(`Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it's actually declared as a value on the prototype. ` +\n `Usually this is due to using @property or @state on a method.`);\n }\n issueWarning('reactive-property-without-getter', `Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it does not have a getter. This will be an error in a ` +\n `future version of Lit.`);\n }\n return {\n get() {\n return get?.call(this);\n },\n set(value) {\n const oldValue = get?.call(this);\n set.call(this, value);\n this.requestUpdate(name, oldValue, options);\n },\n configurable: true,\n enumerable: true,\n };\n }\n /**\n * Returns the property options associated with the given property.\n * These options are defined with a `PropertyDeclaration` via the `properties`\n * object or the `@property` decorator and are registered in\n * `createProperty(...)`.\n *\n * Note, this method should be considered \"final\" and not overridden. To\n * customize the options for a given property, override\n * {@linkcode createProperty}.\n *\n * @nocollapse\n * @final\n * @category properties\n */\n static getPropertyOptions(name) {\n return this.elementProperties.get(name) ?? defaultPropertyDeclaration;\n }\n /**\n * Initializes static own properties of the class used in bookkeeping\n * for element properties, initializers, etc.\n *\n * Can be called multiple times by code that needs to ensure these\n * properties exist before using them.\n *\n * This method ensures the superclass is finalized so that inherited\n * property metadata can be copied down.\n * @nocollapse\n */\n static __prepare() {\n if (this.hasOwnProperty(JSCompiler_renameProperty('elementProperties', this))) {\n // Already prepared\n return;\n }\n // Finalize any superclasses\n const superCtor = getPrototypeOf(this);\n superCtor.finalize();\n // Create own set of initializers for this class if any exist on the\n // superclass and copy them down. Note, for a small perf boost, avoid\n // creating initializers unless needed.\n if (superCtor._initializers !== undefined) {\n this._initializers = [...superCtor._initializers];\n }\n // Initialize elementProperties from the superclass\n this.elementProperties = new Map(superCtor.elementProperties);\n }\n /**\n * Finishes setting up the class so that it's ready to be registered\n * as a custom element and instantiated.\n *\n * This method is called by the ReactiveElement.observedAttributes getter.\n * If you override the observedAttributes getter, you must either call\n * super.observedAttributes to trigger finalization, or call finalize()\n * yourself.\n *\n * @nocollapse\n */\n static finalize() {\n if (this.hasOwnProperty(JSCompiler_renameProperty('finalized', this))) {\n return;\n }\n this.finalized = true;\n this.__prepare();\n // Create properties from the static properties block:\n if (this.hasOwnProperty(JSCompiler_renameProperty('properties', this))) {\n const props = this.properties;\n const propKeys = [\n ...getOwnPropertyNames(props),\n ...getOwnPropertySymbols(props),\n ];\n for (const p of propKeys) {\n this.createProperty(p, props[p]);\n }\n }\n // Create properties from standard decorator metadata:\n const metadata = this[Symbol.metadata];\n if (metadata !== null) {\n const properties = litPropertyMetadata.get(metadata);\n if (properties !== undefined) {\n for (const [p, options] of properties) {\n this.elementProperties.set(p, options);\n }\n }\n }\n // Create the attribute-to-property map\n this.__attributeToPropertyMap = new Map();\n for (const [p, options] of this.elementProperties) {\n const attr = this.__attributeNameForProperty(p, options);\n if (attr !== undefined) {\n this.__attributeToPropertyMap.set(attr, p);\n }\n }\n this.elementStyles = this.finalizeStyles(this.styles);\n if (DEV_MODE) {\n if (this.hasOwnProperty('createProperty')) {\n issueWarning('no-override-create-property', 'Overriding ReactiveElement.createProperty() is deprecated. ' +\n 'The override will not be called with standard decorators');\n }\n if (this.hasOwnProperty('getPropertyDescriptor')) {\n issueWarning('no-override-get-property-descriptor', 'Overriding ReactiveElement.getPropertyDescriptor() is deprecated. ' +\n 'The override will not be called with standard decorators');\n }\n }\n }\n /**\n * Takes the styles the user supplied via the `static styles` property and\n * returns the array of styles to apply to the element.\n * Override this method to integrate into a style management system.\n *\n * Styles are deduplicated preserving the _last_ instance in the list. This\n * is a performance optimization to avoid duplicated styles that can occur\n * especially when composing via subclassing. The last item is kept to try\n * to preserve the cascade order with the assumption that it's most important\n * that last added styles override previous styles.\n *\n * @nocollapse\n * @category styles\n */\n static finalizeStyles(styles) {\n const elementStyles = [];\n if (Array.isArray(styles)) {\n // Dedupe the flattened array in reverse order to preserve the last items.\n // Casting to Array<unknown> works around TS error that\n // appears to come from trying to flatten a type CSSResultArray.\n const set = new Set(styles.flat(Infinity).reverse());\n // Then preserve original order by adding the set items in reverse order.\n for (const s of set) {\n elementStyles.unshift((0,_css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle)(s));\n }\n }\n else if (styles !== undefined) {\n elementStyles.push((0,_css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle)(styles));\n }\n return elementStyles;\n }\n /**\n * Returns the property name for the given attribute `name`.\n * @nocollapse\n */\n static __attributeNameForProperty(name, options) {\n const attribute = options.attribute;\n return attribute === false\n ? undefined\n : typeof attribute === 'string'\n ? attribute\n : typeof name === 'string'\n ? name.toLowerCase()\n : undefined;\n }\n constructor() {\n super();\n this.__instanceProperties = undefined;\n /**\n * True if there is a pending update as a result of calling `requestUpdate()`.\n * Should only be read.\n * @category updates\n */\n this.isUpdatePending = false;\n /**\n * Is set to `true` after the first update. The element code cannot assume\n * that `renderRoot` exists before the element `hasUpdated`.\n * @category updates\n */\n this.hasUpdated = false;\n /**\n * Name of currently reflecting property\n */\n this.__reflectingProperty = null;\n this.__initialize();\n }\n /**\n * Internal only override point for customizing work done when elements\n * are constructed.\n */\n __initialize() {\n this.__updatePromise = new Promise((res) => (this.enableUpdating = res));\n this._$changedProperties = new Map();\n // This enqueues a microtask that ust run before the first update, so it\n // must be called before requestUpdate()\n this.__saveInstanceProperties();\n // ensures first update will be caught by an early access of\n // `updateComplete`\n this.requestUpdate();\n this.constructor._initializers?.forEach((i) => i(this));\n }\n /**\n * Registers a `ReactiveController` to participate in the element's reactive\n * update cycle. The element automatically calls into any registered\n * controllers during its lifecycle callbacks.\n *\n * If the element is connected when `addController()` is called, the\n * controller's `hostConnected()` callback will be immediately called.\n * @category controllers\n */\n addController(controller) {\n (this.__controllers ??= new Set()).add(controller);\n // If a controller is added after the element has been connected,\n // call hostConnected. Note, re-using existence of `renderRoot` here\n // (which is set in connectedCallback) to avoid the need to track a\n // first connected state.\n if (this.renderRoot !== undefined && this.isConnected) {\n controller.hostConnected?.();\n }\n }\n /**\n * Removes a `ReactiveController` from the element.\n * @category controllers\n */\n removeController(controller) {\n this.__controllers?.delete(controller);\n }\n /**\n * Fixes any properties set on the instance before upgrade time.\n * Otherwise these would shadow the accessor and break these properties.\n * The properties are stored in a Map which is played back after the\n * constructor runs. Note, on very old versions of Safari (<=9) or Chrome\n * (<=41), properties created for native platform properties like (`id` or\n * `name`) may not have default values set in the element constructor. On\n * these browsers native properties appear on instances and therefore their\n * default value will overwrite any element default (e.g. if the element sets\n * this.id = 'id' in the constructor, the 'id' will become '' since this is\n * the native platform default).\n */\n __saveInstanceProperties() {\n const instanceProperties = new Map();\n const elementProperties = this.constructor\n .elementProperties;\n for (const p of elementProperties.keys()) {\n if (this.hasOwnProperty(p)) {\n instanceProperties.set(p, this[p]);\n delete this[p];\n }\n }\n if (instanceProperties.size > 0) {\n this.__instanceProperties = instanceProperties;\n }\n }\n /**\n * Returns the node into which the element should render and by default\n * creates and returns an open shadowRoot. Implement to customize where the\n * element's DOM is rendered. For example, to render into the element's\n * childNodes, return `this`.\n *\n * @return Returns a node into which to render.\n * @category rendering\n */\n createRenderRoot() {\n const renderRoot = this.shadowRoot ??\n this.attachShadow(this.constructor.shadowRootOptions);\n (0,_css_tag_js__WEBPACK_IMPORTED_MODULE_0__.adoptStyles)(renderRoot, this.constructor.elementStyles);\n return renderRoot;\n }\n /**\n * On first connection, creates the element's renderRoot, sets up\n * element styling, and enables updating.\n * @category lifecycle\n */\n connectedCallback() {\n // Create renderRoot before controllers `hostConnected`\n this.renderRoot ??=\n this.createRenderRoot();\n this.enableUpdating(true);\n this.__controllers?.forEach((c) => c.hostConnected?.());\n }\n /**\n * Note, this method should be considered final and not overridden. It is\n * overridden on the element instance with a function that triggers the first\n * update.\n * @category updates\n */\n enableUpdating(_requestedUpdate) { }\n /**\n * Allows for `super.disconnectedCallback()` in extensions while\n * reserving the possibility of making non-breaking feature additions\n * when disconnecting at some point in the future.\n * @category lifecycle\n */\n disconnectedCallback() {\n this.__controllers?.forEach((c) => c.hostDisconnected?.());\n }\n /**\n * Synchronizes property values when attributes change.\n *\n * Specifically, when an attribute is set, the corresponding property is set.\n * You should rarely need to implement this callback. If this method is\n * overridden, `super.attributeChangedCallback(name, _old, value)` must be\n * called.\n *\n * See [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\n * on MDN for more information about the `attributeChangedCallback`.\n * @category attributes\n */\n attributeChangedCallback(name, _old, value) {\n this._$attributeToProperty(name, value);\n }\n __propertyToAttribute(name, value) {\n const elemProperties = this.constructor.elementProperties;\n const options = elemProperties.get(name);\n const attr = this.constructor.__attributeNameForProperty(name, options);\n if (attr !== undefined && options.reflect === true) {\n const converter = options.converter?.toAttribute !==\n undefined\n ? options.converter\n : defaultConverter;\n const attrValue = converter.toAttribute(value, options.type);\n if (DEV_MODE &&\n this.constructor.enabledWarnings.includes('migration') &&\n attrValue === undefined) {\n issueWarning('undefined-attribute-value', `The attribute value for the ${name} property is ` +\n `undefined on element ${this.localName}. The attribute will be ` +\n `removed, but in the previous version of \\`ReactiveElement\\`, ` +\n `the attribute would not have changed.`);\n }\n // Track if the property is being reflected to avoid\n // setting the property again via `attributeChangedCallback`. Note:\n // 1. this takes advantage of the fact that the callback is synchronous.\n // 2. will behave incorrectly if multiple attributes are in the reaction\n // stack at time of calling. However, since we process attributes\n // in `update` this should not be possible (or an extreme corner case\n // that we'd like to discover).\n // mark state reflecting\n this.__reflectingProperty = name;\n if (attrValue == null) {\n this.removeAttribute(attr);\n }\n else {\n this.setAttribute(attr, attrValue);\n }\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n /** @internal */\n _$attributeToProperty(name, value) {\n const ctor = this.constructor;\n // Note, hint this as an `AttributeMap` so closure clearly understands\n // the type; it has issues with tracking types through statics\n const propName = ctor.__attributeToPropertyMap.get(name);\n // Use tracking info to avoid reflecting a property value to an attribute\n // if it was just set because the attribute changed.\n if (propName !== undefined && this.__reflectingProperty !== propName) {\n const options = ctor.getPropertyOptions(propName);\n const converter = typeof options.converter === 'function'\n ? { fromAttribute: options.converter }\n : options.converter?.fromAttribute !== undefined\n ? options.converter\n : defaultConverter;\n // mark state reflecting\n this.__reflectingProperty = propName;\n this[propName] = converter.fromAttribute(value, options.type\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n );\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n /* @internal */\n requestUpdate(name, oldValue, options, initial = false, initialValue) {\n // If we have a property key, perform property update steps.\n if (name !== undefined) {\n options ??= this.constructor.getPropertyOptions(name);\n const hasChanged = options.hasChanged ?? notEqual;\n const newValue = initial ? initialValue : this[name];\n if (hasChanged(newValue, oldValue)) {\n this._$changeProperty(name, oldValue, options);\n }\n else {\n // Abort the request if the property should not be considered changed.\n return;\n }\n }\n if (this.isUpdatePending === false) {\n this.__updatePromise = this.__enqueueUpdate();\n }\n }\n /**\n * @internal\n */\n _$changeProperty(name, oldValue, options) {\n // TODO (justinfagnani): Create a benchmark of Map.has() + Map.set(\n // vs just Map.set()\n if (!this._$changedProperties.has(name)) {\n this._$changedProperties.set(name, oldValue);\n }\n // Add to reflecting properties set.\n // Note, it's important that every change has a chance to add the\n // property to `__reflectingProperties`. This ensures setting\n // attribute + property reflects correctly.\n if (options.reflect === true && this.__reflectingProperty !== name) {\n (this.__reflectingProperties ??= new Set()).add(name);\n }\n }\n /**\n * Sets up the element to asynchronously update.\n */\n async __enqueueUpdate() {\n this.isUpdatePending = true;\n try {\n // Ensure any previous update has resolved before updating.\n // This `await` also ensures that property changes are batched.\n await this.__updatePromise;\n }\n catch (e) {\n // Refire any previous errors async so they do not disrupt the update\n // cycle. Errors are refired so developers have a chance to observe\n // them, and this can be done by implementing\n // `window.onunhandledrejection`.\n Promise.reject(e);\n }\n const result = this.scheduleUpdate();\n // If `scheduleUpdate` returns a Promise, we await it. This is done to\n // enable coordinating updates with a scheduler. Note, the result is\n // checked to avoid delaying an additional microtask unless we need to.\n if (result != null) {\n await result;\n }\n return !this.isUpdatePending;\n }\n /**\n * Schedules an element update. You can override this method to change the\n * timing of updates by returning a Promise. The update will await the\n * returned Promise, and you should resolve the Promise to allow the update\n * to proceed. If this method is overridden, `super.scheduleUpdate()`\n * must be called.\n *\n * For instance, to schedule updates to occur just before the next frame:\n *\n * ```ts\n * override protected async scheduleUpdate(): Promise<unknown> {\n * await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n * super.scheduleUpdate();\n * }\n * ```\n * @category updates\n */\n scheduleUpdate() {\n const result = this.performUpdate();\n if (DEV_MODE &&\n this.constructor.enabledWarnings.includes('async-perform-update') &&\n typeof result?.then ===\n 'function') {\n issueWarning('async-perform-update', `Element ${this.localName} returned a Promise from performUpdate(). ` +\n `This behavior is deprecated and will be removed in a future ` +\n `version of ReactiveElement.`);\n }\n return result;\n }\n /**\n * Performs an element update. Note, if an exception is thrown during the\n * update, `firstUpdated` and `updated` will not be called.\n *\n * Call `performUpdate()` to immediately process a pending update. This should\n * generally not be needed, but it can be done in rare cases when you need to\n * update synchronously.\n *\n * @category updates\n */\n performUpdate() {\n // Abort any update if one is not pending when this is called.\n // This can happen if `performUpdate` is called early to \"flush\"\n // the update.\n if (!this.isUpdatePending) {\n return;\n }\n debugLogEvent?.({ kind: 'update' });\n if (!this.hasUpdated) {\n // Create renderRoot before first update. This occurs in `connectedCallback`\n // but is done here to support out of tree calls to `enableUpdating`/`performUpdate`.\n this.renderRoot ??=\n this.createRenderRoot();\n if (DEV_MODE) {\n // Produce warning if any reactive properties on the prototype are\n // shadowed by class fields. Instance fields set before upgrade are\n // deleted by this point, so any own property is caused by class field\n // initialization in the constructor.\n const ctor = this.constructor;\n const shadowedProperties = [...ctor.elementProperties.keys()].filter((p) => this.hasOwnProperty(p) && p in getPrototypeOf(this));\n if (shadowedProperties.length) {\n throw new Error(`The following properties on element ${this.localName} will not ` +\n `trigger updates as expected because they are set using class ` +\n `fields: ${shadowedProperties.join(', ')}. ` +\n `Native class fields and some compiled output will overwrite ` +\n `accessors used for detecting changes. See ` +\n `https://lit.dev/msg/class-field-shadowing ` +\n `for more information.`);\n }\n }\n // Mixin instance properties once, if they exist.\n if (this.__instanceProperties) {\n // TODO (justinfagnani): should we use the stored value? Could a new value\n // have been set since we stored the own property value?\n for (const [p, value] of this.__instanceProperties) {\n this[p] = value;\n }\n this.__instanceProperties = undefined;\n }\n // Trigger initial value reflection and populate the initial\n // changedProperties map, but only for the case of experimental\n // decorators on accessors, which will not have already populated the\n // changedProperties map. We can't know if these accessors had\n // initializers, so we just set them anyway - a difference from\n // experimental decorators on fields and standard decorators on\n // auto-accessors.\n // For context why experimentalDecorators with auto accessors are handled\n // specifically also see:\n // https://github.com/lit/lit/pull/4183#issuecomment-1711959635\n const elementProperties = this.constructor\n .elementProperties;\n if (elementProperties.size > 0) {\n for (const [p, options] of elementProperties) {\n if (options.wrapped === true &&\n !this._$changedProperties.has(p) &&\n this[p] !== undefined) {\n this._$changeProperty(p, this[p], options);\n }\n }\n }\n }\n let shouldUpdate = false;\n const changedProperties = this._$changedProperties;\n try {\n shouldUpdate = this.shouldUpdate(changedProperties);\n if (shouldUpdate) {\n this.willUpdate(changedProperties);\n this.__controllers?.forEach((c) => c.hostUpdate?.());\n this.update(changedProperties);\n }\n else {\n this.__markUpdated();\n }\n }\n catch (e) {\n // Prevent `firstUpdated` and `updated` from running when there's an\n // update exception.\n shouldUpdate = false;\n // Ensure element can accept additional updates after an exception.\n this.__markUpdated();\n throw e;\n }\n // The update is no longer considered pending and further updates are now allowed.\n if (shouldUpdate) {\n this._$didUpdate(changedProperties);\n }\n }\n /**\n * Invoked before `update()` to compute values needed during the update.\n *\n * Implement `willUpdate` to compute property values that depend on other\n * properties and are used in the rest of the update process.\n *\n * ```ts\n * willUpdate(changedProperties) {\n * // only need to check changed properties for an expensive computation.\n * if (changedProperties.has('firstName') || changedProperties.has('lastName')) {\n * this.sha = computeSHA(`${this.firstName} ${this.lastName}`);\n * }\n * }\n *\n * render() {\n * return html`SHA: ${this.sha}`;\n * }\n * ```\n *\n * @category updates\n */\n willUpdate(_changedProperties) { }\n // Note, this is an override point for polyfill-support.\n // @internal\n _$didUpdate(changedProperties) {\n this.__controllers?.forEach((c) => c.hostUpdated?.());\n if (!this.hasUpdated) {\n this.hasUpdated = true;\n this.firstUpdated(changedProperties);\n }\n this.updated(changedProperties);\n if (DEV_MODE &&\n this.isUpdatePending &&\n this.constructor.enabledWarnings.includes('change-in-update')) {\n issueWarning('change-in-update', `Element ${this.localName} scheduled an update ` +\n `(generally because a property was set) ` +\n `after an update completed, causing a new update to be scheduled. ` +\n `This is inefficient and should be avoided unless the next update ` +\n `can only be scheduled as a side effect of the previous update.`);\n }\n }\n __markUpdated() {\n this._$changedProperties = new Map();\n this.isUpdatePending = false;\n }\n /**\n * Returns a Promise that resolves when the element has completed updating.\n * The Promise value is a boolean that is `true` if the element completed the\n * update without triggering another update. The Promise result is `false` if\n * a property was set inside `updated()`. If the Promise is rejected, an\n * exception was thrown during the update.\n *\n * To await additional asynchronous work, override the `getUpdateComplete`\n * method. For example, it is sometimes useful to await a rendered element\n * before fulfilling this Promise. To do this, first await\n * `super.getUpdateComplete()`, then any subsequent state.\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n get updateComplete() {\n return this.getUpdateComplete();\n }\n /**\n * Override point for the `updateComplete` promise.\n *\n * It is not safe to override the `updateComplete` getter directly due to a\n * limitation in TypeScript which means it is not possible to call a\n * superclass getter (e.g. `super.updateComplete.then(...)`) when the target\n * language is ES5 (https://github.com/microsoft/TypeScript/issues/338).\n * This method should be overridden instead. For example:\n *\n * ```ts\n * class MyElement extends LitElement {\n * override async getUpdateComplete() {\n * const result = await super.getUpdateComplete();\n * await this._myChild.updateComplete;\n * return result;\n * }\n * }\n * ```\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n getUpdateComplete() {\n return this.__updatePromise;\n }\n /**\n * Controls whether or not `update()` should be called when the element requests\n * an update. By default, this method always returns `true`, but this can be\n * customized to control when to update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n shouldUpdate(_changedProperties) {\n return true;\n }\n /**\n * Updates the element. This method reflects property values to attributes.\n * It can be overridden to render and keep updated element DOM.\n * Setting properties inside this method will *not* trigger\n * another update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n update(_changedProperties) {\n // The forEach() expression will only run when when __reflectingProperties is\n // defined, and it returns undefined, setting __reflectingProperties to\n // undefined\n this.__reflectingProperties &&= this.__reflectingProperties.forEach((p) => this.__propertyToAttribute(p, this[p]));\n this.__markUpdated();\n }\n /**\n * Invoked whenever the element is updated. Implement to perform\n * post-updating tasks via DOM APIs, for example, focusing an element.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n updated(_changedProperties) { }\n /**\n * Invoked when the element is first updated. Implement to perform one time\n * work on the element after update.\n *\n * ```ts\n * firstUpdated() {\n * this.renderRoot.getElementById('my-text-area').focus();\n * }\n * ```\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n firstUpdated(_changedProperties) { }\n}\n/**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\nReactiveElement.elementStyles = [];\n/**\n * Options used when calling `attachShadow`. Set this property to customize\n * the options for the shadowRoot; for example, to create a closed\n * shadowRoot: `{mode: 'closed'}`.\n *\n * Note, these options are used in `createRenderRoot`. If this method\n * is customized, options should be respected if possible.\n * @nocollapse\n * @category rendering\n */\nReactiveElement.shadowRootOptions = { mode: 'open' };\n// Assigned here to work around a jscompiler bug with static fields\n// when compiling to ES5.\n// https://github.com/google/closure-compiler/issues/3177\nReactiveElement[JSCompiler_renameProperty('elementProperties', ReactiveElement)] = new Map();\nReactiveElement[JSCompiler_renameProperty('finalized', ReactiveElement)] = new Map();\n// Apply polyfills if available\npolyfillSupport?.({ ReactiveElement });\n// Dev mode warnings...\nif (DEV_MODE) {\n // Default warning set.\n ReactiveElement.enabledWarnings = [\n 'change-in-update',\n 'async-perform-update',\n ];\n const ensureOwnWarnings = function (ctor) {\n if (!ctor.hasOwnProperty(JSCompiler_renameProperty('enabledWarnings', ctor))) {\n ctor.enabledWarnings = ctor.enabledWarnings.slice();\n }\n };\n ReactiveElement.enableWarning = function (warning) {\n ensureOwnWarnings(this);\n if (!this.enabledWarnings.includes(warning)) {\n this.enabledWarnings.push(warning);\n }\n };\n ReactiveElement.disableWarning = function (warning) {\n ensureOwnWarnings(this);\n const i = this.enabledWarnings.indexOf(warning);\n if (i >= 0) {\n this.enabledWarnings.splice(i, 1);\n }\n };\n}\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for ReactiveElement usage.\n(global.reactiveElementVersions ??= []).push('2.0.2');\nif (DEV_MODE && global.reactiveElementVersions.length > 1) {\n issueWarning('multiple-versions', `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`);\n}\n//# sourceMappingURL=reactive-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-element/development/lit-element.js":
/*!**********************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-element/development/lit-element.js ***!
\**********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ LitElement: () => (/* binding */ LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* binding */ _$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.html),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * The main LitElement module, which defines the {@linkcode LitElement} base\n * class and related APIs.\n *\n * LitElement components can define a template and a set of observed\n * properties. Changing an observed property triggers a re-render of the\n * element.\n *\n * Import {@linkcode LitElement} and {@linkcode html} from this module to\n * create a component:\n *\n * ```js\n * import {LitElement, html} from 'lit-element';\n *\n * class MyElement extends LitElement {\n *\n * // Declare observed properties\n * static get properties() {\n * return {\n * adjective: {}\n * }\n * }\n *\n * constructor() {\n * this.adjective = 'awesome';\n * }\n *\n * // Define the element's template\n * render() {\n * return html`<p>your ${adjective} template here</p>`;\n * }\n * }\n *\n * customElements.define('my-element', MyElement);\n * ```\n *\n * `LitElement` extends {@linkcode ReactiveElement} and adds lit-html\n * templating. The `ReactiveElement` class is provided for users that want to\n * build their own custom element base classes that don't use lit-html.\n *\n * @packageDocumentation\n */\n\n\n\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = (prop, _obj) => prop;\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\n/**\n * Base element class that manages element properties and attributes, and\n * renders a lit-html template.\n *\n * To define a component, subclass `LitElement` and implement a\n * `render` method to provide the component's template. Define properties\n * using the {@linkcode LitElement.properties properties} property or the\n * {@linkcode property} decorator.\n */\nclass LitElement extends _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.ReactiveElement {\n constructor() {\n super(...arguments);\n /**\n * @category rendering\n */\n this.renderOptions = { host: this };\n this.__childPart = undefined;\n }\n /**\n * @category rendering\n */\n createRenderRoot() {\n const renderRoot = super.createRenderRoot();\n // When adoptedStyleSheets are shimmed, they are inserted into the\n // shadowRoot by createRenderRoot. Adjust the renderBefore node so that\n // any styles in Lit content render before adoptedStyleSheets. This is\n // important so that adoptedStyleSheets have precedence over styles in\n // the shadowRoot.\n this.renderOptions.renderBefore ??= renderRoot.firstChild;\n return renderRoot;\n }\n /**\n * Updates the element. This method reflects property values to attributes\n * and calls `render` to render DOM via lit-html. Setting properties inside\n * this method will *not* trigger another update.\n * @param changedProperties Map of changed properties with old values\n * @category updates\n */\n update(changedProperties) {\n // Setting properties in `render` should not trigger an update. Since\n // updates are allowed after super.update, it's important to call `render`\n // before that.\n const value = this.render();\n if (!this.hasUpdated) {\n this.renderOptions.isConnected = this.isConnected;\n }\n super.update(changedProperties);\n this.__childPart = (0,lit_html__WEBPACK_IMPORTED_MODULE_1__.render)(value, this.renderRoot, this.renderOptions);\n }\n /**\n * Invoked when the component is added to the document's DOM.\n *\n * In `connectedCallback()` you should setup tasks that should only occur when\n * the element is connected to the document. The most common of these is\n * adding event listeners to nodes external to the element, like a keydown\n * event handler added to the window.\n *\n * ```ts\n * connectedCallback() {\n * super.connectedCallback();\n * addEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * Typically, anything done in `connectedCallback()` should be undone when the\n * element is disconnected, in `disconnectedCallback()`.\n *\n * @category lifecycle\n */\n connectedCallback() {\n super.connectedCallback();\n this.__childPart?.setConnected(true);\n }\n /**\n * Invoked when the component is removed from the document's DOM.\n *\n * This callback is the main signal to the element that it may no longer be\n * used. `disconnectedCallback()` should ensure that nothing is holding a\n * reference to the element (such as event listeners added to nodes external\n * to the element), so that it is free to be garbage collected.\n *\n * ```ts\n * disconnectedCallback() {\n * super.disconnectedCallback();\n * window.removeEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * An element may be re-connected after being disconnected.\n *\n * @category lifecycle\n */\n disconnectedCallback() {\n super.disconnectedCallback();\n this.__childPart?.setConnected(false);\n }\n /**\n * Invoked on each update to perform rendering tasks. This method may return\n * any value renderable by lit-html's `ChildPart` - typically a\n * `TemplateResult`. Setting properties inside this method will *not* trigger\n * the element to update.\n * @category rendering\n */\n render() {\n return lit_html__WEBPACK_IMPORTED_MODULE_1__.noChange;\n }\n}\n// This property needs to remain unminified.\nLitElement['_$litElement$'] = true;\n/**\n * Ensure this class is marked as `finalized` as an optimization ensuring\n * it will not needlessly try to `finalize`.\n *\n * Note this property name is a string to prevent breaking Closure JS Compiler\n * optimizations. See @lit/reactive-element for more information.\n */\nLitElement[JSCompiler_renameProperty('finalized', LitElement)] = true;\n// Install hydration if available\nglobalThis.litElementHydrateSupport?.({ LitElement });\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? globalThis.litElementPolyfillSupportDevMode\n : globalThis.litElementPolyfillSupport;\npolyfillSupport?.({ LitElement });\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LE object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-html, since this module re-exports all of lit-html.\n *\n * @private\n */\nconst _$LE = {\n _$attributeToProperty: (el, name, value) => {\n // eslint-disable-next-line\n el._$attributeToProperty(name, value);\n },\n // eslint-disable-next-line\n _$changedProperties: (el) => el._$changedProperties,\n};\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for LitElement usage.\n(globalThis.litElementVersions ??= []).push('4.0.2');\nif (DEV_MODE && globalThis.litElementVersions.length > 1) {\n issueWarning('multiple-versions', `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`);\n}\n//# sourceMappingURL=lit-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit-element/development/lit-element.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js":
/*!*****************************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js ***!
\*****************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* binding */ ifDefined)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nconst ifDefined = (value) => value ?? _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n//# sourceMappingURL=if-defined.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isServer: () => (/* binding */ isServer)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * @fileoverview\n *\n * This file exports a boolean const whose value will depend on what environment\n * the module is being imported from.\n */\nconst NODE_MODE = false;\n/**\n * A boolean that will be `true` in server environments like Node, and `false`\n * in browser environments. Note that your server environment or toolchain must\n * support the `\"node\"` export condition for this to be `true`.\n *\n * This can be used when authoring components to change behavior based on\n * whether or not the component is executing in an SSR context.\n */\nconst isServer = NODE_MODE;\n//# sourceMappingURL=is-server.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ _$LH: () => (/* binding */ _$LH),\n/* harmony export */ html: () => (/* binding */ html),\n/* harmony export */ noChange: () => (/* binding */ noChange),\n/* harmony export */ nothing: () => (/* binding */ nothing),\n/* harmony export */ render: () => (/* binding */ render),\n/* harmony export */ svg: () => (/* binding */ svg)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\nlet issueWarning;\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!global.litIssuedWarnings.has(warning)) {\n console.warn(warning);\n global.litIssuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n}\nconst wrap = ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? global.ShadyDOM.wrap\n : (node) => node;\nconst trustedTypes = global.trustedTypes;\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\nconst identityFunction = (value) => value;\nconst noopSanitizer = (_node, _name, _type) => identityFunction;\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(`Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`);\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\nconst createSanitizer = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${String(Math.random()).slice(9)}$`;\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it's slightly smaller, but parses as a comment node.\nconst nodeMarker = `<${markerMatch}>`;\nconst d = NODE_MODE && global.document === undefined\n ? {\n createTreeWalker() {\n return {};\n },\n }\n : document;\n// Creates a dynamic marker. We never have to search for these in the DOM.\nconst createMarker = () => d.createComment('');\nconst isPrimitive = (value) => value === null || (typeof value != 'object' && typeof value != 'function');\nconst isArray = Array.isArray;\nconst isIterable = (value) => isArray(value) ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n typeof value?.[Symbol.iterator] === 'function';\nconst SPACE_CHAR = `[ \\t\\n\\f\\r]`;\nconst ATTR_VALUE_CHAR = `[^ \\t\\n\\f\\r\"'\\`<>=]`;\nconst NAME_CHAR = `[^\\\\s\"'>=/]`;\n// These regexes represent the five parsing states that we care about in the\n// Template's HTML scanner. They match the *end* of the state they're named\n// after.\n// Depending on the match, we transition to a new state. If there's no match,\n// we stay in the same state.\n// Note that the regexes are stateful. We utilize lastIndex and sync it\n// across the multiple regexes used. In addition to the five regexes below\n// we also dynamically create a regex to find the matching end tags for raw\n// text elements.\n/**\n * End of text is: `<` followed by:\n * (comment start) or (tag) or (dynamic tag binding)\n */\nconst textEndRegex = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g;\nconst COMMENT_START = 1;\nconst TAG_NAME = 2;\nconst DYNAMIC_TAG_NAME = 3;\nconst commentEndRegex = /-->/g;\n/**\n * Comments not started with <!--, like </{, can be ended by a single `>`\n */\nconst comment2EndRegex = />/g;\n/**\n * The tagEnd regex matches the end of the \"inside an opening\" tag syntax\n * position. It either matches a `>`, an attribute-like sequence, or the end\n * of the string after a space (attribute-name position ending).\n *\n * See attributes in the HTML spec:\n * https://www.w3.org/TR/html5/syntax.html#elements-attributes\n *\n * \" \\t\\n\\f\\r\" are HTML space characters:\n * https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * So an attribute is:\n * * The name: any character except a whitespace character, (\"), ('), \">\",\n * \"=\", or \"/\". Note: this is different from the HTML spec which also excludes control characters.\n * * Followed by zero or more space characters\n * * Followed by \"=\"\n * * Followed by zero or more space characters\n * * Followed by:\n * * Any character except space, ('), (\"), \"<\", \">\", \"=\", (`), or\n * * (\") then any non-(\"), or\n * * (') then any non-(')\n */\nconst tagEndRegex = new RegExp(`>|${SPACE_CHAR}(?:(${NAME_CHAR}+)(${SPACE_CHAR}*=${SPACE_CHAR}*(?:${ATTR_VALUE_CHAR}|(\"|')|))|$)`, 'g');\nconst ENTIRE_MATCH = 0;\nconst ATTRIBUTE_NAME = 1;\nconst SPACES_AND_EQUALS = 2;\nconst QUOTE_CHAR = 3;\nconst singleQuoteAttrEndRegex = /'/g;\nconst doubleQuoteAttrEndRegex = /\"/g;\n/**\n * Matches the raw text elements.\n *\n * Comments are not parsed within raw text elements, so we need to search their\n * text content for marker strings.\n */\nconst rawTextElement = /^(?:script|style|textarea|title)$/i;\n/** TemplateResult types */\nconst HTML_RESULT = 1;\nconst SVG_RESULT = 2;\n// TemplatePart types\n// IMPORTANT: these must match the values in PartType\nconst ATTRIBUTE_PART = 1;\nconst CHILD_PART = 2;\nconst PROPERTY_PART = 3;\nconst BOOLEAN_ATTRIBUTE_PART = 4;\nconst EVENT_PART = 5;\nconst ELEMENT_PART = 6;\nconst COMMENT_PART = 7;\n/**\n * Generates a template literal tag function that returns a TemplateResult with\n * the given result type.\n */\nconst tag = (type) => (strings, ...values) => {\n // Warn against templates octal escape sequences\n // We do this here rather than in render so that the warning is closer to the\n // template definition.\n if (DEV_MODE && strings.some((s) => s === undefined)) {\n console.warn('Some template strings are undefined.\\n' +\n 'This is probably caused by illegal octal escape sequences.');\n }\n if (DEV_MODE) {\n // Import static-html.js results in a circular dependency which g3 doesn't\n // handle. Instead we know that static values must have the field\n // `_$litStatic$`.\n if (values.some((val) => val?.['_$litStatic$'])) {\n issueWarning('', `Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\\n` +\n `Please use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions`);\n }\n }\n return {\n // This property needs to remain unminified.\n ['_$litType$']: type,\n strings,\n values,\n };\n};\n/**\n * Interprets a template literal as an HTML template that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const header = (title: string) => html`<h1>${title}</h1>`;\n * ```\n *\n * The `html` tag returns a description of the DOM to render as a value. It is\n * lazy, meaning no work is done until the template is rendered. When rendering,\n * if a template comes from the same expression as a previously rendered result,\n * it's efficiently updated instead of replaced.\n */\nconst html = tag(HTML_RESULT);\n/**\n * Interprets a template literal as an SVG fragment that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const rect = svg`<rect width=\"10\" height=\"10\"></rect>`;\n *\n * const myImage = html`\n * <svg viewBox=\"0 0 10 10\" xmlns=\"http://www.w3.org/2000/svg\">\n * ${rect}\n * </svg>`;\n * ```\n *\n * The `svg` *tag function* should only be used for SVG fragments, or elements\n * that would be contained **inside** an `<svg>` HTML element. A common error is\n * placing an `<svg>` *element* in a template tagged with the `svg` tag\n * function. The `<svg>` element is an HTML element and should be used within a\n * template tagged with the {@linkcode html} tag function.\n *\n * In LitElement usage, it's invalid to return an SVG fragment from the\n * `render()` method, as the SVG fragment will be contained within the element's\n * shadow root and thus cannot be used within an `<svg>` HTML element.\n */\nconst svg = tag(SVG_RESULT);\n/**\n * A sentinel value that signals that a value was handled by a directive and\n * should not be written to the DOM.\n */\nconst noChange = Symbol.for('lit-noChange');\n/**\n * A sentinel value that signals a ChildPart to fully clear its content.\n *\n * ```ts\n * const button = html`${\n * user.isAdmin\n * ? html`<button>DELETE</button>`\n * : nothing\n * }`;\n * ```\n *\n * Prefer using `nothing` over other falsy values as it provides a consistent\n * behavior between various expression binding contexts.\n *\n * In child expressions, `undefined`, `null`, `''`, and `nothing` all behave the\n * same and render no nodes. In attribute expressions, `nothing` _removes_ the\n * attribute, while `undefined` and `null` will render an empty string. In\n * property expressions `nothing` becomes `undefined`.\n */\nconst nothing = Symbol.for('lit-nothing');\n/**\n * The cache of prepared templates, keyed by the tagged TemplateStringsArray\n * and _not_ accounting for the specific template tag used. This means that\n * template tags cannot be dynamic - the must statically be one of html, svg,\n * or attr. This restriction simplifies the cache lookup, which is on the hot\n * path for rendering.\n */\nconst templateCache = new WeakMap();\nconst walker = d.createTreeWalker(d, 129 /* NodeFilter.SHOW_{ELEMENT|COMMENT} */);\nlet sanitizerFactoryInternal = noopSanitizer;\nfunction trustFromTemplateString(tsa, stringFromTSA) {\n // A security check to prevent spoofing of Lit template results.\n // In the future, we may be able to replace this with Array.isTemplateObject,\n // though we might need to make that check inside of the html and svg\n // functions, because precompiled templates don't come in as\n // TemplateStringArray objects.\n if (!Array.isArray(tsa) || !tsa.hasOwnProperty('raw')) {\n let message = 'invalid template strings array';\n if (DEV_MODE) {\n message = `\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n `\n .trim()\n .replace(/\\n */g, '\\n');\n }\n throw new Error(message);\n }\n return policy !== undefined\n ? policy.createHTML(stringFromTSA)\n : stringFromTSA;\n}\n/**\n * Returns an HTML string for the given TemplateStringsArray and result type\n * (HTML or SVG), along with the case-sensitive bound attribute names in\n * template order. The HTML contains comment markers denoting the `ChildPart`s\n * and suffixes on bound attributes denoting the `AttributeParts`.\n *\n * @param strings template strings array\n * @param type HTML or SVG\n * @return Array containing `[html, attrNames]` (array returned for terseness,\n * to avoid object fields since this code is shared with non-minified SSR\n * code)\n */\nconst getTemplateHtml = (strings, type) => {\n // Insert makers into the template HTML to represent the position of\n // bindings. The following code scans the template strings to determine the\n // syntactic position of the bindings. They can be in text position, where\n // we insert an HTML comment, attribute value position, where we insert a\n // sentinel string and re-write the attribute name, or inside a tag where\n // we insert the sentinel string.\n const l = strings.length - 1;\n // Stores the case-sensitive bound attribute names in the order of their\n // parts. ElementParts are also reflected in this array as undefined\n // rather than a string, to disambiguate from attribute bindings.\n const attrNames = [];\n let html = type === SVG_RESULT ? '<svg>' : '';\n // When we're inside a raw text tag (not it's text content), the regex\n // will still be tagRegex so we can find attributes, but will switch to\n // this regex when the tag ends.\n let rawTextEndRegex;\n // The current parsing state, represented as a reference to one of the\n // regexes\n let regex = textEndRegex;\n for (let i = 0; i < l; i++) {\n const s = strings[i];\n // The index of the end of the last attribute name. When this is\n // positive at end of a string, it means we're in an attribute value\n // position and need to rewrite the attribute name.\n // We also use a special value of -2 to indicate that we encountered\n // the end of a string in attribute name position.\n let attrNameEndIndex = -1;\n let attrName;\n let lastIndex = 0;\n let match;\n // The conditions in this loop handle the current parse state, and the\n // assignments to the `regex` variable are the state transitions.\n while (lastIndex < s.length) {\n // Make sure we start searching from where we previously left off\n regex.lastIndex = lastIndex;\n match = regex.exec(s);\n if (match === null) {\n break;\n }\n lastIndex = regex.lastIndex;\n if (regex === textEndRegex) {\n if (match[COMMENT_START] === '!--') {\n regex = commentEndRegex;\n }\n else if (match[COMMENT_START] !== undefined) {\n // We started a weird comment, like </{\n regex = comment2EndRegex;\n }\n else if (match[TAG_NAME] !== undefined) {\n if (rawTextElement.test(match[TAG_NAME])) {\n // Record if we encounter a raw-text element. We'll switch to\n // this regex at the end of the tag.\n rawTextEndRegex = new RegExp(`</${match[TAG_NAME]}`, 'g');\n }\n regex = tagEndRegex;\n }\n else if (match[DYNAMIC_TAG_NAME] !== undefined) {\n if (DEV_MODE) {\n throw new Error('Bindings in tag names are not supported. Please use static templates instead. ' +\n 'See https://lit.dev/docs/templates/expressions/#static-expressions');\n }\n regex = tagEndRegex;\n }\n }\n else if (regex === tagEndRegex) {\n if (match[ENTIRE_MATCH] === '>') {\n // End of a tag. If we had started a raw-text element, use that\n // regex\n regex = rawTextEndRegex ?? textEndRegex;\n // We may be ending an unquoted attribute value, so make sure we\n // clear any pending attrNameEndIndex\n attrNameEndIndex = -1;\n }\n else if (match[ATTRIBUTE_NAME] === undefined) {\n // Attribute name position\n attrNameEndIndex = -2;\n }\n else {\n attrNameEndIndex = regex.lastIndex - match[SPACES_AND_EQUALS].length;\n attrName = match[ATTRIBUTE_NAME];\n regex =\n match[QUOTE_CHAR] === undefined\n ? tagEndRegex\n : match[QUOTE_CHAR] === '\"'\n ? doubleQuoteAttrEndRegex\n : singleQuoteAttrEndRegex;\n }\n }\n else if (regex === doubleQuoteAttrEndRegex ||\n regex === singleQuoteAttrEndRegex) {\n regex = tagEndRegex;\n }\n else if (regex === commentEndRegex || regex === comment2EndRegex) {\n regex = textEndRegex;\n }\n else {\n // Not one of the five state regexes, so it must be the dynamically\n // created raw text regex and we're at the close of that element.\n regex = tagEndRegex;\n rawTextEndRegex = undefined;\n }\n }\n if (DEV_MODE) {\n // If we have a attrNameEndIndex, which indicates that we should\n // rewrite the attribute name, assert that we're in a valid attribute\n // position - either in a tag, or a quoted attribute value.\n console.assert(attrNameEndIndex === -1 ||\n regex === tagEndRegex ||\n regex === singleQuoteAttrEndRegex ||\n regex === doubleQuoteAttrEndRegex, 'unexpected parse state B');\n }\n // We have four cases:\n // 1. We're in text position, and not in a raw text element\n // (regex === textEndRegex): insert a comment marker.\n // 2. We have a non-negative attrNameEndIndex which means we need to\n // rewrite the attribute name to add a bound attribute suffix.\n // 3. We're at the non-first binding in a multi-binding attribute, use a\n // plain marker.\n // 4. We're somewhere else inside the tag. If we're in attribute name\n // position (attrNameEndIndex === -2), add a sequential suffix to\n // generate a unique attribute name.\n // Detect a binding next to self-closing tag end and insert a space to\n // separate the marker from the tag end:\n const end = regex === tagEndRegex && strings[i + 1].startsWith('/>') ? ' ' : '';\n html +=\n regex === textEndRegex\n ? s + nodeMarker\n : attrNameEndIndex >= 0\n ? (attrNames.push(attrName),\n s.slice(0, attrNameEndIndex) +\n boundAttributeSuffix +\n s.slice(attrNameEndIndex)) +\n marker +\n end\n : s + marker + (attrNameEndIndex === -2 ? i : end);\n }\n const htmlResult = html + (strings[l] || '<?>') + (type === SVG_RESULT ? '</svg>' : '');\n // Returned as an array for terseness\n return [trustFromTemplateString(strings, htmlResult), attrNames];\n};\nclass Template {\n constructor(\n // This property needs to remain unminified.\n { strings, ['_$litType$']: type }, options) {\n this.parts = [];\n let node;\n let nodeIndex = 0;\n let attrNameIndex = 0;\n const partCount = strings.length - 1;\n const parts = this.parts;\n // Create template element\n const [html, attrNames] = getTemplateHtml(strings, type);\n this.el = Template.createElement(html, options);\n walker.currentNode = this.el.content;\n // Re-parent SVG nodes into template root\n if (type === SVG_RESULT) {\n const svgElement = this.el.content.firstChild;\n svgElement.replaceWith(...svgElement.childNodes);\n }\n // Walk the template to find binding markers and create TemplateParts\n while ((node = walker.nextNode()) !== null && parts.length < partCount) {\n if (node.nodeType === 1) {\n if (DEV_MODE) {\n const tag = node.localName;\n // Warn if `textarea` includes an expression and throw if `template`\n // does since these are not supported. We do this by checking\n // innerHTML for anything that looks like a marker. This catches\n // cases like bindings in textarea there markers turn into text nodes.\n if (/^(?:textarea|template)$/i.test(tag) &&\n node.innerHTML.includes(marker)) {\n const m = `Expressions are not supported inside \\`${tag}\\` ` +\n `elements. See https://lit.dev/msg/expression-in-${tag} for more ` +\n `information.`;\n if (tag === 'template') {\n throw new Error(m);\n }\n else\n issueWarning('', m);\n }\n }\n // TODO (justinfagnani): for attempted dynamic tag names, we don't\n // increment the bindingIndex, and it'll be off by 1 in the element\n // and off by two after it.\n if (node.hasAttributes()) {\n for (const name of node.getAttributeNames()) {\n if (name.endsWith(boundAttributeSuffix)) {\n const realName = attrNames[attrNameIndex++];\n const value = node.getAttribute(name);\n const statics = value.split(marker);\n const m = /([.?@])?(.*)/.exec(realName);\n parts.push({\n type: ATTRIBUTE_PART,\n index: nodeIndex,\n name: m[2],\n strings: statics,\n ctor: m[1] === '.'\n ? PropertyPart\n : m[1] === '?'\n ? BooleanAttributePart\n : m[1] === '@'\n ? EventPart\n : AttributePart,\n });\n node.removeAttribute(name);\n }\n else if (name.startsWith(marker)) {\n parts.push({\n type: ELEMENT_PART,\n index: nodeIndex,\n });\n node.removeAttribute(name);\n }\n }\n }\n // TODO (justinfagnani): benchmark the regex against testing for each\n // of the 3 raw text element names.\n if (rawTextElement.test(node.tagName)) {\n // For raw text elements we need to split the text content on\n // markers, create a Text node for each segment, and create\n // a TemplatePart for each marker.\n const strings = node.textContent.split(marker);\n const lastIndex = strings.length - 1;\n if (lastIndex > 0) {\n node.textContent = trustedTypes\n ? trustedTypes.emptyScript\n : '';\n // Generate a new text node for each literal section\n // These nodes are also used as the markers for node parts\n // We can't use empty text nodes as markers because they're\n // normalized when cloning in IE (could simplify when\n // IE is no longer supported)\n for (let i = 0; i < lastIndex; i++) {\n node.append(strings[i], createMarker());\n // Walk past the marker node we just added\n walker.nextNode();\n parts.push({ type: CHILD_PART, index: ++nodeIndex });\n }\n // Note because this marker is added after the walker's current\n // node, it will be walked to in the outer loop (and ignored), so\n // we don't need to adjust nodeIndex here\n node.append(strings[lastIndex], createMarker());\n }\n }\n }\n else if (node.nodeType === 8) {\n const data = node.data;\n if (data === markerMatch) {\n parts.push({ type: CHILD_PART, index: nodeIndex });\n }\n else {\n let i = -1;\n while ((i = node.data.indexOf(marker, i + 1)) !== -1) {\n // Comment node has a binding marker inside, make an inactive part\n // The binding won't work, but subsequent bindings will\n parts.push({ type: COMMENT_PART, index: nodeIndex });\n // Move to the end of the match\n i += marker.length - 1;\n }\n }\n }\n nodeIndex++;\n }\n // We could set walker.currentNode to another node here to prevent a memory\n // leak, but every time we prepare a template, we immediately render it\n // and re-use the walker in new TemplateInstance._clone().\n debugLogEvent &&\n debugLogEvent({\n kind: 'template prep',\n template: this,\n clonableTemplate: this.el,\n parts: this.parts,\n strings,\n });\n }\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @nocollapse */\n static createElement(html, _options) {\n const el = d.createElement('template');\n el.innerHTML = html;\n return el;\n }\n}\nfunction resolveDirective(part, value, parent = part, attributeIndex) {\n // Bail early if the value is explicitly noChange. Note, this means any\n // nested directive is still attached and is not run.\n if (value === noChange) {\n return value;\n }\n let currentDirective = attributeIndex !== undefined\n ? parent.__directives?.[attributeIndex]\n : parent.__directive;\n const nextDirectiveConstructor = isPrimitive(value)\n ? undefined\n : // This property needs to remain unminified.\n value['_$litDirective$'];\n if (currentDirective?.constructor !== nextDirectiveConstructor) {\n // This property needs to remain unminified.\n currentDirective?.['_$notifyDirectiveConnectionChanged']?.(false);\n if (nextDirectiveConstructor === undefined) {\n currentDirective = undefined;\n }\n else {\n currentDirective = new nextDirectiveConstructor(part);\n currentDirective._$initialize(part, parent, attributeIndex);\n }\n if (attributeIndex !== undefined) {\n (parent.__directives ??= [])[attributeIndex] =\n currentDirective;\n }\n else {\n parent.__directive = currentDirective;\n }\n }\n if (currentDirective !== undefined) {\n value = resolveDirective(part, currentDirective._$resolve(part, value.values), currentDirective, attributeIndex);\n }\n return value;\n}\n/**\n * An updateable instance of a Template. Holds references to the Parts used to\n * update the template instance.\n */\nclass TemplateInstance {\n constructor(template, parent) {\n this._$parts = [];\n /** @internal */\n this._$disconnectableChildren = undefined;\n this._$template = template;\n this._$parent = parent;\n }\n // Called by ChildPart parentNode getter\n get parentNode() {\n return this._$parent.parentNode;\n }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n // This method is separate from the constructor because we need to return a\n // DocumentFragment and we don't want to hold onto it with an instance field.\n _clone(options) {\n const { el: { content }, parts: parts, } = this._$template;\n const fragment = (options?.creationScope ?? d).importNode(content, true);\n walker.currentNode = fragment;\n let node = walker.nextNode();\n let nodeIndex = 0;\n let partIndex = 0;\n let templatePart = parts[0];\n while (templatePart !== undefined) {\n if (nodeIndex === templatePart.index) {\n let part;\n if (templatePart.type === CHILD_PART) {\n part = new ChildPart(node, node.nextSibling, this, options);\n }\n else if (templatePart.type === ATTRIBUTE_PART) {\n part = new templatePart.ctor(node, templatePart.name, templatePart.strings, this, options);\n }\n else if (templatePart.type === ELEMENT_PART) {\n part = new ElementPart(node, this, options);\n }\n this._$parts.push(part);\n templatePart = parts[++partIndex];\n }\n if (nodeIndex !== templatePart?.index) {\n node = walker.nextNode();\n nodeIndex++;\n }\n }\n // We need to set the currentNode away from the cloned tree so that we\n // don't hold onto the tree even if the tree is detached and should be\n // freed.\n walker.currentNode = d;\n return fragment;\n }\n _update(values) {\n let i = 0;\n for (const part of this._$parts) {\n if (part !== undefined) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'set part',\n part,\n value: values[i],\n valueIndex: i,\n values,\n templateInstance: this,\n });\n if (part.strings !== undefined) {\n part._$setValue(values, part, i);\n // The number of values the part consumes is part.strings.length - 1\n // since values are in between template spans. We increment i by 1\n // later in the loop, so increment it by part.strings.length - 2 here\n i += part.strings.length - 2;\n }\n else {\n part._$setValue(values[i]);\n }\n }\n i++;\n }\n }\n}\nclass ChildPart {\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n // ChildParts that are not at the root should always be created with a\n // parent; only RootChildNode's won't, so they return the local isConnected\n // state\n return this._$parent?._$isConnected ?? this.__isConnected;\n }\n constructor(startNode, endNode, parent, options) {\n this.type = CHILD_PART;\n this._$committedValue = nothing;\n // The following fields will be patched onto ChildParts when required by\n // AsyncDirective\n /** @internal */\n this._$disconnectableChildren = undefined;\n this._$startNode = startNode;\n this._$endNode = endNode;\n this._$parent = parent;\n this.options = options;\n // Note __isConnected is only ever accessed on RootParts (i.e. when there is\n // no _$parent); the value on a non-root-part is \"don't care\", but checking\n // for parent would be more code\n this.__isConnected = options?.isConnected ?? true;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n // Explicitly initialize for consistent class shape.\n this._textSanitizer = undefined;\n }\n }\n /**\n * The parent node into which the part renders its content.\n *\n * A ChildPart's content consists of a range of adjacent child nodes of\n * `.parentNode`, possibly bordered by 'marker nodes' (`.startNode` and\n * `.endNode`).\n *\n * - If both `.startNode` and `.endNode` are non-null, then the part's content\n * consists of all siblings between `.startNode` and `.endNode`, exclusively.\n *\n * - If `.startNode` is non-null but `.endNode` is null, then the part's\n * content consists of all siblings following `.startNode`, up to and\n * including the last child of `.parentNode`. If `.endNode` is non-null, then\n * `.startNode` will always be non-null.\n *\n * - If both `.endNode` and `.startNode` are null, then the part's content\n * consists of all child nodes of `.parentNode`.\n */\n get parentNode() {\n let parentNode = wrap(this._$startNode).parentNode;\n const parent = this._$parent;\n if (parent !== undefined &&\n parentNode?.nodeType === 11 /* Node.DOCUMENT_FRAGMENT */) {\n // If the parentNode is a DocumentFragment, it may be because the DOM is\n // still in the cloned fragment during initial render; if so, get the real\n // parentNode the part will be committed into by asking the parent.\n parentNode = parent.parentNode;\n }\n return parentNode;\n }\n /**\n * The part's leading marker node, if any. See `.parentNode` for more\n * information.\n */\n get startNode() {\n return this._$startNode;\n }\n /**\n * The part's trailing marker node, if any. See `.parentNode` for more\n * information.\n */\n get endNode() {\n return this._$endNode;\n }\n _$setValue(value, directiveParent = this) {\n if (DEV_MODE && this.parentNode === null) {\n throw new Error(`This \\`ChildPart\\` has no \\`parentNode\\` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's \\`innerHTML\\` or \\`textContent\\` can do this.`);\n }\n value = resolveDirective(this, value, directiveParent);\n if (isPrimitive(value)) {\n // Non-rendering child values. It's important that these do not render\n // empty text nodes to avoid issues with preventing default <slot>\n // fallback content.\n if (value === nothing || value == null || value === '') {\n if (this._$committedValue !== nothing) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit nothing to child',\n start: this._$startNode,\n end: this._$endNode,\n parent: this._$parent,\n options: this.options,\n });\n this._$clear();\n }\n this._$committedValue = nothing;\n }\n else if (value !== this._$committedValue && value !== noChange) {\n this._commitText(value);\n }\n // This property needs to remain unminified.\n }\n else if (value['_$litType$'] !== undefined) {\n this._commitTemplateResult(value);\n }\n else if (value.nodeType !== undefined) {\n if (DEV_MODE && this.options?.host === value) {\n this._commitText(`[probable mistake: rendered a template's host in itself ` +\n `(commonly caused by writing \\${this} in a template]`);\n console.warn(`Attempted to render the template host`, value, `inside itself. This is almost always a mistake, and in dev mode `, `we render some warning text. In production however, we'll `, `render it, which will usually result in an error, and sometimes `, `in the element disappearing from the DOM.`);\n return;\n }\n this._commitNode(value);\n }\n else if (isIterable(value)) {\n this._commitIterable(value);\n }\n else {\n // Fallback, will render the string representation\n this._commitText(value);\n }\n }\n _insert(node) {\n return wrap(wrap(this._$startNode).parentNode).insertBefore(node, this._$endNode);\n }\n _commitNode(value) {\n if (this._$committedValue !== value) {\n this._$clear();\n if (ENABLE_EXTRA_SECURITY_HOOKS &&\n sanitizerFactoryInternal !== noopSanitizer) {\n const parentNodeName = this._$startNode.parentNode?.nodeName;\n if (parentNodeName === 'STYLE' || parentNodeName === 'SCRIPT') {\n let message = 'Forbidden';\n if (DEV_MODE) {\n if (parentNodeName === 'STYLE') {\n message =\n `Lit does not support binding inside style nodes. ` +\n `This is a security risk, as style injection attacks can ` +\n `exfiltrate data and spoof UIs. ` +\n `Consider instead using css\\`...\\` literals ` +\n `to compose styles, and make do dynamic styling with ` +\n `css custom properties, ::parts, <slot>s, ` +\n `and by mutating the DOM rather than stylesheets.`;\n }\n else {\n message =\n `Lit does not support binding inside script nodes. ` +\n `This is a security risk, as it could allow arbitrary ` +\n `code execution.`;\n }\n }\n throw new Error(message);\n }\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit node',\n start: this._$startNode,\n parent: this._$parent,\n value: value,\n options: this.options,\n });\n this._$committedValue = this._insert(value);\n }\n }\n _commitText(value) {\n // If the committed value is a primitive it means we called _commitText on\n // the previous render, and we know that this._$startNode.nextSibling is a\n // Text node. We can now just replace the text content (.data) of the node.\n if (this._$committedValue !== nothing &&\n isPrimitive(this._$committedValue)) {\n const node = wrap(this._$startNode).nextSibling;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(node, 'data', 'property');\n }\n value = this._textSanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node,\n value,\n options: this.options,\n });\n node.data = value;\n }\n else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n const textNode = d.createTextNode('');\n this._commitNode(textNode);\n // When setting text content, for security purposes it matters a lot\n // what the parent is. For example, <style> and <script> need to be\n // handled with care, while <span> does not. So first we need to put a\n // text node into the document, then we can sanitize its content.\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(textNode, 'data', 'property');\n }\n value = this._textSanitizer(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: textNode,\n value,\n options: this.options,\n });\n textNode.data = value;\n }\n else {\n this._commitNode(d.createTextNode(value));\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: wrap(this._$startNode).nextSibling,\n value,\n options: this.options,\n });\n }\n }\n this._$committedValue = value;\n }\n _commitTemplateResult(result) {\n // This property needs to remain unminified.\n const { values, ['_$litType$']: type } = result;\n // If $litType$ is a number, result is a plain TemplateResult and we get\n // the template from the template cache. If not, result is a\n // CompiledTemplateResult and _$litType$ is a CompiledTemplate and we need\n // to create the <template> element the first time we see it.\n const template = typeof type === 'number'\n ? this._$getTemplate(result)\n : (type.el === undefined &&\n (type.el = Template.createElement(trustFromTemplateString(type.h, type.h[0]), this.options)),\n type);\n if (this._$committedValue?._$template === template) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'template updating',\n template,\n instance: this._$committedValue,\n parts: this._$committedValue._$parts,\n options: this.options,\n values,\n });\n this._$committedValue._update(values);\n }\n else {\n const instance = new TemplateInstance(template, this);\n const fragment = instance._clone(this.options);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n instance._update(values);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated and updated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n this._commitNode(fragment);\n this._$committedValue = instance;\n }\n }\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @internal */\n _$getTemplate(result) {\n let template = templateCache.get(result.strings);\n if (template === undefined) {\n templateCache.set(result.strings, (template = new Template(result)));\n }\n return template;\n }\n _commitIterable(value) {\n // For an Iterable, we create a new InstancePart per item, then set its\n // value to the item. This is a little bit of overhead for every item in\n // an Iterable, but it lets us recurse easily and efficiently update Arrays\n // of TemplateResults that will be commonly returned from expressions like:\n // array.map((i) => html`${i}`), by reusing existing TemplateInstances.\n // If value is an array, then the previous render was of an\n // iterable and value will contain the ChildParts from the previous\n // render. If value is not an array, clear this part and make a new\n // array for ChildParts.\n if (!isArray(this._$committedValue)) {\n this._$committedValue = [];\n this._$clear();\n }\n // Lets us keep track of how many items we stamped so we can clear leftover\n // items from a previous render\n const itemParts = this._$committedValue;\n let partIndex = 0;\n let itemPart;\n for (const item of value) {\n if (partIndex === itemParts.length) {\n // If no existing part, create a new one\n // TODO (justinfagnani): test perf impact of always creating two parts\n // instead of sharing parts between nodes\n // https://github.com/lit/lit/issues/1266\n itemParts.push((itemPart = new ChildPart(this._insert(createMarker()), this._insert(createMarker()), this, this.options)));\n }\n else {\n // Reuse an existing part\n itemPart = itemParts[partIndex];\n }\n itemPart._$setValue(item);\n partIndex++;\n }\n if (partIndex < itemParts.length) {\n // itemParts always have end nodes\n this._$clear(itemPart && wrap(itemPart._$endNode).nextSibling, partIndex);\n // Truncate the parts array so _value reflects the current state\n itemParts.length = partIndex;\n }\n }\n /**\n * Removes the nodes contained within this Part from the DOM.\n *\n * @param start Start node to clear from, for clearing a subset of the part's\n * DOM (used when truncating iterables)\n * @param from When `start` is specified, the index within the iterable from\n * which ChildParts are being removed, used for disconnecting directives in\n * those Parts.\n *\n * @internal\n */\n _$clear(start = wrap(this._$startNode).nextSibling, from) {\n this._$notifyConnectionChanged?.(false, true, from);\n while (start && start !== this._$endNode) {\n const n = wrap(start).nextSibling;\n wrap(start).remove();\n start = n;\n }\n }\n /**\n * Implementation of RootPart's `isConnected`. Note that this metod\n * should only be called on `RootPart`s (the `ChildPart` returned from a\n * top-level `render()` call). It has no effect on non-root ChildParts.\n * @param isConnected Whether to set\n * @internal\n */\n setConnected(isConnected) {\n if (this._$parent === undefined) {\n this.__isConnected = isConnected;\n this._$notifyConnectionChanged?.(isConnected);\n }\n else if (DEV_MODE) {\n throw new Error('part.setConnected() may only be called on a ' +\n 'RootPart returned from render().');\n }\n }\n}\nclass AttributePart {\n get tagName() {\n return this.element.tagName;\n }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n constructor(element, name, strings, parent, options) {\n this.type = ATTRIBUTE_PART;\n /** @internal */\n this._$committedValue = nothing;\n /** @internal */\n this._$disconnectableChildren = undefined;\n this.element = element;\n this.name = name;\n this._$parent = parent;\n this.options = options;\n if (strings.length > 2 || strings[0] !== '' || strings[1] !== '') {\n this._$committedValue = new Array(strings.length - 1).fill(new String());\n this.strings = strings;\n }\n else {\n this._$committedValue = nothing;\n }\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n this._sanitizer = undefined;\n }\n }\n /**\n * Sets the value of this part by resolving the value from possibly multiple\n * values and static strings and committing it to the DOM.\n * If this part is single-valued, `this._strings` will be undefined, and the\n * method will be called with a single value argument. If this part is\n * multi-value, `this._strings` will be defined, and the method is called\n * with the value array of the part's owning TemplateInstance, and an offset\n * into the value array from which the values should be read.\n * This method is overloaded this way to eliminate short-lived array slices\n * of the template instance values, and allow a fast-path for single-valued\n * parts.\n *\n * @param value The part value, or an array of values for multi-valued parts\n * @param valueIndex the index to start reading values from. `undefined` for\n * single-valued parts\n * @param noCommit causes the part to not commit its value to the DOM. Used\n * in hydration to prime attribute parts with their first-rendered value,\n * but not set the attribute, and in SSR to no-op the DOM operation and\n * capture the value for serialization.\n *\n * @internal\n */\n _$setValue(value, directiveParent = this, valueIndex, noCommit) {\n const strings = this.strings;\n // Whether any of the values has changed, for dirty-checking\n let change = false;\n if (strings === undefined) {\n // Single-value binding case\n value = resolveDirective(this, value, directiveParent, 0);\n change =\n !isPrimitive(value) ||\n (value !== this._$committedValue && value !== noChange);\n if (change) {\n this._$committedValue = value;\n }\n }\n else {\n // Interpolation case\n const values = value;\n value = strings[0];\n let i, v;\n for (i = 0; i < strings.length - 1; i++) {\n v = resolveDirective(this, values[valueIndex + i], directiveParent, i);\n if (v === noChange) {\n // If the user-provided value is `noChange`, use the previous value\n v = this._$committedValue[i];\n }\n change ||=\n !isPrimitive(v) || v !== this._$committedValue[i];\n if (v === nothing) {\n value = nothing;\n }\n else if (value !== nothing) {\n value += (v ?? '') + strings[i + 1];\n }\n // We always record each value, even if one is `nothing`, for future\n // change detection.\n this._$committedValue[i] = v;\n }\n }\n if (change && !noCommit) {\n this._commitValue(value);\n }\n }\n /** @internal */\n _commitValue(value) {\n if (value === nothing) {\n wrap(this.element).removeAttribute(this.name);\n }\n else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(this.element, this.name, 'attribute');\n }\n value = this._sanitizer(value ?? '');\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit attribute',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n wrap(this.element).setAttribute(this.name, (value ?? ''));\n }\n }\n}\nclass PropertyPart extends AttributePart {\n constructor() {\n super(...arguments);\n this.type = PROPERTY_PART;\n }\n /** @internal */\n _commitValue(value) {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(this.element, this.name, 'property');\n }\n value = this._sanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit property',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.element[this.name] = value === nothing ? undefined : value;\n }\n}\nclass BooleanAttributePart extends AttributePart {\n constructor() {\n super(...arguments);\n this.type = BOOLEAN_ATTRIBUTE_PART;\n }\n /** @internal */\n _commitValue(value) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit boolean attribute',\n element: this.element,\n name: this.name,\n value: !!(value && value !== nothing),\n options: this.options,\n });\n wrap(this.element).toggleAttribute(this.name, !!value && value !== nothing);\n }\n}\nclass EventPart extends AttributePart {\n constructor(element, name, strings, parent, options) {\n super(element, name, strings, parent, options);\n this.type = EVENT_PART;\n if (DEV_MODE && this.strings !== undefined) {\n throw new Error(`A \\`<${element.localName}>\\` has a \\`@${name}=...\\` listener with ` +\n 'invalid content. Event listeners in templates must have exactly ' +\n 'one expression and no surrounding text.');\n }\n }\n // EventPart does not use the base _$setValue/_resolveValue implementation\n // since the dirty checking is more complex\n /** @internal */\n _$setValue(newListener, directiveParent = this) {\n newListener =\n resolveDirective(this, newListener, directiveParent, 0) ?? nothing;\n if (newListener === noChange) {\n return;\n }\n const oldListener = this._$committedValue;\n // If the new value is nothing or any options change we have to remove the\n // part as a listener.\n const shouldRemoveListener = (newListener === nothing && oldListener !== nothing) ||\n newListener.capture !==\n oldListener.capture ||\n newListener.once !==\n oldListener.once ||\n newListener.passive !==\n oldListener.passive;\n // If the new value is not nothing and we removed the listener, we have\n // to add the part as a listener.\n const shouldAddListener = newListener !== nothing &&\n (oldListener === nothing || shouldRemoveListener);\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit event listener',\n element: this.element,\n name: this.name,\n value: newListener,\n options: this.options,\n removeListener: shouldRemoveListener,\n addListener: shouldAddListener,\n oldListener,\n });\n if (shouldRemoveListener) {\n this.element.removeEventListener(this.name, this, oldListener);\n }\n if (shouldAddListener) {\n // Beware: IE11 and Chrome 41 don't like using the listener as the\n // options object. Figure out how to deal w/ this in IE11 - maybe\n // patch addEventListener?\n this.element.addEventListener(this.name, this, newListener);\n }\n this._$committedValue = newListener;\n }\n handleEvent(event) {\n if (typeof this._$committedValue === 'function') {\n this._$committedValue.call(this.options?.host ?? this.element, event);\n }\n else {\n this._$committedValue.handleEvent(event);\n }\n }\n}\nclass ElementPart {\n constructor(element, parent, options) {\n this.element = element;\n this.type = ELEMENT_PART;\n /** @internal */\n this._$disconnectableChildren = undefined;\n this._$parent = parent;\n this.options = options;\n }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n _$setValue(value) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit to element binding',\n element: this.element,\n value,\n options: this.options,\n });\n resolveDirective(this, value);\n }\n}\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LH object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-element, which re-exports all of lit-html.\n *\n * @private\n */\nconst _$LH = {\n // Used in lit-ssr\n _boundAttributeSuffix: boundAttributeSuffix,\n _marker: marker,\n _markerMatch: markerMatch,\n _HTML_RESULT: HTML_RESULT,\n _getTemplateHtml: getTemplateHtml,\n // Used in tests and private-ssr-support\n _TemplateInstance: TemplateInstance,\n _isIterable: isIterable,\n _resolveDirective: resolveDirective,\n _ChildPart: ChildPart,\n _AttributePart: AttributePart,\n _BooleanAttributePart: BooleanAttributePart,\n _EventPart: EventPart,\n _PropertyPart: PropertyPart,\n _ElementPart: ElementPart,\n};\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? global.litHtmlPolyfillSupportDevMode\n : global.litHtmlPolyfillSupport;\npolyfillSupport?.(Template, ChildPart);\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for lit-html usage.\n(global.litHtmlVersions ??= []).push('3.1.0');\nif (DEV_MODE && global.litHtmlVersions.length > 1) {\n issueWarning('multiple-versions', `Multiple versions of Lit loaded. ` +\n `Loading multiple versions is not recommended.`);\n}\n/**\n * Renders a value, usually a lit-html TemplateResult, to the container.\n *\n * This example renders the text \"Hello, Zoe!\" inside a paragraph tag, appending\n * it to the container `document.body`.\n *\n * ```js\n * import {html, render} from 'lit';\n *\n * const name = \"Zoe\";\n * render(html`<p>Hello, ${name}!</p>`, document.body);\n * ```\n *\n * @param value Any [renderable\n * value](https://lit.dev/docs/templates/expressions/#child-expressions),\n * typically a {@linkcode TemplateResult} created by evaluating a template tag\n * like {@linkcode html} or {@linkcode svg}.\n * @param container A DOM container to render to. The first render will append\n * the rendered value to the container, and subsequent renders will\n * efficiently update the rendered value if the same result type was\n * previously rendered there.\n * @param options See {@linkcode RenderOptions} for options documentation.\n * @see\n * {@link https://lit.dev/docs/libraries/standalone-templates/#rendering-lit-html-templates| Rendering Lit HTML Templates}\n */\nconst render = (value, container, options) => {\n if (DEV_MODE && container == null) {\n // Give a clearer error message than\n // Uncaught TypeError: Cannot read properties of null (reading\n // '_$litPart$')\n // which reads like an internal Lit error.\n throw new TypeError(`The container to render into may not be ${container}`);\n }\n const renderId = DEV_MODE ? debugLogRenderId++ : 0;\n const partOwnerNode = options?.renderBefore ?? container;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let part = partOwnerNode['_$litPart$'];\n debugLogEvent &&\n debugLogEvent({\n kind: 'begin render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n if (part === undefined) {\n const endNode = options?.renderBefore ?? null;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n partOwnerNode['_$litPart$'] = part = new ChildPart(container.insertBefore(createMarker(), endNode), endNode, undefined, options ?? {});\n }\n part._$setValue(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'end render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n return part;\n};\nif (ENABLE_EXTRA_SECURITY_HOOKS) {\n render.setSanitizer = setSanitizer;\n render.createSanitizer = createSanitizer;\n if (DEV_MODE) {\n render._testOnlyClearSanitizerFactoryDoNotCallOrElse =\n _testOnlyClearSanitizerFactoryDoNotCallOrElse;\n }\n}\n//# sourceMappingURL=lit-html.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* reexport safe */ _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__.customElement),\n/* harmony export */ eventOptions: () => (/* reexport safe */ _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__.eventOptions),\n/* harmony export */ property: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.property),\n/* harmony export */ query: () => (/* reexport safe */ _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__.query),\n/* harmony export */ queryAll: () => (/* reexport safe */ _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__.queryAll),\n/* harmony export */ queryAssignedElements: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__.queryAssignedElements),\n/* harmony export */ queryAssignedNodes: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_nodes_js__WEBPACK_IMPORTED_MODULE_8__.queryAssignedNodes),\n/* harmony export */ queryAsync: () => (/* reexport safe */ _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__.queryAsync),\n/* harmony export */ standardProperty: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.standardProperty),\n/* harmony export */ state: () => (/* reexport safe */ _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__.state)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element/decorators/custom-element.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/custom-element.js\");\n/* harmony import */ var _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @lit/reactive-element/decorators/property.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/* harmony import */ var _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @lit/reactive-element/decorators/state.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/state.js\");\n/* harmony import */ var _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @lit/reactive-element/decorators/event-options.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/event-options.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @lit/reactive-element/decorators/query.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-all.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-all.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-async.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-async.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-assigned-elements.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_assigned_nodes_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-assigned-nodes.js */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js\");\n\n//# sourceMappingURL=decorators.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit/decorators.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* reexport safe */ lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__.ifDefined)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/if-defined.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/directives/if-defined.js\");\n\n//# sourceMappingURL=if-defined.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit/directives/if-defined.js?");
/***/ }),
/***/ "./node_modules/@web3modal/scaffold/node_modules/lit/index.js":
/*!********************************************************************!*\
!*** ./node_modules/@web3modal/scaffold/node_modules/lit/index.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.CSSResult),\n/* harmony export */ LitElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.html),\n/* harmony export */ isServer: () => (/* reexport safe */ lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__.isServer),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/scaffold/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit-element/lit-element.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-element/development/lit-element.js\");\n/* harmony import */ var lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit-html/is-server.js */ \"./node_modules/@web3modal/scaffold/node_modules/lit-html/development/is-server.js\");\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/scaffold/node_modules/lit/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/index.js":
/*!******************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/index.js ***!
\******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionUtil: () => (/* reexport safe */ _src_utils_TransactionUtil_js__WEBPACK_IMPORTED_MODULE_48__.TransactionUtil),\n/* harmony export */ UiHelperUtil: () => (/* reexport safe */ _src_utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_47__.UiHelperUtil),\n/* harmony export */ WuiAccountButton: () => (/* reexport safe */ _src_composites_wui_account_button_index_js__WEBPACK_IMPORTED_MODULE_9__.WuiAccountButton),\n/* harmony export */ WuiAllWalletsImage: () => (/* reexport safe */ _src_composites_wui_all_wallets_image_index_js__WEBPACK_IMPORTED_MODULE_10__.WuiAllWalletsImage),\n/* harmony export */ WuiAvatar: () => (/* reexport safe */ _src_composites_wui_avatar_index_js__WEBPACK_IMPORTED_MODULE_11__.WuiAvatar),\n/* harmony export */ WuiButton: () => (/* reexport safe */ _src_composites_wui_button_index_js__WEBPACK_IMPORTED_MODULE_12__.WuiButton),\n/* harmony export */ WuiCard: () => (/* reexport safe */ _src_components_wui_card_index_js__WEBPACK_IMPORTED_MODULE_0__.WuiCard),\n/* harmony export */ WuiCardSelect: () => (/* reexport safe */ _src_composites_wui_card_select_index_js__WEBPACK_IMPORTED_MODULE_14__.WuiCardSelect),\n/* harmony export */ WuiCardSelectLoader: () => (/* reexport safe */ _src_composites_wui_card_select_loader_index_js__WEBPACK_IMPORTED_MODULE_13__.WuiCardSelectLoader),\n/* harmony export */ WuiChip: () => (/* reexport safe */ _src_composites_wui_chip_index_js__WEBPACK_IMPORTED_MODULE_15__.WuiChip),\n/* harmony export */ WuiConnectButton: () => (/* reexport safe */ _src_composites_wui_connect_button_index_js__WEBPACK_IMPORTED_MODULE_16__.WuiConnectButton),\n/* harmony export */ WuiCtaButton: () => (/* reexport safe */ _src_composites_wui_cta_button_index_js__WEBPACK_IMPORTED_MODULE_17__.WuiCtaButton),\n/* harmony export */ WuiEmailInput: () => (/* reexport safe */ _src_composites_wui_email_input_index_js__WEBPACK_IMPORTED_MODULE_18__.WuiEmailInput),\n/* harmony export */ WuiFlex: () => (/* reexport safe */ _src_layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_43__.WuiFlex),\n/* harmony export */ WuiGrid: () => (/* reexport safe */ _src_layout_wui_grid_index_js__WEBPACK_IMPORTED_MODULE_44__.WuiGrid),\n/* harmony export */ WuiIcon: () => (/* reexport safe */ _src_components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_1__.WuiIcon),\n/* harmony export */ WuiIconBox: () => (/* reexport safe */ _src_composites_wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_19__.WuiIconBox),\n/* harmony export */ WuiIconLink: () => (/* reexport safe */ _src_composites_wui_icon_link_index_js__WEBPACK_IMPORTED_MODULE_20__.WuiIconLink),\n/* harmony export */ WuiImage: () => (/* reexport safe */ _src_components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__.WuiImage),\n/* harmony export */ WuiInputElement: () => (/* reexport safe */ _src_composites_wui_input_element_index_js__WEBPACK_IMPORTED_MODULE_21__.WuiInputElement),\n/* harmony export */ WuiInputNumeric: () => (/* reexport safe */ _src_composites_wui_input_numeric_index_js__WEBPACK_IMPORTED_MODULE_22__.WuiInputNumeric),\n/* harmony export */ WuiInputText: () => (/* reexport safe */ _src_composites_wui_input_text_index_js__WEBPACK_IMPORTED_MODULE_23__.WuiInputText),\n/* harmony export */ WuiLink: () => (/* reexport safe */ _src_composites_wui_link_index_js__WEBPACK_IMPORTED_MODULE_24__.WuiLink),\n/* harmony export */ WuiListItem: () => (/* reexport safe */ _src_composites_wui_list_item_index_js__WEBPACK_IMPORTED_MODULE_25__.WuiListItem),\n/* harmony export */ WuiListWallet: () => (/* reexport safe */ _src_composites_wui_list_wallet_index_js__WEBPACK_IMPORTED_MODULE_28__.WuiListWallet),\n/* harmony export */ WuiLoadingHexagon: () => (/* reexport safe */ _src_components_wui_loading_hexagon_index_js__WEBPACK_IMPORTED_MODULE_3__.WuiLoadingHexagon),\n/* harmony export */ WuiLoadingSpinner: () => (/* reexport safe */ _src_components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_4__.WuiLoadingSpinner),\n/* harmony export */ WuiLoadingThumbnail: () => (/* reexport safe */ _src_components_wui_loading_thumbnail_index_js__WEBPACK_IMPORTED_MODULE_5__.WuiLoadingThumbnail),\n/* harmony export */ WuiLogo: () => (/* reexport safe */ _src_composites_wui_logo_index_js__WEBPACK_IMPORTED_MODULE_30__.WuiLogo),\n/* harmony export */ WuiLogoSelect: () => (/* reexport safe */ _src_composites_wui_logo_select_index_js__WEBPACK_IMPORTED_MODULE_29__.WuiLogoSelect),\n/* harmony export */ WuiNetworkButton: () => (/* reexport safe */ _src_composites_wui_network_button_index_js__WEBPACK_IMPORTED_MODULE_31__.WuiNetworkButton),\n/* harmony export */ WuiNetworkImage: () => (/* reexport safe */ _src_composites_wui_network_image_index_js__WEBPACK_IMPORTED_MODULE_32__.WuiNetworkImage),\n/* harmony export */ WuiOtp: () => (/* reexport safe */ _src_composites_wui_otp_index_js__WEBPACK_IMPORTED_MODULE_33__.WuiOtp),\n/* harmony export */ WuiQrCode: () => (/* reexport safe */ _src_composites_wui_qr_code_index_js__WEBPACK_IMPORTED_MODULE_34__.WuiQrCode),\n/* harmony export */ WuiSearchBar: () => (/* reexport safe */ _src_composites_wui_search_bar_index_js__WEBPACK_IMPORTED_MODULE_35__.WuiSearchBar),\n/* harmony export */ WuiSeparator: () => (/* reexport safe */ _src_layout_wui_separator_index_js__WEBPACK_IMPORTED_MODULE_45__.WuiSeparator),\n/* harmony export */ WuiShimmer: () => (/* reexport safe */ _src_components_wui_shimmer_index_js__WEBPACK_IMPORTED_MODULE_6__.WuiShimmer),\n/* harmony export */ WuiSnackbar: () => (/* reexport safe */ _src_composites_wui_snackbar_index_js__WEBPACK_IMPORTED_MODULE_36__.WuiSnackbar),\n/* harmony export */ WuiTabs: () => (/* reexport safe */ _src_composites_wui_tabs_index_js__WEBPACK_IMPORTED_MODULE_37__.WuiTabs),\n/* harmony export */ WuiTag: () => (/* reexport safe */ _src_composites_wui_tag_index_js__WEBPACK_IMPORTED_MODULE_38__.WuiTag),\n/* harmony export */ WuiText: () => (/* reexport safe */ _src_components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_7__.WuiText),\n/* harmony export */ WuiTooltip: () => (/* reexport safe */ _src_composites_wui_tooltip_index_js__WEBPACK_IMPORTED_MODULE_39__.WuiTooltip),\n/* harmony export */ WuiTransactionListItem: () => (/* reexport safe */ _src_composites_wui_transaction_list_item_index_js__WEBPACK_IMPORTED_MODULE_26__.WuiTransactionListItem),\n/* harmony export */ WuiTransactionListItemLoader: () => (/* reexport safe */ _src_composites_wui_transaction_list_item_loader_index_js__WEBPACK_IMPORTED_MODULE_27__.WuiTransactionListItemLoader),\n/* harmony export */ WuiTransactionVisual: () => (/* reexport safe */ _src_composites_wui_transaction_visual_index_js__WEBPACK_IMPORTED_MODULE_40__.WuiTransactionVisual),\n/* harmony export */ WuiVisual: () => (/* reexport safe */ _src_components_wui_visual_index_js__WEBPACK_IMPORTED_MODULE_8__.WuiVisual),\n/* harmony export */ WuiVisualThumbnail: () => (/* reexport safe */ _src_composites_wui_visual_thumbnail_index_js__WEBPACK_IMPORTED_MODULE_41__.WuiVisualThumbnail),\n/* harmony export */ WuiWalletImage: () => (/* reexport safe */ _src_composites_wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_42__.WuiWalletImage),\n/* harmony export */ customElement: () => (/* reexport safe */ _src_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_49__.customElement),\n/* harmony export */ initializeTheming: () => (/* reexport safe */ _src_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_46__.initializeTheming),\n/* harmony export */ setColorTheme: () => (/* reexport safe */ _src_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_46__.setColorTheme),\n/* harmony export */ setThemeVariables: () => (/* reexport safe */ _src_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_46__.setThemeVariables)\n/* harmony export */ });\n/* harmony import */ var _src_components_wui_card_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src/components/wui-card/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js\");\n/* harmony import */ var _src_components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./src/components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _src_components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./src/components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _src_components_wui_loading_hexagon_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./src/components/wui-loading-hexagon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js\");\n/* harmony import */ var _src_components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./src/components/wui-loading-spinner/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js\");\n/* harmony import */ var _src_components_wui_loading_thumbnail_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./src/components/wui-loading-thumbnail/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js\");\n/* harmony import */ var _src_components_wui_shimmer_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./src/components/wui-shimmer/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js\");\n/* harmony import */ var _src_components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./src/components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _src_components_wui_visual_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./src/components/wui-visual/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/index.js\");\n/* harmony import */ var _src_composites_wui_account_button_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./src/composites/wui-account-button/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/index.js\");\n/* harmony import */ var _src_composites_wui_all_wallets_image_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./src/composites/wui-all-wallets-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js\");\n/* harmony import */ var _src_composites_wui_avatar_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./src/composites/wui-avatar/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js\");\n/* harmony import */ var _src_composites_wui_button_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./src/composites/wui-button/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js\");\n/* harmony import */ var _src_composites_wui_card_select_loader_index_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./src/composites/wui-card-select-loader/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js\");\n/* harmony import */ var _src_composites_wui_card_select_index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./src/composites/wui-card-select/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/index.js\");\n/* harmony import */ var _src_composites_wui_chip_index_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./src/composites/wui-chip/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/index.js\");\n/* harmony import */ var _src_composites_wui_connect_button_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ./src/composites/wui-connect-button/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/index.js\");\n/* harmony import */ var _src_composites_wui_cta_button_index_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./src/composites/wui-cta-button/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/index.js\");\n/* harmony import */ var _src_composites_wui_email_input_index_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ./src/composites/wui-email-input/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js\");\n/* harmony import */ var _src_composites_wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ./src/composites/wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _src_composites_wui_icon_link_index_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ./src/composites/wui-icon-link/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js\");\n/* harmony import */ var _src_composites_wui_input_element_index_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ./src/composites/wui-input-element/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js\");\n/* harmony import */ var _src_composites_wui_input_numeric_index_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ./src/composites/wui-input-numeric/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js\");\n/* harmony import */ var _src_composites_wui_input_text_index_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ./src/composites/wui-input-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js\");\n/* harmony import */ var _src_composites_wui_link_index_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ./src/composites/wui-link/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js\");\n/* harmony import */ var _src_composites_wui_list_item_index_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ./src/composites/wui-list-item/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/index.js\");\n/* harmony import */ var _src_composites_wui_transaction_list_item_index_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ./src/composites/wui-transaction-list-item/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/index.js\");\n/* harmony import */ var _src_composites_wui_transaction_list_item_loader_index_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ./src/composites/wui-transaction-list-item-loader/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js\");\n/* harmony import */ var _src_composites_wui_list_wallet_index_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ./src/composites/wui-list-wallet/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/index.js\");\n/* harmony import */ var _src_composites_wui_logo_select_index_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ./src/composites/wui-logo-select/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js\");\n/* harmony import */ var _src_composites_wui_logo_index_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ./src/composites/wui-logo/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js\");\n/* harmony import */ var _src_composites_wui_network_button_index_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ./src/composites/wui-network-button/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/index.js\");\n/* harmony import */ var _src_composites_wui_network_image_index_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ./src/composites/wui-network-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js\");\n/* harmony import */ var _src_composites_wui_otp_index_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ./src/composites/wui-otp/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/index.js\");\n/* harmony import */ var _src_composites_wui_qr_code_index_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ./src/composites/wui-qr-code/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/index.js\");\n/* harmony import */ var _src_composites_wui_search_bar_index_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ./src/composites/wui-search-bar/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js\");\n/* harmony import */ var _src_composites_wui_snackbar_index_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ./src/composites/wui-snackbar/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js\");\n/* harmony import */ var _src_composites_wui_tabs_index_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ./src/composites/wui-tabs/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/index.js\");\n/* harmony import */ var _src_composites_wui_tag_index_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ./src/composites/wui-tag/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js\");\n/* harmony import */ var _src_composites_wui_tooltip_index_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ./src/composites/wui-tooltip/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js\");\n/* harmony import */ var _src_composites_wui_transaction_visual_index_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ./src/composites/wui-transaction-visual/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js\");\n/* harmony import */ var _src_composites_wui_visual_thumbnail_index_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ./src/composites/wui-visual-thumbnail/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js\");\n/* harmony import */ var _src_composites_wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ./src/composites/wui-wallet-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js\");\n/* harmony import */ var _src_layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ./src/layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _src_layout_wui_grid_index_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ./src/layout/wui-grid/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/index.js\");\n/* harmony import */ var _src_layout_wui_separator_index_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ./src/layout/wui-separator/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js\");\n/* harmony import */ var _src_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ./src/utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _src_utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ./src/utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _src_utils_TransactionUtil_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ./src/utils/TransactionUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/TransactionUtil.js\");\n/* harmony import */ var _src_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ./src/utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.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//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ allWalletsSvg: () => (/* binding */ allWalletsSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst allWalletsSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 24 24\">\n <path\n style=\"fill: var(--wui-color-accent-100);\"\n d=\"M10.2 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 6.6a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM10.2 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0ZM21 17.4a3.6 3.6 0 1 1-7.2 0 3.6 3.6 0 0 1 7.2 0Z\"\n />\n</svg>`;\n//# sourceMappingURL=all-wallets.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ appStoreSvg: () => (/* binding */ appStoreSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst appStoreSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n<svg width=\"36\" height=\"36\">\n <path\n d=\"M28.724 0H7.271A7.269 7.269 0 0 0 0 7.272v21.46A7.268 7.268 0 0 0 7.271 36H28.73A7.272 7.272 0 0 0 36 28.728V7.272A7.275 7.275 0 0 0 28.724 0Z\"\n fill=\"url(#a)\"\n />\n <path\n d=\"m17.845 8.271.729-1.26a1.64 1.64 0 1 1 2.843 1.638l-7.023 12.159h5.08c1.646 0 2.569 1.935 1.853 3.276H6.434a1.632 1.632 0 0 1-1.638-1.638c0-.909.73-1.638 1.638-1.638h4.176l5.345-9.265-1.67-2.898a1.642 1.642 0 0 1 2.844-1.638l.716 1.264Zm-6.317 17.5-1.575 2.732a1.64 1.64 0 1 1-2.844-1.638l1.17-2.025c1.323-.41 2.398-.095 3.249.931Zm13.56-4.954h4.262c.909 0 1.638.729 1.638 1.638 0 .909-.73 1.638-1.638 1.638h-2.367l1.597 2.772c.45.788.185 1.782-.602 2.241a1.642 1.642 0 0 1-2.241-.603c-2.69-4.666-4.711-8.159-6.052-10.485-1.372-2.367-.391-4.743.576-5.549 1.075 1.846 2.682 4.631 4.828 8.348Z\"\n fill=\"#fff\"\n />\n <defs>\n <linearGradient id=\"a\" x1=\"18\" y1=\"0\" x2=\"18\" y2=\"36\" gradientUnits=\"userSpaceOnUse\">\n <stop stop-color=\"#18BFFB\" />\n <stop offset=\"1\" stop-color=\"#2072F3\" />\n </linearGradient>\n </defs>\n</svg>`;\n//# sourceMappingURL=app-store.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js":
/*!*********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ appleSvg: () => (/* binding */ appleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst appleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#000\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M28.77 23.3c-.69 1.99-2.75 5.52-4.87 5.56-1.4.03-1.86-.84-3.46-.84-1.61 0-2.12.81-3.45.86-2.25.1-5.72-5.1-5.72-9.62 0-4.15 2.9-6.2 5.42-6.25 1.36-.02 2.64.92 3.47.92.83 0 2.38-1.13 4.02-.97.68.03 2.6.28 3.84 2.08-3.27 2.14-2.76 6.61.75 8.25ZM24.2 7.88c-2.47.1-4.49 2.69-4.2 4.84 2.28.17 4.47-2.39 4.2-4.84Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=apple.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js":
/*!****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowBottomSvg: () => (/* binding */ arrowBottomSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowBottomSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 1.99a1 1 0 0 1 1 1v7.58l2.46-2.46a1 1 0 0 1 1.41 1.42L7.7 13.69a1 1 0 0 1-1.41 0L2.12 9.53A1 1 0 0 1 3.54 8.1L6 10.57V3a1 1 0 0 1 1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-bottom.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowLeftSvg: () => (/* binding */ arrowLeftSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowLeftSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M13 7.99a1 1 0 0 1-1 1H4.4l2.46 2.46a1 1 0 1 1-1.41 1.41L1.29 8.7a1 1 0 0 1 0-1.41L5.46 3.1a1 1 0 0 1 1.41 1.42L4.41 6.99H12a1 1 0 0 1 1 1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-left.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowRightSvg: () => (/* binding */ arrowRightSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowRightSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M1 7.99a1 1 0 0 1 1-1h7.58L7.12 4.53A1 1 0 1 1 8.54 3.1l4.16 4.17a1 1 0 0 1 0 1.41l-4.16 4.17a1 1 0 1 1-1.42-1.41l2.46-2.46H2a1 1 0 0 1-1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-right.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrowTopSvg: () => (/* binding */ arrowTopSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst arrowTopSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 13.99a1 1 0 0 1-1-1V5.4L3.54 7.86a1 1 0 0 1-1.42-1.41L6.3 2.28a1 1 0 0 1 1.41 0l4.17 4.17a1 1 0 1 1-1.41 1.41L8 5.4v7.59a1 1 0 0 1-1 1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=arrow-top.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ browserSvg: () => (/* binding */ browserSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst browserSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4 6.4a1 1 0 0 1-.46.89 6.98 6.98 0 0 0 .38 6.18A7 7 0 0 0 16.46 7.3a1 1 0 0 1-.47-.92 7 7 0 0 0-12 .03Zm-2.02-.5a9 9 0 1 1 16.03 8.2A9 9 0 0 1 1.98 5.9Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.03 8.63c-1.46-.3-2.72-.75-3.6-1.35l-.02-.01-.14-.11a1 1 0 0 1 1.2-1.6l.1.08c.6.4 1.52.74 2.69 1 .16-.99.39-1.88.67-2.65.3-.79.68-1.5 1.15-2.02A2.58 2.58 0 0 1 9.99 1c.8 0 1.45.44 1.92.97.47.52.84 1.23 1.14 2.02.29.77.52 1.66.68 2.64a8 8 0 0 0 2.7-1l.26-.18h.48a1 1 0 0 1 .12 2c-.86.51-2.01.91-3.34 1.18a22.24 22.24 0 0 1-.03 3.19c1.45.29 2.7.73 3.58 1.31a1 1 0 0 1-1.1 1.68c-.6-.4-1.56-.76-2.75-1-.15.8-.36 1.55-.6 2.2-.3.79-.67 1.5-1.14 2.02-.47.53-1.12.97-1.92.97-.8 0-1.45-.44-1.91-.97a6.51 6.51 0 0 1-1.15-2.02c-.24-.65-.44-1.4-.6-2.2-1.18.24-2.13.6-2.73.99a1 1 0 1 1-1.1-1.67c.88-.58 2.12-1.03 3.57-1.31a22.03 22.03 0 0 1-.04-3.2Zm2.2-1.7c.15-.86.34-1.61.58-2.24.24-.65.51-1.12.76-1.4.25-.28.4-.29.42-.29.03 0 .17.01.42.3.25.27.52.74.77 1.4.23.62.43 1.37.57 2.22a19.96 19.96 0 0 1-3.52 0Zm-.18 4.6a20.1 20.1 0 0 1-.03-2.62 21.95 21.95 0 0 0 3.94 0 20.4 20.4 0 0 1-.03 2.63 21.97 21.97 0 0 0-3.88 0Zm.27 2c.13.66.3 1.26.49 1.78.24.65.51 1.12.76 1.4.25.28.4.29.42.29.03 0 .17-.01.42-.3.25-.27.52-.74.77-1.4.19-.5.36-1.1.49-1.78a20.03 20.03 0 0 0-3.35 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=browser.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ checkmarkSvg: () => (/* binding */ checkmarkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst checkmarkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M12.04 2.65c.47.3.6.91.3 1.38l-5.78 9a1 1 0 0 1-1.61.1L1.73 9.27A1 1 0 1 1 3.27 8L5.6 10.8l5.05-7.85a1 1 0 0 1 1.38-.3Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=checkmark.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronBottomSvg: () => (/* binding */ chevronBottomSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronBottomSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M1.46 4.96a1 1 0 0 1 1.41 0L8 10.09l5.13-5.13a1 1 0 1 1 1.41 1.41l-5.83 5.84a1 1 0 0 1-1.42 0L1.46 6.37a1 1 0 0 1 0-1.41Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-bottom.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js":
/*!****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronLeftSvg: () => (/* binding */ chevronLeftSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronLeftSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M11.04 1.46a1 1 0 0 1 0 1.41L5.91 8l5.13 5.13a1 1 0 1 1-1.41 1.41L3.79 8.71a1 1 0 0 1 0-1.42l5.84-5.83a1 1 0 0 1 1.41 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-left.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js":
/*!*****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js ***!
\*****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronRightSvg: () => (/* binding */ chevronRightSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronRightSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.96 14.54a1 1 0 0 1 0-1.41L10.09 8 4.96 2.87a1 1 0 0 1 1.41-1.41l5.84 5.83a1 1 0 0 1 0 1.42l-5.84 5.83a1 1 0 0 1-1.41 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-right.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chevronTopSvg: () => (/* binding */ chevronTopSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chevronTopSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M14.54 11.04a1 1 0 0 1-1.41 0L8 5.92l-5.13 5.12a1 1 0 1 1-1.41-1.41l5.83-5.84a1 1 0 0 1 1.42 0l5.83 5.84a1 1 0 0 1 0 1.41Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=chevron-top.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js":
/*!****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ chromeStoreSvg: () => (/* binding */ chromeStoreSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst chromeStoreSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg width=\"36\" height=\"36\" fill=\"none\">\n <path\n fill=\"#fff\"\n fill-opacity=\".05\"\n d=\"M0 14.94c0-5.55 0-8.326 1.182-10.4a9 9 0 0 1 3.359-3.358C6.614 0 9.389 0 14.94 0h6.12c5.55 0 8.326 0 10.4 1.182a9 9 0 0 1 3.358 3.359C36 6.614 36 9.389 36 14.94v6.12c0 5.55 0 8.326-1.182 10.4a9 9 0 0 1-3.359 3.358C29.386 36 26.611 36 21.06 36h-6.12c-5.55 0-8.326 0-10.4-1.182a9 9 0 0 1-3.358-3.359C0 29.386 0 26.611 0 21.06v-6.12Z\"\n />\n <path\n stroke=\"#fff\"\n stroke-opacity=\".05\"\n d=\"M14.94.5h6.12c2.785 0 4.84 0 6.46.146 1.612.144 2.743.43 3.691.97a8.5 8.5 0 0 1 3.172 3.173c.541.948.826 2.08.971 3.692.145 1.62.146 3.675.146 6.459v6.12c0 2.785 0 4.84-.146 6.46-.145 1.612-.43 2.743-.97 3.691a8.5 8.5 0 0 1-3.173 3.172c-.948.541-2.08.826-3.692.971-1.62.145-3.674.146-6.459.146h-6.12c-2.784 0-4.84 0-6.46-.146-1.612-.145-2.743-.43-3.691-.97a8.5 8.5 0 0 1-3.172-3.173c-.541-.948-.827-2.08-.971-3.692C.5 25.9.5 23.845.5 21.06v-6.12c0-2.784 0-4.84.146-6.46.144-1.612.43-2.743.97-3.691A8.5 8.5 0 0 1 4.79 1.617C5.737 1.076 6.869.79 8.48.646 10.1.5 12.156.5 14.94.5Z\"\n />\n <path\n fill=\"url(#a)\"\n d=\"M17.998 10.8h12.469a14.397 14.397 0 0 0-24.938.001l6.234 10.798.006-.001a7.19 7.19 0 0 1 6.23-10.799Z\"\n />\n <path\n fill=\"url(#b)\"\n d=\"m24.237 21.598-6.234 10.798A14.397 14.397 0 0 0 30.47 10.798H18.002l-.002.006a7.191 7.191 0 0 1 6.237 10.794Z\"\n />\n <path\n fill=\"url(#c)\"\n d=\"M11.765 21.601 5.531 10.803A14.396 14.396 0 0 0 18.001 32.4l6.235-10.798-.004-.004a7.19 7.19 0 0 1-12.466.004Z\"\n />\n <path fill=\"#fff\" d=\"M18 25.2a7.2 7.2 0 1 0 0-14.4 7.2 7.2 0 0 0 0 14.4Z\" />\n <path fill=\"#1A73E8\" d=\"M18 23.7a5.7 5.7 0 1 0 0-11.4 5.7 5.7 0 0 0 0 11.4Z\" />\n <defs>\n <linearGradient\n id=\"a\"\n x1=\"6.294\"\n x2=\"41.1\"\n y1=\"5.995\"\n y2=\"5.995\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#D93025\" />\n <stop offset=\"1\" stop-color=\"#EA4335\" />\n </linearGradient>\n <linearGradient\n id=\"b\"\n x1=\"20.953\"\n x2=\"37.194\"\n y1=\"32.143\"\n y2=\"2.701\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#FCC934\" />\n <stop offset=\"1\" stop-color=\"#FBBC04\" />\n </linearGradient>\n <linearGradient\n id=\"c\"\n x1=\"25.873\"\n x2=\"9.632\"\n y1=\"31.2\"\n y2=\"1.759\"\n gradientUnits=\"userSpaceOnUse\"\n >\n <stop stop-color=\"#1E8E3E\" />\n <stop offset=\"1\" stop-color=\"#34A853\" />\n </linearGradient>\n </defs>\n</svg>`;\n//# sourceMappingURL=chrome-store.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js":
/*!*********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ clockSvg: () => (/* binding */ clockSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst clockSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 2.99a5 5 0 1 0 0 10 5 5 0 0 0 0-10Zm-7 5a7 7 0 1 1 14 0 7 7 0 0 1-14 0Zm7-4a1 1 0 0 1 1 1v2.58l1.85 1.85a1 1 0 0 1-1.41 1.42L6.29 8.69A1 1 0 0 1 6 8v-3a1 1 0 0 1 1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=clock.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js":
/*!*********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ closeSvg: () => (/* binding */ closeSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst closeSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M2.54 2.54a1 1 0 0 1 1.42 0L8 6.6l4.04-4.05a1 1 0 1 1 1.42 1.42L9.4 8l4.05 4.04a1 1 0 0 1-1.42 1.42L8 9.4l-4.04 4.05a1 1 0 0 1-1.42-1.42L6.6 8 2.54 3.96a1 1 0 0 1 0-1.42Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=close.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ coinPlaceholderSvg: () => (/* binding */ coinPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst coinPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M10 3a7 7 0 0 0-6.85 8.44l8.29-8.3C10.97 3.06 10.49 3 10 3Zm3.49.93-9.56 9.56c.32.55.71 1.06 1.16 1.5L15 5.1a7.03 7.03 0 0 0-1.5-1.16Zm2.7 2.8-9.46 9.46a7 7 0 0 0 9.46-9.46ZM1.99 5.9A9 9 0 1 1 18 14.09 9 9 0 0 1 1.98 5.91Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=coinPlaceholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ compassSvg: () => (/* binding */ compassSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst compassSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M8 2a6 6 0 1 0 0 12A6 6 0 0 0 8 2ZM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm10.66-2.65a1 1 0 0 1 .23 1.06L9.83 9.24a1 1 0 0 1-.59.58l-2.83 1.06A1 1 0 0 1 5.13 9.6l1.06-2.82a1 1 0 0 1 .58-.59L9.6 5.12a1 1 0 0 1 1.06.23ZM7.9 7.89l-.13.35.35-.13.12-.35-.34.13Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=compass.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js":
/*!********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ copySvg: () => (/* binding */ copySvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst copySvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M9.5 0h1.67c.68 0 1.26 0 1.73.04.5.05.97.14 1.42.4.52.3.95.72 1.24 1.24.26.45.35.92.4 1.42.04.47.04 1.05.04 1.73V6.5c0 .69 0 1.26-.04 1.74-.05.5-.14.97-.4 1.41-.3.52-.72.95-1.24 1.25-.45.25-.92.35-1.42.4-.43.03-.95.03-1.57.03 0 .62 0 1.14-.04 1.57-.04.5-.14.97-.4 1.42-.29.52-.72.95-1.24 1.24-.44.26-.92.35-1.41.4-.48.04-1.05.04-1.74.04H4.83c-.68 0-1.26 0-1.73-.04-.5-.05-.97-.14-1.42-.4-.52-.3-.95-.72-1.24-1.24a3.39 3.39 0 0 1-.4-1.42A20.9 20.9 0 0 1 0 11.17V9.5c0-.69 0-1.26.04-1.74.05-.5.14-.97.4-1.41.3-.52.72-.95 1.24-1.25.45-.25.92-.35 1.42-.4.43-.03.95-.03 1.57-.03 0-.62 0-1.14.04-1.57.04-.5.14-.97.4-1.42.29-.52.72-.95 1.24-1.24.44-.26.92-.35 1.41-.4A20.9 20.9 0 0 1 9.5 0ZM4.67 6.67c-.63 0-1.06 0-1.4.03-.35.03-.5.09-.6.14-.2.12-.38.3-.5.5-.05.1-.1.24-.14.6C2 8.32 2 8.8 2 9.54v1.59c0 .73 0 1.22.03 1.6.04.35.1.5.15.6.11.2.29.38.5.5.09.05.24.1.6.14.37.03.86.03 1.6.03h1.58c.74 0 1.22 0 1.6-.03.36-.04.5-.1.6-.15.2-.11.38-.29.5-.5.05-.09.1-.24.14-.6.03-.33.03-.76.03-1.39-.6 0-1.13 0-1.57-.04-.5-.04-.97-.14-1.41-.4-.52-.29-.95-.72-1.25-1.24a3.39 3.39 0 0 1-.4-1.41c-.03-.44-.03-.96-.03-1.57Zm3.27-4.64c-.36.04-.5.1-.6.15-.2.11-.38.29-.5.5-.05.09-.1.24-.14.6-.03.37-.03.86-.03 1.6v1.58c0 .74 0 1.22.03 1.6.03.36.09.5.14.6.12.2.3.38.5.5.1.05.24.1.6.14.38.03.86.03 1.6.03h1.59c.73 0 1.22 0 1.6-.03.35-.03.5-.09.6-.14.2-.12.38-.3.5-.5.05-.1.1-.24.14-.6.03-.38.03-.86.03-1.6V4.87c0-.73 0-1.22-.03-1.6a1.46 1.46 0 0 0-.15-.6c-.11-.2-.29-.38-.5-.5-.09-.05-.24-.1-.6-.14-.37-.03-.86-.03-1.6-.03H9.55c-.74 0-1.22 0-1.6.03Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=copy.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ cursorSvg: () => (/* binding */ cursorSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst cursorSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) ` <svg fill=\"none\" viewBox=\"0 0 13 4\">\n <path fill=\"currentColor\" d=\"M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z\" />\n</svg>`;\n//# sourceMappingURL=cursor.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ desktopSvg: () => (/* binding */ desktopSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst desktopSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M13.66 2H6.34c-1.07 0-1.96 0-2.68.08-.74.08-1.42.25-2.01.68a4 4 0 0 0-.89.89c-.43.6-.6 1.27-.68 2.01C0 6.38 0 7.26 0 8.34v.89c0 1.07 0 1.96.08 2.68.08.74.25 1.42.68 2.01a4 4 0 0 0 .89.89c.6.43 1.27.6 2.01.68a27 27 0 0 0 2.68.08h7.32a27 27 0 0 0 2.68-.08 4.03 4.03 0 0 0 2.01-.68 4 4 0 0 0 .89-.89c.43-.6.6-1.27.68-2.01.08-.72.08-1.6.08-2.68v-.89c0-1.07 0-1.96-.08-2.68a4.04 4.04 0 0 0-.68-2.01 4 4 0 0 0-.89-.89c-.6-.43-1.27-.6-2.01-.68C15.62 2 14.74 2 13.66 2ZM2.82 4.38c.2-.14.48-.25 1.06-.31C4.48 4 5.25 4 6.4 4h7.2c1.15 0 1.93 0 2.52.07.58.06.86.17 1.06.31a2 2 0 0 1 .44.44c.14.2.25.48.31 1.06.07.6.07 1.37.07 2.52v.77c0 1.15 0 1.93-.07 2.52-.06.58-.17.86-.31 1.06a2 2 0 0 1-.44.44c-.2.14-.48.25-1.06.32-.6.06-1.37.06-2.52.06H6.4c-1.15 0-1.93 0-2.52-.06-.58-.07-.86-.18-1.06-.32a2 2 0 0 1-.44-.44c-.14-.2-.25-.48-.31-1.06C2 11.1 2 10.32 2 9.17V8.4c0-1.15 0-1.93.07-2.52.06-.58.17-.86.31-1.06a2 2 0 0 1 .44-.44Z\"\n clip-rule=\"evenodd\"\n />\n <path fill=\"currentColor\" d=\"M6.14 17.57a1 1 0 1 0 0 2h7.72a1 1 0 1 0 0-2H6.14Z\" />\n</svg>`;\n//# sourceMappingURL=desktop.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ disconnectSvg: () => (/* binding */ disconnectSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst disconnectSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.07 1h.57a1 1 0 0 1 0 2h-.52c-.98 0-1.64 0-2.14.06-.48.05-.7.14-.84.24-.13.1-.25.22-.34.35-.1.14-.2.35-.25.83-.05.5-.05 1.16-.05 2.15v2.74c0 .99 0 1.65.05 2.15.05.48.14.7.25.83.1.14.2.25.34.35.14.1.36.2.84.25.5.05 1.16.05 2.14.05h.52a1 1 0 0 1 0 2h-.57c-.92 0-1.69 0-2.3-.07a3.6 3.6 0 0 1-1.8-.61c-.3-.22-.57-.49-.8-.8a3.6 3.6 0 0 1-.6-1.79C.5 11.11.5 10.35.5 9.43V6.58c0-.92 0-1.7.06-2.31a3.6 3.6 0 0 1 .62-1.8c.22-.3.48-.57.79-.79a3.6 3.6 0 0 1 1.8-.61C4.37 1 5.14 1 6.06 1ZM9.5 3a1 1 0 0 1 1.42 0l4.28 4.3a1 1 0 0 1 0 1.4L10.93 13a1 1 0 0 1-1.42-1.42L12.1 9H6.8a1 1 0 1 1 0-2h5.3L9.51 4.42a1 1 0 0 1 0-1.41Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=disconnect.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ discordSvg: () => (/* binding */ discordSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst discordSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#5865F2\" />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M25.71 28.15C30.25 28 32 25.02 32 25.02c0-6.61-2.96-11.98-2.96-11.98-2.96-2.22-5.77-2.15-5.77-2.15l-.29.32c3.5 1.07 5.12 2.61 5.12 2.61a16.75 16.75 0 0 0-10.34-1.93l-.35.04a15.43 15.43 0 0 0-5.88 1.9s1.71-1.63 5.4-2.7l-.2-.24s-2.81-.07-5.77 2.15c0 0-2.96 5.37-2.96 11.98 0 0 1.73 2.98 6.27 3.13l1.37-1.7c-2.6-.79-3.6-2.43-3.6-2.43l.58.35.09.06.08.04.02.01.08.05a17.25 17.25 0 0 0 4.52 1.58 14.4 14.4 0 0 0 8.3-.86c.72-.27 1.52-.66 2.37-1.21 0 0-1.03 1.68-3.72 2.44.61.78 1.35 1.67 1.35 1.67Zm-9.55-9.6c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28.01-1.25-.93-2.28-2.1-2.28Zm7.5 0c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28 0-1.25-.93-2.28-2.1-2.28Z\"\n clip-rule=\"evenodd\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=discord.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ etherscanSvg: () => (/* binding */ etherscanSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst etherscanSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n d=\"M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z\"\n />\n</svg>`;\n//# sourceMappingURL=etherscan.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ extensionSvg: () => (/* binding */ extensionSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst extensionSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.71 2.99a.57.57 0 0 0-.57.57 1 1 0 0 1-1 1c-.58 0-.96 0-1.24.03-.27.03-.37.07-.42.1a.97.97 0 0 0-.36.35c-.04.08-.09.21-.11.67a2.57 2.57 0 0 1 0 5.13c.02.45.07.6.11.66.09.15.21.28.36.36.07.04.21.1.67.12a2.57 2.57 0 0 1 5.12 0c.46-.03.6-.08.67-.12a.97.97 0 0 0 .36-.36c.03-.04.07-.14.1-.41.02-.29.03-.66.03-1.24a1 1 0 0 1 1-1 .57.57 0 0 0 0-1.15 1 1 0 0 1-1-1c0-.58 0-.95-.03-1.24a1.04 1.04 0 0 0-.1-.42.97.97 0 0 0-.36-.36 1.04 1.04 0 0 0-.42-.1c-.28-.02-.65-.02-1.24-.02a1 1 0 0 1-1-1 .57.57 0 0 0-.57-.57ZM5.15 13.98a1 1 0 0 0 .99-1v-.78a.57.57 0 0 1 1.14 0v.78a1 1 0 0 0 .99 1H8.36a66.26 66.26 0 0 0 .73 0 3.78 3.78 0 0 0 1.84-.38c.46-.26.85-.64 1.1-1.1.23-.4.32-.8.36-1.22.02-.2.03-.4.03-.63a2.57 2.57 0 0 0 0-4.75c0-.23-.01-.44-.03-.63a2.96 2.96 0 0 0-.35-1.22 2.97 2.97 0 0 0-1.1-1.1c-.4-.22-.8-.31-1.22-.35a8.7 8.7 0 0 0-.64-.04 2.57 2.57 0 0 0-4.74 0c-.23 0-.44.02-.63.04-.42.04-.83.13-1.22.35-.46.26-.84.64-1.1 1.1-.33.57-.37 1.2-.39 1.84a21.39 21.39 0 0 0 0 .72v.1a1 1 0 0 0 1 .99h.78a.57.57 0 0 1 0 1.15h-.77a1 1 0 0 0-1 .98v.1a63.87 63.87 0 0 0 0 .73c0 .64.05 1.27.38 1.83.26.47.64.85 1.1 1.11.56.32 1.2.37 1.84.38a20.93 20.93 0 0 0 .72 0h.1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=extension.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js":
/*!*****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js ***!
\*****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ externalLinkSvg: () => (/* binding */ externalLinkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst externalLinkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.74 3.99a1 1 0 0 1 1-1H11a1 1 0 0 1 1 1v6.26a1 1 0 0 1-2 0V6.4l-6.3 6.3a1 1 0 0 1-1.4-1.42l6.29-6.3H4.74a1 1 0 0 1-1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=external-link.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js":
/*!************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js ***!
\************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ facebookSvg: () => (/* binding */ facebookSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst facebookSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#1877F2\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M26 12.38h-2.89c-.92 0-1.61.38-1.61 1.34v1.66H26l-.36 4.5H21.5v12H17v-12h-3v-4.5h3V12.5c0-3.03 1.6-4.62 5.2-4.62H26v4.5Z\"\n />\n </g>\n </g>\n <path\n fill=\"#1877F2\"\n d=\"M40 20a20 20 0 1 0-23.13 19.76V25.78H11.8V20h5.07v-4.4c0-5.02 3-7.79 7.56-7.79 2.19 0 4.48.4 4.48.4v4.91h-2.53c-2.48 0-3.25 1.55-3.25 3.13V20h5.54l-.88 5.78h-4.66v13.98A20 20 0 0 0 40 20Z\"\n />\n <path\n fill=\"#fff\"\n d=\"m27.79 25.78.88-5.78h-5.55v-3.75c0-1.58.78-3.13 3.26-3.13h2.53V8.2s-2.3-.39-4.48-.39c-4.57 0-7.55 2.77-7.55 7.78V20H11.8v5.78h5.07v13.98a20.15 20.15 0 0 0 6.25 0V25.78h4.67Z\"\n />\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=facebook.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ filtersSvg: () => (/* binding */ filtersSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst filtersSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M0 3a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H1a1 1 0 0 1-1-1Zm2.63 5.25a1 1 0 0 1 1-1h8.75a1 1 0 1 1 0 2H3.63a1 1 0 0 1-1-1Zm2.62 5.25a1 1 0 0 1 1-1h3.5a1 1 0 0 1 0 2h-3.5a1 1 0 0 1-1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=filters.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ githubSvg: () => (/* binding */ githubSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst githubSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#1B1F23\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M8 19.89a12 12 0 1 1 15.8 11.38c-.6.12-.8-.26-.8-.57v-3.3c0-1.12-.4-1.85-.82-2.22 2.67-.3 5.48-1.31 5.48-5.92 0-1.31-.47-2.38-1.24-3.22.13-.3.54-1.52-.12-3.18 0 0-1-.32-3.3 1.23a11.54 11.54 0 0 0-6 0c-2.3-1.55-3.3-1.23-3.3-1.23a4.32 4.32 0 0 0-.12 3.18 4.64 4.64 0 0 0-1.24 3.22c0 4.6 2.8 5.63 5.47 5.93-.34.3-.65.83-.76 1.6-.69.31-2.42.84-3.5-1 0 0-.63-1.15-1.83-1.23 0 0-1.18-.02-.09.73 0 0 .8.37 1.34 1.76 0 0 .7 2.14 4.03 1.41v2.24c0 .31-.2.68-.8.57A12 12 0 0 1 8 19.9Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=github.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ googleSvg: () => (/* binding */ googleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst googleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#fff\" fill-opacity=\".05\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#4285F4\"\n d=\"M20 17.7v4.65h6.46a5.53 5.53 0 0 1-2.41 3.61l3.9 3.02c2.26-2.09 3.57-5.17 3.57-8.82 0-.85-.08-1.67-.22-2.46H20Z\"\n />\n <path\n fill=\"#34A853\"\n d=\"m13.27 22.17-.87.67-3.11 2.42A12 12 0 0 0 20 31.9c3.24 0 5.96-1.07 7.94-2.9l-3.9-3.03A7.15 7.15 0 0 1 20 27.12a7.16 7.16 0 0 1-6.72-4.94v-.01Z\"\n />\n <path\n fill=\"#FBBC05\"\n d=\"M9.29 14.5a11.85 11.85 0 0 0 0 10.76l3.99-3.1a7.19 7.19 0 0 1 0-4.55l-4-3.1Z\"\n />\n <path\n fill=\"#EA4335\"\n d=\"M20 12.66c1.77 0 3.34.61 4.6 1.8l3.43-3.44A11.51 11.51 0 0 0 20 7.89c-4.7 0-8.74 2.69-10.71 6.62l3.99 3.1A7.16 7.16 0 0 1 20 12.66Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=google.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ helpCircleSvg: () => (/* binding */ helpCircleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst helpCircleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n d=\"M8.51 5.66a.83.83 0 0 0-.57-.2.83.83 0 0 0-.52.28.8.8 0 0 0-.25.52 1 1 0 0 1-2 0c0-.75.34-1.43.81-1.91a2.75 2.75 0 0 1 4.78 1.92c0 1.24-.8 1.86-1.25 2.2l-.04.03c-.47.36-.5.43-.5.65a1 1 0 1 1-2 0c0-1.25.8-1.86 1.24-2.2l.04-.04c.47-.36.5-.43.5-.65 0-.3-.1-.49-.24-.6ZM9.12 11.87a1.13 1.13 0 1 1-2.25 0 1.13 1.13 0 0 1 2.25 0Z\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6a6 6 0 1 0 0 12A6 6 0 0 0 8 2Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=help-circle.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ infoCircleSvg: () => (/* binding */ infoCircleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst infoCircleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 15\">\n <path\n fill=\"currentColor\"\n d=\"M6 10.49a1 1 0 1 0 2 0v-2a1 1 0 0 0-2 0v2ZM7 4.49a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M7 14.99a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm5-7a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=info-circle.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js":
/*!********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mailSvg: () => (/* binding */ mailSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst mailSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.83 1.34h6.34c.68 0 1.26 0 1.73.04.5.05.97.15 1.42.4.52.3.95.72 1.24 1.24.26.45.35.92.4 1.42.04.47.04 1.05.04 1.73v3.71c0 .69 0 1.26-.04 1.74-.05.5-.14.97-.4 1.41-.3.52-.72.95-1.24 1.25-.45.25-.92.35-1.42.4-.47.03-1.05.03-1.73.03H4.83c-.68 0-1.26 0-1.73-.04-.5-.04-.97-.14-1.42-.4-.52-.29-.95-.72-1.24-1.24a3.39 3.39 0 0 1-.4-1.41A20.9 20.9 0 0 1 0 9.88v-3.7c0-.7 0-1.27.04-1.74.05-.5.14-.97.4-1.42.3-.52.72-.95 1.24-1.24.45-.25.92-.35 1.42-.4.47-.04 1.05-.04 1.73-.04ZM3.28 3.38c-.36.03-.51.08-.6.14-.21.11-.39.29-.5.5a.8.8 0 0 0-.08.19l5.16 3.44c.45.3 1.03.3 1.48 0L13.9 4.2a.79.79 0 0 0-.08-.2c-.11-.2-.29-.38-.5-.5-.09-.05-.24-.1-.6-.13-.37-.04-.86-.04-1.6-.04H4.88c-.73 0-1.22 0-1.6.04ZM14 6.54 9.85 9.31a3.33 3.33 0 0 1-3.7 0L2 6.54v3.3c0 .74 0 1.22.03 1.6.04.36.1.5.15.6.11.2.29.38.5.5.09.05.24.1.6.14.37.03.86.03 1.6.03h6.25c.73 0 1.22 0 1.6-.03.35-.03.5-.09.6-.14.2-.12.38-.3.5-.5.05-.1.1-.24.14-.6.03-.38.03-.86.03-1.6v-3.3Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=mail.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mobileSvg: () => (/* binding */ mobileSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst mobileSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path fill=\"currentColor\" d=\"M10.81 5.81a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z\" />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3 4.75A4.75 4.75 0 0 1 7.75 0h4.5A4.75 4.75 0 0 1 17 4.75v10.5A4.75 4.75 0 0 1 12.25 20h-4.5A4.75 4.75 0 0 1 3 15.25V4.75ZM7.75 2A2.75 2.75 0 0 0 5 4.75v10.5A2.75 2.75 0 0 0 7.75 18h4.5A2.75 2.75 0 0 0 15 15.25V4.75A2.75 2.75 0 0 0 12.25 2h-4.5Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=mobile.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkPlaceholderSvg: () => (/* binding */ networkPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 22 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M16.32 13.62a3.14 3.14 0 1 1-.99 1.72l-1.6-.93a3.83 3.83 0 0 1-3.71 1 3.66 3.66 0 0 1-1.74-1l-1.6.94a3.14 3.14 0 1 1-1-1.73l1.6-.94a3.7 3.7 0 0 1 0-2 3.81 3.81 0 0 1 1.8-2.33c.29-.17.6-.3.92-.38V6.1a3.14 3.14 0 1 1 2 0l-.01.02v1.85H12a3.82 3.82 0 0 1 2.33 1.8 3.7 3.7 0 0 1 .39 2.91l1.6.93ZM2.6 16.54a1.14 1.14 0 0 0 1.98-1.14 1.14 1.14 0 0 0-1.98 1.14ZM11 2.01a1.14 1.14 0 1 0 0 2.28 1.14 1.14 0 0 0 0-2.28Zm1.68 10.45c.08-.19.14-.38.16-.58v-.05l.02-.13v-.13a1.92 1.92 0 0 0-.24-.8l-.11-.15a1.89 1.89 0 0 0-.74-.6 1.86 1.86 0 0 0-.77-.17h-.19a1.97 1.97 0 0 0-.89.34 1.98 1.98 0 0 0-.61.74 1.99 1.99 0 0 0-.16.9v.05a1.87 1.87 0 0 0 .24.74l.1.15c.12.16.26.3.42.42l.16.1.13.07.04.02a1.84 1.84 0 0 0 .76.17h.17a2 2 0 0 0 .91-.35 1.78 1.78 0 0 0 .52-.58l.03-.05a.84.84 0 0 0 .05-.11Zm5.15 4.5a1.14 1.14 0 0 0 1.14-1.97 1.13 1.13 0 0 0-1.55.41c-.32.55-.13 1.25.41 1.56Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M4.63 9.43a1.5 1.5 0 1 0 1.5-2.6 1.5 1.5 0 0 0-1.5 2.6Zm.32-1.55a.5.5 0 0 1 .68-.19.5.5 0 0 1 .18.68.5.5 0 0 1-.68.19.5.5 0 0 1-.18-.68ZM17.94 8.88a1.5 1.5 0 1 1-2.6-1.5 1.5 1.5 0 1 1 2.6 1.5ZM16.9 7.69a.5.5 0 0 0-.68.19.5.5 0 0 0 .18.68.5.5 0 0 0 .68-.19.5.5 0 0 0-.18-.68ZM9.75 17.75a1.5 1.5 0 1 1 2.6 1.5 1.5 1.5 0 1 1-2.6-1.5Zm1.05 1.18a.5.5 0 0 0 .68-.18.5.5 0 0 0-.18-.68.5.5 0 0 0-.68.18.5.5 0 0 0 .18.68Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=network-placeholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkSvg: () => (/* binding */ networkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg viewBox=\"0 0 48 54\" fill=\"none\">\n <path\n d=\"M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z\"\n />\n</svg>`;\n//# sourceMappingURL=network.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkLgSvg: () => (/* binding */ networkLgSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkLgSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg width=\"86\" height=\"96\" fill=\"none\">\n <path\n d=\"M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z\"\n />\n</svg>`;\n//# sourceMappingURL=networkLg.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ nftPlaceholderSvg: () => (/* binding */ nftPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst nftPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M9.13 1h1.71c1.46 0 2.63 0 3.56.1.97.1 1.8.33 2.53.85a5 5 0 0 1 1.1 1.11c.53.73.75 1.56.86 2.53.1.93.1 2.1.1 3.55v1.72c0 1.45 0 2.62-.1 3.55-.1.97-.33 1.8-.86 2.53a5 5 0 0 1-1.1 1.1c-.73.53-1.56.75-2.53.86-.93.1-2.1.1-3.55.1H9.13c-1.45 0-2.62 0-3.56-.1-.96-.1-1.8-.33-2.52-.85a5 5 0 0 1-1.1-1.11 5.05 5.05 0 0 1-.86-2.53c-.1-.93-.1-2.1-.1-3.55V9.14c0-1.45 0-2.62.1-3.55.1-.97.33-1.8.85-2.53a5 5 0 0 1 1.1-1.1 5.05 5.05 0 0 1 2.53-.86C6.51 1 7.67 1 9.13 1ZM5.79 3.09a3.1 3.1 0 0 0-1.57.48 3 3 0 0 0-.66.67c-.24.32-.4.77-.48 1.56-.1.82-.1 1.88-.1 3.4v1.6c0 1.15 0 2.04.05 2.76l.41-.42c.5-.5.93-.92 1.32-1.24.41-.33.86-.6 1.43-.7a3 3 0 0 1 .94 0c.35.06.66.2.95.37a17.11 17.11 0 0 0 .8.45c.1-.08.2-.2.41-.4l.04-.03a27 27 0 0 1 1.95-1.84 4.03 4.03 0 0 1 1.91-.94 4 4 0 0 1 1.25 0c.73.11 1.33.46 1.91.94l.64.55V9.2c0-1.52 0-2.58-.1-3.4a3.1 3.1 0 0 0-.48-1.56 3 3 0 0 0-.66-.67 3.1 3.1 0 0 0-1.56-.48C13.37 3 12.3 3 10.79 3h-1.6c-1.52 0-2.59 0-3.4.09Zm11.18 10-.04-.05a26.24 26.24 0 0 0-1.83-1.74c-.45-.36-.73-.48-.97-.52a2 2 0 0 0-.63 0c-.24.04-.51.16-.97.52-.46.38-1.01.93-1.83 1.74l-.02.02c-.17.18-.34.34-.49.47a2.04 2.04 0 0 1-1.08.5 1.97 1.97 0 0 1-1.25-.27l-.79-.46-.02-.02a.65.65 0 0 0-.24-.1 1 1 0 0 0-.31 0c-.08.02-.21.06-.49.28-.3.24-.65.59-1.2 1.14l-.56.56-.65.66a3 3 0 0 0 .62.6c.33.24.77.4 1.57.49.81.09 1.88.09 3.4.09h1.6c1.52 0 2.58 0 3.4-.09a3.1 3.1 0 0 0 1.56-.48 3 3 0 0 0 .66-.67c.24-.32.4-.77.49-1.56l.07-1.12Zm-8.02-1.03ZM4.99 7a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=nftPlaceholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js":
/*!*******************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ offSvg: () => (/* binding */ offSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst offSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M8 0a1 1 0 0 1 1 1v5.38a1 1 0 0 1-2 0V1a1 1 0 0 1 1-1ZM5.26 2.6a1 1 0 0 1-.28 1.39 5.46 5.46 0 1 0 6.04 0 1 1 0 1 1 1.1-1.67 7.46 7.46 0 1 1-8.25 0 1 1 0 0 1 1.4.28Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=off.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ playStoreSvg: () => (/* binding */ playStoreSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst playStoreSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) ` <svg\n width=\"36\"\n height=\"36\"\n fill=\"none\"\n>\n <path\n d=\"M0 8a8 8 0 0 1 8-8h20a8 8 0 0 1 8 8v20a8 8 0 0 1-8 8H8a8 8 0 0 1-8-8V8Z\"\n fill=\"#fff\"\n fill-opacity=\".05\"\n />\n <path\n d=\"m18.262 17.513-8.944 9.49v.01a2.417 2.417 0 0 0 3.56 1.452l.026-.017 10.061-5.803-4.703-5.132Z\"\n fill=\"#EA4335\"\n />\n <path\n d=\"m27.307 15.9-.008-.008-4.342-2.52-4.896 4.36 4.913 4.912 4.325-2.494a2.42 2.42 0 0 0 .008-4.25Z\"\n fill=\"#FBBC04\"\n />\n <path\n d=\"M9.318 8.997c-.05.202-.084.403-.084.622V26.39c0 .218.025.42.084.621l9.246-9.247-9.246-8.768Z\"\n fill=\"#4285F4\"\n />\n <path\n d=\"m18.33 18 4.627-4.628-10.053-5.828a2.427 2.427 0 0 0-3.586 1.444L18.329 18Z\"\n fill=\"#34A853\"\n />\n <path\n d=\"M8 .5h20A7.5 7.5 0 0 1 35.5 8v20a7.5 7.5 0 0 1-7.5 7.5H8A7.5 7.5 0 0 1 .5 28V8A7.5 7.5 0 0 1 8 .5Z\"\n stroke=\"#fff\"\n stroke-opacity=\".05\"\n />\n</svg>`;\n//# sourceMappingURL=play-store.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ qrCodeIcon: () => (/* binding */ qrCodeIcon)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst qrCodeIcon = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n d=\"M3 6a3 3 0 0 1 3-3h1a1 1 0 1 0 0-2H6a5 5 0 0 0-5 5v1a1 1 0 0 0 2 0V6ZM13 1a1 1 0 1 0 0 2h1a3 3 0 0 1 3 3v1a1 1 0 1 0 2 0V6a5 5 0 0 0-5-5h-1ZM3 13a1 1 0 1 0-2 0v1a5 5 0 0 0 5 5h1a1 1 0 1 0 0-2H6a3 3 0 0 1-3-3v-1ZM19 13a1 1 0 1 0-2 0v1a3 3 0 0 1-3 3h-1a1 1 0 1 0 0 2h1.01a5 5 0 0 0 5-5v-1ZM5.3 6.36c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05A1.5 1.5 0 0 0 9.2 8.14c.06-.2.06-.43.06-.89s0-.7-.06-.89A1.5 1.5 0 0 0 8.14 5.3c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06ZM10.8 6.36c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05a1.5 1.5 0 0 0 1.06-1.06c.06-.2.06-.43.06-.89s0-.7-.06-.89a1.5 1.5 0 0 0-1.06-1.06c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06ZM5.26 12.75c0-.46 0-.7.05-.89a1.5 1.5 0 0 1 1.06-1.06c.19-.05.42-.05.89-.05.46 0 .7 0 .88.05.52.14.93.54 1.06 1.06.06.2.06.43.06.89s0 .7-.06.89a1.5 1.5 0 0 1-1.06 1.06c-.19.05-.42.05-.88.05-.47 0-.7 0-.9-.05a1.5 1.5 0 0 1-1.05-1.06c-.05-.2-.05-.43-.05-.89ZM10.8 11.86c-.04.2-.04.43-.04.89s0 .7.05.89c.14.52.54.92 1.06 1.06.19.05.42.05.89.05.46 0 .7 0 .88-.05a1.5 1.5 0 0 0 1.06-1.06c.06-.2.06-.43.06-.89s0-.7-.06-.89a1.5 1.5 0 0 0-1.06-1.06c-.19-.05-.42-.05-.88-.05-.47 0-.7 0-.9.05a1.5 1.5 0 0 0-1.05 1.06Z\"\n />\n</svg>`;\n//# sourceMappingURL=qr-code.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ refreshSvg: () => (/* binding */ refreshSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst refreshSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 16\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.94 1.04a1 1 0 0 1 .7 1.23l-.48 1.68a5.85 5.85 0 0 1 8.53 4.32 5.86 5.86 0 0 1-11.4 2.56 1 1 0 0 1 1.9-.57 3.86 3.86 0 1 0 1.83-4.5l1.87.53a1 1 0 0 1-.55 1.92l-4.1-1.15a1 1 0 0 1-.69-1.23l1.16-4.1a1 1 0 0 1 1.23-.7Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=refresh.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ searchSvg: () => (/* binding */ searchSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst searchSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M9.36 4.21a5.14 5.14 0 1 0 0 10.29 5.14 5.14 0 0 0 0-10.29ZM1.64 9.36a7.71 7.71 0 1 1 14 4.47l2.52 2.5a1.29 1.29 0 1 1-1.82 1.83l-2.51-2.51A7.71 7.71 0 0 1 1.65 9.36Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=search.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ swapHorizontalSvg: () => (/* binding */ swapHorizontalSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst swapHorizontalSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M6.76.3a1 1 0 0 1 0 1.4L4.07 4.4h9a1 1 0 1 1 0 2h-9l2.69 2.68a1 1 0 1 1-1.42 1.42L.95 6.09a1 1 0 0 1 0-1.4l4.4-4.4a1 1 0 0 1 1.4 0Zm6.49 9.21a1 1 0 0 1 1.41 0l4.39 4.4a1 1 0 0 1 0 1.4l-4.39 4.4a1 1 0 0 1-1.41-1.42l2.68-2.68h-9a1 1 0 0 1 0-2h9l-2.68-2.68a1 1 0 0 1 0-1.42Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=swapHorizontal.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ swapHorizontalBoldSvg: () => (/* binding */ swapHorizontalBoldSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst swapHorizontalBoldSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg width=\"10\" height=\"10\" viewBox=\"0 0 10 10\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.77986 0.566631C4.0589 0.845577 4.0589 1.29784 3.77986 1.57678L3.08261 2.2738H6.34184C6.73647 2.2738 7.05637 2.5936 7.05637 2.98808C7.05637 3.38257 6.73647 3.70237 6.34184 3.70237H3.08261L3.77986 4.39938C4.0589 4.67833 4.0589 5.13059 3.77986 5.40954C3.50082 5.68848 3.04841 5.68848 2.76937 5.40954L0.852346 3.49316C0.573306 3.21421 0.573306 2.76195 0.852346 2.48301L2.76937 0.566631C3.04841 0.287685 3.50082 0.287685 3.77986 0.566631ZM6.22 4.59102C6.49904 4.31208 6.95145 4.31208 7.23049 4.59102L9.14751 6.5074C9.42655 6.78634 9.42655 7.23861 9.14751 7.51755L7.23049 9.43393C6.95145 9.71287 6.49904 9.71287 6.22 9.43393C5.94096 9.15498 5.94096 8.70272 6.22 8.42377L6.91725 7.72676L3.65802 7.72676C3.26339 7.72676 2.94349 7.40696 2.94349 7.01247C2.94349 6.61798 3.26339 6.29819 3.65802 6.29819L6.91725 6.29819L6.22 5.60117C5.94096 5.32223 5.94096 4.86997 6.22 4.59102Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=swapHorizontalBold.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js":
/*!****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ swapVerticalSvg: () => (/* binding */ swapVerticalSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst swapVerticalSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 14 14\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M3.48 2.18a1 1 0 0 1 1.41 0l2.68 2.68a1 1 0 1 1-1.41 1.42l-.98-.98v4.56a1 1 0 0 1-2 0V5.3l-.97.98A1 1 0 0 1 .79 4.86l2.69-2.68Zm6.34 2.93a1 1 0 0 1 1 1v4.56l.97-.98a1 1 0 1 1 1.42 1.42l-2.69 2.68a1 1 0 0 1-1.41 0l-2.68-2.68a1 1 0 0 1 1.41-1.42l.98.98V6.1a1 1 0 0 1 1-1Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=swapVertical.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js":
/*!************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js ***!
\************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ telegramSvg: () => (/* binding */ telegramSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst telegramSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#5865F2\" />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M25.71 28.15C30.25 28 32 25.02 32 25.02c0-6.61-2.96-11.98-2.96-11.98-2.96-2.22-5.77-2.15-5.77-2.15l-.29.32c3.5 1.07 5.12 2.61 5.12 2.61a16.75 16.75 0 0 0-10.34-1.93l-.35.04a15.43 15.43 0 0 0-5.88 1.9s1.71-1.63 5.4-2.7l-.2-.24s-2.81-.07-5.77 2.15c0 0-2.96 5.37-2.96 11.98 0 0 1.73 2.98 6.27 3.13l1.37-1.7c-2.6-.79-3.6-2.43-3.6-2.43l.58.35.09.06.08.04.02.01.08.05a17.25 17.25 0 0 0 4.52 1.58 14.4 14.4 0 0 0 8.3-.86c.72-.27 1.52-.66 2.37-1.21 0 0-1.03 1.68-3.72 2.44.61.78 1.35 1.67 1.35 1.67Zm-9.55-9.6c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28.01-1.25-.93-2.28-2.1-2.28Zm7.5 0c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28 0-1.25-.93-2.28-2.1-2.28Z\"\n clip-rule=\"evenodd\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=telegram.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ twitchSvg: () => (/* binding */ twitchSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst twitchSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#5A3E85\" />\n <g clip-path=\"url(#c)\">\n <path\n fill=\"#fff\"\n d=\"M18.22 25.7 20 23.91h3.34l2.1-2.1v-6.68H15.4v8.78h2.82v1.77Zm3.87-8.16h1.25v3.66H22.1v-3.66Zm-3.34 0H20v3.66h-1.25v-3.66ZM20 7.9a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm6.69 14.56-3.66 3.66h-2.72l-1.77 1.78h-1.88V26.1H13.3v-9.82l.94-2.4H26.7v8.56Z\"\n />\n </g>\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n <clipPath id=\"c\"><path fill=\"#fff\" d=\"M8 7.89h24v24H8z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=twitch.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ twitterSvg: () => (/* binding */ twitterSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst twitterSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 40 40\">\n <g clip-path=\"url(#a)\">\n <g clip-path=\"url(#b)\">\n <circle cx=\"20\" cy=\"19.89\" r=\"20\" fill=\"#1D9BF0\" />\n <path\n fill=\"#fff\"\n d=\"M30 13.81c-.74.33-1.53.55-2.36.65.85-.51 1.5-1.32 1.8-2.27-.79.47-1.66.8-2.6 1a4.1 4.1 0 0 0-7 3.73c-3.4-.17-6.42-1.8-8.45-4.28a4.1 4.1 0 0 0 1.27 5.47c-.67-.02-1.3-.2-1.86-.5a4.1 4.1 0 0 0 3.3 4.07c-.58.15-1.21.19-1.86.07a4.1 4.1 0 0 0 3.83 2.85A8.25 8.25 0 0 1 10 26.3a11.62 11.62 0 0 0 6.29 1.84c7.62 0 11.92-6.44 11.66-12.2.8-.59 1.5-1.3 2.05-2.13Z\"\n />\n </g>\n </g>\n <defs>\n <clipPath id=\"a\"><rect width=\"40\" height=\"40\" fill=\"#fff\" rx=\"20\" /></clipPath>\n <clipPath id=\"b\"><path fill=\"#fff\" d=\"M0 0h40v40H0z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=twitter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ twitterIconSvg: () => (/* binding */ twitterIconSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst twitterIconSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 16 16\">\n <path\n fill=\"currentColor\"\n d=\"m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z\"\n />\n</svg>`;\n//# sourceMappingURL=twitterIcon.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletPlaceholderSvg: () => (/* binding */ walletPlaceholderSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst walletPlaceholderSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n <svg fill=\"none\" viewBox=\"0 0 48 44\">\n <path\n style=\"fill: var(--wui-color-bg-300);\"\n d=\"M4.56 8.64c-1.23 1.68-1.23 4.08-1.23 8.88v8.96c0 4.8 0 7.2 1.23 8.88.39.55.87 1.02 1.41 1.42C7.65 38 10.05 38 14.85 38h14.3c4.8 0 7.2 0 8.88-1.22a6.4 6.4 0 0 0 1.41-1.42c.83-1.14 1.1-2.6 1.19-4.92a6.4 6.4 0 0 0 5.16-4.65c.21-.81.21-1.8.21-3.79 0-1.98 0-2.98-.22-3.79a6.4 6.4 0 0 0-5.15-4.65c-.1-2.32-.36-3.78-1.19-4.92a6.4 6.4 0 0 0-1.41-1.42C36.35 6 33.95 6 29.15 6h-14.3c-4.8 0-7.2 0-8.88 1.22a6.4 6.4 0 0 0-1.41 1.42Z\"\n />\n <path\n style=\"fill: var(--wui-color-fg-200);\"\n fill-rule=\"evenodd\"\n d=\"M2.27 11.33a6.4 6.4 0 0 1 6.4-6.4h26.66a6.4 6.4 0 0 1 6.4 6.4v1.7a6.4 6.4 0 0 1 5.34 6.3v5.34a6.4 6.4 0 0 1-5.34 6.3v1.7a6.4 6.4 0 0 1-6.4 6.4H8.67a6.4 6.4 0 0 1-6.4-6.4V11.33ZM39.6 31.07h-6.93a9.07 9.07 0 1 1 0-18.14h6.93v-1.6a4.27 4.27 0 0 0-4.27-4.26H8.67a4.27 4.27 0 0 0-4.27 4.26v21.34a4.27 4.27 0 0 0 4.27 4.26h26.66a4.27 4.27 0 0 0 4.27-4.26v-1.6Zm-6.93-16a6.93 6.93 0 0 0 0 13.86h8a4.27 4.27 0 0 0 4.26-4.26v-5.34a4.27 4.27 0 0 0-4.26-4.26h-8Z\"\n clip-rule=\"evenodd\"\n />\n </svg>\n`;\n//# sourceMappingURL=wallet-placeholder.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletSvg: () => (/* binding */ walletSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst walletSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M0 5.5c0-1.8 1.46-3.25 3.25-3.25H14.5c1.8 0 3.25 1.46 3.25 3.25v.28A3.25 3.25 0 0 1 20 8.88v2.24c0 1.45-.94 2.68-2.25 3.1v.28c0 1.8-1.46 3.25-3.25 3.25H3.25A3.25 3.25 0 0 1 0 14.5v-9Zm15.75 8.88h-2.38a4.38 4.38 0 0 1 0-8.76h2.38V5.5c0-.69-.56-1.25-1.25-1.25H3.25C2.56 4.25 2 4.81 2 5.5v9c0 .69.56 1.25 1.25 1.25H14.5c.69 0 1.25-.56 1.25-1.25v-.13Zm-2.38-6.76a2.37 2.37 0 1 0 0 4.75h3.38c.69 0 1.25-.55 1.25-1.24V8.87c0-.69-.56-1.24-1.25-1.24h-3.38Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=wallet.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js":
/*!*****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js ***!
\*****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletConnectSvg: () => (/* binding */ walletConnectSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst walletConnectSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 96 67\">\n <path\n fill=\"currentColor\"\n d=\"M25.32 18.8a32.56 32.56 0 0 1 45.36 0l1.5 1.47c.63.62.63 1.61 0 2.22l-5.15 5.05c-.31.3-.82.3-1.14 0l-2.07-2.03a22.71 22.71 0 0 0-31.64 0l-2.22 2.18c-.31.3-.82.3-1.14 0l-5.15-5.05a1.55 1.55 0 0 1 0-2.22l1.65-1.62Zm56.02 10.44 4.59 4.5c.63.6.63 1.6 0 2.21l-20.7 20.26c-.62.61-1.63.61-2.26 0L48.28 41.83a.4.4 0 0 0-.56 0L33.03 56.21c-.63.61-1.64.61-2.27 0L10.07 35.95a1.55 1.55 0 0 1 0-2.22l4.59-4.5a1.63 1.63 0 0 1 2.27 0L31.6 43.63a.4.4 0 0 0 .57 0l14.69-14.38a1.63 1.63 0 0 1 2.26 0l14.69 14.38a.4.4 0 0 0 .57 0l14.68-14.38a1.63 1.63 0 0 1 2.27 0Z\"\n />\n <path\n stroke=\"#000\"\n stroke-opacity=\".1\"\n d=\"M25.67 19.15a32.06 32.06 0 0 1 44.66 0l1.5 1.48c.43.42.43 1.09 0 1.5l-5.15 5.05a.31.31 0 0 1-.44 0l-2.07-2.03a23.21 23.21 0 0 0-32.34 0l-2.22 2.18a.31.31 0 0 1-.44 0l-5.15-5.05a1.05 1.05 0 0 1 0-1.5l1.65-1.63ZM81 29.6l4.6 4.5c.42.41.42 1.09 0 1.5l-20.7 20.26c-.43.43-1.14.43-1.57 0L48.63 41.47a.9.9 0 0 0-1.26 0L32.68 55.85c-.43.43-1.14.43-1.57 0L10.42 35.6a1.05 1.05 0 0 1 0-1.5l4.59-4.5a1.13 1.13 0 0 1 1.57 0l14.68 14.38a.9.9 0 0 0 1.27 0l-.35-.35.35.35L47.22 29.6a1.13 1.13 0 0 1 1.56 0l14.7 14.38a.9.9 0 0 0 1.26 0L79.42 29.6a1.13 1.13 0 0 1 1.57 0Z\"\n />\n</svg>`;\n//# sourceMappingURL=walletconnect.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ warningCircleSvg: () => (/* binding */ warningCircleSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst warningCircleSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 20 20\">\n <path\n fill=\"currentColor\"\n d=\"M11 6.67a1 1 0 1 0-2 0v2.66a1 1 0 0 0 2 0V6.67ZM10 14.5a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z\"\n />\n <path\n fill=\"currentColor\"\n fill-rule=\"evenodd\"\n d=\"M10 1a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm-7 9a7 7 0 1 1 14 0 7 7 0 0 1-14 0Z\"\n clip-rule=\"evenodd\"\n />\n</svg>`;\n//# sourceMappingURL=warning-circle.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ browserSvg: () => (/* binding */ browserSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst browserSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#1DC956\" rx=\"30\" />\n <circle cx=\"30\" cy=\"30\" r=\"3\" fill=\"#fff\" />\n <path\n fill=\"#2BEE6C\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m45.32 17.9-.88-.42.88.42.02-.05c.1-.2.21-.44.26-.7l-.82-.15.82.16a2 2 0 0 0-.24-1.4c-.13-.23-.32-.42-.47-.57a8.42 8.42 0 0 1-.04-.04l-.04-.04a2.9 2.9 0 0 0-.56-.47l-.51.86.5-.86a2 2 0 0 0-1.4-.24c-.26.05-.5.16-.69.26l-.05.02-15.05 7.25-.1.05c-1.14.55-1.85.89-2.46 1.37a7 7 0 0 0-1.13 1.14c-.5.6-.83 1.32-1.38 2.45l-.05.11-7.25 15.05-.02.05c-.1.2-.21.43-.26.69a2 2 0 0 0 .24 1.4l.85-.5-.85.5c.13.23.32.42.47.57l.04.04.04.04c.15.15.34.34.56.47a2 2 0 0 0 1.41.24l-.2-.98.2.98c.25-.05.5-.17.69-.26l.05-.02-.42-.87.42.87 15.05-7.25.1-.05c1.14-.55 1.85-.89 2.46-1.38a7 7 0 0 0 1.13-1.13 12.87 12.87 0 0 0 1.43-2.56l7.25-15.05Z\"\n />\n <path\n fill=\"#1DC956\"\n d=\"M33.38 32.72 30.7 29.3 15.86 44.14l.2.2a1 1 0 0 0 1.14.2l15.1-7.27a3 3 0 0 0 1.08-4.55Z\"\n />\n <path\n fill=\"#86F999\"\n d=\"m26.62 27.28 2.67 3.43 14.85-14.85-.2-.2a1 1 0 0 0-1.14-.2l-15.1 7.27a3 3 0 0 0-1.08 4.55Z\"\n />\n <circle cx=\"30\" cy=\"30\" r=\"3\" fill=\"#fff\" transform=\"rotate(45 30 30)\" />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#062B2B\" stroke-opacity=\".1\" rx=\"29.5\" />\n</svg> `;\n//# sourceMappingURL=browser.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ daoSvg: () => (/* binding */ daoSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst daoSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg viewBox=\"0 0 60 60\" fill=\"none\">\n <g clip-path=\"url(#clip0_7734_50402)\">\n <path\n d=\"M0 24.9C0 15.6485 0 11.0228 1.97053 7.56812C3.3015 5.23468 5.23468 3.3015 7.56812 1.97053C11.0228 0 15.6485 0 24.9 0H35.1C44.3514 0 48.9772 0 52.4319 1.97053C54.7653 3.3015 56.6985 5.23468 58.0295 7.56812C60 11.0228 60 15.6485 60 24.9V35.1C60 44.3514 60 48.9772 58.0295 52.4319C56.6985 54.7653 54.7653 56.6985 52.4319 58.0295C48.9772 60 44.3514 60 35.1 60H24.9C15.6485 60 11.0228 60 7.56812 58.0295C5.23468 56.6985 3.3015 54.7653 1.97053 52.4319C0 48.9772 0 44.3514 0 35.1V24.9Z\"\n fill=\"#EB8B47\"\n />\n <path\n d=\"M0.5 24.9C0.5 20.2652 0.50047 16.8221 0.744315 14.105C0.987552 11.3946 1.46987 9.45504 2.40484 7.81585C3.69145 5.56019 5.56019 3.69145 7.81585 2.40484C9.45504 1.46987 11.3946 0.987552 14.105 0.744315C16.8221 0.50047 20.2652 0.5 24.9 0.5H35.1C39.7348 0.5 43.1779 0.50047 45.895 0.744315C48.6054 0.987552 50.545 1.46987 52.1841 2.40484C54.4398 3.69145 56.3086 5.56019 57.5952 7.81585C58.5301 9.45504 59.0124 11.3946 59.2557 14.105C59.4995 16.8221 59.5 20.2652 59.5 24.9V35.1C59.5 39.7348 59.4995 43.1779 59.2557 45.895C59.0124 48.6054 58.5301 50.545 57.5952 52.1841C56.3086 54.4398 54.4398 56.3086 52.1841 57.5952C50.545 58.5301 48.6054 59.0124 45.895 59.2557C43.1779 59.4995 39.7348 59.5 35.1 59.5H24.9C20.2652 59.5 16.8221 59.4995 14.105 59.2557C11.3946 59.0124 9.45504 58.5301 7.81585 57.5952C5.56019 56.3086 3.69145 54.4398 2.40484 52.1841C1.46987 50.545 0.987552 48.6054 0.744315 45.895C0.50047 43.1779 0.5 39.7348 0.5 35.1V24.9Z\"\n stroke=\"#062B2B\"\n stroke-opacity=\"0.1\"\n />\n <path\n d=\"M19 52C24.5228 52 29 47.5228 29 42C29 36.4772 24.5228 32 19 32C13.4772 32 9 36.4772 9 42C9 47.5228 13.4772 52 19 52Z\"\n fill=\"#FF974C\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42.8437 8.3264C42.4507 7.70891 41.5493 7.70891 41.1564 8.32641L28.978 27.4638C28.5544 28.1295 29.0326 29.0007 29.8217 29.0007H54.1783C54.9674 29.0007 55.4456 28.1295 55.022 27.4638L42.8437 8.3264Z\"\n fill=\"white\"\n />\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M42.3348 11.6456C42.659 11.7608 42.9061 12.1492 43.4005 12.926L50.7332 24.4488C51.2952 25.332 51.5763 25.7737 51.5254 26.1382C51.4915 26.3808 51.3698 26.6026 51.1833 26.7614C50.9031 27 50.3796 27 49.3327 27H34.6673C33.6204 27 33.0969 27 32.8167 26.7614C32.6302 26.6026 32.5085 26.3808 32.4746 26.1382C32.4237 25.7737 32.7048 25.332 33.2669 24.4488L40.5995 12.926C41.0939 12.1492 41.341 11.7608 41.6652 11.6456C41.8818 11.5687 42.1182 11.5687 42.3348 11.6456ZM35.0001 26.999C38.8661 26.999 42.0001 23.865 42.0001 19.999C42.0001 23.865 45.1341 26.999 49.0001 26.999H35.0001Z\"\n fill=\"#FF974C\"\n />\n <path\n d=\"M10.1061 9.35712C9.9973 9.67775 9.99867 10.0388 9.99978 10.3323C9.99989 10.3611 10 10.3893 10 10.4167V25.5833C10 25.6107 9.99989 25.6389 9.99978 25.6677C9.99867 25.9612 9.9973 26.3222 10.1061 26.6429C10.306 27.2317 10.7683 27.694 11.3571 27.8939C11.6777 28.0027 12.0388 28.0013 12.3323 28.0002C12.3611 28.0001 12.3893 28 12.4167 28H19C24.5228 28 29 23.5228 29 18C29 12.4772 24.5228 8 19 8H12.4167C12.3893 8 12.3611 7.99989 12.3323 7.99978C12.0388 7.99867 11.6778 7.9973 11.3571 8.10614C10.7683 8.306 10.306 8.76834 10.1061 9.35712Z\"\n fill=\"#FF974C\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <circle cx=\"19\" cy=\"18\" r=\"4\" fill=\"#EB8B47\" stroke=\"white\" stroke-width=\"2\" />\n <circle cx=\"19\" cy=\"42\" r=\"4\" fill=\"#EB8B47\" stroke=\"white\" stroke-width=\"2\" />\n </g>\n <defs>\n <clipPath id=\"clip0_7734_50402\">\n <rect width=\"60\" height=\"60\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=dao.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defiSvg: () => (/* binding */ defiSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst defiSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <path\n fill=\"#1DC956\"\n d=\"M0 25.01c0-9.25 0-13.88 1.97-17.33a15 15 0 0 1 5.6-5.6C11.02.11 15.65.11 24.9.11h10.2c9.25 0 13.88 0 17.33 1.97a15 15 0 0 1 5.6 5.6C60 11.13 60 15.76 60 25v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6c-3.45 1.97-8.08 1.97-17.33 1.97H24.9c-9.25 0-13.88 0-17.33-1.97a15 15 0 0 1-5.6-5.6C0 49.1 0 44.46 0 35.21v-10.2Z\"\n />\n <path\n fill=\"#2BEE6C\"\n d=\"M16.1 60c-3.82-.18-6.4-.64-8.53-1.86a15 15 0 0 1-5.6-5.6C.55 50.06.16 46.97.04 41.98L4.2 40.6a4 4 0 0 0 2.48-2.39l4.65-12.4a2 2 0 0 1 2.5-1.2l2.53.84a2 2 0 0 0 2.43-1l2.96-5.94a2 2 0 0 1 3.7.32l3.78 12.58a2 2 0 0 0 3.03 1.09l3.34-2.23a2 2 0 0 0 .65-.7l5.3-9.72a2 2 0 0 1 1.42-1.01l4.14-.69a2 2 0 0 1 1.6.44l3.9 3.24a2 2 0 0 0 2.7-.12l4.62-4.63c.08 2.2.08 4.8.08 7.93v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6c-2.13 1.22-4.7 1.68-8.54 1.86H16.11Z\"\n />\n <path\n fill=\"#fff\"\n d=\"m.07 43.03-.05-2.1 3.85-1.28a3 3 0 0 0 1.86-1.79l4.66-12.4a3 3 0 0 1 3.75-1.8l2.53.84a1 1 0 0 0 1.21-.5l2.97-5.94a3 3 0 0 1 5.56.48l3.77 12.58a1 1 0 0 0 1.51.55l3.34-2.23a1 1 0 0 0 .33-.35l5.3-9.71a3 3 0 0 1 2.14-1.53l4.13-.69a3 3 0 0 1 2.41.66l3.9 3.24a1 1 0 0 0 1.34-.06l5.28-5.28c.05.85.08 1.75.1 2.73L56 22.41a3 3 0 0 1-4.04.19l-3.9-3.25a1 1 0 0 0-.8-.21l-4.13.69a1 1 0 0 0-.72.5l-5.3 9.72a3 3 0 0 1-.97 1.05l-3.34 2.23a3 3 0 0 1-4.53-1.63l-3.78-12.58a1 1 0 0 0-1.85-.16l-2.97 5.94a3 3 0 0 1-3.63 1.5l-2.53-.84a1 1 0 0 0-1.25.6l-4.65 12.4a5 5 0 0 1-3.1 3L.07 43.02Z\"\n />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M49.5 19a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z\"\n clip-rule=\"evenodd\"\n />\n <path fill=\"#fff\" d=\"M45 .28v59.66l-2 .1V.19c.7.02 1.37.05 2 .1Z\" />\n <path fill=\"#2BEE6C\" d=\"M47.5 19a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z\" />\n <path\n stroke=\"#fff\"\n stroke-opacity=\".1\"\n d=\"M.5 25.01c0-4.63 0-8.08.24-10.8.25-2.7.73-4.64 1.66-6.28a14.5 14.5 0 0 1 5.42-5.41C9.46 1.58 11.39 1.1 14.1.85A133 133 0 0 1 24.9.61h10.2c4.63 0 8.08 0 10.8.24 2.7.25 4.65.73 6.28 1.67a14.5 14.5 0 0 1 5.42 5.4c.93 1.65 1.41 3.58 1.66 6.3.24 2.71.24 6.16.24 10.79v10.2c0 4.64 0 8.08-.24 10.8-.25 2.7-.73 4.65-1.66 6.28a14.5 14.5 0 0 1-5.42 5.42c-1.63.93-3.57 1.41-6.28 1.66-2.72.24-6.17.24-10.8.24H24.9c-4.63 0-8.08 0-10.8-.24-2.7-.25-4.64-.73-6.28-1.66a14.5 14.5 0 0 1-5.42-5.42C1.47 50.66 1 48.72.74 46.01A133 133 0 0 1 .5 35.2v-10.2Z\"\n />\n </g>\n <defs>\n <clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h60v60H0z\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=defi.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defiAltSvg: () => (/* binding */ defiAltSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst defiAltSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#C653C6\" rx=\"30\" />\n <path\n fill=\"#E87DE8\"\n d=\"M57.98.01v19.5a4.09 4.09 0 0 0-2.63 2.29L50.7 34.2a2 2 0 0 1-2.5 1.2l-2.53-.84a2 2 0 0 0-2.42 1l-2.97 5.94a2 2 0 0 1-3.7-.32L32.8 28.6a2 2 0 0 0-3.02-1.09l-3.35 2.23a2 2 0 0 0-.64.7l-5.3 9.72a2 2 0 0 1-1.43 1.01l-4.13.69a2 2 0 0 1-1.61-.44l-3.9-3.24a2 2 0 0 0-2.69.12L2.1 42.93.02 43V.01h57.96Z\"\n />\n <path\n fill=\"#fff\"\n d=\"m61.95 16.94.05 2.1-3.85 1.28a3 3 0 0 0-1.86 1.79l-4.65 12.4a3 3 0 0 1-3.76 1.8l-2.53-.84a1 1 0 0 0-1.2.5l-2.98 5.94a3 3 0 0 1-5.55-.48l-3.78-12.58a1 1 0 0 0-1.5-.55l-3.35 2.23a1 1 0 0 0-.32.35l-5.3 9.72a3 3 0 0 1-2.14 1.52l-4.14.69a3 3 0 0 1-2.41-.66l-3.9-3.24a1 1 0 0 0-1.34.06l-5.28 5.28c-.05-.84-.08-1.75-.1-2.73l3.97-3.96a3 3 0 0 1 4.04-.19l3.89 3.25a1 1 0 0 0 .8.21l4.14-.68a1 1 0 0 0 .71-.51l5.3-9.71a3 3 0 0 1 .97-1.06l3.34-2.23a3 3 0 0 1 4.54 1.63l3.77 12.58a1 1 0 0 0 1.86.16l2.96-5.93a3 3 0 0 1 3.64-1.5l2.52.83a1 1 0 0 0 1.25-.6l4.66-12.4a5 5 0 0 1 3.1-2.99l4.43-1.48Z\"\n />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M35.5 27a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0Z\"\n clip-rule=\"evenodd\"\n />\n <path fill=\"#fff\" d=\"M31 0v60h-2V0h2Z\" />\n <path fill=\"#E87DE8\" d=\"M33.5 27a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z\" />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"29.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"30\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=defiAlt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ethSvg: () => (/* binding */ ethSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst ethSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#987DE8\" rx=\"30\" />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"m15.48 28.37 11.97-19.3a3 3 0 0 1 5.1 0l11.97 19.3a6 6 0 0 1 .9 3.14v.03a6 6 0 0 1-1.16 3.56L33.23 50.2a4 4 0 0 1-6.46 0L15.73 35.1a6 6 0 0 1-1.15-3.54v-.03a6 6 0 0 1 .9-3.16Z\"\n clip-rule=\"evenodd\"\n />\n <path\n fill=\"#643CDD\"\n d=\"M30.84 10.11a1 1 0 0 0-.84-.46V24.5l12.6 5.53a2 2 0 0 0-.28-1.4L30.84 10.11Z\"\n />\n <path\n fill=\"#BDADEB\"\n d=\"M30 9.65a1 1 0 0 0-.85.46L17.66 28.64a2 2 0 0 0-.26 1.39L30 24.5V9.65Z\"\n />\n <path\n fill=\"#643CDD\"\n d=\"M30 50.54a1 1 0 0 0 .8-.4l11.24-15.38c.3-.44-.2-1-.66-.73l-9.89 5.68a3 3 0 0 1-1.5.4v10.43Z\"\n />\n <path\n fill=\"#BDADEB\"\n d=\"m17.97 34.76 11.22 15.37c.2.28.5.41.8.41V40.11a3 3 0 0 1-1.49-.4l-9.88-5.68c-.47-.27-.97.3-.65.73Z\"\n />\n <path\n fill=\"#401AB3\"\n d=\"M42.6 30.03 30 24.5v13.14a3 3 0 0 0 1.5-.4l10.14-5.83a2 2 0 0 0 .95-1.38Z\"\n />\n <path\n fill=\"#7C5AE2\"\n d=\"M30 37.64V24.46l-12.6 5.57a2 2 0 0 0 .97 1.39l10.13 5.82a3 3 0 0 0 1.5.4Z\"\n />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"29.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"30\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=eth.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ layersSvg: () => (/* binding */ layersSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst layersSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#1DC956\" rx=\"3\" />\n <path\n fill=\"#1FAD7E\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m30.49 29.13-.49-.27-.49.27-12.77 7.1-.05.02c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45l-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-12.77-7.1Z\"\n />\n <path\n fill=\"#2BEE6C\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m30.49 19.13-.49-.27-.49.27-12.77 7.1-.05.02c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45l-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-12.77-7.1Z\"\n />\n <path\n fill=\"#86F999\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"m46.69 21.06-.94-.35.94.35a3 3 0 0 0 0-2.12l-.94.35.94-.35a3.21 3.21 0 0 0-1.27-1.45c-.53-.36-1.25-.76-2.11-1.24l-.05-.03-6.32-3.51-.18-.1c-2.33-1.3-3.72-2.06-5.22-2.33a9 9 0 0 0-3.08 0c-1.5.27-2.9 1.04-5.22 2.33l-.17.1-6.33 3.51-.05.03c-.86.48-1.58.88-2.1 1.24-.54.37-1.04.81-1.28 1.45a3 3 0 0 0 0 2.12c.24.63.74 1.08 1.27 1.45.53.36 1.25.76 2.11 1.24l.05.03 6.33 3.51.17.1c2.33 1.3 3.72 2.06 5.22 2.32a9 9 0 0 0 3.08 0c1.5-.26 2.9-1.03 5.22-2.32l.18-.1 6.32-3.51.05-.03a26.9 26.9 0 0 0 2.1-1.24 3.21 3.21 0 0 0 1.28-1.45Z\"\n />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n</svg>`;\n//# sourceMappingURL=layers.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ lockSvg: () => (/* binding */ lockSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst lockSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#C653C6\" rx=\"3\" />\n <path\n fill=\"#fff\"\n d=\"M20.03 15.22C20 15.6 20 16.07 20 17v2.8c0 1.14 0 1.7-.2 2.12-.15.31-.3.5-.58.71-.37.28-1.06.42-2.43.7-.59.12-1.11.29-1.6.51a9 9 0 0 0-4.35 4.36C10 30 10 32.34 10 37c0 4.66 0 7 .84 8.8a9 9 0 0 0 4.36 4.36C17 51 19.34 51 24 51h12c4.66 0 7 0 8.8-.84a9 9 0 0 0 4.36-4.36C50 44 50 41.66 50 37c0-4.66 0-7-.84-8.8a9 9 0 0 0-4.36-4.36c-.48-.22-1-.39-1.6-.5-1.36-.29-2.05-.43-2.42-.7-.27-.22-.43-.4-.58-.72-.2-.42-.2-.98-.2-2.11V17c0-.93 0-1.4-.03-1.78a9 9 0 0 0-8.19-8.19C31.4 7 30.93 7 30 7s-1.4 0-1.78.03a9 9 0 0 0-8.19 8.19Z\"\n />\n <path\n fill=\"#E87DE8\"\n d=\"M22 17c0-.93 0-1.4.04-1.78a7 7 0 0 1 6.18-6.18C28.6 9 29.07 9 30 9s1.4 0 1.78.04a7 7 0 0 1 6.18 6.18c.04.39.04.85.04 1.78v4.5a1.5 1.5 0 0 1-3 0V17c0-.93 0-1.4-.08-1.78a4 4 0 0 0-3.14-3.14C31.39 12 30.93 12 30 12s-1.4 0-1.78.08a4 4 0 0 0-3.14 3.14c-.08.39-.08.85-.08 1.78v4.5a1.5 1.5 0 0 1-3 0V17Z\"\n />\n <path\n fill=\"#E87DE8\"\n fill-rule=\"evenodd\"\n d=\"M12 36.62c0-4.32 0-6.48.92-8.09a7 7 0 0 1 2.61-2.61C17.14 25 19.3 25 23.62 25h6.86c.46 0 .7 0 .9.02 2.73.22 4.37 2.43 4.62 4.98.27-2.7 2.11-5 5.02-5A6.98 6.98 0 0 1 48 31.98v5.4c0 4.32 0 6.48-.92 8.09a7 7 0 0 1-2.61 2.61c-1.61.92-3.77.92-8.09.92h-5.86c-.46 0-.7 0-.9-.02-2.73-.22-4.37-2.43-4.62-4.98-.26 2.58-1.94 4.82-4.71 4.99l-.7.01c-.55 0-.82 0-1.05-.02a7 7 0 0 1-6.52-6.52c-.02-.23-.02-.5-.02-1.05v-4.79Zm21.24-.27a4 4 0 1 0-6.48 0 31.28 31.28 0 0 1 1.57 2.23c.17.4.17.81.17 1.24V42.5a1.5 1.5 0 0 0 3 0V39.82c0-.43 0-.85.17-1.24.09-.2.58-.87 1.57-2.23Z\"\n clip-rule=\"evenodd\"\n />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n</svg>`;\n//# sourceMappingURL=lock.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js":
/*!************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js ***!
\************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ loginSvg: () => (/* binding */ loginSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst loginSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <path\n fill=\"#EB8B47\"\n d=\"M0 24.9c0-9.25 0-13.88 1.97-17.33a15 15 0 0 1 5.6-5.6C11.02 0 15.65 0 24.9 0h10.2c9.25 0 13.88 0 17.33 1.97a15 15 0 0 1 5.6 5.6C60 11.02 60 15.65 60 24.9v10.2c0 9.25 0 13.88-1.97 17.33a15 15 0 0 1-5.6 5.6C48.98 60 44.35 60 35.1 60H24.9c-9.25 0-13.88 0-17.33-1.97a15 15 0 0 1-5.6-5.6C0 48.98 0 44.35 0 35.1V24.9Z\"\n />\n <path\n stroke=\"#062B2B\"\n stroke-opacity=\".1\"\n d=\"M.5 24.9c0-4.64 0-8.08.24-10.8.25-2.7.73-4.65 1.66-6.28A14.5 14.5 0 0 1 7.82 2.4C9.46 1.47 11.39 1 14.1.74A133 133 0 0 1 24.9.5h10.2c4.63 0 8.08 0 10.8.24 2.7.25 4.65.73 6.28 1.66a14.5 14.5 0 0 1 5.42 5.42c.93 1.63 1.41 3.57 1.66 6.28.24 2.72.24 6.16.24 10.8v10.2c0 4.63 0 8.08-.24 10.8-.25 2.7-.73 4.64-1.66 6.28a14.5 14.5 0 0 1-5.42 5.41c-1.63.94-3.57 1.42-6.28 1.67-2.72.24-6.17.24-10.8.24H24.9c-4.63 0-8.08 0-10.8-.24-2.7-.25-4.64-.73-6.28-1.67a14.5 14.5 0 0 1-5.42-5.4C1.47 50.53 1 48.6.74 45.88A133 133 0 0 1 .5 35.1V24.9Z\"\n />\n <path\n fill=\"#FF974C\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"M39.2 29.2a13 13 0 1 0-18.4 0l1.3 1.28a12.82 12.82 0 0 1 2.1 2.39 6 6 0 0 1 .6 1.47c.2.76.2 1.56.2 3.17v11.24c0 1.08 0 1.61.13 2.12a4 4 0 0 0 .41.98c.26.45.64.83 1.4 1.6l.3.29c.65.65.98.98 1.36 1.09.26.07.54.07.8 0 .38-.11.7-.44 1.36-1.1l3.48-3.47c.65-.65.98-.98 1.09-1.36a1.5 1.5 0 0 0 0-.8c-.1-.38-.44-.7-1.1-1.36l-.47-.48c-.65-.65-.98-.98-1.09-1.36a1.5 1.5 0 0 1 0-.8c.1-.38.44-.7 1.1-1.36l.47-.48c.65-.65.98-.98 1.09-1.36a1.5 1.5 0 0 0 0-.8c-.1-.38-.44-.7-1.1-1.36l-.48-.5c-.65-.64-.98-.97-1.08-1.35a1.5 1.5 0 0 1 0-.79c.1-.38.42-.7 1.06-1.36l5.46-5.55Z\"\n />\n <circle cx=\"30\" cy=\"17\" r=\"4\" fill=\"#EB8B47\" stroke=\"#fff\" stroke-width=\"2\" />\n </g>\n <defs>\n <clipPath id=\"a\"><path fill=\"#fff\" d=\"M0 0h60v60H0z\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=login.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ networkSvg: () => (/* binding */ networkSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst networkSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#00ACE6\" rx=\"30\" />\n <circle cx=\"64\" cy=\"39\" r=\"50\" fill=\"#1AC6FF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"78\" cy=\"30\" r=\"50\" fill=\"#4DD2FF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"72\" cy=\"15\" r=\"35\" fill=\"#80DFFF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"34\" cy=\"-17\" r=\"45\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"34\" cy=\"-5\" r=\"50\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"30\" cy=\"45\" r=\"4\" fill=\"#4DD2FF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"39.5\" cy=\"27.5\" r=\"4\" fill=\"#80DFFF\" stroke=\"#fff\" stroke-width=\"2\" />\n <circle cx=\"16\" cy=\"24\" r=\"4\" fill=\"#19C6FF\" stroke=\"#fff\" stroke-width=\"2\" />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#062B2B\" stroke-opacity=\".1\" rx=\"29.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"30\" /></clipPath>\n </defs>\n</svg>`;\n//# sourceMappingURL=network.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ nftSvg: () => (/* binding */ nftSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst nftSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <g clip-path=\"url(#a)\">\n <rect width=\"60\" height=\"60\" fill=\"#C653C6\" rx=\"3\" />\n <path\n fill=\"#E87DE8\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"M52.1 47.34c0-4.24-1.44-9.55-5.9-12.4a2.86 2.86 0 0 0-1.6-3.89v-.82c0-1.19-.52-2.26-1.35-3a4.74 4.74 0 0 0-2.4-6.26v-5.5a11.31 11.31 0 1 0-22.63 0v2.15a3.34 3.34 0 0 0-1.18 5.05 4.74 4.74 0 0 0-.68 6.44A5.22 5.22 0 0 0 14 35.92c-3.06 4.13-6.1 8.3-6.1 15.64 0 2.67.37 4.86.74 6.39a20.3 20.3 0 0 0 .73 2.39l.02.04v.01l.92-.39-.92.4.26.6h38.26l.3-.49-.87-.51.86.5.02-.01.03-.07a16.32 16.32 0 0 0 .57-1.05c.36-.72.85-1.74 1.33-2.96a25.51 25.51 0 0 0 1.94-9.07Z\"\n />\n <path\n fill=\"#fff\"\n fill-rule=\"evenodd\"\n d=\"M26.5 29.5c-3-.5-5.5-3-5.5-7v-7c0-.47 0-.7.03-.9a3 3 0 0 1 2.58-2.57c.2-.03.42-.03.89-.03 2 0 2.5-2.5 2.5-2.5s0 2.5 2.5 2.5c1.4 0 2.1 0 2.65.23a3 3 0 0 1 1.62 1.62c.23.55.23 1.25.23 2.65v6c0 4-3 7-6.5 7 1.35.23 4 0 6.5-2v9.53C34 38.5 31.5 40 28 40s-6-1.5-6-2.97L24 34l2.5 1.5v-6ZM26 47h4.5c2.5 0 3 4 3 5.5h-3l-1-1.5H26v-4Zm-6.25 5.5H24V57h-8c0-1 1-4.5 3.75-4.5Z\"\n clip-rule=\"evenodd\"\n />\n </g>\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n <defs>\n <clipPath id=\"a\"><rect width=\"60\" height=\"60\" fill=\"#fff\" rx=\"3\" /></clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=nft.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ nounSvg: () => (/* binding */ nounSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst nounSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg fill=\"none\" viewBox=\"0 0 60 60\">\n <rect width=\"60\" height=\"60\" fill=\"#794CFF\" rx=\"3\" />\n <path\n fill=\"#987DE8\"\n stroke=\"#fff\"\n stroke-width=\"2\"\n d=\"M33 22.5v-1H16v5H8.5V36H13v-5h3v7.5h17V31h1v7.5h17v-17H34v5h-1v-4Z\"\n />\n <path fill=\"#fff\" d=\"M37.5 25h10v10h-10z\" />\n <path fill=\"#4019B2\" d=\"M42.5 25h5v10h-5z\" />\n <path fill=\"#fff\" d=\"M19.5 25h10v10h-10z\" />\n <path fill=\"#4019B2\" d=\"M24.5 25h5v10h-5z\" />\n <path fill=\"#fff\" d=\"M12 30.5h4V37h-4v-6.5Z\" />\n <rect width=\"59\" height=\"59\" x=\".5\" y=\".5\" stroke=\"#fff\" stroke-opacity=\".1\" rx=\"2.5\" />\n</svg>`;\n//# sourceMappingURL=noun.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ profileSvg: () => (/* binding */ profileSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst profileSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg\n viewBox=\"0 0 60 60\"\n fill=\"none\"\n>\n <g clip-path=\"url(#1)\">\n <rect width=\"60\" height=\"60\" rx=\"30\" fill=\"#00ACE6\" />\n <path\n d=\"M59 73C59 89.0163 46.0163 102 30 102C13.9837 102 1 89.0163 1 73C1 56.9837 12 44 30 44C48 44 59 56.9837 59 73Z\"\n fill=\"#1AC6FF\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <path\n d=\"M18.6904 19.9015C19.6264 15.3286 23.3466 11.8445 27.9708 11.2096C29.3231 11.024 30.6751 11.0238 32.0289 11.2096C36.6532 11.8445 40.3733 15.3286 41.3094 19.9015C41.4868 20.7681 41.6309 21.6509 41.7492 22.5271C41.8811 23.5041 41.8811 24.4944 41.7492 25.4715C41.6309 26.3476 41.4868 27.2304 41.3094 28.097C40.3733 32.6699 36.6532 36.154 32.0289 36.7889C30.6772 36.9744 29.3216 36.9743 27.9708 36.7889C23.3466 36.154 19.6264 32.6699 18.6904 28.097C18.513 27.2304 18.3689 26.3476 18.2506 25.4715C18.1186 24.4944 18.1186 23.5041 18.2506 22.5271C18.3689 21.6509 18.513 20.7681 18.6904 19.9015Z\"\n fill=\"#1AC6FF\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <circle cx=\"24.5\" cy=\"23.5\" r=\"1.5\" fill=\"white\" />\n <circle cx=\"35.5\" cy=\"23.5\" r=\"1.5\" fill=\"white\" />\n <path\n d=\"M31 20L28 28H32\"\n stroke=\"white\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n />\n </g>\n <rect x=\"0.5\" y=\"0.5\" width=\"59\" height=\"59\" rx=\"29.5\" stroke=\"white\" stroke-opacity=\"0.1\" />\n <defs>\n <clipPath id=\"1\">\n <rect width=\"60\" height=\"60\" rx=\"30\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=profile.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js":
/*!*************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js ***!
\*************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ systemSvg: () => (/* binding */ systemSvg)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nconst systemSvg = (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<svg viewBox=\"0 0 60 60\" fill=\"none\">\n <g clip-path=\"url(#1)\">\n <path\n d=\"M0 24.9C0 15.6485 0 11.0228 1.97053 7.56812C3.3015 5.23468 5.23468 3.3015 7.56812 1.97053C11.0228 0 15.6485 0 24.9 0H35.1C44.3514 0 48.9772 0 52.4319 1.97053C54.7653 3.3015 56.6985 5.23468 58.0295 7.56812C60 11.0228 60 15.6485 60 24.9V35.1C60 44.3514 60 48.9772 58.0295 52.4319C56.6985 54.7653 54.7653 56.6985 52.4319 58.0295C48.9772 60 44.3514 60 35.1 60H24.9C15.6485 60 11.0228 60 7.56812 58.0295C5.23468 56.6985 3.3015 54.7653 1.97053 52.4319C0 48.9772 0 44.3514 0 35.1V24.9Z\"\n fill=\"#794CFF\"\n />\n <path\n d=\"M0.5 24.9C0.5 20.2652 0.50047 16.8221 0.744315 14.105C0.987552 11.3946 1.46987 9.45504 2.40484 7.81585C3.69145 5.56019 5.56019 3.69145 7.81585 2.40484C9.45504 1.46987 11.3946 0.987552 14.105 0.744315C16.8221 0.50047 20.2652 0.5 24.9 0.5H35.1C39.7348 0.5 43.1779 0.50047 45.895 0.744315C48.6054 0.987552 50.545 1.46987 52.1841 2.40484C54.4398 3.69145 56.3086 5.56019 57.5952 7.81585C58.5301 9.45504 59.0124 11.3946 59.2557 14.105C59.4995 16.8221 59.5 20.2652 59.5 24.9V35.1C59.5 39.7348 59.4995 43.1779 59.2557 45.895C59.0124 48.6054 58.5301 50.545 57.5952 52.1841C56.3086 54.4398 54.4398 56.3086 52.1841 57.5952C50.545 58.5301 48.6054 59.0124 45.895 59.2557C43.1779 59.4995 39.7348 59.5 35.1 59.5H24.9C20.2652 59.5 16.8221 59.4995 14.105 59.2557C11.3946 59.0124 9.45504 58.5301 7.81585 57.5952C5.56019 56.3086 3.69145 54.4398 2.40484 52.1841C1.46987 50.545 0.987552 48.6054 0.744315 45.895C0.50047 43.1779 0.5 39.7348 0.5 35.1V24.9Z\"\n stroke=\"#062B2B\"\n stroke-opacity=\"0.1\"\n />\n <path\n d=\"M35.1403 31.5016C35.1193 30.9637 35.388 30.4558 35.8446 30.1707C36.1207 29.9982 36.4761 29.8473 36.7921 29.7685C37.3143 29.6382 37.8664 29.7977 38.2386 30.1864C38.8507 30.8257 39.3004 31.6836 39.8033 32.408C40.2796 33.0942 41.4695 33.2512 41.9687 32.5047C42.4839 31.7341 42.9405 30.8229 43.572 30.1399C43.9375 29.7447 44.4866 29.5756 45.0111 29.6967C45.3283 29.7701 45.6863 29.9147 45.9655 30.0823C46.4269 30.3595 46.7045 30.8626 46.6928 31.4008C46.6731 32.3083 46.3764 33.2571 46.2158 34.1473C46.061 35.0048 46.9045 35.8337 47.7592 35.664C48.6464 35.4878 49.5899 35.1747 50.497 35.1391C51.0348 35.1181 51.5427 35.3868 51.8279 35.8433C52.0004 36.1195 52.1513 36.4749 52.2301 36.7908C52.3604 37.3131 52.2009 37.8651 51.8121 38.2374C51.1729 38.8495 50.3151 39.2991 49.5908 39.8019C48.9046 40.2782 48.7473 41.4683 49.4939 41.9675C50.2644 42.4827 51.1757 42.9393 51.8587 43.5708C52.2539 43.9362 52.423 44.4854 52.3018 45.0099C52.2285 45.3271 52.0839 45.6851 51.9162 45.9642C51.6391 46.4257 51.1359 46.7032 50.5978 46.6916C49.6903 46.6719 48.7417 46.3753 47.8516 46.2146C46.9939 46.0598 46.1648 46.9035 46.3346 47.7583C46.5108 48.6454 46.8239 49.5888 46.8594 50.4958C46.8805 51.0336 46.6117 51.5415 46.1552 51.8267C45.879 51.9992 45.5236 52.15 45.2077 52.2289C44.6854 52.3592 44.1334 52.1997 43.7611 51.8109C43.1491 51.1718 42.6996 50.314 42.1968 49.5897C41.7203 48.9034 40.5301 48.7463 40.0309 49.493C39.5157 50.2634 39.0592 51.1746 38.4278 51.8574C38.0623 52.2527 37.5132 52.4218 36.9887 52.3006C36.6715 52.2273 36.3135 52.0826 36.0343 51.915C35.5729 51.6379 35.2953 51.1347 35.307 50.5966C35.3267 49.6891 35.6233 48.7405 35.7839 47.8505C35.9388 46.9928 35.0951 46.1636 34.2402 46.3334C33.3531 46.5096 32.4098 46.8227 31.5028 46.8582C30.9649 46.8793 30.457 46.6105 30.1719 46.154C29.9994 45.8778 29.8485 45.5224 29.7697 45.2065C29.6394 44.6842 29.7989 44.1322 30.1877 43.7599C30.8269 43.1479 31.6847 42.6982 32.4091 42.1954C33.0954 41.7189 33.2522 40.5289 32.5056 40.0297C31.7351 39.5145 30.824 39.058 30.1411 38.4265C29.7459 38.0611 29.5768 37.5119 29.698 36.9875C29.7713 36.6702 29.9159 36.3122 30.0836 36.0331C30.3607 35.5717 30.8638 35.2941 31.402 35.3058C32.3095 35.3255 33.2583 35.6221 34.1485 35.7828C35.006 35.9376 35.8349 35.094 35.6652 34.2393C35.489 33.3521 35.1759 32.4087 35.1403 31.5016Z\"\n fill=\"#906EF7\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <path\n d=\"M20.7706 8.22357C20.9036 7.51411 21.5231 7 22.2449 7H23.7551C24.4769 7 25.0964 7.51411 25.2294 8.22357C25.5051 9.69403 25.4829 11.6321 27.1202 12.2606C27.3092 12.3331 27.4958 12.4105 27.6798 12.4926C29.2818 13.2072 30.6374 11.8199 31.8721 10.9752C32.4678 10.5676 33.2694 10.6421 33.7798 11.1525L34.8477 12.2204C35.3581 12.7308 35.4326 13.5323 35.025 14.128C34.1802 15.3627 32.7931 16.7183 33.5077 18.3202C33.5898 18.5043 33.6672 18.6909 33.7398 18.88C34.3683 20.5171 36.3061 20.4949 37.7764 20.7706C38.4859 20.9036 39 21.5231 39 22.2449V23.7551C39 24.4769 38.4859 25.0964 37.7764 25.2294C36.3061 25.5051 34.3685 25.483 33.7401 27.1201C33.6675 27.3093 33.59 27.4961 33.5079 27.6803C32.7934 29.282 34.1803 30.6374 35.025 31.8719C35.4326 32.4677 35.3581 33.2692 34.8477 33.7796L33.7798 34.8475C33.2694 35.3579 32.4678 35.4324 31.8721 35.0248C30.6376 34.1801 29.2823 32.7934 27.6806 33.508C27.4962 33.5903 27.3093 33.6678 27.12 33.7405C25.483 34.3688 25.5051 36.3062 25.2294 37.7764C25.0964 38.4859 24.4769 39 23.7551 39H22.2449C21.5231 39 20.9036 38.4859 20.7706 37.7764C20.4949 36.3062 20.517 34.3688 18.88 33.7405C18.6908 33.6678 18.5039 33.5903 18.3196 33.5081C16.7179 32.7936 15.3625 34.1804 14.1279 35.0251C13.5322 35.4327 12.7307 35.3582 12.2203 34.8478L11.1524 33.7799C10.642 33.2695 10.5675 32.4679 10.9751 31.8722C11.8198 30.6376 13.2067 29.2822 12.4922 27.6804C12.41 27.4962 12.3325 27.3093 12.2599 27.1201C11.6315 25.483 9.69392 25.5051 8.22357 25.2294C7.51411 25.0964 7 24.4769 7 23.7551V22.2449C7 21.5231 7.51411 20.9036 8.22357 20.7706C9.69394 20.4949 11.6317 20.5171 12.2602 18.88C12.3328 18.6909 12.4103 18.5042 12.4924 18.3201C13.207 16.7181 11.8198 15.3625 10.975 14.1278C10.5674 13.5321 10.6419 12.7305 11.1523 12.2201L12.2202 11.1522C12.7306 10.6418 13.5322 10.5673 14.1279 10.9749C15.3626 11.8197 16.7184 13.2071 18.3204 12.4925C18.5044 12.4105 18.6909 12.3331 18.8799 12.2606C20.5171 11.6321 20.4949 9.69403 20.7706 8.22357Z\"\n fill=\"#906EF7\"\n stroke=\"white\"\n stroke-width=\"2\"\n />\n <circle cx=\"23\" cy=\"23\" r=\"6\" fill=\"#794CFF\" stroke=\"white\" stroke-width=\"2\" />\n <circle cx=\"41\" cy=\"41\" r=\"4\" fill=\"#794CFF\" stroke=\"white\" stroke-width=\"2\" />\n </g>\n <defs>\n <clipPath id=\"1\">\n <rect width=\"60\" height=\"60\" fill=\"white\" />\n </clipPath>\n </defs>\n</svg> `;\n//# sourceMappingURL=system.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCard: () => (/* binding */ WuiCard)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet WuiCard = class WuiCard extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiCard.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\nWuiCard = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-card')\n], WuiCard);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n border-radius: clamp(0px, var(--wui-border-radius-l), 44px);\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-color-modal-bg);\n overflow: hidden;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-card/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiIcon: () => (/* binding */ WuiIcon)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js\");\n/* harmony import */ var _assets_svg_all_wallets_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../assets/svg/all-wallets.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/all-wallets.js\");\n/* harmony import */ var _assets_svg_app_store_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../assets/svg/app-store.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/app-store.js\");\n/* harmony import */ var _assets_svg_apple_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../assets/svg/apple.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/apple.js\");\n/* harmony import */ var _assets_svg_arrow_bottom_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../assets/svg/arrow-bottom.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-bottom.js\");\n/* harmony import */ var _assets_svg_arrow_left_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../assets/svg/arrow-left.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-left.js\");\n/* harmony import */ var _assets_svg_arrow_right_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../assets/svg/arrow-right.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-right.js\");\n/* harmony import */ var _assets_svg_arrow_top_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../assets/svg/arrow-top.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/arrow-top.js\");\n/* harmony import */ var _assets_svg_browser_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../assets/svg/browser.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/browser.js\");\n/* harmony import */ var _assets_svg_checkmark_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../assets/svg/checkmark.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/checkmark.js\");\n/* harmony import */ var _assets_svg_chevron_bottom_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../assets/svg/chevron-bottom.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-bottom.js\");\n/* harmony import */ var _assets_svg_chevron_left_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../assets/svg/chevron-left.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-left.js\");\n/* harmony import */ var _assets_svg_chevron_right_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../assets/svg/chevron-right.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-right.js\");\n/* harmony import */ var _assets_svg_chevron_top_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../assets/svg/chevron-top.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chevron-top.js\");\n/* harmony import */ var _assets_svg_chrome_store_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../assets/svg/chrome-store.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/chrome-store.js\");\n/* harmony import */ var _assets_svg_clock_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../assets/svg/clock.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/clock.js\");\n/* harmony import */ var _assets_svg_close_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../assets/svg/close.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/close.js\");\n/* harmony import */ var _assets_svg_coinPlaceholder_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../assets/svg/coinPlaceholder.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/coinPlaceholder.js\");\n/* harmony import */ var _assets_svg_compass_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../assets/svg/compass.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/compass.js\");\n/* harmony import */ var _assets_svg_copy_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../assets/svg/copy.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/copy.js\");\n/* harmony import */ var _assets_svg_cursor_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../assets/svg/cursor.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/cursor.js\");\n/* harmony import */ var _assets_svg_desktop_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../assets/svg/desktop.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/desktop.js\");\n/* harmony import */ var _assets_svg_disconnect_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../assets/svg/disconnect.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/disconnect.js\");\n/* harmony import */ var _assets_svg_discord_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../assets/svg/discord.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/discord.js\");\n/* harmony import */ var _assets_svg_etherscan_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../assets/svg/etherscan.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/etherscan.js\");\n/* harmony import */ var _assets_svg_extension_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../assets/svg/extension.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/extension.js\");\n/* harmony import */ var _assets_svg_external_link_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../assets/svg/external-link.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/external-link.js\");\n/* harmony import */ var _assets_svg_facebook_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../assets/svg/facebook.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/facebook.js\");\n/* harmony import */ var _assets_svg_filters_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../assets/svg/filters.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/filters.js\");\n/* harmony import */ var _assets_svg_github_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../assets/svg/github.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/github.js\");\n/* harmony import */ var _assets_svg_google_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../assets/svg/google.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/google.js\");\n/* harmony import */ var _assets_svg_help_circle_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../assets/svg/help-circle.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/help-circle.js\");\n/* harmony import */ var _assets_svg_info_circle_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../assets/svg/info-circle.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/info-circle.js\");\n/* harmony import */ var _assets_svg_mail_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../assets/svg/mail.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mail.js\");\n/* harmony import */ var _assets_svg_mobile_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../assets/svg/mobile.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/mobile.js\");\n/* harmony import */ var _assets_svg_network_placeholder_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../assets/svg/network-placeholder.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network-placeholder.js\");\n/* harmony import */ var _assets_svg_nftPlaceholder_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../assets/svg/nftPlaceholder.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/nftPlaceholder.js\");\n/* harmony import */ var _assets_svg_off_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../assets/svg/off.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/off.js\");\n/* harmony import */ var _assets_svg_play_store_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../assets/svg/play-store.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/play-store.js\");\n/* harmony import */ var _assets_svg_qr_code_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../../assets/svg/qr-code.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/qr-code.js\");\n/* harmony import */ var _assets_svg_refresh_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../../assets/svg/refresh.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/refresh.js\");\n/* harmony import */ var _assets_svg_search_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../../assets/svg/search.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/search.js\");\n/* harmony import */ var _assets_svg_swapHorizontal_js__WEBPACK_IMPORTED_MODULE_46__ = __webpack_require__(/*! ../../assets/svg/swapHorizontal.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontal.js\");\n/* harmony import */ var _assets_svg_swapHorizontalBold_js__WEBPACK_IMPORTED_MODULE_47__ = __webpack_require__(/*! ../../assets/svg/swapHorizontalBold.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapHorizontalBold.js\");\n/* harmony import */ var _assets_svg_swapVertical_js__WEBPACK_IMPORTED_MODULE_48__ = __webpack_require__(/*! ../../assets/svg/swapVertical.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/swapVertical.js\");\n/* harmony import */ var _assets_svg_telegram_js__WEBPACK_IMPORTED_MODULE_49__ = __webpack_require__(/*! ../../assets/svg/telegram.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/telegram.js\");\n/* harmony import */ var _assets_svg_twitch_js__WEBPACK_IMPORTED_MODULE_50__ = __webpack_require__(/*! ../../assets/svg/twitch.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitch.js\");\n/* harmony import */ var _assets_svg_twitter_js__WEBPACK_IMPORTED_MODULE_51__ = __webpack_require__(/*! ../../assets/svg/twitter.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitter.js\");\n/* harmony import */ var _assets_svg_twitterIcon_js__WEBPACK_IMPORTED_MODULE_52__ = __webpack_require__(/*! ../../assets/svg/twitterIcon.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/twitterIcon.js\");\n/* harmony import */ var _assets_svg_wallet_placeholder_js__WEBPACK_IMPORTED_MODULE_53__ = __webpack_require__(/*! ../../assets/svg/wallet-placeholder.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet-placeholder.js\");\n/* harmony import */ var _assets_svg_wallet_js__WEBPACK_IMPORTED_MODULE_54__ = __webpack_require__(/*! ../../assets/svg/wallet.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/wallet.js\");\n/* harmony import */ var _assets_svg_walletconnect_js__WEBPACK_IMPORTED_MODULE_55__ = __webpack_require__(/*! ../../assets/svg/walletconnect.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/walletconnect.js\");\n/* harmony import */ var _assets_svg_warning_circle_js__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(/*! ../../assets/svg/warning-circle.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/warning-circle.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\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\n\n\n\n\nconst svgOptions = {\n allWallets: _assets_svg_all_wallets_js__WEBPACK_IMPORTED_MODULE_5__.allWalletsSvg,\n appStore: _assets_svg_app_store_js__WEBPACK_IMPORTED_MODULE_6__.appStoreSvg,\n chromeStore: _assets_svg_chrome_store_js__WEBPACK_IMPORTED_MODULE_18__.chromeStoreSvg,\n apple: _assets_svg_apple_js__WEBPACK_IMPORTED_MODULE_7__.appleSvg,\n arrowBottom: _assets_svg_arrow_bottom_js__WEBPACK_IMPORTED_MODULE_8__.arrowBottomSvg,\n arrowLeft: _assets_svg_arrow_left_js__WEBPACK_IMPORTED_MODULE_9__.arrowLeftSvg,\n arrowRight: _assets_svg_arrow_right_js__WEBPACK_IMPORTED_MODULE_10__.arrowRightSvg,\n arrowTop: _assets_svg_arrow_top_js__WEBPACK_IMPORTED_MODULE_11__.arrowTopSvg,\n browser: _assets_svg_browser_js__WEBPACK_IMPORTED_MODULE_12__.browserSvg,\n checkmark: _assets_svg_checkmark_js__WEBPACK_IMPORTED_MODULE_13__.checkmarkSvg,\n chevronBottom: _assets_svg_chevron_bottom_js__WEBPACK_IMPORTED_MODULE_14__.chevronBottomSvg,\n chevronLeft: _assets_svg_chevron_left_js__WEBPACK_IMPORTED_MODULE_15__.chevronLeftSvg,\n chevronRight: _assets_svg_chevron_right_js__WEBPACK_IMPORTED_MODULE_16__.chevronRightSvg,\n chevronTop: _assets_svg_chevron_top_js__WEBPACK_IMPORTED_MODULE_17__.chevronTopSvg,\n clock: _assets_svg_clock_js__WEBPACK_IMPORTED_MODULE_19__.clockSvg,\n close: _assets_svg_close_js__WEBPACK_IMPORTED_MODULE_20__.closeSvg,\n compass: _assets_svg_compass_js__WEBPACK_IMPORTED_MODULE_22__.compassSvg,\n coinPlaceholder: _assets_svg_coinPlaceholder_js__WEBPACK_IMPORTED_MODULE_21__.coinPlaceholderSvg,\n copy: _assets_svg_copy_js__WEBPACK_IMPORTED_MODULE_23__.copySvg,\n cursor: _assets_svg_cursor_js__WEBPACK_IMPORTED_MODULE_24__.cursorSvg,\n desktop: _assets_svg_desktop_js__WEBPACK_IMPORTED_MODULE_25__.desktopSvg,\n disconnect: _assets_svg_disconnect_js__WEBPACK_IMPORTED_MODULE_26__.disconnectSvg,\n discord: _assets_svg_discord_js__WEBPACK_IMPORTED_MODULE_27__.discordSvg,\n etherscan: _assets_svg_etherscan_js__WEBPACK_IMPORTED_MODULE_28__.etherscanSvg,\n extension: _assets_svg_extension_js__WEBPACK_IMPORTED_MODULE_29__.extensionSvg,\n externalLink: _assets_svg_external_link_js__WEBPACK_IMPORTED_MODULE_30__.externalLinkSvg,\n facebook: _assets_svg_facebook_js__WEBPACK_IMPORTED_MODULE_31__.facebookSvg,\n filters: _assets_svg_filters_js__WEBPACK_IMPORTED_MODULE_32__.filtersSvg,\n github: _assets_svg_github_js__WEBPACK_IMPORTED_MODULE_33__.githubSvg,\n google: _assets_svg_google_js__WEBPACK_IMPORTED_MODULE_34__.googleSvg,\n helpCircle: _assets_svg_help_circle_js__WEBPACK_IMPORTED_MODULE_35__.helpCircleSvg,\n infoCircle: _assets_svg_info_circle_js__WEBPACK_IMPORTED_MODULE_36__.infoCircleSvg,\n mail: _assets_svg_mail_js__WEBPACK_IMPORTED_MODULE_37__.mailSvg,\n mobile: _assets_svg_mobile_js__WEBPACK_IMPORTED_MODULE_38__.mobileSvg,\n networkPlaceholder: _assets_svg_network_placeholder_js__WEBPACK_IMPORTED_MODULE_39__.networkPlaceholderSvg,\n nftPlaceholder: _assets_svg_nftPlaceholder_js__WEBPACK_IMPORTED_MODULE_40__.nftPlaceholderSvg,\n off: _assets_svg_off_js__WEBPACK_IMPORTED_MODULE_41__.offSvg,\n playStore: _assets_svg_play_store_js__WEBPACK_IMPORTED_MODULE_42__.playStoreSvg,\n qrCode: _assets_svg_qr_code_js__WEBPACK_IMPORTED_MODULE_43__.qrCodeIcon,\n refresh: _assets_svg_refresh_js__WEBPACK_IMPORTED_MODULE_44__.refreshSvg,\n search: _assets_svg_search_js__WEBPACK_IMPORTED_MODULE_45__.searchSvg,\n swapHorizontal: _assets_svg_swapHorizontal_js__WEBPACK_IMPORTED_MODULE_46__.swapHorizontalSvg,\n swapHorizontalBold: _assets_svg_swapHorizontalBold_js__WEBPACK_IMPORTED_MODULE_47__.swapHorizontalBoldSvg,\n swapVertical: _assets_svg_swapVertical_js__WEBPACK_IMPORTED_MODULE_48__.swapVerticalSvg,\n telegram: _assets_svg_telegram_js__WEBPACK_IMPORTED_MODULE_49__.telegramSvg,\n twitch: _assets_svg_twitch_js__WEBPACK_IMPORTED_MODULE_50__.twitchSvg,\n twitter: _assets_svg_twitter_js__WEBPACK_IMPORTED_MODULE_51__.twitterSvg,\n twitterIcon: _assets_svg_twitterIcon_js__WEBPACK_IMPORTED_MODULE_52__.twitterIconSvg,\n wallet: _assets_svg_wallet_js__WEBPACK_IMPORTED_MODULE_54__.walletSvg,\n walletConnect: _assets_svg_walletconnect_js__WEBPACK_IMPORTED_MODULE_55__.walletConnectSvg,\n walletPlaceholder: _assets_svg_wallet_placeholder_js__WEBPACK_IMPORTED_MODULE_53__.walletPlaceholderSvg,\n warningCircle: _assets_svg_warning_circle_js__WEBPACK_IMPORTED_MODULE_56__.warningCircleSvg\n};\nlet WuiIcon = class WuiIcon extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = 'copy';\n this.color = 'fg-300';\n }\n render() {\n this.style.cssText = `\n --local-color: ${`var(--wui-color-${this.color});`}\n --local-width: ${`var(--wui-icon-size-${this.size});`}\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${svgOptions[this.name]}`;\n }\n};\nWuiIcon.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.colorStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIcon.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIcon.prototype, \"name\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIcon.prototype, \"color\", void 0);\nWuiIcon = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-icon')\n], WuiIcon);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n aspect-ratio: 1 / 1;\n color: var(--local-color);\n width: var(--local-width);\n }\n\n svg {\n width: inherit;\n height: inherit;\n object-fit: contain;\n object-position: center;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiImage: () => (/* binding */ WuiImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiImage = class WuiImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.src = './path/to/image.jpg';\n this.alt = 'Image';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<img src=${this.src} alt=${this.alt} />`;\n }\n};\nWuiImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.colorStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiImage.prototype, \"src\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiImage.prototype, \"alt\", void 0);\nWuiImage = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-image')\n], WuiImage);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js":
/*!********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js ***!
\********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 100%;\n height: 100%;\n }\n\n img {\n display: block;\n width: 100%;\n height: 100%;\n object-fit: cover;\n object-position: center center;\n border-radius: inherit;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLoadingHexagon: () => (/* binding */ WuiLoadingHexagon)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet WuiLoadingHexagon = class WuiLoadingHexagon extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <svg viewBox=\"0 0 54 59\">\n <path\n id=\"wui-loader-path\"\n d=\"M17.22 5.295c3.877-2.277 5.737-3.363 7.72-3.726a11.44 11.44 0 0 1 4.12 0c1.983.363 3.844 1.45 7.72 3.726l6.065 3.562c3.876 2.276 5.731 3.372 7.032 4.938a11.896 11.896 0 0 1 2.06 3.63c.683 1.928.688 4.11.688 8.663v7.124c0 4.553-.005 6.735-.688 8.664a11.896 11.896 0 0 1-2.06 3.63c-1.3 1.565-3.156 2.66-7.032 4.937l-6.065 3.563c-3.877 2.276-5.737 3.362-7.72 3.725a11.46 11.46 0 0 1-4.12 0c-1.983-.363-3.844-1.449-7.72-3.726l-6.065-3.562c-3.876-2.276-5.731-3.372-7.032-4.938a11.885 11.885 0 0 1-2.06-3.63c-.682-1.928-.688-4.11-.688-8.663v-7.124c0-4.553.006-6.735.688-8.664a11.885 11.885 0 0 1 2.06-3.63c1.3-1.565 3.156-2.66 7.032-4.937l6.065-3.562Z\"\n />\n <use xlink:href=\"#wui-loader-path\"></use>\n </svg>\n `;\n }\n};\nWuiLoadingHexagon.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_1__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\nWuiLoadingHexagon = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-loading-hexagon')\n], WuiLoadingHexagon);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js":
/*!******************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js ***!
\******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: var(--wui-box-size-lg);\n height: var(--wui-box-size-lg);\n }\n\n svg {\n width: var(--wui-box-size-lg);\n height: var(--wui-box-size-lg);\n fill: none;\n stroke: transparent;\n stroke-linecap: round;\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n use {\n stroke: var(--wui-color-accent-100);\n stroke-width: 2px;\n stroke-dasharray: 54, 118;\n stroke-dashoffset: 172;\n animation: dash 1s linear infinite;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0px;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-hexagon/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLoadingSpinner: () => (/* binding */ WuiLoadingSpinner)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiLoadingSpinner = class WuiLoadingSpinner extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.color = 'accent-100';\n this.size = 'lg';\n }\n render() {\n this.style.cssText = `--local-color: var(--wui-color-${this.color});`;\n this.dataset['size'] = this.size;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<svg viewBox=\"25 25 50 50\">\n <circle r=\"20\" cy=\"50\" cx=\"50\"></circle>\n </svg>`;\n }\n};\nWuiLoadingSpinner.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLoadingSpinner.prototype, \"color\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLoadingSpinner.prototype, \"size\", void 0);\nWuiLoadingSpinner = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-loading-spinner')\n], WuiLoadingSpinner);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js":
/*!******************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js ***!
\******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n }\n\n :host([data-size='sm']) > svg {\n width: 12px;\n height: 12px;\n }\n\n :host([data-size='md']) > svg {\n width: 14px;\n height: 14px;\n }\n\n :host([data-size='lg']) > svg {\n width: 24px;\n height: 24px;\n }\n\n svg {\n animation: rotate 2s linear infinite;\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n circle {\n fill: none;\n stroke: var(--local-color);\n stroke-width: 4px;\n stroke-dasharray: 1, 124;\n stroke-dashoffset: 0;\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n\n :host([data-size='md']) > svg > circle {\n stroke-width: 6px;\n }\n\n :host([data-size='sm']) > svg > circle {\n stroke-width: 8px;\n }\n\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 124;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 90, 124;\n stroke-dashoffset: -35;\n }\n\n 100% {\n stroke-dashoffset: -125;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js ***!
\*******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLoadingThumbnail: () => (/* binding */ WuiLoadingThumbnail)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiLoadingThumbnail = class WuiLoadingThumbnail extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.radius = 36;\n }\n render() {\n return this.svgLoaderTemplate();\n }\n svgLoaderTemplate() {\n const radius = this.radius > 50 ? 50 : this.radius;\n const standardValue = 36;\n const radiusFactor = standardValue - radius;\n const dashArrayStart = 116 + radiusFactor;\n const dashArrayEnd = 245 + radiusFactor;\n const dashOffset = 360 + radiusFactor * 1.75;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <svg viewBox=\"0 0 110 110\" width=\"110\" height=\"110\">\n <rect\n x=\"2\"\n y=\"2\"\n width=\"106\"\n height=\"106\"\n rx=${radius}\n stroke-dasharray=\"${dashArrayStart} ${dashArrayEnd}\"\n stroke-dashoffset=${dashOffset}\n />\n </svg>\n `;\n }\n};\nWuiLoadingThumbnail.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Number })\n], WuiLoadingThumbnail.prototype, \"radius\", void 0);\nWuiLoadingThumbnail = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-loading-thumbnail')\n], WuiLoadingThumbnail);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js":
/*!********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js ***!
\********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: var(--wui-box-size-md);\n height: var(--wui-box-size-md);\n }\n\n svg {\n width: var(--wui-box-size-md);\n height: var(--wui-box-size-md);\n transition: all var(--wui-ease-in-power-3) var(--wui-duration-lg);\n }\n\n rect {\n fill: none;\n stroke: var(--wui-color-accent-100);\n stroke-width: 4px;\n stroke-linecap: round;\n animation: dash 1s linear infinite;\n }\n\n @keyframes dash {\n to {\n stroke-dashoffset: 0px;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-thumbnail/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiShimmer: () => (/* binding */ WuiShimmer)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\nlet WuiShimmer = class WuiShimmer extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.width = '';\n this.height = '';\n this.borderRadius = 'm';\n }\n render() {\n this.style.cssText = `\n width: ${this.width};\n height: ${this.height};\n border-radius: ${`clamp(0px,var(--wui-border-radius-${this.borderRadius}), 40px)`};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiShimmer.styles = [_styles_js__WEBPACK_IMPORTED_MODULE_3__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiShimmer.prototype, \"width\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiShimmer.prototype, \"height\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiShimmer.prototype, \"borderRadius\", void 0);\nWuiShimmer = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-shimmer')\n], WuiShimmer);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-005);\n background: linear-gradient(\n 120deg,\n var(--wui-color-bg-200) 5%,\n var(--wui-color-bg-200) 48%,\n var(--wui-color-bg-300) 55%,\n var(--wui-color-bg-300) 60%,\n var(--wui-color-bg-300) calc(60% + 10px),\n var(--wui-color-bg-200) calc(60% + 12px),\n var(--wui-color-bg-200) 100%\n );\n background-size: 250%;\n animation: shimmer 3s linear infinite reverse;\n }\n\n @keyframes shimmer {\n from {\n background-position: -250% 0;\n }\n to {\n background-position: 250% 0;\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiText: () => (/* binding */ WuiText)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_class_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/class-map.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiText = class WuiText extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'paragraph-500';\n this.color = 'fg-300';\n this.align = 'left';\n }\n render() {\n const classes = {\n [`wui-font-${this.variant}`]: true,\n [`wui-color-${this.color}`]: true\n };\n this.style.cssText = `\n --local-align: ${this.align};\n --local-color: var(--wui-color-${this.color});\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot class=${(0,lit_directives_class_map_js__WEBPACK_IMPORTED_MODULE_2__.classMap)(classes)}></slot>`;\n }\n};\nWuiText.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiText.prototype, \"variant\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiText.prototype, \"color\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiText.prototype, \"align\", void 0);\nWuiText = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-text')\n], WuiText);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex !important;\n }\n\n slot {\n display: inline-block;\n font-style: normal;\n font-family: var(--wui-font-family);\n font-feature-settings:\n 'tnum' on,\n 'lnum' on,\n 'case' on;\n line-height: 130%;\n font-weight: var(--wui-font-weight-regular);\n overflow: inherit;\n text-overflow: inherit;\n text-align: var(--local-align);\n color: var(--local-color);\n }\n\n .wui-font-large-500,\n .wui-font-large-600,\n .wui-font-large-700 {\n font-size: var(--wui-font-size-large);\n letter-spacing: var(--wui-letter-spacing-large);\n }\n\n .wui-font-paragraph-500,\n .wui-font-paragraph-600,\n .wui-font-paragraph-700 {\n font-size: var(--wui-font-size-paragraph);\n letter-spacing: var(--wui-letter-spacing-paragraph);\n }\n\n .wui-font-small-400,\n .wui-font-small-500,\n .wui-font-small-600 {\n font-size: var(--wui-font-size-small);\n letter-spacing: var(--wui-letter-spacing-small);\n }\n\n .wui-font-tiny-500,\n .wui-font-tiny-600 {\n font-size: var(--wui-font-size-tiny);\n letter-spacing: var(--wui-letter-spacing-tiny);\n }\n\n .wui-font-micro-700,\n .wui-font-micro-600 {\n font-size: var(--wui-font-size-micro);\n letter-spacing: var(--wui-letter-spacing-micro);\n text-transform: uppercase;\n }\n\n .wui-font-small-400 {\n font-weight: var(--wui-font-weight-light);\n }\n\n .wui-font-large-700,\n .wui-font-paragraph-700,\n .wui-font-micro-700 {\n font-weight: var(--wui-font-weight-bold);\n }\n\n .wui-font-large-600,\n .wui-font-paragraph-600,\n .wui-font-small-600,\n .wui-font-tiny-600,\n .wui-font-micro-600 {\n font-weight: var(--wui-font-weight-medium);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/index.js":
/*!********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/index.js ***!
\********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiVisual: () => (/* binding */ WuiVisual)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _assets_visual_browser_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../assets/visual/browser.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/browser.js\");\n/* harmony import */ var _assets_visual_dao_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../assets/visual/dao.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/dao.js\");\n/* harmony import */ var _assets_visual_defi_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../assets/visual/defi.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defi.js\");\n/* harmony import */ var _assets_visual_defiAlt_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../assets/visual/defiAlt.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/defiAlt.js\");\n/* harmony import */ var _assets_visual_eth_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../assets/visual/eth.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/eth.js\");\n/* harmony import */ var _assets_visual_layers_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../assets/visual/layers.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/layers.js\");\n/* harmony import */ var _assets_visual_lock_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../assets/visual/lock.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/lock.js\");\n/* harmony import */ var _assets_visual_login_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../assets/visual/login.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/login.js\");\n/* harmony import */ var _assets_visual_network_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../assets/visual/network.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/network.js\");\n/* harmony import */ var _assets_visual_nft_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../assets/visual/nft.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/nft.js\");\n/* harmony import */ var _assets_visual_noun_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../assets/visual/noun.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/noun.js\");\n/* harmony import */ var _assets_visual_profile_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../assets/visual/profile.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/profile.js\");\n/* harmony import */ var _assets_visual_system_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../assets/visual/system.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/visual/system.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst svgOptions = {\n browser: _assets_visual_browser_js__WEBPACK_IMPORTED_MODULE_2__.browserSvg,\n dao: _assets_visual_dao_js__WEBPACK_IMPORTED_MODULE_3__.daoSvg,\n defi: _assets_visual_defi_js__WEBPACK_IMPORTED_MODULE_4__.defiSvg,\n defiAlt: _assets_visual_defiAlt_js__WEBPACK_IMPORTED_MODULE_5__.defiAltSvg,\n eth: _assets_visual_eth_js__WEBPACK_IMPORTED_MODULE_6__.ethSvg,\n layers: _assets_visual_layers_js__WEBPACK_IMPORTED_MODULE_7__.layersSvg,\n lock: _assets_visual_lock_js__WEBPACK_IMPORTED_MODULE_8__.lockSvg,\n login: _assets_visual_login_js__WEBPACK_IMPORTED_MODULE_9__.loginSvg,\n network: _assets_visual_network_js__WEBPACK_IMPORTED_MODULE_10__.networkSvg,\n nft: _assets_visual_nft_js__WEBPACK_IMPORTED_MODULE_11__.nftSvg,\n noun: _assets_visual_noun_js__WEBPACK_IMPORTED_MODULE_12__.nounSvg,\n profile: _assets_visual_profile_js__WEBPACK_IMPORTED_MODULE_13__.profileSvg,\n system: _assets_visual_system_js__WEBPACK_IMPORTED_MODULE_14__.systemSvg\n};\nlet WuiVisual = class WuiVisual extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.name = 'browser';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${svgOptions[this.name]}`;\n }\n};\nWuiVisual.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_15__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_17__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiVisual.prototype, \"name\", void 0);\nWuiVisual = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_16__.customElement)('wui-visual')\n], WuiVisual);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 55px;\n height: 55px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/components/wui-visual/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/index.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/index.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiAccountButton: () => (/* binding */ WuiAccountButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_avatar_index_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../wui-avatar/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\n\n\n\nlet WuiAccountButton = class WuiAccountButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.networkSrc = undefined;\n this.avatarSrc = undefined;\n this.balance = undefined;\n this.disabled = false;\n this.isProfileName = false;\n this.address = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled}>\n ${this.balanceTemplate()}\n <wui-flex\n gap=\"xxs\"\n alignItems=\"center\"\n class=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.balance ? undefined : 'local-no-balance')}\n >\n <wui-avatar\n .imageSrc=${this.avatarSrc}\n alt=${this.address}\n address=${this.address}\n ></wui-avatar>\n <wui-text variant=\"paragraph-600\" color=\"inherit\">\n ${_utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_7__.UiHelperUtil.getTruncateString({\n string: this.address,\n charsStart: this.isProfileName ? 18 : 4,\n charsEnd: this.isProfileName ? 0 : 6,\n truncate: this.isProfileName ? 'end' : 'middle'\n })}\n </wui-text>\n </wui-flex>\n </button>\n `;\n }\n balanceTemplate() {\n if (this.balance) {\n const networkElement = this.networkSrc\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.networkSrc}></wui-image>`\n : (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon-box\n size=\"sm\"\n iconColor=\"fg-200\"\n backgroundColor=\"fg-300\"\n icon=\"networkPlaceholder\"\n ></wui-icon-box>\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n ${networkElement}\n <wui-text variant=\"paragraph-600\" color=\"inherit\"> ${this.balance} </wui-text>\n `;\n }\n return null;\n }\n};\nWuiAccountButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAccountButton.prototype, \"networkSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAccountButton.prototype, \"avatarSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAccountButton.prototype, \"balance\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiAccountButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiAccountButton.prototype, \"isProfileName\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAccountButton.prototype, \"address\", void 0);\nWuiAccountButton = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_8__.customElement)('wui-account-button')\n], WuiAccountButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n background: var(--wui-gray-glass-002);\n display: flex;\n gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-3xs) var(--wui-spacing-xs) var(--wui-spacing-3xs)\n var(--wui-spacing-xs);\n border: 1px solid var(--wui-gray-glass-005);\n }\n\n button:disabled {\n background: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-flex > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-image,\n button:disabled > wui-icon-box,\n button:disabled > wui-flex > wui-avatar {\n filter: grayscale(1);\n }\n\n button:has(wui-image) {\n padding: var(--wui-spacing-3xs) var(--wui-spacing-3xs) var(--wui-spacing-3xs)\n var(--wui-spacing-xs);\n }\n\n wui-text {\n color: var(--wui-color-fg-100);\n }\n\n wui-flex > wui-text {\n color: var(--wui-color-fg-200);\n transition: all var(--wui-ease-out-power-1) var(--wui-duration-lg);\n }\n\n wui-image,\n wui-icon-box {\n border-radius: var(--wui-border-radius-3xl);\n width: 24px;\n height: 24px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n\n wui-flex {\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-005);\n background: var(--wui-gray-glass-005);\n padding: 4px var(--wui-spacing-m) 4px var(--wui-spacing-xxs);\n }\n\n wui-flex.local-no-balance {\n border-radius: 0px;\n border: none;\n background: transparent;\n }\n\n wui-avatar {\n width: 20px;\n height: 20px;\n box-shadow: 0 0 0 2px var(--wui-accent-glass-010);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled > wui-flex > wui-text {\n color: var(--wui-color-fg-175);\n }\n\n button:active:enabled > wui-flex > wui-text {\n color: var(--wui-color-fg-175);\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-account-button/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js ***!
\*******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiAllWalletsImage: () => (/* binding */ WuiAllWalletsImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../wui-wallet-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nconst TOTAL_IMAGES = 4;\nlet WuiAllWalletsImage = class WuiAllWalletsImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.walletImages = [];\n }\n render() {\n const isPlaceholders = this.walletImages.length < TOTAL_IMAGES;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.walletImages\n .slice(0, TOTAL_IMAGES)\n .map(({ src, walletName }) => (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-wallet-image\n size=\"inherit\"\n imageSrc=${src}\n name=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(walletName)}\n ></wui-wallet-image>\n `)}\n ${isPlaceholders\n ? [...Array(TOTAL_IMAGES - this.walletImages.length)].map(() => (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-wallet-image size=\"inherit\" name=\"\"></wui-wallet-image>`)\n : null}`;\n }\n};\nWuiAllWalletsImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Array })\n], WuiAllWalletsImage.prototype, \"walletImages\", void 0);\nWuiAllWalletsImage = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-all-wallets-image')\n], WuiAllWalletsImage);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js":
/*!********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js ***!
\********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n border-radius: var(--wui-border-radius-xxs);\n width: 40px;\n height: 40px;\n overflow: hidden;\n background: var(--wui-gray-glass-002);\n display: flex;\n justify-content: center;\n align-items: center;\n flex-wrap: wrap;\n gap: var(--wui-spacing-4xs);\n padding: 3.75px !important;\n }\n\n :host::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n :host > wui-wallet-image {\n width: 14px;\n height: 14px;\n border-radius: var(--wui-border-radius-5xs);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js":
/*!********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js ***!
\********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiAvatar: () => (/* binding */ WuiAvatar)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiAvatar = class WuiAvatar extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.imageSrc = undefined;\n this.alt = undefined;\n this.address = undefined;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.visualTemplate()}`;\n }\n visualTemplate() {\n if (this.imageSrc) {\n this.dataset['variant'] = 'image';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.alt ?? 'avatar'}></wui-image>`;\n }\n else if (this.address) {\n this.dataset['variant'] = 'generated';\n const cssColors = _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__.UiHelperUtil.generateAvatarColors(this.address);\n this.style.cssText = cssColors;\n return null;\n }\n this.dataset['variant'] = 'default';\n return null;\n }\n};\nWuiAvatar.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAvatar.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAvatar.prototype, \"alt\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiAvatar.prototype, \"address\", void 0);\nWuiAvatar = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-avatar')\n], WuiAvatar);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 64px;\n height: 64px;\n border-radius: var(--wui-border-radius-3xl);\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n overflow: hidden;\n position: relative;\n }\n\n :host([data-variant='generated']) {\n --mixed-local-color-1: var(--local-color-1);\n --mixed-local-color-2: var(--local-color-2);\n --mixed-local-color-3: var(--local-color-3);\n --mixed-local-color-4: var(--local-color-4);\n --mixed-local-color-5: var(--local-color-5);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :host([data-variant='generated']) {\n --mixed-local-color-1: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-1)\n );\n --mixed-local-color-2: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-2)\n );\n --mixed-local-color-3: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-3)\n );\n --mixed-local-color-4: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-4)\n );\n --mixed-local-color-5: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--local-color-5)\n );\n }\n }\n\n :host([data-variant='generated']) {\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n background: radial-gradient(\n 75.29% 75.29% at 64.96% 24.36%,\n #fff 0.52%,\n var(--mixed-local-color-5) 31.25%,\n var(--mixed-local-color-3) 51.56%,\n var(--mixed-local-color-2) 65.63%,\n var(--mixed-local-color-1) 82.29%,\n var(--mixed-local-color-4) 100%\n );\n }\n\n :host([data-variant='default']) {\n box-shadow: 0 0 0 8px var(--wui-gray-glass-005);\n background: radial-gradient(\n 75.29% 75.29% at 64.96% 24.36%,\n #fff 0.52%,\n #f5ccfc 31.25%,\n #dba4f5 51.56%,\n #9a8ee8 65.63%,\n #6493da 82.29%,\n #6ebdea 100%\n );\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-avatar/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js":
/*!********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js ***!
\********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiButton: () => (/* binding */ WuiButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-loading-spinner/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiButton = class WuiButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.fullWidth = false;\n this.loading = false;\n this.variant = 'fill';\n }\n render() {\n this.style.cssText = `\n --local-width: ${this.fullWidth ? '100%' : 'auto'};\n --local-opacity-100: ${this.loading ? 0 : 1};\n --local-opacity-000: ${this.loading ? 1 : 0};`;\n const textVariant = this.size === 'md' ? 'paragraph-600' : 'small-600';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button\n data-variant=${this.variant}\n data-size=${this.size}\n ?disabled=${this.disabled || this.loading}\n ontouchstart\n >\n ${this.loadingTemplate()}\n <slot name=\"iconLeft\"></slot>\n <wui-text variant=${textVariant} color=\"inherit\">\n <slot></slot>\n </wui-text>\n <slot name=\"iconRight\"></slot>\n </button>\n `;\n }\n loadingTemplate() {\n if (this.loading) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-loading-spinner color=\"fg-300\"></wui-loading-spinner>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ``;\n }\n};\nWuiButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiButton.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiButton.prototype, \"fullWidth\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiButton.prototype, \"loading\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiButton.prototype, \"variant\", void 0);\nWuiButton = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__.customElement)('wui-button')\n], WuiButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n width: var(--local-width);\n position: relative;\n }\n\n button {\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-m);\n width: var(--local-width);\n }\n\n button:disabled {\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n button[data-size='sm'] {\n padding: 6px 12px;\n }\n\n ::slotted(*) {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button > wui-text {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button[data-size='md'] {\n padding: 9px var(--wui-spacing-l) 9px var(--wui-spacing-l);\n }\n\n wui-loading-spinner {\n position: absolute;\n left: 50%;\n top: 50%;\n transition: all 200ms ease-in-out;\n transform: translate(-50%, -50%);\n opacity: var(--local-opacity-000);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js":
/*!********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js ***!
\********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCardSelectLoader: () => (/* binding */ WuiCardSelectLoader)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../assets/svg/network.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js\");\n/* harmony import */ var _components_wui_shimmer_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-shimmer/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-shimmer/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiCardSelectLoader = class WuiCardSelectLoader extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.type = 'wallet';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n ${this.shimmerTemplate()}\n <wui-shimmer width=\"56px\" height=\"20px\" borderRadius=\"xs\"></wui-shimmer>\n `;\n }\n shimmerTemplate() {\n if (this.type === 'network') {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-shimmer\n data-type=${this.type}\n width=\"48px\"\n height=\"54px\"\n borderRadius=\"xs\"\n ></wui-shimmer>\n ${_assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__.networkSvg}`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-shimmer width=\"56px\" height=\"56px\" borderRadius=\"xs\"></wui-shimmer>`;\n }\n};\nWuiCardSelectLoader.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCardSelectLoader.prototype, \"type\", void 0);\nWuiCardSelectLoader = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-card-select-loader')\n], WuiCardSelectLoader);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js":
/*!*********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js ***!
\*********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 76px;\n row-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xs) 10px;\n background-color: var(--wui-gray-glass-002);\n border-radius: clamp(0px, var(--wui-border-radius-xs), 20px);\n position: relative;\n }\n\n wui-shimmer[data-type='network'] {\n border: none;\n -webkit-clip-path: var(--wui-path-network);\n clip-path: var(--wui-path-network);\n }\n\n svg {\n position: absolute;\n width: 48px;\n height: 54px;\n z-index: 1;\n }\n\n svg > path {\n stroke: var(--wui-gray-glass-010);\n stroke-width: 1px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select-loader/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/index.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/index.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCardSelect: () => (/* binding */ WuiCardSelect)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_network_image_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-network-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js\");\n/* harmony import */ var _wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../wui-wallet-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiCardSelect = class WuiCardSelect extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.name = 'Unknown';\n this.type = 'wallet';\n this.imageSrc = undefined;\n this.disabled = false;\n this.selected = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button data-selected=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.selected)} ?disabled=${this.disabled} ontouchstart>\n ${this.imageTemplate()}\n <wui-text variant=\"tiny-500\" color=${this.selected ? 'accent-100' : 'inherit'}>\n ${this.name}\n </wui-text>\n </button>\n `;\n }\n imageTemplate() {\n if (this.type === 'network') {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-network-image\n .selected=${this.selected}\n imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.imageSrc)}\n name=${this.name}\n >\n </wui-network-image>\n `;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-wallet-image size=\"md\" imageSrc=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.imageSrc)} name=${this.name}>\n </wui-wallet-image>\n `;\n }\n};\nWuiCardSelect.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCardSelect.prototype, \"name\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCardSelect.prototype, \"type\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCardSelect.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiCardSelect.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiCardSelect.prototype, \"selected\", void 0);\nWuiCardSelect = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-card-select')\n], WuiCardSelect);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js":
/*!**************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js ***!
\**************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n flex-direction: column;\n width: 76px;\n row-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xs) var(--wui-spacing-0);\n background-color: var(--wui-gray-glass-002);\n border-radius: clamp(0px, var(--wui-border-radius-xs), 20px);\n }\n\n button > wui-text {\n color: var(--wui-color-fg-100);\n max-width: 64px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n justify-content: center;\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n [data-selected='true'] {\n background-color: var(--wui-accent-glass-020);\n }\n\n @media (hover: hover) and (pointer: fine) {\n [data-selected='true']:hover:enabled {\n background-color: var(--wui-accent-glass-015);\n }\n }\n\n [data-selected='true']:active:enabled {\n background-color: var(--wui-accent-glass-010);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-card-select/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/index.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiChip: () => (/* binding */ WuiChip)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiChip = class WuiChip extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'fill';\n this.imageSrc = undefined;\n this.disabled = false;\n this.icon = 'externalLink';\n this.href = '';\n }\n render() {\n const textVariant = this.variant === 'transparent' ? 'small-600' : 'paragraph-600';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <a\n rel=\"noreferrer\"\n target=\"_blank\"\n href=${this.href}\n class=${this.disabled ? 'disabled' : ''}\n data-variant=${this.variant}\n >\n ${this.imageTemplate()}\n <wui-text variant=${textVariant} color=\"inherit\">\n ${_utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_6__.UiHelperUtil.getHostName(this.href)}\n </wui-text>\n <wui-icon name=${this.icon} color=\"inherit\" size=\"inherit\"></wui-icon>\n </a>\n `;\n }\n imageTemplate() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc}></wui-image>`;\n }\n return null;\n }\n};\nWuiChip.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiChip.prototype, \"variant\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiChip.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiChip.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiChip.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiChip.prototype, \"href\", void 0);\nWuiChip = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__.customElement)('wui-chip')\n], WuiChip);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n a {\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n wui-image {\n border-radius: var(--wui-border-radius-3xl);\n overflow: hidden;\n }\n\n a.disabled > wui-icon,\n a.disabled > wui-image {\n filter: grayscale(1);\n }\n\n a[data-variant='fill'] {\n color: var(--wui-color-inverse-100);\n background-color: var(--wui-color-accent-100);\n }\n\n a[data-variant='shade'] {\n background-color: transparent;\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-200);\n }\n\n a[data-variant='transparent'] {\n column-gap: var(--wui-spacing-xxs);\n background-color: transparent;\n padding: 7px var(--wui-spacing-s) 7px 10px;\n color: var(--wui-color-fg-150);\n }\n\n a[data-variant='transparent']:has(wui-text:first-child) {\n padding: 7px var(--wui-spacing-s);\n }\n\n a[data-variant='fill'],\n a[data-variant='shade'] {\n column-gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-xxs)\n var(--wui-spacing-xs);\n }\n\n a[data-variant='fill']:has(wui-text:first-child),\n a[data-variant='shade']:has(wui-text:first-child) {\n padding: 8.5px var(--wui-spacing-m) 9.5px var(--wui-spacing-m);\n }\n\n a[data-variant='fill'] > wui-image,\n a[data-variant='shade'] > wui-image {\n width: 24px;\n height: 24px;\n }\n\n a[data-variant='fill'] > wui-image {\n border: 1px solid var(--wui-color-accent-090);\n }\n\n a[data-variant='shade'] > wui-image {\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n a[data-variant='fill'] > wui-icon,\n a[data-variant='shade'] > wui-icon {\n width: 14px;\n height: 14px;\n }\n\n a[data-variant='transparent'] > wui-image {\n width: 14px;\n height: 14px;\n }\n\n a[data-variant='transparent'] > wui-icon {\n width: 12px;\n height: 12px;\n }\n\n a[data-variant='fill']:focus-visible {\n background-color: var(--wui-color-accent-090);\n }\n\n a[data-variant='shade']:focus-visible {\n background-color: var(--wui-gray-glass-015);\n }\n\n a[data-variant='transparent']:focus-visible {\n background-color: var(--wui-gray-glass-005);\n }\n\n a.disabled {\n color: var(--wui-gray-glass-015);\n background-color: var(--wui-gray-glass-015);\n pointer-events: none;\n }\n\n @media (hover: hover) and (pointer: fine) {\n a[data-variant='fill']:hover {\n background-color: var(--wui-color-accent-090);\n }\n\n a[data-variant='shade']:hover {\n background-color: var(--wui-gray-glass-015);\n }\n\n a[data-variant='transparent']:hover {\n background-color: var(--wui-gray-glass-005);\n }\n }\n\n a[data-variant='fill']:active {\n background-color: var(--wui-color-accent-080);\n }\n\n a[data-variant='shade']:active {\n background-color: var(--wui-gray-glass-020);\n }\n\n a[data-variant='transparent']:active {\n background-color: var(--wui-gray-glass-010);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-chip/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/index.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/index.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiConnectButton: () => (/* binding */ WuiConnectButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-loading-spinner/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiConnectButton = class WuiConnectButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.loading = false;\n }\n render() {\n const textVariant = this.size === 'md' ? 'paragraph-600' : 'small-600';\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button data-size=${this.size} ?disabled=${this.loading} ontouchstart>\n ${this.loadingTemplate()}\n <wui-text variant=${textVariant} color=${this.loading ? 'accent-100' : 'inherit'}>\n <slot></slot>\n </wui-text>\n </button>\n `;\n }\n loadingTemplate() {\n if (!this.loading) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-loading-spinner size=${this.size} color=\"accent-100\"></wui-loading-spinner>`;\n }\n};\nWuiConnectButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiConnectButton.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiConnectButton.prototype, \"loading\", void 0);\nWuiConnectButton = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__.customElement)('wui-connect-button')\n], WuiConnectButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: block;\n }\n\n button {\n background: var(--wui-color-accent-100);\n border: 1px solid var(--wui-gray-glass-010);\n border-radius: var(--wui-border-radius-m);\n gap: var(--wui-spacing-xs);\n }\n\n button.loading {\n background: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n button:disabled > wui-text {\n color: var(--wui-gray-glass-015);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-color-accent-090);\n }\n\n button:active:enabled {\n background-color: var(--wui-color-accent-080);\n }\n }\n\n button:focus-visible {\n border: 1px solid var(--wui-gray-glass-010);\n background-color: var(--wui-color-accent-090);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n button[data-size='sm'] {\n padding: 6.75px 10px 7.25px;\n }\n\n ::slotted(*) {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n }\n\n button > wui-text {\n transition: opacity 200ms ease-in-out;\n opacity: var(--local-opacity-100);\n color: var(--wui-color-inverse-100);\n }\n\n button[data-size='md'] {\n padding: 9px var(--wui-spacing-l) 9px var(--wui-spacing-l);\n }\n\n button[data-size='md'] + wui-text {\n padding-left: var(--wui-spacing-3xs);\n }\n\n wui-loading-spinner {\n width: 14px;\n height: 14px;\n }\n\n wui-loading-spinner::slotted(svg) {\n width: 10px !important;\n height: 10px !important;\n }\n\n button[data-size='sm'] > wui-loading-spinner {\n width: 12px;\n height: 12px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-connect-button/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/index.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/index.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiCtaButton: () => (/* binding */ WuiCtaButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _composites_wui_button_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../composites/wui-button/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-button/index.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiCtaButton = class WuiCtaButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.label = '';\n this.buttonLabel = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-flex\n justifyContent=\"space-between\"\n alignItems=\"center\"\n .padding=${['1xs', '2l', '1xs', '2l']}\n >\n <wui-text variant=\"paragraph-500\" colo=\"fg-200\">${this.label}</wui-text>\n <wui-button size=\"sm\" variant=\"accent\">\n ${this.buttonLabel}\n <wui-icon size=\"sm\" color=\"inherit\" slot=\"iconRight\" name=\"chevronRight\"></wui-icon>\n </wui-button>\n </wui-flex>\n `;\n }\n};\nWuiCtaButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiCtaButton.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCtaButton.prototype, \"label\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiCtaButton.prototype, \"buttonLabel\", void 0);\nWuiCtaButton = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__.customElement)('wui-cta-button')\n], WuiCtaButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n wui-flex {\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-cta-button/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiEmailInput: () => (/* binding */ WuiEmailInput)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_input_text_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-input-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiEmailInput = class WuiEmailInput extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-input-text placeholder=\"Email\" icon=\"mail\" size=\"md\">\n <wui-icon size=\"inherit\" color=\"fg-100\" name=\"chevronRight\"></wui-icon>\n </wui-input-text>\n ${this.templateError()}\n `;\n }\n templateError() {\n if (this.errorMessage) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-text variant=\"tiny-500\" color=\"error-100\">${this.errorMessage}</wui-text>`;\n }\n return null;\n }\n};\nWuiEmailInput.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiEmailInput.prototype, \"errorMessage\", void 0);\nWuiEmailInput = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-email-input')\n], WuiEmailInput);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js":
/*!**************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js ***!
\**************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: inline-block;\n }\n\n wui-icon {\n padding: var(--wui-spacing-xl);\n cursor: pointer;\n transition: all var(--wui-duration-lg) var(--wui-ease-in-power-1);\n }\n\n wui-icon:hover {\n color: var(--wui-color-fg-200) !important;\n }\n\n wui-icon::part(chevronRight) {\n width: 12px;\n height: 12px;\n }\n\n wui-text {\n margin: var(--wui-spacing-xxs) var(--wui-spacing-m) var(--wui-spacing-0) var(--wui-spacing-m);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-email-input/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiIconBox: () => (/* binding */ WuiIconBox)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiIconBox = class WuiIconBox extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.backgroundColor = 'accent-100';\n this.iconColor = 'accent-100';\n this.background = 'transparent';\n this.border = false;\n this.borderColor = 'wui-color-bg-125';\n this.icon = 'copy';\n }\n render() {\n const iconSize = this.iconSize || this.size;\n const isLg = this.size === 'lg';\n const bgMix = isLg ? '12%' : '16%';\n const borderRadius = isLg ? 'xxs' : '3xl';\n const isGray = this.background === 'gray';\n const isOpaque = this.background === 'opaque';\n const isColorChange = (this.backgroundColor === 'accent-100' && isOpaque) ||\n (this.backgroundColor === 'success-100' && isOpaque) ||\n (this.backgroundColor === 'error-100' && isOpaque) ||\n (this.backgroundColor === 'inverse-100' && isOpaque);\n let bgValueVariable = `var(--wui-color-${this.backgroundColor})`;\n if (isColorChange) {\n bgValueVariable = `var(--wui-icon-box-bg-${this.backgroundColor})`;\n }\n else if (isGray) {\n bgValueVariable = `var(--wui-gray-${this.backgroundColor})`;\n }\n this.style.cssText = `\n --local-bg-value: ${bgValueVariable};\n --local-bg-mix: ${isColorChange || isGray ? `100%` : bgMix};\n --local-border-radius: var(--wui-border-radius-${borderRadius});\n --local-size: var(--wui-icon-box-size-${this.size});\n --local-border: ${this.borderColor === 'wui-color-bg-125' ? `2px` : `1px`} solid ${this.border ? `var(--${this.borderColor})` : `transparent`}\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-icon color=${this.iconColor} size=${iconSize} name=${this.icon}></wui-icon> `;\n }\n};\nWuiIconBox.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconBox.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconBox.prototype, \"backgroundColor\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconBox.prototype, \"iconColor\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconBox.prototype, \"iconSize\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconBox.prototype, \"background\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiIconBox.prototype, \"border\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconBox.prototype, \"borderColor\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconBox.prototype, \"icon\", void 0);\nWuiIconBox = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-icon-box')\n], WuiIconBox);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n position: relative;\n overflow: hidden;\n background-color: var(--wui-gray-glass-020);\n border-radius: var(--local-border-radius);\n box-shadow: 0 0 0 1px var(--local-border);\n width: var(--local-size);\n height: var(--local-size);\n min-height: var(--local-size);\n min-width: var(--local-size);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :host {\n background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiIconLink: () => (/* binding */ WuiIconLink)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiIconLink = class WuiIconLink extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.icon = 'copy';\n this.iconColor = 'inherit';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n <wui-icon color=${this.iconColor} size=${this.size} name=${this.icon}></wui-icon>\n </button>\n `;\n }\n};\nWuiIconLink.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.elementStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.colorStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconLink.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiIconLink.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconLink.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiIconLink.prototype, \"iconColor\", void 0);\nWuiIconLink = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-icon-link')\n], WuiIconLink);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n border-radius: var(--wui-border-radius-xxs);\n color: var(--wui-color-fg-100);\n padding: var(--wui-spacing-2xs);\n }\n\n @media (max-width: 700px) {\n button {\n padding: var(--wui-spacing-s);\n }\n }\n\n button > wui-icon {\n pointer-events: none;\n }\n\n button:disabled > wui-icon {\n color: var(--wui-color-bg-300) !important;\n }\n\n button:disabled {\n background-color: transparent;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-link/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiInputElement: () => (/* binding */ WuiInputElement)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiInputElement = class WuiInputElement extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.icon = 'copy';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button>\n <wui-icon color=\"inherit\" size=\"xxs\" name=${this.icon}></wui-icon>\n </button>\n `;\n }\n};\nWuiInputElement.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiInputElement.prototype, \"icon\", void 0);\nWuiInputElement = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-input-element')\n], WuiInputElement);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n background-color: var(--wui-color-fg-300);\n border-radius: var(--wui-border-radius-4xs);\n width: 16px;\n height: 16px;\n }\n\n button:disabled {\n background-color: var(--wui-color-bg-300);\n }\n\n wui-icon {\n color: var(--wui-color-bg-200) !important;\n }\n\n button:focus-visible {\n background-color: var(--wui-color-fg-250);\n border: 1px solid var(--wui-color-accent-100);\n }\n\n button:active:enabled {\n background-color: var(--wui-color-fg-225);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-color-fg-250);\n }\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiInputNumeric: () => (/* binding */ WuiInputNumeric)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiInputNumeric = class WuiInputNumeric extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<input\n type=\"number\"\n maxlength=\"1\"\n inputmode=\"numeric\"\n autofocus\n ?disabled=${this.disabled}\n /> `;\n }\n};\nWuiInputNumeric.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiInputNumeric.prototype, \"disabled\", void 0);\nWuiInputNumeric = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-input-numeric')\n], WuiInputNumeric);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: inline-block;\n }\n\n input {\n width: 50px;\n height: 50px;\n background: var(--wui-gray-glass-005);\n border-radius: var(--wui-border-radius-xs);\n border: 1px solid var(--wui-gray-glass-005);\n font-family: var(--wui-font-family);\n font-size: var(--wui-font-size-large);\n font-weight: var(--wui-font-weight-regular);\n letter-spacing: var(--wui-letter-spacing-large);\n text-align: center;\n color: var(--wui-color-fg-100);\n caret-color: var(--wui-color-accent-100);\n transition: all var(--wui-ease-inout-power-1) var(--wui-duration-lg);\n box-sizing: border-box;\n -webkit-appearance: none;\n -moz-appearance: textfield;\n padding: 0px;\n }\n\n input::-webkit-outer-spin-button,\n input::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n\n input[type='number'] {\n -moz-appearance: textfield;\n }\n\n input:disabled {\n cursor: not-allowed;\n border: 1px solid var(--wui-gray-glass-010);\n background: var(--wui-gray-glass-015);\n }\n\n input:focus:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-color-accent-100);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n input:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiInputText: () => (/* binding */ WuiInputText)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit/directives/ref.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiInputText = class WuiInputText extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.disabled = false;\n this.placeholder = '';\n this.type = 'text';\n this.inputElementRef = (0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_3__.createRef)();\n }\n render() {\n const sizeClass = `wui-size-${this.size}`;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` ${this.templateIcon()}\n <input\n ${(0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_3__.ref)(this.inputElementRef)}\n class=${sizeClass}\n type=${this.type}\n enterkeyhint=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.enterKeyHint)}\n ?disabled=${this.disabled}\n placeholder=${this.placeholder}\n @input=${this.dispatchInputChangeEvent.bind(this)}\n />\n <slot></slot>`;\n }\n templateIcon() {\n if (this.icon) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-input=${this.size}\n size=\"md\"\n color=\"inherit\"\n name=${this.icon}\n ></wui-icon>`;\n }\n return null;\n }\n dispatchInputChangeEvent() {\n this.dispatchEvent(new CustomEvent('inputChange', {\n detail: this.inputElementRef.value?.value,\n bubbles: true,\n composed: true\n }));\n }\n};\nWuiInputText.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiInputText.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiInputText.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiInputText.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiInputText.prototype, \"placeholder\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiInputText.prototype, \"type\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiInputText.prototype, \"keyHint\", void 0);\nWuiInputText = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__.customElement)('wui-input-text')\n], WuiInputText);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n width: 100%;\n display: inline-block;\n color: var(--wui-color-fg-275);\n }\n\n input {\n width: 100%;\n border-radius: var(--wui-border-radius-xxs);\n border: 1px solid var(--wui-gray-glass-005);\n background: var(--wui-gray-glass-005);\n font-size: var(--wui-font-size-paragraph);\n font-weight: var(--wui-font-weight-regular);\n letter-spacing: var(--wui-letter-spacing-paragraph);\n color: var(--wui-color-fg-100);\n transition: all var(--wui-ease-inout-power-1) var(--wui-duration-lg);\n caret-color: var(--wui-color-accent-100);\n }\n\n input:disabled {\n cursor: not-allowed;\n border: 1px solid var(--wui-gray-glass-010);\n background: var(--wui-gray-glass-015);\n }\n\n input:disabled::placeholder,\n input:disabled + wui-icon {\n color: var(--wui-color-fg-300);\n }\n\n input::placeholder {\n color: var(--wui-color-fg-275);\n }\n\n input:focus:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-010);\n border: 1px solid var(--wui-color-accent-100);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n input:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n wui-icon {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n pointer-events: none;\n }\n\n .wui-size-sm {\n padding: 9px var(--wui-spacing-m) 10px var(--wui-spacing-s);\n }\n\n wui-icon + .wui-size-sm {\n padding: 9px var(--wui-spacing-m) 10px 36px;\n }\n\n wui-icon[data-input='sm'] {\n left: var(--wui-spacing-s);\n }\n\n .wui-size-md {\n padding: 15px var(--wui-spacing-m) var(--wui-spacing-l) var(--wui-spacing-m);\n }\n\n wui-icon + .wui-size-md {\n padding: 15px var(--wui-spacing-m) var(--wui-spacing-l) 42px;\n }\n\n wui-icon[data-input='md'] {\n left: var(--wui-spacing-m);\n }\n\n input:placeholder-shown ~ ::slotted(wui-input-element),\n input:placeholder-shown ~ ::slotted(wui-icon) {\n opacity: 0;\n pointer-events: none;\n }\n\n ::slotted(wui-input-element),\n ::slotted(wui-icon) {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n transition: all var(--wui-ease-in-power-2) var(--wui-duration-md);\n }\n\n ::slotted(wui-input-element) {\n right: var(--wui-spacing-m);\n }\n\n ::slotted(wui-icon) {\n right: 0px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLink: () => (/* binding */ WuiLink)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiLink = class WuiLink extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.disabled = false;\n this.color = 'inherit';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n <slot name=\"iconLeft\"></slot>\n <wui-text variant=\"small-600\" color=${this.color}>\n <slot></slot>\n </wui-text>\n <slot name=\"iconRight\"></slot>\n </button>\n `;\n }\n};\nWuiLink.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiLink.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLink.prototype, \"color\", void 0);\nWuiLink = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-link')\n], WuiLink);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n padding: var(--wui-spacing-4xs) var(--wui-spacing-xxs);\n border-radius: var(--wui-border-radius-3xs);\n background-color: transparent;\n color: var(--wui-color-accent-100);\n }\n\n button:disabled {\n background-color: transparent;\n color: var(--wui-gray-glass-015);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-link/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/index.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/index.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiListItem: () => (/* binding */ WuiListItem)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_loading_spinner_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/wui-loading-spinner/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-loading-spinner/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\n\n\n\nlet WuiListItem = class WuiListItem extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'icon';\n this.disabled = false;\n this.imageSrc = undefined;\n this.alt = undefined;\n this.chevron = false;\n this.loading = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button\n ?disabled=${this.loading ? true : Boolean(this.disabled)}\n data-loading=${this.loading}\n data-iconvariant=${(0,lit_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_2__.ifDefined)(this.iconVariant)}\n ontouchstart\n >\n ${this.loadingTemplate()} ${this.visualTemplate()}\n <wui-flex gap=\"3xs\">\n <slot></slot>\n </wui-flex>\n ${this.chevronTemplate()}\n </button>\n `;\n }\n visualTemplate() {\n if (this.variant === 'image' && this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.alt ?? 'list item'}></wui-image>`;\n }\n else if (this.iconVariant === 'square' && this.icon && this.variant === 'icon') {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon name=${this.icon}></wui-icon>`;\n }\n else if (this.variant === 'icon' && this.icon && this.iconVariant) {\n const color = ['blue', 'square-blue'].includes(this.iconVariant) ? 'accent-100' : 'fg-200';\n const size = this.iconVariant === 'square-blue' ? 'mdl' : 'md';\n const iconSize = this.iconSize ? this.iconSize : size;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon-box\n data-variant=${this.iconVariant}\n icon=${this.icon}\n iconSize=${iconSize}\n background=\"transparent\"\n iconColor=${color}\n backgroundColor=${color}\n size=${size}\n ></wui-icon-box>\n `;\n }\n return null;\n }\n loadingTemplate() {\n if (this.loading) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-loading-spinner color=\"fg-300\"></wui-loading-spinner>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ``;\n }\n chevronTemplate() {\n if (this.chevron) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"inherit\" color=\"fg-200\" name=\"chevronRight\"></wui-icon>`;\n }\n return null;\n }\n};\nWuiListItem.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_8__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_8__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_11__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListItem.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListItem.prototype, \"iconSize\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListItem.prototype, \"variant\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListItem.prototype, \"iconVariant\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiListItem.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListItem.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListItem.prototype, \"alt\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiListItem.prototype, \"chevron\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiListItem.prototype, \"loading\", void 0);\nWuiListItem = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_9__.customElement)('wui-list-item')\n], WuiListItem);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n column-gap: var(--wui-spacing-s);\n padding: 11px 18px 11px var(--wui-spacing-s);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-250);\n }\n\n button[data-iconvariant='square'],\n button[data-iconvariant='square-blue'] {\n padding: 6px 18px 6px 9px;\n }\n\n button > wui-flex {\n flex: 1;\n }\n\n button > wui-image {\n width: 32px;\n height: 32px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n border-radius: var(--wui-border-radius-3xl);\n }\n\n button > wui-icon {\n width: 36px;\n height: 36px;\n }\n\n button > wui-icon-box[data-variant='blue'] {\n box-shadow: 0 0 0 2px var(--wui-accent-glass-005);\n }\n\n button > wui-icon-box[data-variant='overlay'] {\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n\n button > wui-icon-box[data-variant='square-blue'] {\n border-radius: var(--wui-border-radius-3xs);\n position: relative;\n border: none;\n width: 36px;\n height: 36px;\n }\n\n button > wui-icon-box[data-variant='square-blue']::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-accent-glass-010);\n pointer-events: none;\n }\n\n button > wui-icon:last-child {\n width: 14px;\n height: 14px;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n button[data-loading='true'] > wui-icon {\n transition: opacity 200ms ease-in-out;\n opacity: 0;\n }\n\n wui-loading-spinner {\n position: absolute;\n right: 18px;\n top: 50%;\n transform: translateY(-50%);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-item/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/index.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/index.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiListWallet: () => (/* binding */ WuiListWallet)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_all_wallets_image_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-all-wallets-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-all-wallets-image/index.js\");\n/* harmony import */ var _wui_tag_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../wui-tag/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js\");\n/* harmony import */ var _wui_wallet_image_index_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../wui-wallet-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\n\nlet WuiListWallet = class WuiListWallet extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.walletImages = [];\n this.imageSrc = '';\n this.name = '';\n this.disabled = false;\n this.showAllWallets = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n ${this.templateAllWallets()} ${this.templateWalletImage()}\n <wui-text variant=\"paragraph-500\" color=\"inherit\">${this.name}</wui-text>\n ${this.templateStatus()}\n </button>\n `;\n }\n templateAllWallets() {\n if (this.showAllWallets && this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-all-wallets-image .imageeSrc=${this.imageSrc}> </wui-all-wallets-image> `;\n }\n else if (this.showAllWallets && this.walletIcon) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` <wui-wallet-image .walletIcon=${this.walletIcon} size=\"sm\"> </wui-wallet-image> `;\n }\n return null;\n }\n templateWalletImage() {\n if (!this.showAllWallets && this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-wallet-image\n size=\"sm\"\n imageSrc=${this.imageSrc}\n name=${this.name}\n ></wui-wallet-image>`;\n }\n else if (!this.showAllWallets && !this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-wallet-image size=\"sm\" name=${this.name}></wui-wallet-image>`;\n }\n return null;\n }\n templateStatus() {\n if (this.tagLabel && this.tagVariant) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-tag variant=${this.tagVariant}>${this.tagLabel}</wui-tag>`;\n }\n else if (this.icon) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon color=\"inherit\" size=\"sm\" name=${this.icon}></wui-icon>`;\n }\n return null;\n }\n};\nWuiListWallet.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_9__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Array })\n], WuiListWallet.prototype, \"walletImages\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListWallet.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListWallet.prototype, \"name\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListWallet.prototype, \"tagLabel\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListWallet.prototype, \"tagVariant\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListWallet.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiListWallet.prototype, \"walletIcon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiListWallet.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiListWallet.prototype, \"showAllWallets\", void 0);\nWuiListWallet = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-list-wallet')\n], WuiListWallet);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js":
/*!**************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js ***!
\**************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button {\n column-gap: var(--wui-spacing-s);\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n width: 100%;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n color: var(--wui-color-fg-100);\n }\n\n button > wui-text:nth-child(2) {\n display: flex;\n flex: 1;\n }\n\n wui-icon {\n color: var(--wui-color-fg-200) !important;\n }\n\n button:disabled {\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n button:disabled > wui-tag {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-300);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-list-wallet/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLogoSelect: () => (/* binding */ WuiLogoSelect)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_logo_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../wui-logo/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiLogoSelect = class WuiLogoSelect extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.logo = 'google';\n this.disabled = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled} ontouchstart>\n <wui-logo logo=${this.logo}></wui-logo>\n </button>\n `;\n }\n};\nWuiLogoSelect.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLogoSelect.prototype, \"logo\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiLogoSelect.prototype, \"disabled\", void 0);\nWuiLogoSelect = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-logo-select')\n], WuiLogoSelect);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js":
/*!**************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js ***!
\**************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n }\n\n button {\n width: 50px;\n height: 50px;\n background: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-xs);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo-select/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiLogo: () => (/* binding */ WuiLogo)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiLogo = class WuiLogo extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.logo = 'google';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon color=\"inherit\" size=\"inherit\" name=${this.logo}></wui-icon> `;\n }\n};\nWuiLogo.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiLogo.prototype, \"logo\", void 0);\nWuiLogo = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-logo')\n], WuiLogo);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n width: 40px;\n height: 40px;\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-010);\n overflow: hidden;\n }\n\n wui-icon {\n width: 100%;\n height: 100%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-logo/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/index.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/index.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiNetworkButton: () => (/* binding */ WuiNetworkButton)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiNetworkButton = class WuiNetworkButton extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.imageSrc = undefined;\n this.disabled = false;\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button ?disabled=${this.disabled}>\n ${this.visualTemplate()}\n <wui-text variant=\"paragraph-600\" color=\"inherit\">\n <slot></slot>\n </wui-text>\n </button>\n `;\n }\n visualTemplate() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon-box\n size=\"sm\"\n iconColor=\"inverse-100\"\n backgroundColor=\"fg-100\"\n icon=\"networkPlaceholder\"\n ></wui-icon-box>\n `;\n }\n};\nWuiNetworkButton.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiNetworkButton.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiNetworkButton.prototype, \"disabled\", void 0);\nWuiNetworkButton = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-network-button')\n], WuiNetworkButton);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n display: flex;\n gap: var(--wui-spacing-xs);\n padding: var(--wui-spacing-2xs) var(--wui-spacing-s) var(--wui-spacing-2xs)\n var(--wui-spacing-xs);\n border: 1px solid var(--wui-gray-glass-010);\n background-color: var(--wui-gray-glass-005);\n color: var(--wui-color-fg-100);\n }\n\n button:disabled {\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-gray-glass-015);\n color: var(--wui-gray-glass-015);\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n button:active:enabled {\n background-color: var(--wui-gray-glass-015);\n }\n }\n\n wui-image,\n wui-icon-box {\n border-radius: var(--wui-border-radius-3xl);\n width: 24px;\n height: 24px;\n box-shadow: 0 0 0 2px var(--wui-gray-glass-005);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-button/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiNetworkImage: () => (/* binding */ WuiNetworkImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../assets/svg/network.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/network.js\");\n/* harmony import */ var _assets_svg_networkLg_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../assets/svg/networkLg.js */ \"./node_modules/@web3modal/ui/dist/esm/src/assets/svg/networkLg.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiNetworkImage = class WuiNetworkImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = 'uknown';\n this.selected = false;\n }\n render() {\n const isLg = this.size === 'lg';\n this.style.cssText = `\n --local-stroke: ${this.selected ? 'var(--wui-color-accent-100)' : 'var(--wui-gray-glass-010)'};\n --local-path: ${isLg ? 'var(--wui-path-network-lg)' : 'var(--wui-path-network)'};\n --local-width: ${isLg ? '86px' : '48px'};\n --local-height: ${isLg ? '96px' : '54px'};\n --local-icon-size: ${isLg ? '42px' : '24px'};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.templateVisual()} ${isLg ? _assets_svg_networkLg_js__WEBPACK_IMPORTED_MODULE_3__.networkLgSvg : _assets_svg_network_js__WEBPACK_IMPORTED_MODULE_2__.networkSvg}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"inherit\" color=\"fg-200\" name=\"networkPlaceholder\"></wui-icon>`;\n }\n};\nWuiNetworkImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_6__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_8__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiNetworkImage.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiNetworkImage.prototype, \"name\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiNetworkImage.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiNetworkImage.prototype, \"selected\", void 0);\nWuiNetworkImage = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_7__.customElement)('wui-network-image')\n], WuiNetworkImage);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n border-radius: inherit;\n display: flex;\n justify-content: center;\n align-items: center;\n width: var(--local-width);\n height: var(--local-height);\n }\n\n svg {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n fill: var(--wui-gray-glass-002);\n }\n\n svg > path {\n stroke: var(--local-stroke);\n transition: stroke var(--wui-ease-out-power-1) var(--wui-duration-lg);\n }\n\n wui-image {\n width: 100%;\n height: 100%;\n -webkit-clip-path: var(--local-path);\n clip-path: var(--local-path);\n background: var(--wui-gray-glass-002);\n }\n\n wui-icon {\n transform: translateY(-5%);\n width: var(--local-icon-size);\n height: var(--local-icon-size);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-network-image/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/index.js":
/*!*****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/index.js ***!
\*****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiOtp: () => (/* binding */ WuiOtp)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _layout_wui_flex_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../layout/wui-flex/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_input_numeric_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-input-numeric/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-numeric/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\n\nlet WuiOtp = class WuiOtp extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.length = 6;\n this.numerics = [];\n this.handleKeyDown = (e, index) => {\n const inputElement = e.target;\n const input = this.getInputElement(inputElement);\n const keyArr = ['ArrowLeft', 'ArrowRight', 'Shift', 'Delete'];\n if (!input) {\n return;\n }\n if (keyArr.includes(e.key)) {\n e.preventDefault();\n }\n const currentCaretPos = input.selectionStart;\n switch (e.key) {\n case 'ArrowLeft':\n if (currentCaretPos) {\n input.setSelectionRange(currentCaretPos + 1, currentCaretPos + 1);\n }\n this.focusInputField('prev', index);\n break;\n case 'ArrowRight':\n this.focusInputField('next', index);\n break;\n case 'Shift':\n this.focusInputField('next', index);\n break;\n case 'Delete':\n if (input.value === '') {\n this.focusInputField('prev', index);\n }\n else {\n input.value = '';\n }\n break;\n case 'Backspace':\n if (input.value === '') {\n this.focusInputField('prev', index);\n }\n else {\n input.value = '';\n }\n break;\n default:\n }\n };\n this.focusInputField = (dir, index) => {\n if (dir === 'next') {\n const nextIndex = index + 1;\n const numeric = this.numerics[nextIndex < this.length ? nextIndex : index];\n const input = numeric ? this.getInputElement(numeric) : undefined;\n if (input) {\n input.focus();\n }\n }\n if (dir === 'prev') {\n const nextIndex = index - 1;\n const numeric = this.numerics[nextIndex > -1 ? nextIndex : index];\n const input = numeric ? this.getInputElement(numeric) : undefined;\n if (input) {\n input.focus();\n }\n }\n };\n }\n firstUpdated() {\n const numericElements = this.shadowRoot?.querySelectorAll('wui-input-numeric');\n if (numericElements) {\n this.numerics = Array.from(numericElements);\n }\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-flex gap=\"xxs\">\n ${[...Array(this.length)].map((_, index) => (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-input-numeric\n @input=${(e) => this.handleInput(e, index)}\n @keydown=${(e) => this.handleKeyDown(e, index)}\n >\n </wui-input-numeric>\n `)}\n </wui-flex>\n `;\n }\n handleInput(e, index) {\n const inputElement = e.target;\n const input = this.getInputElement(inputElement);\n if (input) {\n const inputValue = input.value;\n if (e.inputType === 'insertFromPaste') {\n this.handlePaste(input, inputValue, index);\n }\n else {\n const isValid = _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__.UiHelperUtil.isNumber(inputValue);\n if (isValid && e.data) {\n input.value = e.data;\n this.focusInputField('next', index);\n }\n else {\n input.value = '';\n }\n }\n }\n }\n handlePaste(input, inputValue, index) {\n const value = inputValue[0];\n const isValid = value && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_4__.UiHelperUtil.isNumber(value);\n if (isValid) {\n input.value = value;\n const inputString = inputValue.substring(1);\n if (index + 1 < this.length && inputString.length) {\n const nextNumeric = this.numerics[index + 1];\n const nextInput = nextNumeric ? this.getInputElement(nextNumeric) : undefined;\n if (nextInput) {\n this.handlePaste(nextInput, inputString, index + 1);\n }\n }\n else {\n this.focusInputField('next', index);\n }\n }\n else {\n input.value = '';\n }\n }\n getInputElement(el) {\n if (el.shadowRoot?.querySelector('input')) {\n return el.shadowRoot.querySelector('input');\n }\n return null;\n }\n};\nWuiOtp.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Number })\n], WuiOtp.prototype, \"length\", void 0);\nWuiOtp = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-otp')\n], WuiOtp);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: block;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-otp/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/index.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/index.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiQrCode: () => (/* binding */ WuiQrCode)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_QrCode_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/QrCode.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiQrCode = class WuiQrCode extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.uri = '';\n this.size = 0;\n this.theme = 'dark';\n this.imageSrc = undefined;\n this.alt = undefined;\n }\n render() {\n this.dataset['theme'] = this.theme;\n this.style.cssText = `--local-size: ${this.size}px`;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.templateVisual()} ${this.templateSvg()}`;\n }\n templateSvg() {\n const size = this.theme === 'light' ? this.size : this.size - 16 * 2;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n <svg height=${size} width=${size}>\n ${_utils_QrCode_js__WEBPACK_IMPORTED_MODULE_4__.QrCodeUtil.generate(this.uri, size, size / 4)}\n </svg>\n `;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.alt ?? 'logo'}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"inherit\" color=\"inherit\" name=\"walletConnect\"></wui-icon>`;\n }\n};\nWuiQrCode.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_5__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiQrCode.prototype, \"uri\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Number })\n], WuiQrCode.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiQrCode.prototype, \"theme\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiQrCode.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiQrCode.prototype, \"alt\", void 0);\nWuiQrCode = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_6__.customElement)('wui-qr-code')\n], WuiQrCode);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n user-select: none;\n display: block;\n overflow: hidden;\n aspect-ratio: 1 / 1;\n width: var(--local-size);\n }\n\n :host([data-theme='dark']) {\n border-radius: clamp(0px, var(--wui-border-radius-l), 40px);\n background-color: var(--wui-color-inverse-100);\n padding: var(--wui-spacing-l);\n }\n\n :host([data-theme='light']) {\n box-shadow: 0 0 0 1px var(--wui-color-bg-125);\n background-color: var(--wui-color-bg-125);\n }\n\n svg:first-child,\n wui-image,\n wui-icon {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translateY(-50%) translateX(-50%);\n }\n\n wui-image {\n width: 25%;\n height: 25%;\n border-radius: var(--wui-border-radius-xs);\n }\n\n wui-icon {\n width: 100%;\n height: 100%;\n color: #3396ff !important;\n transform: translateY(-50%) translateX(-50%) scale(0.25);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-qr-code/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiSearchBar: () => (/* binding */ WuiSearchBar)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/directives/ref.js */ \"./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js\");\n/* harmony import */ var _composites_wui_input_element_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../composites/wui-input-element/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-element/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_input_text_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../wui-input-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-input-text/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiSearchBar = class WuiSearchBar extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.inputComponentRef = (0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_1__.createRef)();\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-input-text\n ${(0,lit_directives_ref_js__WEBPACK_IMPORTED_MODULE_1__.ref)(this.inputComponentRef)}\n placeholder=\"Search wallet\"\n icon=\"search\"\n type=\"search\"\n enterKeyHint=\"search\"\n size=\"sm\"\n >\n <wui-input-element @click=${this.clearValue} icon=\"close\"></wui-input-element>\n </wui-input-text>\n `;\n }\n clearValue() {\n const inputComponent = this.inputComponentRef.value;\n const inputElement = inputComponent?.inputElementRef.value;\n if (inputElement) {\n inputElement.value = '';\n inputElement.focus();\n inputElement.dispatchEvent(new Event('input'));\n }\n }\n};\nWuiSearchBar.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\nWuiSearchBar = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-search-bar')\n], WuiSearchBar);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js":
/*!*************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js ***!
\*************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: inline-block;\n width: 100%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-search-bar/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiSnackbar: () => (/* binding */ WuiSnackbar)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiSnackbar = class WuiSnackbar extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.backgroundColor = 'accent-100';\n this.iconColor = 'accent-100';\n this.icon = 'checkmark';\n this.message = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon-box\n size=\"xs\"\n iconColor=${this.iconColor}\n backgroundColor=${this.backgroundColor}\n icon=${this.icon}\n ></wui-icon-box>\n <wui-text variant=\"paragraph-500\" color=\"fg-100\">${this.message}</wui-text>\n `;\n }\n};\nWuiSnackbar.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"backgroundColor\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"iconColor\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"icon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSnackbar.prototype, \"message\", void 0);\nWuiSnackbar = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-snackbar')\n], WuiSnackbar);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n column-gap: var(--wui-spacing-xs);\n align-items: center;\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n border-radius: var(--wui-border-radius-3xl);\n border: 1px solid var(--wui-gray-glass-005);\n background-color: var(--wui-color-bg-175);\n box-shadow:\n 0px 14px 64px -4px rgba(0, 0, 0, 0.15),\n 0px 8px 22px -6px rgba(0, 0, 0, 0.15);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-snackbar/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/index.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/index.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTabs: () => (/* binding */ WuiTabs)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\nlet WuiTabs = class WuiTabs extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.tabs = [];\n this.onTabChange = () => null;\n this.buttons = [];\n this.disabled = false;\n this.activeTab = 0;\n this.localTabWidth = '100px';\n this.isDense = false;\n }\n render() {\n this.isDense = this.tabs.length > 3;\n this.style.cssText = `\n --local-tab: ${this.activeTab};\n --local-tab-width: ${this.localTabWidth};\n `;\n this.dataset['type'] = this.isDense ? 'flex' : 'block';\n return this.tabs.map((tab, index) => {\n const isActive = index === this.activeTab;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <button\n ?disabled=${this.disabled}\n @click=${() => this.onTabClick(index)}\n data-active=${isActive}\n >\n <wui-icon size=\"sm\" color=\"inherit\" name=${tab.icon}></wui-icon>\n <wui-text variant=\"small-600\" color=\"inherit\"> ${tab.label} </wui-text>\n </button>\n `;\n });\n }\n firstUpdated() {\n if (this.shadowRoot && this.isDense) {\n this.buttons = [...this.shadowRoot.querySelectorAll('button')];\n setTimeout(() => {\n this.animateTabs(0, true);\n }, 0);\n }\n }\n onTabClick(index) {\n if (this.buttons) {\n this.animateTabs(index, false);\n }\n this.activeTab = index;\n this.onTabChange(index);\n }\n animateTabs(index, initialAnimation) {\n const passiveBtn = this.buttons[this.activeTab];\n const activeBtn = this.buttons[index];\n const passiveBtnText = passiveBtn?.querySelector('wui-text');\n const activeBtnText = activeBtn?.querySelector('wui-text');\n const activeBtnBounds = activeBtn?.getBoundingClientRect();\n const activeBtnTextBounds = activeBtnText?.getBoundingClientRect();\n if (passiveBtn && passiveBtnText && !initialAnimation && index !== this.activeTab) {\n passiveBtnText.animate([{ opacity: 0 }], {\n duration: 50,\n easing: 'ease',\n fill: 'forwards'\n });\n passiveBtn.animate([{ width: `34px` }], {\n duration: 500,\n easing: 'ease',\n fill: 'forwards'\n });\n }\n if (activeBtn && activeBtnBounds && activeBtnTextBounds && activeBtnText) {\n if (index !== this.activeTab || initialAnimation) {\n this.localTabWidth = `${Math.round(activeBtnBounds.width + activeBtnTextBounds.width) + 6}px`;\n activeBtn.animate([{ width: `${activeBtnBounds.width + activeBtnTextBounds.width}px` }], {\n duration: initialAnimation ? 0 : 500,\n fill: 'forwards',\n easing: 'ease'\n });\n activeBtnText.animate([{ opacity: 1 }], {\n duration: initialAnimation ? 0 : 125,\n delay: initialAnimation ? 0 : 200,\n fill: 'forwards',\n easing: 'ease'\n });\n }\n }\n }\n};\nWuiTabs.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_4__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Array })\n], WuiTabs.prototype, \"tabs\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTabs.prototype, \"onTabChange\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Array })\n], WuiTabs.prototype, \"buttons\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiTabs.prototype, \"disabled\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.state)()\n], WuiTabs.prototype, \"activeTab\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.state)()\n], WuiTabs.prototype, \"localTabWidth\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.state)()\n], WuiTabs.prototype, \"isDense\", void 0);\nWuiTabs = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_3__.customElement)('wui-tabs')\n], WuiTabs);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: inline-flex;\n background-color: var(--wui-gray-glass-002);\n border-radius: var(--wui-border-radius-3xl);\n padding: var(--wui-spacing-3xs);\n position: relative;\n height: 36px;\n overflow: hidden;\n }\n\n :host::before {\n content: '';\n position: absolute;\n pointer-events: none;\n top: 4px;\n left: 4px;\n display: block;\n width: var(--local-tab-width);\n height: 28px;\n border-radius: var(--wui-border-radius-3xl);\n background-color: var(--wui-gray-glass-002);\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-002);\n transform: translateX(calc(var(--local-tab) * var(--local-tab-width)));\n transition: transform var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n :host([data-type='flex'])::before {\n left: 3px;\n transform: translateX(calc((var(--local-tab) * 34px) + (var(--local-tab) * 4px)));\n }\n\n :host([data-type='flex']) {\n display: flex;\n padding: 0px 0px 0px 12px;\n gap: 4px;\n }\n\n :host([data-type='flex']) > button > wui-text {\n position: absolute;\n left: 18px;\n opacity: 0;\n }\n\n button[data-active='true'] > wui-icon,\n button[data-active='true'] > wui-text {\n color: var(--wui-color-fg-100);\n }\n\n button[data-active='false'] > wui-icon,\n button[data-active='false'] > wui-text {\n color: var(--wui-color-fg-200);\n }\n\n button[data-active='true']:disabled,\n button[data-active='false']:disabled {\n background-color: transparent;\n opacity: 0.5;\n cursor: not-allowed;\n }\n\n button[data-active='true']:disabled > wui-text {\n color: var(--wui-color-fg-200);\n }\n\n button[data-active='false']:disabled > wui-text {\n color: var(--wui-color-fg-300);\n }\n\n button > wui-icon,\n button > wui-text {\n pointer-events: none;\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-lg);\n }\n\n button {\n width: var(--local-tab-width);\n }\n\n :host([data-type='flex']) > button {\n width: 34px;\n position: relative;\n display: flex;\n justify-content: flex-start;\n }\n\n button:hover:enabled,\n button:active:enabled {\n background-color: transparent !important;\n }\n\n button:hover:enabled > wui-icon,\n button:active:enabled > wui-icon {\n color: var(--wui-color-fg-125);\n }\n\n button:hover:enabled > wui-text,\n button:active:enabled > wui-text {\n color: var(--wui-color-fg-125);\n }\n\n button {\n border-radius: var(--wui-border-radius-3xl);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tabs/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js":
/*!*****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js ***!
\*****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTag: () => (/* binding */ WuiTag)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiTag = class WuiTag extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.variant = 'main';\n }\n render() {\n this.dataset['variant'] = this.variant;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-text data-variant=${this.variant} variant=\"micro-700\" color=\"inherit\">\n <slot></slot>\n </wui-text>\n `;\n }\n};\nWuiTag.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTag.prototype, \"variant\", void 0);\nWuiTag = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-tag')\n], WuiTag);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n padding: 3.5px 5px !important;\n border-radius: var(--wui-border-radius-5xs);\n }\n\n :host([data-variant='main']) {\n background-color: var(--wui-accent-glass-015);\n color: var(--wui-color-accent-100);\n }\n\n :host([data-variant='shade']) {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-color-fg-200);\n }\n\n :host([data-variant='success']) {\n background-color: var(--wui-icon-box-bg-success-100);\n color: var(--wui-color-success-100);\n }\n\n :host([data-variant='error']) {\n background-color: var(--wui-icon-box-bg-error-100);\n color: var(--wui-color-error-100);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tag/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js":
/*!*********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTooltip: () => (/* binding */ WuiTooltip)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiTooltip = class WuiTooltip extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.placement = 'top';\n this.message = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-placement=${this.placement}\n color=\"fg-100\"\n size=\"inherit\"\n name=\"cursor\"\n ></wui-icon>\n <wui-text color=\"inherit\" variant=\"small-500\">${this.message}</wui-text>`;\n }\n};\nWuiTooltip.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.elementStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTooltip.prototype, \"placement\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTooltip.prototype, \"message\", void 0);\nWuiTooltip = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-tooltip')\n], WuiTooltip);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: block;\n padding: 9px var(--wui-spacing-s) 10px var(--wui-spacing-s);\n border-radius: var(--wui-border-radius-xxs);\n background-color: var(--wui-color-fg-100);\n color: var(--wui-color-bg-100);\n position: relative;\n }\n\n wui-icon {\n position: absolute;\n width: 12px !important;\n height: 4px !important;\n }\n\n wui-icon[data-placement='top'] {\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 95%);\n }\n\n wui-icon[data-placement='bottom'] {\n top: 0;\n left: 50%;\n transform: translate(-50%, -95%) rotate(180deg);\n }\n\n wui-icon[data-placement='right'] {\n top: 50%;\n left: 0;\n transform: translate(-65%, -50%) rotate(90deg);\n }\n\n wui-icon[data-placement='left'] {\n top: 50%;\n right: 0%;\n transform: translate(65%, -50%) rotate(270deg);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-tooltip/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js":
/*!******************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js ***!
\******************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTransactionListItemLoader: () => (/* binding */ WuiTransactionListItemLoader)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _wui_transaction_visual_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../wui-transaction-visual/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiTransactionListItemLoader = class WuiTransactionListItemLoader extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-flex alignItems=\"center\">\n <wui-shimmer width=\"40px\" height=\"40px\"></wui-shimmer>\n <wui-flex flexDirection=\"column\" gap=\"2xs\">\n <wui-shimmer width=\"72px\" height=\"16px\" borderRadius=\"4xs\"></wui-shimmer>\n <wui-shimmer width=\"148px\" height=\"14px\" borderRadius=\"4xs\"></wui-shimmer>\n </wui-flex>\n <wui-shimmer width=\"24px\" height=\"12px\" borderRadius=\"5xs\"></wui-shimmer>\n </wui-flex>\n `;\n }\n};\nWuiTransactionListItemLoader.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\nWuiTransactionListItemLoader = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_1__.customElement)('wui-transaction-list-item-loader')\n], WuiTransactionListItemLoader);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js":
/*!*******************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js ***!
\*******************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex:first-child {\n column-gap: var(--wui-spacing-s);\n padding: 7px var(--wui-spacing-l) 7px var(--wui-spacing-xs);\n width: 100%;\n }\n\n wui-flex {\n display: flex;\n flex: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item-loader/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/index.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/index.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTransactionListItem: () => (/* binding */ WuiTransactionListItem)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _utils_TypeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/TypeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _wui_transaction_visual_index_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../wui-transaction-visual/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\n\nlet WuiTransactionListItem = class WuiTransactionListItem extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.type = 'approve';\n this.onlyDirectionIcon = false;\n this.images = [];\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-flex>\n <wui-transaction-visual\n status=${this.status}\n direction=${this.direction}\n type=${this.type}\n onlyDirectionIcon=${this.onlyDirectionIcon}\n .images=${this.images}\n ></wui-transaction-visual>\n <wui-flex flexDirection=\"column\" gap=\"3xs\">\n <wui-text variant=\"paragraph-600\" color=\"fg-100\">\n ${_utils_TypeUtil_js__WEBPACK_IMPORTED_MODULE_3__.TransactionTypePastTense[this.type]}\n </wui-text>\n <wui-flex class=\"description-container\">\n ${this.templateDescription()} ${this.templateSecondDescription()}\n </wui-flex>\n </wui-flex>\n <wui-text variant=\"micro-700\" color=\"fg-300\"><span>${this.date}</span></wui-text>\n </wui-flex>\n `;\n }\n templateDescription() {\n const description = this.descriptions?.[0];\n return description\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-text variant=\"small-500\" color=\"fg-200\">\n <span>${description}</span>\n </wui-text>\n `\n : null;\n }\n templateSecondDescription() {\n const description = this.descriptions?.[1];\n return description\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon class=\"description-separator-icon\" size=\"xxs\" name=\"arrowRight\"></wui-icon>\n <wui-text variant=\"small-400\" color=\"fg-200\">\n <span>${description}</span>\n </wui-text>\n `\n : null;\n }\n};\nWuiTransactionListItem.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_7__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionListItem.prototype, \"type\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionListItem.prototype, \"descriptions\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionListItem.prototype, \"date\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionListItem.prototype, \"onlyDirectionIcon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionListItem.prototype, \"status\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionListItem.prototype, \"direction\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionListItem.prototype, \"images\", void 0);\nWuiTransactionListItem = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-transaction-list-item')\n], WuiTransactionListItem);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js":
/*!************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js ***!
\************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex:first-child {\n align-items: center;\n column-gap: var(--wui-spacing-s);\n padding: 6.5px var(--wui-spacing-l) 6.5px var(--wui-spacing-xs);\n width: 100%;\n }\n\n :host > wui-flex:first-child wui-text:nth-child(1) {\n text-transform: capitalize;\n }\n\n wui-transaction-visual {\n width: 40px;\n height: 40px;\n }\n\n wui-flex {\n flex: 1;\n }\n\n :host wui-flex wui-flex {\n overflow: hidden;\n }\n\n :host .description-container wui-text span {\n word-break: break-all;\n }\n\n :host .description-container wui-text {\n overflow: hidden;\n }\n\n :host .description-separator-icon {\n margin: 0px 6px;\n }\n\n :host wui-text > span {\n overflow: hidden;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 1;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-list-item/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js":
/*!********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js ***!
\********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiTransactionVisual: () => (/* binding */ WuiTransactionVisual)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _wui_icon_box_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../wui-icon-box/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-icon-box/index.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiTransactionVisual = class WuiTransactionVisual extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.images = [];\n this.secondImage = {\n type: undefined,\n url: ''\n };\n }\n render() {\n const [firstImage, secondImage] = this.images;\n const isLeftNFT = firstImage?.type === 'NFT';\n const isRightNFT = secondImage?.url ? secondImage.type === 'NFT' : isLeftNFT;\n const leftRadius = isLeftNFT ? 'var(--wui-border-radius-xxs)' : 'var(--wui-border-radius-s)';\n const rightRadius = isRightNFT ? 'var(--wui-border-radius-xxs)' : 'var(--wui-border-radius-s)';\n this.style.cssText = `\n --local-left-border-radius: ${leftRadius};\n --local-right-border-radius: ${rightRadius};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-flex> ${this.templateVisual()} ${this.templateIcon()} </wui-flex>`;\n }\n templateVisual() {\n const [firstImage, secondImage] = this.images;\n const firstImageType = firstImage?.type;\n const haveTwoImages = this.images.length === 2;\n if (haveTwoImages && (firstImage?.url || secondImage?.url)) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<div class=\"swap-images-container\">\n ${firstImage?.url\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${firstImage.url} alt=\"Transaction image\"></wui-image>`\n : null}\n ${secondImage?.url\n ? (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${secondImage.url} alt=\"Transaction image\"></wui-image>`\n : null}\n </div>`;\n }\n else if (firstImage?.url) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${firstImage.url} alt=\"Transaction image\"></wui-image>`;\n }\n else if (firstImageType === 'NFT') {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"inherit\" color=\"fg-200\" name=\"nftPlaceholder\"></wui-icon>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon size=\"inherit\" color=\"fg-200\" name=\"coinPlaceholder\"></wui-icon>`;\n }\n templateIcon() {\n let color = 'accent-100';\n let icon = undefined;\n icon = this.getIcon();\n if (this.status) {\n color = this.getStatusColor();\n }\n if (!icon) {\n return null;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `\n <wui-icon-box\n size=\"xxs\"\n iconColor=${color}\n backgroundColor=${color}\n background=\"opaque\"\n icon=${icon}\n ?border=${true}\n borderColor=\"wui-color-bg-125\"\n ></wui-icon-box>\n `;\n }\n getDirectionIcon() {\n switch (this.direction) {\n case 'in':\n return 'arrowBottom';\n case 'out':\n return 'arrowTop';\n default:\n return undefined;\n }\n }\n getIcon() {\n if (this.onlyDirectionIcon) {\n return this.getDirectionIcon();\n }\n if (this.type === 'trade') {\n return 'swapHorizontalBold';\n }\n else if (this.type === 'approve') {\n return 'checkmark';\n }\n else if (this.type === 'cancel') {\n return 'close';\n }\n return this.getDirectionIcon();\n }\n getStatusColor() {\n switch (this.status) {\n case 'confirmed':\n return 'success-100';\n case 'failed':\n return 'error-100';\n case 'pending':\n return 'inverse-100';\n default:\n return 'accent-100';\n }\n }\n};\nWuiTransactionVisual.styles = [_styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionVisual.prototype, \"type\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionVisual.prototype, \"status\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionVisual.prototype, \"direction\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionVisual.prototype, \"onlyDirectionIcon\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionVisual.prototype, \"images\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiTransactionVisual.prototype, \"secondImage\", void 0);\nWuiTransactionVisual = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_2__.customElement)('wui-transaction-visual')\n], WuiTransactionVisual);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js":
/*!*********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js ***!
\*********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host > wui-flex {\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n width: 40px;\n height: 40px;\n box-shadow: inset 0 0 0 1px var(--wui-gray-glass-005);\n background-color: var(--wui-gray-glass-005);\n }\n\n :host > wui-flex wui-image {\n display: block;\n z-index: -1;\n }\n\n :host > wui-flex,\n :host > wui-flex wui-image,\n .swap-images-container,\n .swap-images-container.nft,\n wui-image.nft {\n border-top-left-radius: var(--local-left-border-radius);\n border-top-right-radius: var(--local-right-border-radius);\n border-bottom-left-radius: var(--local-left-border-radius);\n border-bottom-right-radius: var(--local-right-border-radius);\n }\n\n wui-icon {\n width: 20px;\n height: 20px;\n }\n\n wui-icon-box {\n position: absolute;\n right: 0;\n bottom: 0;\n transform: translate(20%, 20%);\n }\n\n .swap-images-container {\n position: relative;\n width: 40px;\n height: 40px;\n overflow: hidden;\n }\n\n .swap-images-container wui-image:first-child {\n position: absolute;\n width: 40px;\n height: 40px;\n top: 0;\n left: 0%;\n clip-path: inset(0px calc(50% + 2px) 0px 0%);\n }\n\n .swap-images-container wui-image:last-child {\n clip-path: inset(0px 0px 0px calc(50% + 2px));\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-transaction-visual/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js":
/*!******************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js ***!
\******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiVisualThumbnail: () => (/* binding */ WuiVisualThumbnail)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiVisualThumbnail = class WuiVisualThumbnail extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n this.style.cssText = `--local-border-radius: ${this.borderRadiusFull ? '1000px' : '20px'};`;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.templateVisual()}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.alt ?? ''}></wui-image>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-parent-size=\"md\"\n size=\"inherit\"\n color=\"inherit\"\n name=\"walletPlaceholder\"\n ></wui-icon>`;\n }\n};\nWuiVisualThumbnail.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiVisualThumbnail.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiVisualThumbnail.prototype, \"alt\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)({ type: Boolean })\n], WuiVisualThumbnail.prototype, \"borderRadiusFull\", void 0);\nWuiVisualThumbnail = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-visual-thumbnail')\n], WuiVisualThumbnail);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js ***!
\*******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 64px;\n height: 64px;\n box-shadow: 0 0 0 8px var(--wui-thumbnail-border);\n border-radius: var(--local-border-radius);\n overflow: hidden;\n }\n\n wui-icon {\n width: 32px;\n height: 32px;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-visual-thumbnail/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js":
/*!**************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js ***!
\**************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiWalletImage: () => (/* binding */ WuiWalletImage)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_icon_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-icon/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-icon/index.js\");\n/* harmony import */ var _components_wui_image_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../components/wui-image/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-image/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\n\nlet WuiWalletImage = class WuiWalletImage extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.size = 'md';\n this.name = '';\n }\n render() {\n let borderRadius = 'xxs';\n if (this.size === 'lg') {\n borderRadius = 'm';\n }\n else if (this.size === 'md') {\n borderRadius = 'xs';\n }\n else {\n borderRadius = 'xxs';\n }\n this.style.cssText = `\n --local-border-radius: var(--wui-border-radius-${borderRadius});\n --local-size: var(--wui-wallet-image-size-${this.size});\n `;\n if (this.walletIcon) {\n this.dataset['walletIcon'] = this.walletIcon;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) ` ${this.templateVisual()}`;\n }\n templateVisual() {\n if (this.imageSrc) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-image src=${this.imageSrc} alt=${this.name}></wui-image>`;\n }\n else if (this.walletIcon) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-parent-size=\"md\"\n size=\"md\"\n color=\"inherit\"\n name=${this.walletIcon}\n ></wui-icon>`;\n }\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-icon\n data-parent-size=${this.size}\n size=\"inherit\"\n color=\"inherit\"\n name=\"walletPlaceholder\"\n ></wui-icon>`;\n }\n};\nWuiWalletImage.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_4__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_6__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiWalletImage.prototype, \"size\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiWalletImage.prototype, \"name\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiWalletImage.prototype, \"imageSrc\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiWalletImage.prototype, \"walletIcon\", void 0);\nWuiWalletImage = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_5__.customElement)('wui-wallet-image')\n], WuiWalletImage);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js":
/*!***************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js ***!
\***************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n border-radius: inherit;\n overflow: hidden;\n background-color: var(--wui-gray-glass-002);\n display: flex;\n justify-content: center;\n align-items: center;\n width: var(--local-size);\n height: var(--local-size);\n border-radius: var(--local-border-radius);\n }\n\n :host::after {\n content: '';\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n border-radius: inherit;\n border: 1px solid var(--wui-gray-glass-010);\n pointer-events: none;\n }\n\n :host([name='Extension'])::after {\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n :host([data-wallet-icon='allWallets']) {\n background-color: var(--wui-all-wallets-bg-100);\n }\n\n :host([data-wallet-icon='allWallets'])::after {\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n wui-icon[data-parent-size='inherit'] {\n width: 75%;\n height: 75%;\n align-items: center;\n }\n\n wui-icon[data-parent-size='sm'] {\n width: 18px;\n height: 18px;\n }\n\n wui-icon[data-parent-size='md'] {\n width: 24px;\n height: 24px;\n }\n\n wui-icon[data-parent-size='lg'] {\n width: 42px;\n height: 42px;\n }\n\n wui-icon[data-parent-size='full'] {\n width: 100%;\n height: 100%;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/composites/wui-wallet-image/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiFlex: () => (/* binding */ WuiFlex)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiFlex = class WuiFlex extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n this.style.cssText = `\n flex-direction: ${this.flexDirection};\n flex-wrap: ${this.flexWrap};\n flex-basis: ${this.flexBasis};\n flex-grow: ${this.flexGrow};\n flex-shrink: ${this.flexShrink};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap && `var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 0)};\n padding-right: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 1)};\n padding-bottom: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 2)};\n padding-left: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 3)};\n margin-top: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 0)};\n margin-right: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 1)};\n margin-bottom: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 2)};\n margin-left: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 3)};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiFlex.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"flexDirection\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"flexWrap\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"flexBasis\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"flexGrow\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"flexShrink\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"alignItems\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"justifyContent\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"columnGap\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"rowGap\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"gap\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"padding\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiFlex.prototype, \"margin\", void 0);\nWuiFlex = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-flex')\n], WuiFlex);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: flex;\n width: inherit;\n height: inherit;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-flex/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/index.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/index.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiGrid: () => (/* binding */ WuiGrid)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiGrid = class WuiGrid extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n render() {\n this.style.cssText = `\n grid-template-rows: ${this.gridTemplateRows};\n grid-template-columns: ${this.gridTemplateColumns};\n justify-items: ${this.justifyItems};\n align-items: ${this.alignItems};\n justify-content: ${this.justifyContent};\n align-content: ${this.alignContent};\n column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};\n row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};\n gap: ${this.gap && `var(--wui-spacing-${this.gap})`};\n padding-top: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 0)};\n padding-right: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 1)};\n padding-bottom: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 2)};\n padding-left: ${this.padding && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.padding, 3)};\n margin-top: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 0)};\n margin-right: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 1)};\n margin-bottom: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 2)};\n margin-left: ${this.margin && _utils_UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_3__.UiHelperUtil.getSpacingStyles(this.margin, 3)};\n `;\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<slot></slot>`;\n }\n};\nWuiGrid.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_2__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"gridTemplateRows\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"gridTemplateColumns\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"justifyItems\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"alignItems\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"justifyContent\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"alignContent\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"columnGap\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"rowGap\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"gap\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"padding\", void 0);\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiGrid.prototype, \"margin\", void 0);\nWuiGrid = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-grid')\n], WuiGrid);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js":
/*!***************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n display: grid;\n width: inherit;\n height: inherit;\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-grid/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js":
/*!*******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WuiSeparator: () => (/* binding */ WuiSeparator)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit/decorators.js */ \"./node_modules/@web3modal/ui/node_modules/lit/decorators.js\");\n/* harmony import */ var _components_wui_text_index_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../components/wui-text/index.js */ \"./node_modules/@web3modal/ui/dist/esm/src/components/wui-text/index.js\");\n/* harmony import */ var _utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ThemeUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js\");\n/* harmony import */ var _utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/WebComponentsUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js\");\n/* harmony import */ var _styles_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./styles.js */ \"./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js\");\nvar __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\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;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n\n\n\n\n\n\nlet WuiSeparator = class WuiSeparator extends lit__WEBPACK_IMPORTED_MODULE_0__.LitElement {\n constructor() {\n super(...arguments);\n this.text = '';\n }\n render() {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `${this.template()}`;\n }\n template() {\n if (this.text) {\n return (0,lit__WEBPACK_IMPORTED_MODULE_0__.html) `<wui-text variant=\"small-500\" color=\"fg-200\">${this.text}</wui-text>`;\n }\n return null;\n }\n};\nWuiSeparator.styles = [_utils_ThemeUtil_js__WEBPACK_IMPORTED_MODULE_3__.resetStyles, _styles_js__WEBPACK_IMPORTED_MODULE_5__[\"default\"]];\n__decorate([\n (0,lit_decorators_js__WEBPACK_IMPORTED_MODULE_1__.property)()\n], WuiSeparator.prototype, \"text\", void 0);\nWuiSeparator = __decorate([\n (0,_utils_WebComponentsUtil_js__WEBPACK_IMPORTED_MODULE_4__.customElement)('wui-separator')\n], WuiSeparator);\n\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js":
/*!********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js ***!
\********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ((0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :host {\n position: relative;\n display: flex;\n width: 100%;\n height: 1px;\n background-color: var(--wui-gray-glass-005);\n justify-content: center;\n align-items: center;\n }\n\n :host > wui-text {\n position: absolute;\n padding: 0px 10px;\n background-color: var(--wui-color-bg-125);\n }\n`);\n//# sourceMappingURL=styles.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/layout/wui-separator/styles.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js":
/*!*****************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ QrCodeUtil: () => (/* binding */ QrCodeUtil)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n/* harmony import */ var qrcode__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! qrcode */ \"./node_modules/qrcode/lib/browser.js\");\n\n\nconst CONNECTING_ERROR_MARGIN = 0.1;\nconst CIRCLE_SIZE_MODIFIER = 2.5;\nconst QRCODE_MATRIX_MARGIN = 7;\nfunction isAdjecentDots(cy, otherCy, cellSize) {\n if (cy === otherCy) {\n return false;\n }\n const diff = cy - otherCy < 0 ? otherCy - cy : cy - otherCy;\n return diff <= cellSize + CONNECTING_ERROR_MARGIN;\n}\nfunction getMatrix(value, errorCorrectionLevel) {\n const arr = Array.prototype.slice.call(qrcode__WEBPACK_IMPORTED_MODULE_1__.create(value, { errorCorrectionLevel }).modules.data, 0);\n const sqrt = Math.sqrt(arr.length);\n return arr.reduce((rows, key, index) => (index % sqrt === 0 ? rows.push([key]) : rows[rows.length - 1].push(key)) && rows, []);\n}\nconst QrCodeUtil = {\n generate(uri, size, logoSize) {\n const dotColor = '#141414';\n const edgeColor = 'transparent';\n const strokeWidth = 5;\n const dots = [];\n const matrix = getMatrix(uri, 'Q');\n const cellSize = size / matrix.length;\n const qrList = [\n { x: 0, y: 0 },\n { x: 1, y: 0 },\n { x: 0, y: 1 }\n ];\n qrList.forEach(({ x, y }) => {\n const x1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * x;\n const y1 = (matrix.length - QRCODE_MATRIX_MARGIN) * cellSize * y;\n const borderRadius = 0.45;\n for (let i = 0; i < qrList.length; i += 1) {\n const dotSize = cellSize * (QRCODE_MATRIX_MARGIN - i * 2);\n dots.push((0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n <rect\n fill=${i === 2 ? dotColor : edgeColor}\n width=${i === 0 ? dotSize - strokeWidth : dotSize}\n rx= ${i === 0 ? (dotSize - strokeWidth) * borderRadius : dotSize * borderRadius}\n ry= ${i === 0 ? (dotSize - strokeWidth) * borderRadius : dotSize * borderRadius}\n stroke=${dotColor}\n stroke-width=${i === 0 ? strokeWidth : 0}\n height=${i === 0 ? dotSize - strokeWidth : dotSize}\n x= ${i === 0 ? y1 + cellSize * i + strokeWidth / 2 : y1 + cellSize * i}\n y= ${i === 0 ? x1 + cellSize * i + strokeWidth / 2 : x1 + cellSize * i}\n />\n `);\n }\n });\n const clearArenaSize = Math.floor((logoSize + 25) / cellSize);\n const matrixMiddleStart = matrix.length / 2 - clearArenaSize / 2;\n const matrixMiddleEnd = matrix.length / 2 + clearArenaSize / 2 - 1;\n const circles = [];\n matrix.forEach((row, i) => {\n row.forEach((_, j) => {\n if (matrix[i][j]) {\n if (!((i < QRCODE_MATRIX_MARGIN && j < QRCODE_MATRIX_MARGIN) ||\n (i > matrix.length - (QRCODE_MATRIX_MARGIN + 1) && j < QRCODE_MATRIX_MARGIN) ||\n (i < QRCODE_MATRIX_MARGIN && j > matrix.length - (QRCODE_MATRIX_MARGIN + 1)))) {\n if (!(i > matrixMiddleStart &&\n i < matrixMiddleEnd &&\n j > matrixMiddleStart &&\n j < matrixMiddleEnd)) {\n const cx = i * cellSize + cellSize / 2;\n const cy = j * cellSize + cellSize / 2;\n circles.push([cx, cy]);\n }\n }\n }\n });\n });\n const circlesToConnect = {};\n circles.forEach(([cx, cy]) => {\n if (circlesToConnect[cx]) {\n circlesToConnect[cx]?.push(cy);\n }\n else {\n circlesToConnect[cx] = [cy];\n }\n });\n Object.entries(circlesToConnect)\n .map(([cx, cys]) => {\n const newCys = cys.filter(cy => cys.every(otherCy => !isAdjecentDots(cy, otherCy, cellSize)));\n return [Number(cx), newCys];\n })\n .forEach(([cx, cys]) => {\n cys.forEach(cy => {\n dots.push((0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `<circle cx=${cx} cy=${cy} fill=${dotColor} r=${cellSize / CIRCLE_SIZE_MODIFIER} />`);\n });\n });\n Object.entries(circlesToConnect)\n .filter(([_, cys]) => cys.length > 1)\n .map(([cx, cys]) => {\n const newCys = cys.filter(cy => cys.some(otherCy => isAdjecentDots(cy, otherCy, cellSize)));\n return [Number(cx), newCys];\n })\n .map(([cx, cys]) => {\n cys.sort((a, b) => (a < b ? -1 : 1));\n const groups = [];\n for (const cy of cys) {\n const group = groups.find(item => item.some(otherCy => isAdjecentDots(cy, otherCy, cellSize)));\n if (group) {\n group.push(cy);\n }\n else {\n groups.push([cy]);\n }\n }\n return [cx, groups.map(item => [item[0], item[item.length - 1]])];\n })\n .forEach(([cx, groups]) => {\n groups.forEach(([y1, y2]) => {\n dots.push((0,lit__WEBPACK_IMPORTED_MODULE_0__.svg) `\n <line\n x1=${cx}\n x2=${cx}\n y1=${y1}\n y2=${y2}\n stroke=${dotColor}\n stroke-width=${cellSize / (CIRCLE_SIZE_MODIFIER / 2)}\n stroke-linecap=\"round\"\n />\n `);\n });\n });\n return dots;\n }\n};\n//# sourceMappingURL=QrCode.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/QrCode.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js":
/*!********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ colorStyles: () => (/* binding */ colorStyles),\n/* harmony export */ elementStyles: () => (/* binding */ elementStyles),\n/* harmony export */ initializeTheming: () => (/* binding */ initializeTheming),\n/* harmony export */ resetStyles: () => (/* binding */ resetStyles),\n/* harmony export */ setColorTheme: () => (/* binding */ setColorTheme),\n/* harmony export */ setThemeVariables: () => (/* binding */ setThemeVariables)\n/* harmony export */ });\n/* harmony import */ var lit__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit */ \"./node_modules/@web3modal/ui/node_modules/lit/index.js\");\n\nlet themeTag = undefined;\nlet darkModeTag = undefined;\nlet lightModeTag = undefined;\nfunction initializeTheming(themeVariables, themeMode) {\n themeTag = document.createElement('style');\n darkModeTag = document.createElement('style');\n lightModeTag = document.createElement('style');\n themeTag.textContent = createRootStyles(themeVariables).core.cssText;\n darkModeTag.textContent = createRootStyles(themeVariables).dark.cssText;\n lightModeTag.textContent = createRootStyles(themeVariables).light.cssText;\n document.head.appendChild(themeTag);\n document.head.appendChild(darkModeTag);\n document.head.appendChild(lightModeTag);\n setColorTheme(themeMode);\n}\nfunction setColorTheme(themeMode) {\n if (darkModeTag && lightModeTag) {\n if (themeMode === 'light') {\n darkModeTag.removeAttribute('media');\n lightModeTag.media = 'enabled';\n }\n else {\n lightModeTag.removeAttribute('media');\n darkModeTag.media = 'enabled';\n }\n }\n}\nfunction setThemeVariables(themeVariables) {\n if (themeTag && darkModeTag && lightModeTag) {\n themeTag.textContent = createRootStyles(themeVariables).core.cssText;\n darkModeTag.textContent = createRootStyles(themeVariables).dark.cssText;\n lightModeTag.textContent = createRootStyles(themeVariables).light.cssText;\n }\n}\nfunction createRootStyles(themeVariables) {\n return {\n core: (0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :root {\n --w3m-color-mix-strength: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-color-mix-strength']\n ? `${themeVariables['--w3m-color-mix-strength']}%`\n : '0%')};\n --w3m-font-family: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-font-family'] ||\n '-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif')};\n --w3m-font-size-master: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-font-size-master'] || '10px')};\n --w3m-border-radius-master: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-border-radius-master'] || '4px')};\n --w3m-z-index: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-z-index'] || 100)};\n\n --wui-font-family: var(--w3m-font-family);\n\n --wui-font-size-micro: var(--w3m-font-size-master);\n --wui-font-size-tiny: calc(var(--w3m-font-size-master) * 1.2);\n --wui-font-size-small: calc(var(--w3m-font-size-master) * 1.4);\n --wui-font-size-paragraph: calc(var(--w3m-font-size-master) * 1.6);\n --wui-font-size-large: calc(var(--w3m-font-size-master) * 2);\n\n --wui-border-radius-5xs: var(--w3m-border-radius-master);\n --wui-border-radius-4xs: calc(var(--w3m-border-radius-master) * 1.5);\n --wui-border-radius-3xs: calc(var(--w3m-border-radius-master) * 2);\n --wui-border-radius-xxs: calc(var(--w3m-border-radius-master) * 3);\n --wui-border-radius-xs: calc(var(--w3m-border-radius-master) * 4);\n --wui-border-radius-s: calc(var(--w3m-border-radius-master) * 5);\n --wui-border-radius-m: calc(var(--w3m-border-radius-master) * 7);\n --wui-border-radius-l: calc(var(--w3m-border-radius-master) * 9);\n --wui-border-radius-3xl: calc(var(--w3m-border-radius-master) * 20);\n\n --wui-font-weight-light: 400;\n --wui-font-weight-regular: 500;\n --wui-font-weight-medium: 600;\n --wui-font-weight-bold: 700;\n\n --wui-letter-spacing-large: -0.8px;\n --wui-letter-spacing-paragraph: -0.64px;\n --wui-letter-spacing-small: -0.56px;\n --wui-letter-spacing-tiny: -0.48px;\n --wui-letter-spacing-micro: -0.2px;\n\n --wui-spacing-0: 0px;\n --wui-spacing-4xs: 2px;\n --wui-spacing-3xs: 4px;\n --wui-spacing-xxs: 6px;\n --wui-spacing-2xs: 7px;\n --wui-spacing-xs: 8px;\n --wui-spacing-1xs: 10px;\n --wui-spacing-s: 12px;\n --wui-spacing-m: 14px;\n --wui-spacing-l: 16px;\n --wui-spacing-2l: 18px;\n --wui-spacing-xl: 20px;\n --wui-spacing-xxl: 24px;\n --wui-spacing-2xl: 32px;\n --wui-spacing-3xl: 40px;\n --wui-spacing-4xl: 90px;\n\n --wui-icon-box-size-xxs: 14px;\n --wui-icon-box-size-xs: 20px;\n --wui-icon-box-size-sm: 24px;\n --wui-icon-box-size-md: 32px;\n --wui-icon-box-size-lg: 40px;\n\n --wui-icon-size-inherit: inherit;\n --wui-icon-size-xxs: 10px;\n --wui-icon-size-xs: 12px;\n --wui-icon-size-sm: 14px;\n --wui-icon-size-md: 16px;\n --wui-icon-size-mdl: 18px;\n --wui-icon-size-lg: 20px;\n --wui-icon-size-xl: 24px;\n\n --wui-wallet-image-size-inherit: inherit;\n --wui-wallet-image-size-sm: 40px;\n --wui-wallet-image-size-md: 56px;\n --wui-wallet-image-size-lg: 80px;\n\n --wui-box-size-md: 100px;\n --wui-box-size-lg: 120px;\n\n --wui-ease-out-power-2: cubic-bezier(0, 0, 0.22, 1);\n --wui-ease-out-power-1: cubic-bezier(0, 0, 0.55, 1);\n\n --wui-ease-in-power-3: cubic-bezier(0.66, 0, 1, 1);\n --wui-ease-in-power-2: cubic-bezier(0.45, 0, 1, 1);\n --wui-ease-in-power-1: cubic-bezier(0.3, 0, 1, 1);\n\n --wui-ease-inout-power-1: cubic-bezier(0.45, 0, 0.55, 1);\n\n --wui-duration-lg: 200ms;\n --wui-duration-md: 125ms;\n --wui-duration-sm: 75ms;\n\n --wui-path-network: path(\n 'M43.4605 10.7248L28.0485 1.61089C25.5438 0.129705 22.4562 0.129705 19.9515 1.61088L4.53951 10.7248C2.03626 12.2051 0.5 14.9365 0.5 17.886V36.1139C0.5 39.0635 2.03626 41.7949 4.53951 43.2752L19.9515 52.3891C22.4562 53.8703 25.5438 53.8703 28.0485 52.3891L43.4605 43.2752C45.9637 41.7949 47.5 39.0635 47.5 36.114V17.8861C47.5 14.9365 45.9637 12.2051 43.4605 10.7248Z'\n );\n\n --wui-path-network-lg: path(\n 'M78.3244 18.926L50.1808 2.45078C45.7376 -0.150261 40.2624 -0.150262 35.8192 2.45078L7.6756 18.926C3.23322 21.5266 0.5 26.3301 0.5 31.5248V64.4752C0.5 69.6699 3.23322 74.4734 7.6756 77.074L35.8192 93.5492C40.2624 96.1503 45.7376 96.1503 50.1808 93.5492L78.3244 77.074C82.7668 74.4734 85.5 69.6699 85.5 64.4752V31.5248C85.5 26.3301 82.7668 21.5266 78.3244 18.926Z'\n );\n\n --wui-color-inherit: inherit;\n\n --wui-color-inverse-100: #fff;\n --wui-color-inverse-000: #000;\n\n --wui-cover: rgba(0, 0, 0, 0.3);\n\n --wui-color-modal-bg: var(--wui-color-modal-bg-base);\n\n --wui-color-blue-100: var(--wui-color-blue-base-100);\n --wui-color-blue-015: var(--wui-color-accent-base-015);\n\n --wui-color-accent-100: var(--wui-color-accent-base-100);\n --wui-color-accent-090: var(--wui-color-accent-base-090);\n --wui-color-accent-080: var(--wui-color-accent-base-080);\n\n --wui-accent-glass-090: var(--wui-accent-glass-base-090);\n --wui-accent-glass-080: var(--wui-accent-glass-base-080);\n --wui-accent-glass-020: var(--wui-accent-glass-base-020);\n --wui-accent-glass-015: var(--wui-accent-glass-base-015);\n --wui-accent-glass-010: var(--wui-accent-glass-base-010);\n --wui-accent-glass-005: var(--wui-accent-glass-base-005);\n --wui-accent-glass-002: var(--wui-accent-glass-base-002);\n\n --wui-color-fg-100: var(--wui-color-fg-base-100);\n --wui-color-fg-125: var(--wui-color-fg-base-125);\n --wui-color-fg-150: var(--wui-color-fg-base-150);\n --wui-color-fg-175: var(--wui-color-fg-base-175);\n --wui-color-fg-200: var(--wui-color-fg-base-200);\n --wui-color-fg-225: var(--wui-color-fg-base-225);\n --wui-color-fg-250: var(--wui-color-fg-base-250);\n --wui-color-fg-275: var(--wui-color-fg-base-275);\n --wui-color-fg-300: var(--wui-color-fg-base-300);\n\n --wui-color-bg-100: var(--wui-color-bg-base-100);\n --wui-color-bg-125: var(--wui-color-bg-base-125);\n --wui-color-bg-150: var(--wui-color-bg-base-150);\n --wui-color-bg-175: var(--wui-color-bg-base-175);\n --wui-color-bg-200: var(--wui-color-bg-base-200);\n --wui-color-bg-225: var(--wui-color-bg-base-225);\n --wui-color-bg-250: var(--wui-color-bg-base-250);\n --wui-color-bg-275: var(--wui-color-bg-base-275);\n --wui-color-bg-300: var(--wui-color-bg-base-300);\n\n --wui-color-success-100: var(--wui-color-success-base-100);\n --wui-color-error-100: var(--wui-color-error-base-100);\n\n --wui-icon-box-bg-error-100: var(--wui-icon-box-bg-error-base-100);\n --wui-icon-box-bg-blue-100: var(--wui-icon-box-bg-blue-base-100);\n --wui-icon-box-bg-success-100: var(--wui-icon-box-bg-success-base-100);\n --wui-icon-box-bg-inverse-100: var(--wui-icon-box-bg-inverse-base-100);\n\n --wui-all-wallets-bg-100: var(--wui-all-wallets-bg-base-100);\n\n --wui-avatar-border: var(--wui-avatar-border-base);\n\n --wui-thumbnail-border: var(--wui-thumbnail-border-base);\n\n --wui-box-shadow-blue: rgba(71, 161, 255, 0.16);\n }\n\n @supports (background: color-mix(in srgb, white 50%, black)) {\n :root {\n --wui-color-modal-bg: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-modal-bg-base)\n );\n\n --wui-box-shadow-blue: color-mix(in srgb, var(--wui-color-accent-100) 16%, transparent);\n\n --wui-color-accent-090: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 90%,\n var(--w3m-default)\n );\n --wui-color-accent-080: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 80%,\n var(--w3m-default)\n );\n\n --wui-color-accent-090: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 90%,\n transparent\n );\n --wui-color-accent-080: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 80%,\n transparent\n );\n\n --wui-accent-glass-090: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 90%,\n transparent\n );\n --wui-accent-glass-080: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 80%,\n transparent\n );\n --wui-accent-glass-020: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 20%,\n transparent\n );\n --wui-accent-glass-015: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 15%,\n transparent\n );\n --wui-accent-glass-010: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 10%,\n transparent\n );\n --wui-accent-glass-005: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 5%,\n transparent\n );\n --wui-color-accent-002: color-mix(\n in srgb,\n var(--wui-color-accent-base-100) 2%,\n transparent\n );\n\n --wui-color-fg-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-100)\n );\n --wui-color-fg-125: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-125)\n );\n --wui-color-fg-150: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-150)\n );\n --wui-color-fg-175: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-175)\n );\n --wui-color-fg-200: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-200)\n );\n --wui-color-fg-225: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-225)\n );\n --wui-color-fg-250: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-250)\n );\n --wui-color-fg-275: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-275)\n );\n --wui-color-fg-300: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-fg-base-300)\n );\n\n --wui-color-bg-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-100)\n );\n --wui-color-bg-125: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-125)\n );\n --wui-color-bg-150: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-150)\n );\n --wui-color-bg-175: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-175)\n );\n --wui-color-bg-200: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-200)\n );\n --wui-color-bg-225: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-225)\n );\n --wui-color-bg-250: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-250)\n );\n --wui-color-bg-275: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-275)\n );\n --wui-color-bg-300: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-bg-base-300)\n );\n\n --wui-color-success-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-success-base-100)\n );\n --wui-color-error-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-color-error-base-100)\n );\n\n --wui-icon-box-bg-error-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-error-base-100)\n );\n --wui-icon-box-bg-accent-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-blue-base-100)\n );\n --wui-icon-box-bg-success-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-success-base-100)\n );\n --wui-icon-box-bg-inverse-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-icon-box-bg-inverse-base-100)\n );\n\n --wui-all-wallets-bg-100: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-all-wallets-bg-base-100)\n );\n\n --wui-avatar-border: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-avatar-border-base)\n );\n\n --wui-thumbnail-border: color-mix(\n in srgb,\n var(--w3m-color-mix) var(--w3m-color-mix-strength),\n var(--wui-thumbnail-border-base)\n );\n }\n }\n `,\n light: (0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :root {\n --w3m-color-mix: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-color-mix'] || '#fff')};\n --w3m-accent: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-accent'] || '#47a1ff')};\n --w3m-default: #fff;\n\n --wui-color-modal-bg-base: #191a1a;\n\n --wui-color-blue-base-100: #47a1ff;\n\n --wui-color-accent-base-100: var(--w3m-accent);\n --wui-color-accent-base-090: #59aaff;\n --wui-color-accent-base-080: #6cb4ff;\n\n --wui-accent-glass-base-090: rgba(71, 161, 255, 0.9);\n --wui-accent-glass-base-080: rgba(71, 161, 255, 0.8);\n --wui-accent-glass-base-020: rgba(71, 161, 255, 0.2);\n --wui-accent-glass-base-015: rgba(71, 161, 255, 0.15);\n --wui-accent-glass-base-010: rgba(71, 161, 255, 0.1);\n --wui-accent-glass-base-005: rgba(71, 161, 255, 0.05);\n --wui-accent-glass-base-002: rgba(71, 161, 255, 0.02);\n\n --wui-color-fg-base-100: #e4e7e7;\n --wui-color-fg-base-125: #d0d5d5;\n --wui-color-fg-base-150: #a8b1b1;\n --wui-color-fg-base-175: #a8b0b0;\n --wui-color-fg-base-200: #949e9e;\n --wui-color-fg-base-225: #868f8f;\n --wui-color-fg-base-250: #788080;\n --wui-color-fg-base-275: #788181;\n --wui-color-fg-base-300: #6e7777;\n\n --wui-color-bg-base-100: #141414;\n --wui-color-bg-base-125: #191a1a;\n --wui-color-bg-base-150: #1e1f1f;\n --wui-color-bg-base-175: #222525;\n --wui-color-bg-base-200: #272a2a;\n --wui-color-bg-base-225: #2c3030;\n --wui-color-bg-base-250: #313535;\n --wui-color-bg-base-275: #363b3b;\n --wui-color-bg-base-300: #3b4040;\n\n --wui-color-success-base-100: #26d962;\n --wui-color-error-base-100: #f25a67;\n\n --wui-icon-box-bg-error-base-100: #3c2426;\n --wui-icon-box-bg-blue-base-100: #20303f;\n --wui-icon-box-bg-success-base-100: #1f3a28;\n --wui-icon-box-bg-inverse-base-100: #243240;\n\n --wui-all-wallets-bg-base-100: #222b35;\n\n --wui-avatar-border-base: #252525;\n\n --wui-thumbnail-border-base: #252525;\n\n --wui-gray-glass-001: rgba(255, 255, 255, 0.01);\n --wui-gray-glass-002: rgba(255, 255, 255, 0.02);\n --wui-gray-glass-005: rgba(255, 255, 255, 0.05);\n --wui-gray-glass-010: rgba(255, 255, 255, 0.1);\n --wui-gray-glass-015: rgba(255, 255, 255, 0.15);\n --wui-gray-glass-020: rgba(255, 255, 255, 0.2);\n --wui-gray-glass-025: rgba(255, 255, 255, 0.25);\n --wui-gray-glass-030: rgba(255, 255, 255, 0.3);\n --wui-gray-glass-060: rgba(255, 255, 255, 0.6);\n --wui-gray-glass-080: rgba(255, 255, 255, 0.8);\n }\n `,\n dark: (0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n :root {\n --w3m-color-mix: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-color-mix'] || '#000')};\n --w3m-accent: ${(0,lit__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)(themeVariables?.['--w3m-accent'] || '#3396ff')};\n --w3m-default: #000;\n\n --wui-color-modal-bg-base: #fff;\n\n --wui-color-blue-base-100: #3396ff;\n\n --wui-color-accent-base-100: var(--w3m-accent);\n --wui-color-accent-base-090: #2d7dd2;\n --wui-color-accent-base-080: #2978cc;\n\n --wui-accent-glass-base-090: rgba(51, 150, 255, 0.9);\n --wui-accent-glass-base-080: rgba(51, 150, 255, 0.8);\n --wui-accent-glass-base-020: rgba(51, 150, 255, 0.2);\n --wui-accent-glass-base-015: rgba(51, 150, 255, 0.15);\n --wui-accent-glass-base-010: rgba(51, 150, 255, 0.1);\n --wui-accent-glass-base-005: rgba(51, 150, 255, 0.05);\n --wui-accent-glass-base-002: rgba(51, 150, 255, 0.02);\n\n --wui-color-fg-base-100: #141414;\n --wui-color-fg-base-125: #2d3131;\n --wui-color-fg-base-150: #474d4d;\n --wui-color-fg-base-175: #636d6d;\n --wui-color-fg-base-200: #798686;\n --wui-color-fg-base-225: #828f8f;\n --wui-color-fg-base-250: #8b9797;\n --wui-color-fg-base-275: #95a0a0;\n --wui-color-fg-base-300: #9ea9a9;\n\n --wui-color-bg-base-100: #ffffff;\n --wui-color-bg-base-125: #f5fafa;\n --wui-color-bg-base-150: #f3f8f8;\n --wui-color-bg-base-175: #eef4f4;\n --wui-color-bg-base-200: #eaf1f1;\n --wui-color-bg-base-225: #e5eded;\n --wui-color-bg-base-250: #e1e9e9;\n --wui-color-bg-base-275: #dce7e7;\n --wui-color-bg-base-300: #d8e3e3;\n\n --wui-color-success-base-100: #26b562;\n --wui-color-error-base-100: #f05142;\n\n --wui-icon-box-bg-error-base-100: #f4dfdd;\n --wui-icon-box-bg-blue-base-100: #d9ecfb;\n --wui-icon-box-bg-success-base-100: #daf0e4;\n --wui-icon-box-bg-inverse-base-100: #dcecfc;\n\n --wui-all-wallets-bg-base-100: #e8f1fa;\n\n --wui-avatar-border-base: #f3f4f4;\n\n --wui-thumbnail-border-base: #eaefef;\n\n --wui-gray-glass-001: rgba(0, 0, 0, 0.01);\n --wui-gray-glass-002: rgba(0, 0, 0, 0.02);\n --wui-gray-glass-005: rgba(0, 0, 0, 0.05);\n --wui-gray-glass-010: rgba(0, 0, 0, 0.1);\n --wui-gray-glass-015: rgba(0, 0, 0, 0.15);\n --wui-gray-glass-020: rgba(0, 0, 0, 0.2);\n --wui-gray-glass-025: rgba(0, 0, 0, 0.25);\n --wui-gray-glass-030: rgba(0, 0, 0, 0.3);\n --wui-gray-glass-060: rgba(0, 0, 0, 0.6);\n --wui-gray-glass-080: rgba(0, 0, 0, 0.8);\n }\n `\n };\n}\nconst resetStyles = (0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n *,\n *::after,\n *::before,\n :host {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n font-style: normal;\n text-rendering: optimizeSpeed;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n -webkit-tap-highlight-color: transparent;\n font-family: var(--wui-font-family);\n backface-visibility: hidden;\n }\n`;\nconst elementStyles = (0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n button,\n a {\n cursor: pointer;\n display: flex;\n justify-content: center;\n align-items: center;\n position: relative;\n transition: all var(--wui-ease-out-power-1) var(--wui-duration-lg);\n outline: none;\n border: 1px solid transparent;\n column-gap: var(--wui-spacing-3xs);\n background-color: transparent;\n text-decoration: none;\n }\n\n @media (hover: hover) and (pointer: fine) {\n button:hover:enabled {\n background-color: var(--wui-gray-glass-005);\n }\n\n button:active:enabled {\n transition: all var(--wui-ease-out-power-2) var(--wui-duration-sm);\n background-color: var(--wui-gray-glass-010);\n }\n\n button[data-variant='fill']:hover:enabled {\n background-color: var(--wui-color-accent-090);\n }\n\n button[data-variant='accentBg']:hover:enabled {\n background: var(--wui-accent-glass-015);\n }\n\n button[data-variant='accentBg']:active:enabled {\n background: var(--wui-accent-glass-020);\n }\n }\n\n button:disabled {\n cursor: not-allowed;\n background-color: var(--wui-gray-glass-005);\n }\n\n button[data-variant='shade']:disabled,\n button[data-variant='accent']:disabled,\n button[data-variant='accentBg']:disabled {\n background-color: var(--wui-gray-glass-010);\n color: var(--wui-gray-glass-015);\n filter: grayscale(1);\n }\n\n button:disabled > wui-wallet-image,\n button:disabled > wui-all-wallets-image,\n button:disabled > wui-network-image,\n button:disabled > wui-image,\n button:disabled > wui-icon-box,\n button:disabled > wui-transaction-visual,\n button:disabled > wui-logo {\n filter: grayscale(1);\n }\n\n button:focus-visible,\n a:focus-visible {\n border: 1px solid var(--wui-color-accent-100);\n background-color: var(--wui-gray-glass-005);\n -webkit-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n -moz-box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n box-shadow: 0px 0px 0px 4px var(--wui-box-shadow-blue);\n }\n\n button[data-variant='fill']:focus-visible {\n background-color: var(--wui-color-accent-090);\n }\n\n button[data-variant='fill'] {\n color: var(--wui-color-inverse-100);\n background-color: var(--wui-color-accent-100);\n }\n\n button[data-variant='fill']:disabled {\n color: var(--wui-gray-glass-015);\n background-color: var(--wui-gray-glass-015);\n }\n\n button[data-variant='fill']:disabled > wui-icon {\n color: var(--wui-gray-glass-015);\n }\n\n button[data-variant='shade'] {\n color: var(--wui-color-fg-200);\n }\n\n button[data-variant='accent'],\n button[data-variant='accentBg'] {\n color: var(--wui-color-accent-100);\n }\n\n button[data-variant='accentBg'] {\n background: var(--wui-accent-glass-010);\n border: 1px solid var(--wui-accent-glass-010);\n }\n\n button[data-variant='fullWidth'] {\n width: 100%;\n border-radius: var(--wui-border-radius-xs);\n height: 56px;\n border: none;\n background-color: var(--wui-gray-glass-002);\n color: var(--wui-color-fg-200);\n gap: var(--wui-spacing-xs);\n }\n\n button:active:enabled {\n background-color: var(--wui-gray-glass-010);\n }\n\n button[data-variant='fill']:active:enabled {\n background-color: var(--wui-color-accent-080);\n border: 1px solid var(--wui-gray-glass-010);\n }\n\n input {\n border: none;\n outline: none;\n appearance: none;\n }\n`;\nconst colorStyles = (0,lit__WEBPACK_IMPORTED_MODULE_0__.css) `\n .wui-color-inherit {\n color: var(--wui-color-inherit);\n }\n\n .wui-color-accent-100 {\n color: var(--wui-color-accent-100);\n }\n\n .wui-color-error-100 {\n color: var(--wui-color-error-100);\n }\n\n .wui-color-success-100 {\n color: var(--wui-color-success-100);\n }\n\n .wui-color-inverse-100 {\n color: var(--wui-color-inverse-100);\n }\n\n .wui-color-inverse-000 {\n color: var(--wui-color-inverse-000);\n }\n\n .wui-color-fg-100 {\n color: var(--wui-color-fg-100);\n }\n\n .wui-color-fg-200 {\n color: var(--wui-color-fg-200);\n }\n\n .wui-color-fg-300 {\n color: var(--wui-color-fg-300);\n }\n\n .wui-bg-color-inherit {\n background-color: var(--wui-color-inherit);\n }\n\n .wui-bg-color-blue-100 {\n background-color: var(--wui-color-accent-100);\n }\n\n .wui-bg-color-error-100 {\n background-color: var(--wui-color-error-100);\n }\n\n .wui-bg-color-success-100 {\n background-color: var(--wui-color-success-100);\n }\n\n .wui-bg-color-inverse-100 {\n background-color: var(--wui-color-inverse-100);\n }\n\n .wui-bg-color-inverse-000 {\n background-color: var(--wui-color-inverse-000);\n }\n\n .wui-bg-color-fg-100 {\n background-color: var(--wui-color-fg-100);\n }\n\n .wui-bg-color-fg-200 {\n background-color: var(--wui-color-fg-200);\n }\n\n .wui-bg-color-fg-300 {\n background-color: var(--wui-color-fg-300);\n }\n`;\n//# sourceMappingURL=ThemeUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/ThemeUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/TransactionUtil.js":
/*!**************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/TransactionUtil.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionUtil: () => (/* binding */ TransactionUtil)\n/* harmony export */ });\n/* harmony import */ var _web3modal_common__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/common */ \"./node_modules/@web3modal/common/dist/esm/index.js\");\n/* harmony import */ var _UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UiHelperUtil.js */ \"./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js\");\n\n\nconst FLOAT_FIXED_VALUE = 3;\nconst plusTypes = ['receive', 'deposit', 'borrow', 'claim'];\nconst minusTypes = ['withdraw', 'repay', 'burn'];\nconst TransactionUtil = {\n getTransactionGroupTitle(year) {\n const currentYear = _web3modal_common__WEBPACK_IMPORTED_MODULE_0__.DateUtil.getYear();\n const isCurrentYear = year === currentYear;\n const groupTitle = isCurrentYear ? 'This Year' : year;\n return groupTitle;\n },\n getTransactionImages(transfers) {\n const [transfer, secondTransfer] = transfers;\n const isAllNFT = Boolean(transfer) && transfers?.every(item => Boolean(item.nft_info));\n const haveMultipleTransfers = transfers?.length > 1;\n const haveTwoTransfers = transfers?.length === 2;\n if (haveTwoTransfers && !isAllNFT) {\n return [this.getTransactionImage(transfer), this.getTransactionImage(secondTransfer)];\n }\n if (haveMultipleTransfers) {\n return transfers.map(item => this.getTransactionImage(item));\n }\n return [this.getTransactionImage(transfer)];\n },\n getTransactionImage(transfer) {\n return {\n type: TransactionUtil.getTransactionTransferTokenType(transfer),\n url: TransactionUtil.getTransactionImageURL(transfer)\n };\n },\n getTransactionImageURL(transfer) {\n let imageURL = null;\n const isNFT = Boolean(transfer?.nft_info);\n const isFungible = Boolean(transfer?.fungible_info);\n if (transfer && isNFT) {\n imageURL = transfer?.nft_info?.content?.preview?.url;\n }\n else if (transfer && isFungible) {\n imageURL = transfer?.fungible_info?.icon?.url;\n }\n return imageURL;\n },\n getTransactionTransferTokenType(transfer) {\n if (transfer?.fungible_info) {\n return 'FUNGIBLE';\n }\n else if (transfer?.nft_info) {\n return 'NFT';\n }\n return null;\n },\n getTransactionDescriptions(transaction) {\n const type = transaction.metadata?.operationType;\n const transfers = transaction.transfers;\n const haveTransfer = transaction.transfers?.length > 0;\n const haveMultipleTransfers = transaction.transfers?.length > 1;\n const isFungible = haveTransfer && transfers?.every(transfer => Boolean(transfer.fungible_info));\n const [firstTransfer, secondTransfer] = transfers;\n let firstDescription = this.getTransferDescription(firstTransfer);\n let secondDescription = this.getTransferDescription(secondTransfer);\n if (!haveTransfer) {\n const isSendOrReceive = type === 'send' || type === 'receive';\n if (isSendOrReceive && isFungible) {\n firstDescription = _UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: transaction.metadata.sentFrom,\n charsStart: 4,\n charsEnd: 6,\n truncate: 'middle'\n });\n secondDescription = _UiHelperUtil_js__WEBPACK_IMPORTED_MODULE_1__.UiHelperUtil.getTruncateString({\n string: transaction.metadata.sentTo,\n charsStart: 4,\n charsEnd: 6,\n truncate: 'middle'\n });\n return [firstDescription, secondDescription];\n }\n return [transaction.metadata.status];\n }\n if (haveMultipleTransfers) {\n return transfers.map(item => this.getTransferDescription(item));\n }\n let prefix = '';\n if (plusTypes.includes(type)) {\n prefix = '+';\n }\n else if (minusTypes.includes(type)) {\n prefix = '-';\n }\n firstDescription = prefix.concat(firstDescription);\n return [firstDescription];\n },\n getTransferDescription(transfer) {\n let description = '';\n if (!transfer) {\n return description;\n }\n if (transfer?.nft_info) {\n description = transfer?.nft_info?.name || '-';\n }\n else if (transfer?.fungible_info) {\n description = this.getFungibleTransferDescription(transfer) || '-';\n }\n return description;\n },\n getFungibleTransferDescription(transfer) {\n if (!transfer) {\n return null;\n }\n const quantity = this.getQuantityFixedValue(transfer?.quantity.numeric);\n const description = [quantity, transfer?.fungible_info?.symbol].join(' ').trim();\n return description;\n },\n getQuantityFixedValue(value) {\n if (!value) {\n return null;\n }\n const parsedValue = parseFloat(value);\n return parsedValue.toFixed(FLOAT_FIXED_VALUE);\n }\n};\n//# sourceMappingURL=TransactionUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/TransactionUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js":
/*!*******************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TransactionTypePastTense: () => (/* binding */ TransactionTypePastTense)\n/* harmony export */ });\nvar TransactionTypePastTense;\n(function (TransactionTypePastTense) {\n TransactionTypePastTense[\"approve\"] = \"approved\";\n TransactionTypePastTense[\"bought\"] = \"bought\";\n TransactionTypePastTense[\"borrow\"] = \"borrowed\";\n TransactionTypePastTense[\"burn\"] = \"burnt\";\n TransactionTypePastTense[\"cancel\"] = \"canceled\";\n TransactionTypePastTense[\"claim\"] = \"claimed\";\n TransactionTypePastTense[\"deploy\"] = \"deployed\";\n TransactionTypePastTense[\"deposit\"] = \"deposited\";\n TransactionTypePastTense[\"execute\"] = \"executed\";\n TransactionTypePastTense[\"mint\"] = \"minted\";\n TransactionTypePastTense[\"receive\"] = \"received\";\n TransactionTypePastTense[\"repay\"] = \"repaid\";\n TransactionTypePastTense[\"send\"] = \"sent\";\n TransactionTypePastTense[\"sell\"] = \"sold\";\n TransactionTypePastTense[\"stake\"] = \"staked\";\n TransactionTypePastTense[\"trade\"] = \"swapped\";\n TransactionTypePastTense[\"unstake\"] = \"unstaked\";\n TransactionTypePastTense[\"withdraw\"] = \"withdrawn\";\n})(TransactionTypePastTense || (TransactionTypePastTense = {}));\n//# sourceMappingURL=TypeUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/TypeUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ UiHelperUtil: () => (/* binding */ UiHelperUtil)\n/* harmony export */ });\nconst UiHelperUtil = {\n getSpacingStyles(spacing, index) {\n if (Array.isArray(spacing)) {\n return spacing[index] ? `var(--wui-spacing-${spacing[index]})` : undefined;\n }\n else if (typeof spacing === 'string') {\n return `var(--wui-spacing-${spacing})`;\n }\n return undefined;\n },\n getFormattedDate(date) {\n return new Intl.DateTimeFormat('en-US', { month: 'short', day: 'numeric' }).format(date);\n },\n getHostName(url) {\n const newUrl = new URL(url);\n return newUrl.hostname;\n },\n getTruncateString({ string, charsStart, charsEnd, truncate }) {\n if (string.length <= charsStart + charsEnd) {\n return string;\n }\n if (truncate === 'end') {\n return `${string.substring(0, charsStart)}...`;\n }\n else if (truncate === 'start') {\n return `...${string.substring(string.length - charsEnd)}`;\n }\n return `${string.substring(0, Math.floor(charsStart))}...${string.substring(string.length - Math.floor(charsEnd))}`;\n },\n generateAvatarColors(address) {\n const hash = address.toLowerCase().replace(/^0x/iu, '');\n const baseColor = hash.substring(0, 6);\n const rgbColor = this.hexToRgb(baseColor);\n const colors = [];\n for (let i = 0; i < 5; i += 1) {\n const tintedColor = this.tintColor(rgbColor, 0.15 * i);\n colors.push(`rgb(${tintedColor[0]}, ${tintedColor[1]}, ${tintedColor[2]})`);\n }\n return `\n --local-color-1: ${colors[0]};\n --local-color-2: ${colors[1]};\n --local-color-3: ${colors[2]};\n --local-color-4: ${colors[3]};\n --local-color-5: ${colors[4]};\n `;\n },\n hexToRgb(hex) {\n const bigint = parseInt(hex, 16);\n const r = (bigint >> 16) & 255;\n const g = (bigint >> 8) & 255;\n const b = bigint & 255;\n return [r, g, b];\n },\n tintColor(rgb, tint) {\n const [r, g, b] = rgb;\n const tintedR = Math.round(r + (255 - r) * tint);\n const tintedG = Math.round(g + (255 - g) * tint);\n const tintedB = Math.round(b + (255 - b) * tint);\n return [tintedR, tintedG, tintedB];\n },\n isNumber(character) {\n const regex = {\n number: /^[0-9]+$/u\n };\n return regex.number.test(character);\n },\n getColorTheme(theme) {\n if (theme) {\n return theme;\n }\n else if (typeof window !== 'undefined' && window.matchMedia) {\n if (window.matchMedia('(prefers-color-scheme: dark)').matches) {\n return 'dark';\n }\n return 'light';\n }\n return 'dark';\n }\n};\n//# sourceMappingURL=UiHelperUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/UiHelperUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js":
/*!****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* binding */ customElement)\n/* harmony export */ });\nfunction standardCustomElement(tagName, descriptor) {\n const { kind, elements } = descriptor;\n return {\n kind,\n elements,\n finisher(clazz) {\n if (!customElements.get(tagName)) {\n customElements.define(tagName, clazz);\n }\n }\n };\n}\nfunction legacyCustomElement(tagName, clazz) {\n if (!customElements.get(tagName)) {\n customElements.define(tagName, clazz);\n }\n return clazz;\n}\nfunction customElement(tagName) {\n return function create(classOrDescriptor) {\n return typeof classOrDescriptor === 'function'\n ? legacyCustomElement(tagName, classOrDescriptor)\n : standardCustomElement(tagName, classOrDescriptor);\n };\n}\n//# sourceMappingURL=WebComponentsUtil.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/dist/esm/src/utils/WebComponentsUtil.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/css-tag.js":
/*!**********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/css-tag.js ***!
\**********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* binding */ CSSResult),\n/* harmony export */ adoptStyles: () => (/* binding */ adoptStyles),\n/* harmony export */ css: () => (/* binding */ css),\n/* harmony export */ getCompatibleStyle: () => (/* binding */ getCompatibleStyle),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* binding */ supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* binding */ unsafeCSS)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2019 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Whether the current browser supports `adoptedStyleSheets`.\n */\nconst supportsAdoptingStyleSheets = global.ShadowRoot &&\n (global.ShadyCSS === undefined || global.ShadyCSS.nativeShadow) &&\n 'adoptedStyleSheets' in Document.prototype &&\n 'replace' in CSSStyleSheet.prototype;\nconst constructionToken = Symbol();\nconst cssTagCache = new WeakMap();\n/**\n * A container for a string of CSS text, that may be used to create a CSSStyleSheet.\n *\n * CSSResult is the return value of `css`-tagged template literals and\n * `unsafeCSS()`. In order to ensure that CSSResults are only created via the\n * `css` tag and `unsafeCSS()`, CSSResult cannot be constructed directly.\n */\nclass CSSResult {\n constructor(cssText, strings, safeToken) {\n // This property needs to remain unminified.\n this['_$cssResult$'] = true;\n if (safeToken !== constructionToken) {\n throw new Error('CSSResult is not constructable. Use `unsafeCSS` or `css` instead.');\n }\n this.cssText = cssText;\n this._strings = strings;\n }\n // This is a getter so that it's lazy. In practice, this means stylesheets\n // are not created until the first element instance is made.\n get styleSheet() {\n // If `supportsAdoptingStyleSheets` is true then we assume CSSStyleSheet is\n // constructable.\n let styleSheet = this._styleSheet;\n const strings = this._strings;\n if (supportsAdoptingStyleSheets && styleSheet === undefined) {\n const cacheable = strings !== undefined && strings.length === 1;\n if (cacheable) {\n styleSheet = cssTagCache.get(strings);\n }\n if (styleSheet === undefined) {\n (this._styleSheet = styleSheet = new CSSStyleSheet()).replaceSync(this.cssText);\n if (cacheable) {\n cssTagCache.set(strings, styleSheet);\n }\n }\n }\n return styleSheet;\n }\n toString() {\n return this.cssText;\n }\n}\nconst textFromCSSResult = (value) => {\n // This property needs to remain unminified.\n if (value['_$cssResult$'] === true) {\n return value.cssText;\n }\n else if (typeof value === 'number') {\n return value;\n }\n else {\n throw new Error(`Value passed to 'css' function must be a 'css' function result: ` +\n `${value}. Use 'unsafeCSS' to pass non-literal values, but take care ` +\n `to ensure page security.`);\n }\n};\n/**\n * Wrap a value for interpolation in a {@linkcode css} tagged template literal.\n *\n * This is unsafe because untrusted CSS text can be used to phone home\n * or exfiltrate data to an attacker controlled site. Take care to only use\n * this with trusted input.\n */\nconst unsafeCSS = (value) => new CSSResult(typeof value === 'string' ? value : String(value), undefined, constructionToken);\n/**\n * A template literal tag which can be used with LitElement's\n * {@linkcode LitElement.styles} property to set element styles.\n *\n * For security reasons, only literal string values and number may be used in\n * embedded expressions. To incorporate non-literal values {@linkcode unsafeCSS}\n * may be used inside an expression.\n */\nconst css = (strings, ...values) => {\n const cssText = strings.length === 1\n ? strings[0]\n : values.reduce((acc, v, idx) => acc + textFromCSSResult(v) + strings[idx + 1], strings[0]);\n return new CSSResult(cssText, strings, constructionToken);\n};\n/**\n * Applies the given styles to a `shadowRoot`. When Shadow DOM is\n * available but `adoptedStyleSheets` is not, styles are appended to the\n * `shadowRoot` to [mimic spec behavior](https://wicg.github.io/construct-stylesheets/#using-constructed-stylesheets).\n * Note, when shimming is used, any styles that are subsequently placed into\n * the shadowRoot should be placed *before* any shimmed adopted styles. This\n * will match spec behavior that gives adopted sheets precedence over styles in\n * shadowRoot.\n */\nconst adoptStyles = (renderRoot, styles) => {\n if (supportsAdoptingStyleSheets) {\n renderRoot.adoptedStyleSheets = styles.map((s) => s instanceof CSSStyleSheet ? s : s.styleSheet);\n }\n else {\n for (const s of styles) {\n const style = document.createElement('style');\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const nonce = global['litNonce'];\n if (nonce !== undefined) {\n style.setAttribute('nonce', nonce);\n }\n style.textContent = s.cssText;\n renderRoot.appendChild(style);\n }\n }\n};\nconst cssResultFromStyleSheet = (sheet) => {\n let cssText = '';\n for (const rule of sheet.cssRules) {\n cssText += rule.cssText;\n }\n return unsafeCSS(cssText);\n};\nconst getCompatibleStyle = supportsAdoptingStyleSheets ||\n (NODE_MODE && global.CSSStyleSheet === undefined)\n ? (s) => s\n : (s) => s instanceof CSSStyleSheet ? cssResultFromStyleSheet(s) : s;\n//# sourceMappingURL=css-tag.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/css-tag.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js":
/*!******************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js ***!
\******************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ desc: () => (/* binding */ desc)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Wraps up a few best practices when returning a property descriptor from a\n * decorator.\n *\n * Marks the defined property as configurable, and enumerable, and handles\n * the case where we have a busted Reflect.decorate zombiefill (e.g. in Angular\n * apps).\n *\n * @internal\n */\nconst desc = (obj, name, descriptor) => {\n // For backwards compatibility, we keep them configurable and enumerable.\n descriptor.configurable = true;\n descriptor.enumerable = true;\n if (\n // We check for Reflect.decorate each time, in case the zombiefill\n // is applied via lazy loading some Angular code.\n Reflect.decorate &&\n typeof name !== 'object') {\n // If we're called as a legacy decorator, and Reflect.decorate is present\n // then we have no guarantees that the returned descriptor will be\n // defined on the class, so we must apply it directly ourselves.\n Object.defineProperty(obj, name, descriptor);\n }\n return descriptor;\n};\n//# sourceMappingURL=base.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js":
/*!****************************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js ***!
\****************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* binding */ customElement)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Class decorator factory that defines the decorated class as a custom element.\n *\n * ```js\n * @customElement('my-element')\n * class MyElement extends LitElement {\n * render() {\n * return html``;\n * }\n * }\n * ```\n * @category Decorator\n * @param tagName The tag name of the custom element to define.\n */\nconst customElement = (tagName) => (classOrTarget, context) => {\n if (context !== undefined) {\n context.addInitializer(() => {\n customElements.define(tagName, classOrTarget);\n });\n }\n else {\n customElements.define(tagName, classOrTarget);\n }\n};\n//# sourceMappingURL=custom-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js":
/*!***************************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js ***!
\***************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ eventOptions: () => (/* binding */ eventOptions)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Adds event listener options to a method used as an event listener in a\n * lit-html template.\n *\n * @param options An object that specifies event listener options as accepted by\n * `EventTarget#addEventListener` and `EventTarget#removeEventListener`.\n *\n * Current browsers support the `capture`, `passive`, and `once` options. See:\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Parameters\n *\n * ```ts\n * class MyElement {\n * clicked = false;\n *\n * render() {\n * return html`\n * <div @click=${this._onClick}>\n * <button></button>\n * </div>\n * `;\n * }\n *\n * @eventOptions({capture: true})\n * _onClick(e) {\n * this.clicked = true;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction eventOptions(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((protoOrValue, nameOrContext) => {\n const method = typeof protoOrValue === 'function'\n ? protoOrValue\n : protoOrValue[nameOrContext];\n Object.assign(method, options);\n });\n}\n//# sourceMappingURL=event-options.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js":
/*!**********************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js ***!
\**********************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ property: () => (/* binding */ property),\n/* harmony export */ standardProperty: () => (/* binding */ standardProperty)\n/* harmony export */ });\n/* harmony import */ var _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../reactive-element.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\nconst legacyProperty = (options, proto, name) => {\n const hasOwnProperty = proto.hasOwnProperty(name);\n proto.constructor.createProperty(name, hasOwnProperty ? { ...options, wrapped: true } : options);\n // For accessors (which have a descriptor on the prototype) we need to\n // return a descriptor, otherwise TypeScript overwrites the descriptor we\n // define in createProperty() with the original descriptor. We don't do this\n // for fields, which don't have a descriptor, because this could overwrite\n // descriptor defined by other decorators.\n return hasOwnProperty\n ? Object.getOwnPropertyDescriptor(proto, name)\n : undefined;\n};\n// This is duplicated from a similar variable in reactive-element.ts, but\n// actually makes sense to have this default defined with the decorator, so\n// that different decorators could have different defaults.\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.defaultConverter,\n reflect: false,\n hasChanged: _reactive_element_js__WEBPACK_IMPORTED_MODULE_0__.notEqual,\n};\n/**\n * Wraps a class accessor or setter so that `requestUpdate()` is called with the\n * property name and old value when the accessor is set.\n */\nconst standardProperty = (options = defaultPropertyDeclaration, target, context) => {\n const { kind, metadata } = context;\n if (DEV_MODE && metadata == null) {\n issueWarning('missing-class-metadata', `The class ${target} is missing decorator metadata. This ` +\n `could mean that you're using a compiler that supports decorators ` +\n `but doesn't support decorator metadata, such as TypeScript 5.1. ` +\n `Please update your compiler.`);\n }\n // Store the property options\n let properties = globalThis.litPropertyMetadata.get(metadata);\n if (properties === undefined) {\n globalThis.litPropertyMetadata.set(metadata, (properties = new Map()));\n }\n properties.set(context.name, options);\n if (kind === 'accessor') {\n // Standard decorators cannot dynamically modify the class, so we can't\n // replace a field with accessors. The user must use the new `accessor`\n // keyword instead.\n const { name } = context;\n return {\n set(v) {\n const oldValue = target.get.call(this);\n target.set.call(this, v);\n this.requestUpdate(name, oldValue, options);\n },\n init(v) {\n if (v !== undefined) {\n this._$changeProperty(name, undefined, options);\n }\n return v;\n },\n };\n }\n else if (kind === 'setter') {\n const { name } = context;\n return function (value) {\n const oldValue = this[name];\n target.call(this, value);\n this.requestUpdate(name, oldValue, options);\n };\n }\n throw new Error(`Unsupported decorator location: ${kind}`);\n};\n/**\n * A class field or accessor decorator which creates a reactive property that\n * reflects a corresponding attribute value. When a decorated property is set\n * the element will update and render. A {@linkcode PropertyDeclaration} may\n * optionally be supplied to configure property features.\n *\n * This decorator should only be used for public fields. As public fields,\n * properties should be considered as primarily settable by element users,\n * either via attribute or the property itself.\n *\n * Generally, properties that are changed by the element should be private or\n * protected fields and should use the {@linkcode state} decorator.\n *\n * However, sometimes element code does need to set a public property. This\n * should typically only be done in response to user interaction, and an event\n * should be fired informing the user; for example, a checkbox sets its\n * `checked` property when clicked and fires a `changed` event. Mutating public\n * properties should typically not be done for non-primitive (object or array)\n * properties. In other cases when an element needs to manage state, a private\n * property decorated via the {@linkcode state} decorator should be used. When\n * needed, state properties can be initialized via public properties to\n * facilitate complex interactions.\n *\n * ```ts\n * class MyElement {\n * @property({ type: Boolean })\n * clicked = false;\n * }\n * ```\n * @category Decorator\n * @ExportDecoratedItems\n */\nfunction property(options) {\n return (protoOrTarget, nameOrContext\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n ) => {\n return (typeof nameOrContext === 'object'\n ? standardProperty(options, protoOrTarget, nameOrContext)\n : legacyProperty(options, protoOrTarget, nameOrContext));\n };\n}\n//# sourceMappingURL=property.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js ***!
\***********************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAll: () => (/* binding */ queryAll)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Shared fragment used to generate empty NodeLists when a render root is\n// undefined\nlet fragment;\n/**\n * A property decorator that converts a class property into a getter\n * that executes a querySelectorAll on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See:\n * https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll\n *\n * ```ts\n * class MyElement {\n * @queryAll('div')\n * divs: NodeListOf<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction queryAll(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const container = this.renderRoot ?? (fragment ??= document.createDocumentFragment());\n return container.querySelectorAll(selector);\n },\n });\n });\n}\n//# sourceMappingURL=query-all.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js":
/*!*************************************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js ***!
\*************************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedElements: () => (/* binding */ queryAssignedElements)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2021 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedElements` of the given `slot`. Provides a declarative\n * way to use\n * [`HTMLSlotElement.assignedElements`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/assignedElements).\n *\n * Can be passed an optional {@linkcode QueryAssignedElementsOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedElements({ slot: 'list' })\n * listItems!: Array<HTMLElement>;\n * @queryAssignedElements()\n * unnamedSlotEls!: Array<HTMLElement>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * <slot></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note, the type of this property should be annotated as `Array<HTMLElement>`.\n *\n * @category Decorator\n */\nfunction queryAssignedElements(options) {\n return ((obj, name) => {\n const { slot, selector } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n const elements = slotEl?.assignedElements(options) ?? [];\n return (selector === undefined\n ? elements\n : elements.filter((node) => node.matches(selector)));\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-elements.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js":
/*!**********************************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js ***!
\**********************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAssignedNodes: () => (/* binding */ queryAssignedNodes)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * A property decorator that converts a class property into a getter that\n * returns the `assignedNodes` of the given `slot`.\n *\n * Can be passed an optional {@linkcode QueryAssignedNodesOptions} object.\n *\n * Example usage:\n * ```ts\n * class MyElement {\n * @queryAssignedNodes({slot: 'list', flatten: true})\n * listItems!: Array<Node>;\n *\n * render() {\n * return html`\n * <slot name=\"list\"></slot>\n * `;\n * }\n * }\n * ```\n *\n * Note the type of this property should be annotated as `Array<Node>`. Use the\n * queryAssignedElements decorator to list only elements, and optionally filter\n * the element list using a CSS selector.\n *\n * @category Decorator\n */\nfunction queryAssignedNodes(options) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return ((obj, name) => {\n const { slot } = options ?? {};\n const slotSelector = `slot${slot ? `[name=${slot}]` : ':not([name])'}`;\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n get() {\n const slotEl = this.renderRoot?.querySelector(slotSelector);\n return (slotEl?.assignedNodes(options) ?? []);\n },\n });\n });\n}\n//# sourceMappingURL=query-assigned-nodes.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js":
/*!*************************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js ***!
\*************************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ queryAsync: () => (/* binding */ queryAsync)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n// Note, in the future, we may extend this decorator to support the use case\n// where the queried element may need to do work to become ready to interact\n// with (e.g. load some implementation code). If so, we might elect to\n// add a second argument defining a function that can be run to make the\n// queried element loaded/updated/ready.\n/**\n * A property decorator that converts a class property into a getter that\n * returns a promise that resolves to the result of a querySelector on the\n * element's renderRoot done after the element's `updateComplete` promise\n * resolves. When the queried property may change with element state, this\n * decorator can be used instead of requiring users to await the\n * `updateComplete` before accessing the property.\n *\n * @param selector A DOMString containing one or more selectors to match.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @queryAsync('#first')\n * first: Promise<HTMLDivElement>;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n *\n * // external usage\n * async doSomethingWithFirst() {\n * (await aMyElement.first).doSomething();\n * }\n * ```\n * @category Decorator\n */\nfunction queryAsync(selector) {\n return ((obj, name) => {\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(obj, name, {\n async get() {\n await this.updateComplete;\n return this.renderRoot?.querySelector(selector) ?? null;\n },\n });\n });\n}\n//# sourceMappingURL=query-async.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query.js":
/*!*******************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query.js ***!
\*******************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ query: () => (/* binding */ query)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/base.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\n/**\n * A property decorator that converts a class property into a getter that\n * executes a querySelector on the element's renderRoot.\n *\n * @param selector A DOMString containing one or more selectors to match.\n * @param cache An optional boolean which when true performs the DOM query only\n * once and caches the result.\n *\n * See: https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector\n *\n * ```ts\n * class MyElement {\n * @query('#first')\n * first: HTMLDivElement;\n *\n * render() {\n * return html`\n * <div id=\"first\"></div>\n * <div id=\"second\"></div>\n * `;\n * }\n * }\n * ```\n * @category Decorator\n */\nfunction query(selector, cache) {\n return ((protoOrTarget, nameOrContext, descriptor) => {\n const doQuery = (el) => {\n const result = (el.renderRoot?.querySelector(selector) ?? null);\n if (DEV_MODE && result === null && cache && !el.hasUpdated) {\n const name = typeof nameOrContext === 'object'\n ? nameOrContext.name\n : nameOrContext;\n issueWarning('', `@query'd field ${JSON.stringify(String(name))} with the 'cache' ` +\n `flag set for selector '${selector}' has been accessed before ` +\n `the first update and returned null. This is expected if the ` +\n `renderRoot tree has not been provided beforehand (e.g. via ` +\n `Declarative Shadow DOM). Therefore the value hasn't been cached.`);\n }\n // TODO: if we want to allow users to assert that the query will never\n // return null, we need a new option and to throw here if the result\n // is null.\n return result;\n };\n if (cache) {\n // Accessors to wrap from either:\n // 1. The decorator target, in the case of standard decorators\n // 2. The property descriptor, in the case of experimental decorators\n // on auto-accessors.\n // 3. Functions that access our own cache-key property on the instance,\n // in the case of experimental decorators on fields.\n const { get, set } = typeof nameOrContext === 'object'\n ? protoOrTarget\n : descriptor ??\n (() => {\n const key = DEV_MODE\n ? Symbol(`${String(nameOrContext)} (@query() cache)`)\n : Symbol();\n return {\n get() {\n return this[key];\n },\n set(v) {\n this[key] = v;\n },\n };\n })();\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(protoOrTarget, nameOrContext, {\n get() {\n let result = get.call(this);\n if (result === undefined) {\n result = doQuery(this);\n if (result !== null || this.hasUpdated) {\n set.call(this, result);\n }\n }\n return result;\n },\n });\n }\n else {\n // This object works as the return type for both standard and\n // experimental decorators.\n return (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.desc)(protoOrTarget, nameOrContext, {\n get() {\n return doQuery(this);\n },\n });\n }\n });\n}\n//# sourceMappingURL=query.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js":
/*!*******************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js ***!
\*******************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ state: () => (/* binding */ state)\n/* harmony export */ });\n/* harmony import */ var _property_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./property.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/*\n * IMPORTANT: For compatibility with tsickle and the Closure JS compiler, all\n * property decorators (but not class decorators) in this file that have\n * an @ExportDecoratedItems annotation must be defined as a regular function,\n * not an arrow function.\n */\n\n/**\n * Declares a private or protected reactive property that still triggers\n * updates to the element when it changes. It does not reflect from the\n * corresponding attribute.\n *\n * Properties declared this way must not be used from HTML or HTML templating\n * systems, they're solely for properties internal to the element. These\n * properties may be renamed by optimization tools like closure compiler.\n * @category Decorator\n */\nfunction state(options) {\n return (0,_property_js__WEBPACK_IMPORTED_MODULE_0__.property)({\n ...options,\n // Add both `state` and `attribute` because we found a third party\n // controller that is keying off of PropertyOptions.state to determine\n // whether a field is a private internal property or not.\n state: true,\n attribute: false,\n });\n}\n//# sourceMappingURL=state.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js":
/*!*******************************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js ***!
\*******************************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ ReactiveElement: () => (/* binding */ ReactiveElement),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* binding */ defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ notEqual: () => (/* binding */ notEqual),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _css_tag_js__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _css_tag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./css-tag.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/css-tag.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * Use this module if you want to create your own base class extending\n * {@link ReactiveElement}.\n * @packageDocumentation\n */\n\n// In the Node build, this import will be injected by Rollup:\n// import {HTMLElement, customElements} from '@lit-labs/ssr-dom-shim';\n\n// TODO (justinfagnani): Add `hasOwn` here when we ship ES2022\nconst { is, defineProperty, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, } = Object;\nconst NODE_MODE = false;\n// Lets a minifier replace globalThis references with a minified name\nconst global = globalThis;\nif (NODE_MODE) {\n global.customElements ??= customElements;\n}\nconst DEV_MODE = true;\nlet issueWarning;\nconst trustedTypes = global\n .trustedTypes;\n// Temporary workaround for https://crbug.com/993268\n// Currently, any attribute starting with \"on\" is considered to be a\n// TrustedScript source. Such boolean attributes must be set to the equivalent\n// trusted emptyScript value.\nconst emptyStringForBooleanAttribute = trustedTypes\n ? trustedTypes.emptyScript\n : '';\nconst polyfillSupport = DEV_MODE\n ? global.reactiveElementPolyfillSupportDevMode\n : global.reactiveElementPolyfillSupport;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (global.litIssuedWarnings ??=\n new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n // Issue polyfill support warning.\n if (global.ShadyDOM?.inUse && polyfillSupport === undefined) {\n issueWarning('polyfill-support-missing', `Shadow DOM is being polyfilled via \\`ShadyDOM\\` but ` +\n `the \\`polyfill-support\\` module has not been loaded.`);\n }\n}\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = (prop, _obj) => prop;\nconst defaultConverter = {\n toAttribute(value, type) {\n switch (type) {\n case Boolean:\n value = value ? emptyStringForBooleanAttribute : null;\n break;\n case Object:\n case Array:\n // if the value is `null` or `undefined` pass this through\n // to allow removing/no change behavior.\n value = value == null ? value : JSON.stringify(value);\n break;\n }\n return value;\n },\n fromAttribute(value, type) {\n let fromValue = value;\n switch (type) {\n case Boolean:\n fromValue = value !== null;\n break;\n case Number:\n fromValue = value === null ? null : Number(value);\n break;\n case Object:\n case Array:\n // Do *not* generate exception when invalid JSON is set as elements\n // don't normally complain on being mis-configured.\n // TODO(sorvell): Do generate exception in *dev mode*.\n try {\n // Assert to adhere to Bazel's \"must type assert JSON parse\" rule.\n fromValue = JSON.parse(value);\n }\n catch (e) {\n fromValue = null;\n }\n break;\n }\n return fromValue;\n },\n};\n/**\n * Change function that returns true if `value` is different from `oldValue`.\n * This method is used as the default for a property's `hasChanged` function.\n */\nconst notEqual = (value, old) => !is(value, old);\nconst defaultPropertyDeclaration = {\n attribute: true,\n type: String,\n converter: defaultConverter,\n reflect: false,\n hasChanged: notEqual,\n};\n// Ensure metadata is enabled. TypeScript does not polyfill\n// Symbol.metadata, so we must ensure that it exists.\nSymbol.metadata ??= Symbol('metadata');\n// Map from a class's metadata object to property options\n// Note that we must use nullish-coalescing assignment so that we only use one\n// map even if we load multiple version of this module.\nglobal.litPropertyMetadata ??= new WeakMap();\n/**\n * Base element class which manages element properties and attributes. When\n * properties change, the `update` method is asynchronously called. This method\n * should be supplied by subclasses to render updates as desired.\n * @noInheritDoc\n */\nclass ReactiveElement\n// In the Node build, this `extends` clause will be substituted with\n// `(globalThis.HTMLElement ?? HTMLElement)`.\n//\n// This way, we will first prefer any global `HTMLElement` polyfill that the\n// user has assigned, and then fall back to the `HTMLElement` shim which has\n// been imported (see note at the top of this file about how this import is\n// generated by Rollup). Note that the `HTMLElement` variable has been\n// shadowed by this import, so it no longer refers to the global.\n extends HTMLElement {\n /**\n * Adds an initializer function to the class that is called during instance\n * construction.\n *\n * This is useful for code that runs against a `ReactiveElement`\n * subclass, such as a decorator, that needs to do work for each\n * instance, such as setting up a `ReactiveController`.\n *\n * ```ts\n * const myDecorator = (target: typeof ReactiveElement, key: string) => {\n * target.addInitializer((instance: ReactiveElement) => {\n * // This is run during construction of the element\n * new MyController(instance);\n * });\n * }\n * ```\n *\n * Decorating a field will then cause each instance to run an initializer\n * that adds a controller:\n *\n * ```ts\n * class MyElement extends LitElement {\n * @myDecorator foo;\n * }\n * ```\n *\n * Initializers are stored per-constructor. Adding an initializer to a\n * subclass does not add it to a superclass. Since initializers are run in\n * constructors, initializers will run in order of the class hierarchy,\n * starting with superclasses and progressing to the instance's class.\n *\n * @nocollapse\n */\n static addInitializer(initializer) {\n this.__prepare();\n (this._initializers ??= []).push(initializer);\n }\n /**\n * Returns a list of attributes corresponding to the registered properties.\n * @nocollapse\n * @category attributes\n */\n static get observedAttributes() {\n // Ensure we've created all properties\n this.finalize();\n // this.__attributeToPropertyMap is only undefined after finalize() in\n // ReactiveElement itself. ReactiveElement.observedAttributes is only\n // accessed with ReactiveElement as the receiver when a subclass or mixin\n // calls super.observedAttributes\n return (this.__attributeToPropertyMap && [...this.__attributeToPropertyMap.keys()]);\n }\n /**\n * Creates a property accessor on the element prototype if one does not exist\n * and stores a {@linkcode PropertyDeclaration} for the property with the\n * given options. The property setter calls the property's `hasChanged`\n * property option or uses a strict identity check to determine whether or not\n * to request an update.\n *\n * This method may be overridden to customize properties; however,\n * when doing so, it's important to call `super.createProperty` to ensure\n * the property is setup correctly. This method calls\n * `getPropertyDescriptor` internally to get a descriptor to install.\n * To customize what properties do when they are get or set, override\n * `getPropertyDescriptor`. To customize the options for a property,\n * implement `createProperty` like this:\n *\n * ```ts\n * static createProperty(name, options) {\n * options = Object.assign(options, {myOption: true});\n * super.createProperty(name, options);\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static createProperty(name, options = defaultPropertyDeclaration) {\n // If this is a state property, force the attribute to false.\n if (options.state) {\n options.attribute = false;\n }\n this.__prepare();\n this.elementProperties.set(name, options);\n if (!options.noAccessor) {\n const key = DEV_MODE\n ? // Use Symbol.for in dev mode to make it easier to maintain state\n // when doing HMR.\n Symbol.for(`${String(name)} (@property() cache)`)\n : Symbol();\n const descriptor = this.getPropertyDescriptor(name, key, options);\n if (descriptor !== undefined) {\n defineProperty(this.prototype, name, descriptor);\n }\n }\n }\n /**\n * Returns a property descriptor to be defined on the given named property.\n * If no descriptor is returned, the property will not become an accessor.\n * For example,\n *\n * ```ts\n * class MyElement extends LitElement {\n * static getPropertyDescriptor(name, key, options) {\n * const defaultDescriptor =\n * super.getPropertyDescriptor(name, key, options);\n * const setter = defaultDescriptor.set;\n * return {\n * get: defaultDescriptor.get,\n * set(value) {\n * setter.call(this, value);\n * // custom action.\n * },\n * configurable: true,\n * enumerable: true\n * }\n * }\n * }\n * ```\n *\n * @nocollapse\n * @category properties\n */\n static getPropertyDescriptor(name, key, options) {\n const { get, set } = getOwnPropertyDescriptor(this.prototype, name) ?? {\n get() {\n return this[key];\n },\n set(v) {\n this[key] = v;\n },\n };\n if (DEV_MODE && get == null) {\n if ('value' in (getOwnPropertyDescriptor(this.prototype, name) ?? {})) {\n throw new Error(`Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it's actually declared as a value on the prototype. ` +\n `Usually this is due to using @property or @state on a method.`);\n }\n issueWarning('reactive-property-without-getter', `Field ${JSON.stringify(String(name))} on ` +\n `${this.name} was declared as a reactive property ` +\n `but it does not have a getter. This will be an error in a ` +\n `future version of Lit.`);\n }\n return {\n get() {\n return get?.call(this);\n },\n set(value) {\n const oldValue = get?.call(this);\n set.call(this, value);\n this.requestUpdate(name, oldValue, options);\n },\n configurable: true,\n enumerable: true,\n };\n }\n /**\n * Returns the property options associated with the given property.\n * These options are defined with a `PropertyDeclaration` via the `properties`\n * object or the `@property` decorator and are registered in\n * `createProperty(...)`.\n *\n * Note, this method should be considered \"final\" and not overridden. To\n * customize the options for a given property, override\n * {@linkcode createProperty}.\n *\n * @nocollapse\n * @final\n * @category properties\n */\n static getPropertyOptions(name) {\n return this.elementProperties.get(name) ?? defaultPropertyDeclaration;\n }\n /**\n * Initializes static own properties of the class used in bookkeeping\n * for element properties, initializers, etc.\n *\n * Can be called multiple times by code that needs to ensure these\n * properties exist before using them.\n *\n * This method ensures the superclass is finalized so that inherited\n * property metadata can be copied down.\n * @nocollapse\n */\n static __prepare() {\n if (this.hasOwnProperty(JSCompiler_renameProperty('elementProperties', this))) {\n // Already prepared\n return;\n }\n // Finalize any superclasses\n const superCtor = getPrototypeOf(this);\n superCtor.finalize();\n // Create own set of initializers for this class if any exist on the\n // superclass and copy them down. Note, for a small perf boost, avoid\n // creating initializers unless needed.\n if (superCtor._initializers !== undefined) {\n this._initializers = [...superCtor._initializers];\n }\n // Initialize elementProperties from the superclass\n this.elementProperties = new Map(superCtor.elementProperties);\n }\n /**\n * Finishes setting up the class so that it's ready to be registered\n * as a custom element and instantiated.\n *\n * This method is called by the ReactiveElement.observedAttributes getter.\n * If you override the observedAttributes getter, you must either call\n * super.observedAttributes to trigger finalization, or call finalize()\n * yourself.\n *\n * @nocollapse\n */\n static finalize() {\n if (this.hasOwnProperty(JSCompiler_renameProperty('finalized', this))) {\n return;\n }\n this.finalized = true;\n this.__prepare();\n // Create properties from the static properties block:\n if (this.hasOwnProperty(JSCompiler_renameProperty('properties', this))) {\n const props = this.properties;\n const propKeys = [\n ...getOwnPropertyNames(props),\n ...getOwnPropertySymbols(props),\n ];\n for (const p of propKeys) {\n this.createProperty(p, props[p]);\n }\n }\n // Create properties from standard decorator metadata:\n const metadata = this[Symbol.metadata];\n if (metadata !== null) {\n const properties = litPropertyMetadata.get(metadata);\n if (properties !== undefined) {\n for (const [p, options] of properties) {\n this.elementProperties.set(p, options);\n }\n }\n }\n // Create the attribute-to-property map\n this.__attributeToPropertyMap = new Map();\n for (const [p, options] of this.elementProperties) {\n const attr = this.__attributeNameForProperty(p, options);\n if (attr !== undefined) {\n this.__attributeToPropertyMap.set(attr, p);\n }\n }\n this.elementStyles = this.finalizeStyles(this.styles);\n if (DEV_MODE) {\n if (this.hasOwnProperty('createProperty')) {\n issueWarning('no-override-create-property', 'Overriding ReactiveElement.createProperty() is deprecated. ' +\n 'The override will not be called with standard decorators');\n }\n if (this.hasOwnProperty('getPropertyDescriptor')) {\n issueWarning('no-override-get-property-descriptor', 'Overriding ReactiveElement.getPropertyDescriptor() is deprecated. ' +\n 'The override will not be called with standard decorators');\n }\n }\n }\n /**\n * Takes the styles the user supplied via the `static styles` property and\n * returns the array of styles to apply to the element.\n * Override this method to integrate into a style management system.\n *\n * Styles are deduplicated preserving the _last_ instance in the list. This\n * is a performance optimization to avoid duplicated styles that can occur\n * especially when composing via subclassing. The last item is kept to try\n * to preserve the cascade order with the assumption that it's most important\n * that last added styles override previous styles.\n *\n * @nocollapse\n * @category styles\n */\n static finalizeStyles(styles) {\n const elementStyles = [];\n if (Array.isArray(styles)) {\n // Dedupe the flattened array in reverse order to preserve the last items.\n // Casting to Array<unknown> works around TS error that\n // appears to come from trying to flatten a type CSSResultArray.\n const set = new Set(styles.flat(Infinity).reverse());\n // Then preserve original order by adding the set items in reverse order.\n for (const s of set) {\n elementStyles.unshift((0,_css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle)(s));\n }\n }\n else if (styles !== undefined) {\n elementStyles.push((0,_css_tag_js__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle)(styles));\n }\n return elementStyles;\n }\n /**\n * Returns the property name for the given attribute `name`.\n * @nocollapse\n */\n static __attributeNameForProperty(name, options) {\n const attribute = options.attribute;\n return attribute === false\n ? undefined\n : typeof attribute === 'string'\n ? attribute\n : typeof name === 'string'\n ? name.toLowerCase()\n : undefined;\n }\n constructor() {\n super();\n this.__instanceProperties = undefined;\n /**\n * True if there is a pending update as a result of calling `requestUpdate()`.\n * Should only be read.\n * @category updates\n */\n this.isUpdatePending = false;\n /**\n * Is set to `true` after the first update. The element code cannot assume\n * that `renderRoot` exists before the element `hasUpdated`.\n * @category updates\n */\n this.hasUpdated = false;\n /**\n * Name of currently reflecting property\n */\n this.__reflectingProperty = null;\n this.__initialize();\n }\n /**\n * Internal only override point for customizing work done when elements\n * are constructed.\n */\n __initialize() {\n this.__updatePromise = new Promise((res) => (this.enableUpdating = res));\n this._$changedProperties = new Map();\n // This enqueues a microtask that ust run before the first update, so it\n // must be called before requestUpdate()\n this.__saveInstanceProperties();\n // ensures first update will be caught by an early access of\n // `updateComplete`\n this.requestUpdate();\n this.constructor._initializers?.forEach((i) => i(this));\n }\n /**\n * Registers a `ReactiveController` to participate in the element's reactive\n * update cycle. The element automatically calls into any registered\n * controllers during its lifecycle callbacks.\n *\n * If the element is connected when `addController()` is called, the\n * controller's `hostConnected()` callback will be immediately called.\n * @category controllers\n */\n addController(controller) {\n (this.__controllers ??= new Set()).add(controller);\n // If a controller is added after the element has been connected,\n // call hostConnected. Note, re-using existence of `renderRoot` here\n // (which is set in connectedCallback) to avoid the need to track a\n // first connected state.\n if (this.renderRoot !== undefined && this.isConnected) {\n controller.hostConnected?.();\n }\n }\n /**\n * Removes a `ReactiveController` from the element.\n * @category controllers\n */\n removeController(controller) {\n this.__controllers?.delete(controller);\n }\n /**\n * Fixes any properties set on the instance before upgrade time.\n * Otherwise these would shadow the accessor and break these properties.\n * The properties are stored in a Map which is played back after the\n * constructor runs. Note, on very old versions of Safari (<=9) or Chrome\n * (<=41), properties created for native platform properties like (`id` or\n * `name`) may not have default values set in the element constructor. On\n * these browsers native properties appear on instances and therefore their\n * default value will overwrite any element default (e.g. if the element sets\n * this.id = 'id' in the constructor, the 'id' will become '' since this is\n * the native platform default).\n */\n __saveInstanceProperties() {\n const instanceProperties = new Map();\n const elementProperties = this.constructor\n .elementProperties;\n for (const p of elementProperties.keys()) {\n if (this.hasOwnProperty(p)) {\n instanceProperties.set(p, this[p]);\n delete this[p];\n }\n }\n if (instanceProperties.size > 0) {\n this.__instanceProperties = instanceProperties;\n }\n }\n /**\n * Returns the node into which the element should render and by default\n * creates and returns an open shadowRoot. Implement to customize where the\n * element's DOM is rendered. For example, to render into the element's\n * childNodes, return `this`.\n *\n * @return Returns a node into which to render.\n * @category rendering\n */\n createRenderRoot() {\n const renderRoot = this.shadowRoot ??\n this.attachShadow(this.constructor.shadowRootOptions);\n (0,_css_tag_js__WEBPACK_IMPORTED_MODULE_0__.adoptStyles)(renderRoot, this.constructor.elementStyles);\n return renderRoot;\n }\n /**\n * On first connection, creates the element's renderRoot, sets up\n * element styling, and enables updating.\n * @category lifecycle\n */\n connectedCallback() {\n // Create renderRoot before controllers `hostConnected`\n this.renderRoot ??=\n this.createRenderRoot();\n this.enableUpdating(true);\n this.__controllers?.forEach((c) => c.hostConnected?.());\n }\n /**\n * Note, this method should be considered final and not overridden. It is\n * overridden on the element instance with a function that triggers the first\n * update.\n * @category updates\n */\n enableUpdating(_requestedUpdate) { }\n /**\n * Allows for `super.disconnectedCallback()` in extensions while\n * reserving the possibility of making non-breaking feature additions\n * when disconnecting at some point in the future.\n * @category lifecycle\n */\n disconnectedCallback() {\n this.__controllers?.forEach((c) => c.hostDisconnected?.());\n }\n /**\n * Synchronizes property values when attributes change.\n *\n * Specifically, when an attribute is set, the corresponding property is set.\n * You should rarely need to implement this callback. If this method is\n * overridden, `super.attributeChangedCallback(name, _old, value)` must be\n * called.\n *\n * See [using the lifecycle callbacks](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#using_the_lifecycle_callbacks)\n * on MDN for more information about the `attributeChangedCallback`.\n * @category attributes\n */\n attributeChangedCallback(name, _old, value) {\n this._$attributeToProperty(name, value);\n }\n __propertyToAttribute(name, value) {\n const elemProperties = this.constructor.elementProperties;\n const options = elemProperties.get(name);\n const attr = this.constructor.__attributeNameForProperty(name, options);\n if (attr !== undefined && options.reflect === true) {\n const converter = options.converter?.toAttribute !==\n undefined\n ? options.converter\n : defaultConverter;\n const attrValue = converter.toAttribute(value, options.type);\n if (DEV_MODE &&\n this.constructor.enabledWarnings.includes('migration') &&\n attrValue === undefined) {\n issueWarning('undefined-attribute-value', `The attribute value for the ${name} property is ` +\n `undefined on element ${this.localName}. The attribute will be ` +\n `removed, but in the previous version of \\`ReactiveElement\\`, ` +\n `the attribute would not have changed.`);\n }\n // Track if the property is being reflected to avoid\n // setting the property again via `attributeChangedCallback`. Note:\n // 1. this takes advantage of the fact that the callback is synchronous.\n // 2. will behave incorrectly if multiple attributes are in the reaction\n // stack at time of calling. However, since we process attributes\n // in `update` this should not be possible (or an extreme corner case\n // that we'd like to discover).\n // mark state reflecting\n this.__reflectingProperty = name;\n if (attrValue == null) {\n this.removeAttribute(attr);\n }\n else {\n this.setAttribute(attr, attrValue);\n }\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n /** @internal */\n _$attributeToProperty(name, value) {\n const ctor = this.constructor;\n // Note, hint this as an `AttributeMap` so closure clearly understands\n // the type; it has issues with tracking types through statics\n const propName = ctor.__attributeToPropertyMap.get(name);\n // Use tracking info to avoid reflecting a property value to an attribute\n // if it was just set because the attribute changed.\n if (propName !== undefined && this.__reflectingProperty !== propName) {\n const options = ctor.getPropertyOptions(propName);\n const converter = typeof options.converter === 'function'\n ? { fromAttribute: options.converter }\n : options.converter?.fromAttribute !== undefined\n ? options.converter\n : defaultConverter;\n // mark state reflecting\n this.__reflectingProperty = propName;\n this[propName] = converter.fromAttribute(value, options.type\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n );\n // mark state not reflecting\n this.__reflectingProperty = null;\n }\n }\n /* @internal */\n requestUpdate(name, oldValue, options, initial = false, initialValue) {\n // If we have a property key, perform property update steps.\n if (name !== undefined) {\n options ??= this.constructor.getPropertyOptions(name);\n const hasChanged = options.hasChanged ?? notEqual;\n const newValue = initial ? initialValue : this[name];\n if (hasChanged(newValue, oldValue)) {\n this._$changeProperty(name, oldValue, options);\n }\n else {\n // Abort the request if the property should not be considered changed.\n return;\n }\n }\n if (this.isUpdatePending === false) {\n this.__updatePromise = this.__enqueueUpdate();\n }\n }\n /**\n * @internal\n */\n _$changeProperty(name, oldValue, options) {\n // TODO (justinfagnani): Create a benchmark of Map.has() + Map.set(\n // vs just Map.set()\n if (!this._$changedProperties.has(name)) {\n this._$changedProperties.set(name, oldValue);\n }\n // Add to reflecting properties set.\n // Note, it's important that every change has a chance to add the\n // property to `__reflectingProperties`. This ensures setting\n // attribute + property reflects correctly.\n if (options.reflect === true && this.__reflectingProperty !== name) {\n (this.__reflectingProperties ??= new Set()).add(name);\n }\n }\n /**\n * Sets up the element to asynchronously update.\n */\n async __enqueueUpdate() {\n this.isUpdatePending = true;\n try {\n // Ensure any previous update has resolved before updating.\n // This `await` also ensures that property changes are batched.\n await this.__updatePromise;\n }\n catch (e) {\n // Refire any previous errors async so they do not disrupt the update\n // cycle. Errors are refired so developers have a chance to observe\n // them, and this can be done by implementing\n // `window.onunhandledrejection`.\n Promise.reject(e);\n }\n const result = this.scheduleUpdate();\n // If `scheduleUpdate` returns a Promise, we await it. This is done to\n // enable coordinating updates with a scheduler. Note, the result is\n // checked to avoid delaying an additional microtask unless we need to.\n if (result != null) {\n await result;\n }\n return !this.isUpdatePending;\n }\n /**\n * Schedules an element update. You can override this method to change the\n * timing of updates by returning a Promise. The update will await the\n * returned Promise, and you should resolve the Promise to allow the update\n * to proceed. If this method is overridden, `super.scheduleUpdate()`\n * must be called.\n *\n * For instance, to schedule updates to occur just before the next frame:\n *\n * ```ts\n * override protected async scheduleUpdate(): Promise<unknown> {\n * await new Promise((resolve) => requestAnimationFrame(() => resolve()));\n * super.scheduleUpdate();\n * }\n * ```\n * @category updates\n */\n scheduleUpdate() {\n const result = this.performUpdate();\n if (DEV_MODE &&\n this.constructor.enabledWarnings.includes('async-perform-update') &&\n typeof result?.then ===\n 'function') {\n issueWarning('async-perform-update', `Element ${this.localName} returned a Promise from performUpdate(). ` +\n `This behavior is deprecated and will be removed in a future ` +\n `version of ReactiveElement.`);\n }\n return result;\n }\n /**\n * Performs an element update. Note, if an exception is thrown during the\n * update, `firstUpdated` and `updated` will not be called.\n *\n * Call `performUpdate()` to immediately process a pending update. This should\n * generally not be needed, but it can be done in rare cases when you need to\n * update synchronously.\n *\n * @category updates\n */\n performUpdate() {\n // Abort any update if one is not pending when this is called.\n // This can happen if `performUpdate` is called early to \"flush\"\n // the update.\n if (!this.isUpdatePending) {\n return;\n }\n debugLogEvent?.({ kind: 'update' });\n if (!this.hasUpdated) {\n // Create renderRoot before first update. This occurs in `connectedCallback`\n // but is done here to support out of tree calls to `enableUpdating`/`performUpdate`.\n this.renderRoot ??=\n this.createRenderRoot();\n if (DEV_MODE) {\n // Produce warning if any reactive properties on the prototype are\n // shadowed by class fields. Instance fields set before upgrade are\n // deleted by this point, so any own property is caused by class field\n // initialization in the constructor.\n const ctor = this.constructor;\n const shadowedProperties = [...ctor.elementProperties.keys()].filter((p) => this.hasOwnProperty(p) && p in getPrototypeOf(this));\n if (shadowedProperties.length) {\n throw new Error(`The following properties on element ${this.localName} will not ` +\n `trigger updates as expected because they are set using class ` +\n `fields: ${shadowedProperties.join(', ')}. ` +\n `Native class fields and some compiled output will overwrite ` +\n `accessors used for detecting changes. See ` +\n `https://lit.dev/msg/class-field-shadowing ` +\n `for more information.`);\n }\n }\n // Mixin instance properties once, if they exist.\n if (this.__instanceProperties) {\n // TODO (justinfagnani): should we use the stored value? Could a new value\n // have been set since we stored the own property value?\n for (const [p, value] of this.__instanceProperties) {\n this[p] = value;\n }\n this.__instanceProperties = undefined;\n }\n // Trigger initial value reflection and populate the initial\n // changedProperties map, but only for the case of experimental\n // decorators on accessors, which will not have already populated the\n // changedProperties map. We can't know if these accessors had\n // initializers, so we just set them anyway - a difference from\n // experimental decorators on fields and standard decorators on\n // auto-accessors.\n // For context why experimentalDecorators with auto accessors are handled\n // specifically also see:\n // https://github.com/lit/lit/pull/4183#issuecomment-1711959635\n const elementProperties = this.constructor\n .elementProperties;\n if (elementProperties.size > 0) {\n for (const [p, options] of elementProperties) {\n if (options.wrapped === true &&\n !this._$changedProperties.has(p) &&\n this[p] !== undefined) {\n this._$changeProperty(p, this[p], options);\n }\n }\n }\n }\n let shouldUpdate = false;\n const changedProperties = this._$changedProperties;\n try {\n shouldUpdate = this.shouldUpdate(changedProperties);\n if (shouldUpdate) {\n this.willUpdate(changedProperties);\n this.__controllers?.forEach((c) => c.hostUpdate?.());\n this.update(changedProperties);\n }\n else {\n this.__markUpdated();\n }\n }\n catch (e) {\n // Prevent `firstUpdated` and `updated` from running when there's an\n // update exception.\n shouldUpdate = false;\n // Ensure element can accept additional updates after an exception.\n this.__markUpdated();\n throw e;\n }\n // The update is no longer considered pending and further updates are now allowed.\n if (shouldUpdate) {\n this._$didUpdate(changedProperties);\n }\n }\n /**\n * Invoked before `update()` to compute values needed during the update.\n *\n * Implement `willUpdate` to compute property values that depend on other\n * properties and are used in the rest of the update process.\n *\n * ```ts\n * willUpdate(changedProperties) {\n * // only need to check changed properties for an expensive computation.\n * if (changedProperties.has('firstName') || changedProperties.has('lastName')) {\n * this.sha = computeSHA(`${this.firstName} ${this.lastName}`);\n * }\n * }\n *\n * render() {\n * return html`SHA: ${this.sha}`;\n * }\n * ```\n *\n * @category updates\n */\n willUpdate(_changedProperties) { }\n // Note, this is an override point for polyfill-support.\n // @internal\n _$didUpdate(changedProperties) {\n this.__controllers?.forEach((c) => c.hostUpdated?.());\n if (!this.hasUpdated) {\n this.hasUpdated = true;\n this.firstUpdated(changedProperties);\n }\n this.updated(changedProperties);\n if (DEV_MODE &&\n this.isUpdatePending &&\n this.constructor.enabledWarnings.includes('change-in-update')) {\n issueWarning('change-in-update', `Element ${this.localName} scheduled an update ` +\n `(generally because a property was set) ` +\n `after an update completed, causing a new update to be scheduled. ` +\n `This is inefficient and should be avoided unless the next update ` +\n `can only be scheduled as a side effect of the previous update.`);\n }\n }\n __markUpdated() {\n this._$changedProperties = new Map();\n this.isUpdatePending = false;\n }\n /**\n * Returns a Promise that resolves when the element has completed updating.\n * The Promise value is a boolean that is `true` if the element completed the\n * update without triggering another update. The Promise result is `false` if\n * a property was set inside `updated()`. If the Promise is rejected, an\n * exception was thrown during the update.\n *\n * To await additional asynchronous work, override the `getUpdateComplete`\n * method. For example, it is sometimes useful to await a rendered element\n * before fulfilling this Promise. To do this, first await\n * `super.getUpdateComplete()`, then any subsequent state.\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n get updateComplete() {\n return this.getUpdateComplete();\n }\n /**\n * Override point for the `updateComplete` promise.\n *\n * It is not safe to override the `updateComplete` getter directly due to a\n * limitation in TypeScript which means it is not possible to call a\n * superclass getter (e.g. `super.updateComplete.then(...)`) when the target\n * language is ES5 (https://github.com/microsoft/TypeScript/issues/338).\n * This method should be overridden instead. For example:\n *\n * ```ts\n * class MyElement extends LitElement {\n * override async getUpdateComplete() {\n * const result = await super.getUpdateComplete();\n * await this._myChild.updateComplete;\n * return result;\n * }\n * }\n * ```\n *\n * @return A promise of a boolean that resolves to true if the update completed\n * without triggering another update.\n * @category updates\n */\n getUpdateComplete() {\n return this.__updatePromise;\n }\n /**\n * Controls whether or not `update()` should be called when the element requests\n * an update. By default, this method always returns `true`, but this can be\n * customized to control when to update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n shouldUpdate(_changedProperties) {\n return true;\n }\n /**\n * Updates the element. This method reflects property values to attributes.\n * It can be overridden to render and keep updated element DOM.\n * Setting properties inside this method will *not* trigger\n * another update.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n update(_changedProperties) {\n // The forEach() expression will only run when when __reflectingProperties is\n // defined, and it returns undefined, setting __reflectingProperties to\n // undefined\n this.__reflectingProperties &&= this.__reflectingProperties.forEach((p) => this.__propertyToAttribute(p, this[p]));\n this.__markUpdated();\n }\n /**\n * Invoked whenever the element is updated. Implement to perform\n * post-updating tasks via DOM APIs, for example, focusing an element.\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n updated(_changedProperties) { }\n /**\n * Invoked when the element is first updated. Implement to perform one time\n * work on the element after update.\n *\n * ```ts\n * firstUpdated() {\n * this.renderRoot.getElementById('my-text-area').focus();\n * }\n * ```\n *\n * Setting properties inside this method will trigger the element to update\n * again after this update cycle completes.\n *\n * @param _changedProperties Map of changed properties with old values\n * @category updates\n */\n firstUpdated(_changedProperties) { }\n}\n/**\n * Memoized list of all element styles.\n * Created lazily on user subclasses when finalizing the class.\n * @nocollapse\n * @category styles\n */\nReactiveElement.elementStyles = [];\n/**\n * Options used when calling `attachShadow`. Set this property to customize\n * the options for the shadowRoot; for example, to create a closed\n * shadowRoot: `{mode: 'closed'}`.\n *\n * Note, these options are used in `createRenderRoot`. If this method\n * is customized, options should be respected if possible.\n * @nocollapse\n * @category rendering\n */\nReactiveElement.shadowRootOptions = { mode: 'open' };\n// Assigned here to work around a jscompiler bug with static fields\n// when compiling to ES5.\n// https://github.com/google/closure-compiler/issues/3177\nReactiveElement[JSCompiler_renameProperty('elementProperties', ReactiveElement)] = new Map();\nReactiveElement[JSCompiler_renameProperty('finalized', ReactiveElement)] = new Map();\n// Apply polyfills if available\npolyfillSupport?.({ ReactiveElement });\n// Dev mode warnings...\nif (DEV_MODE) {\n // Default warning set.\n ReactiveElement.enabledWarnings = [\n 'change-in-update',\n 'async-perform-update',\n ];\n const ensureOwnWarnings = function (ctor) {\n if (!ctor.hasOwnProperty(JSCompiler_renameProperty('enabledWarnings', ctor))) {\n ctor.enabledWarnings = ctor.enabledWarnings.slice();\n }\n };\n ReactiveElement.enableWarning = function (warning) {\n ensureOwnWarnings(this);\n if (!this.enabledWarnings.includes(warning)) {\n this.enabledWarnings.push(warning);\n }\n };\n ReactiveElement.disableWarning = function (warning) {\n ensureOwnWarnings(this);\n const i = this.enabledWarnings.indexOf(warning);\n if (i >= 0) {\n this.enabledWarnings.splice(i, 1);\n }\n };\n}\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for ReactiveElement usage.\n(global.reactiveElementVersions ??= []).push('2.0.2');\nif (DEV_MODE && global.reactiveElementVersions.length > 1) {\n issueWarning('multiple-versions', `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`);\n}\n//# sourceMappingURL=reactive-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-element/development/lit-element.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-element/development/lit-element.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.CSSResult),\n/* harmony export */ LitElement: () => (/* binding */ LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* binding */ _$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.html),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_html__WEBPACK_IMPORTED_MODULE_1__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * The main LitElement module, which defines the {@linkcode LitElement} base\n * class and related APIs.\n *\n * LitElement components can define a template and a set of observed\n * properties. Changing an observed property triggers a re-render of the\n * element.\n *\n * Import {@linkcode LitElement} and {@linkcode html} from this module to\n * create a component:\n *\n * ```js\n * import {LitElement, html} from 'lit-element';\n *\n * class MyElement extends LitElement {\n *\n * // Declare observed properties\n * static get properties() {\n * return {\n * adjective: {}\n * }\n * }\n *\n * constructor() {\n * this.adjective = 'awesome';\n * }\n *\n * // Define the element's template\n * render() {\n * return html`<p>your ${adjective} template here</p>`;\n * }\n * }\n *\n * customElements.define('my-element', MyElement);\n * ```\n *\n * `LitElement` extends {@linkcode ReactiveElement} and adds lit-html\n * templating. The `ReactiveElement` class is provided for users that want to\n * build their own custom element base classes that don't use lit-html.\n *\n * @packageDocumentation\n */\n\n\n\n\n/*\n * When using Closure Compiler, JSCompiler_renameProperty(property, object) is\n * replaced at compile time by the munged name for object[property]. We cannot\n * alias this function, so we have to use a small shim that has the same\n * behavior when not compiling.\n */\n/*@__INLINE__*/\nconst JSCompiler_renameProperty = (prop, _obj) => prop;\nconst DEV_MODE = true;\nlet issueWarning;\nif (DEV_MODE) {\n // Ensure warnings are issued only 1x, even if multiple versions of Lit\n // are loaded.\n const issuedWarnings = (globalThis.litIssuedWarnings ??= new Set());\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += ` See https://lit.dev/msg/${code} for more information.`;\n if (!issuedWarnings.has(warning)) {\n console.warn(warning);\n issuedWarnings.add(warning);\n }\n };\n}\n/**\n * Base element class that manages element properties and attributes, and\n * renders a lit-html template.\n *\n * To define a component, subclass `LitElement` and implement a\n * `render` method to provide the component's template. Define properties\n * using the {@linkcode LitElement.properties properties} property or the\n * {@linkcode property} decorator.\n */\nclass LitElement extends _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__.ReactiveElement {\n constructor() {\n super(...arguments);\n /**\n * @category rendering\n */\n this.renderOptions = { host: this };\n this.__childPart = undefined;\n }\n /**\n * @category rendering\n */\n createRenderRoot() {\n const renderRoot = super.createRenderRoot();\n // When adoptedStyleSheets are shimmed, they are inserted into the\n // shadowRoot by createRenderRoot. Adjust the renderBefore node so that\n // any styles in Lit content render before adoptedStyleSheets. This is\n // important so that adoptedStyleSheets have precedence over styles in\n // the shadowRoot.\n this.renderOptions.renderBefore ??= renderRoot.firstChild;\n return renderRoot;\n }\n /**\n * Updates the element. This method reflects property values to attributes\n * and calls `render` to render DOM via lit-html. Setting properties inside\n * this method will *not* trigger another update.\n * @param changedProperties Map of changed properties with old values\n * @category updates\n */\n update(changedProperties) {\n // Setting properties in `render` should not trigger an update. Since\n // updates are allowed after super.update, it's important to call `render`\n // before that.\n const value = this.render();\n if (!this.hasUpdated) {\n this.renderOptions.isConnected = this.isConnected;\n }\n super.update(changedProperties);\n this.__childPart = (0,lit_html__WEBPACK_IMPORTED_MODULE_1__.render)(value, this.renderRoot, this.renderOptions);\n }\n /**\n * Invoked when the component is added to the document's DOM.\n *\n * In `connectedCallback()` you should setup tasks that should only occur when\n * the element is connected to the document. The most common of these is\n * adding event listeners to nodes external to the element, like a keydown\n * event handler added to the window.\n *\n * ```ts\n * connectedCallback() {\n * super.connectedCallback();\n * addEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * Typically, anything done in `connectedCallback()` should be undone when the\n * element is disconnected, in `disconnectedCallback()`.\n *\n * @category lifecycle\n */\n connectedCallback() {\n super.connectedCallback();\n this.__childPart?.setConnected(true);\n }\n /**\n * Invoked when the component is removed from the document's DOM.\n *\n * This callback is the main signal to the element that it may no longer be\n * used. `disconnectedCallback()` should ensure that nothing is holding a\n * reference to the element (such as event listeners added to nodes external\n * to the element), so that it is free to be garbage collected.\n *\n * ```ts\n * disconnectedCallback() {\n * super.disconnectedCallback();\n * window.removeEventListener('keydown', this._handleKeydown);\n * }\n * ```\n *\n * An element may be re-connected after being disconnected.\n *\n * @category lifecycle\n */\n disconnectedCallback() {\n super.disconnectedCallback();\n this.__childPart?.setConnected(false);\n }\n /**\n * Invoked on each update to perform rendering tasks. This method may return\n * any value renderable by lit-html's `ChildPart` - typically a\n * `TemplateResult`. Setting properties inside this method will *not* trigger\n * the element to update.\n * @category rendering\n */\n render() {\n return lit_html__WEBPACK_IMPORTED_MODULE_1__.noChange;\n }\n}\n// This property needs to remain unminified.\nLitElement['_$litElement$'] = true;\n/**\n * Ensure this class is marked as `finalized` as an optimization ensuring\n * it will not needlessly try to `finalize`.\n *\n * Note this property name is a string to prevent breaking Closure JS Compiler\n * optimizations. See @lit/reactive-element for more information.\n */\nLitElement[JSCompiler_renameProperty('finalized', LitElement)] = true;\n// Install hydration if available\nglobalThis.litElementHydrateSupport?.({ LitElement });\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? globalThis.litElementPolyfillSupportDevMode\n : globalThis.litElementPolyfillSupport;\npolyfillSupport?.({ LitElement });\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LE object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-html, since this module re-exports all of lit-html.\n *\n * @private\n */\nconst _$LE = {\n _$attributeToProperty: (el, name, value) => {\n // eslint-disable-next-line\n el._$attributeToProperty(name, value);\n },\n // eslint-disable-next-line\n _$changedProperties: (el) => el._$changedProperties,\n};\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for LitElement usage.\n(globalThis.litElementVersions ??= []).push('4.0.2');\nif (DEV_MODE && globalThis.litElementVersions.length > 1) {\n issueWarning('multiple-versions', `Multiple versions of Lit loaded. Loading multiple versions ` +\n `is not recommended.`);\n}\n//# sourceMappingURL=lit-element.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-element/development/lit-element.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/async-directive.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/async-directive.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AsyncDirective: () => (/* binding */ AsyncDirective),\n/* harmony export */ Directive: () => (/* reexport safe */ _directive_js__WEBPACK_IMPORTED_MODULE_1__.Directive),\n/* harmony export */ PartType: () => (/* reexport safe */ _directive_js__WEBPACK_IMPORTED_MODULE_1__.PartType),\n/* harmony export */ directive: () => (/* reexport safe */ _directive_js__WEBPACK_IMPORTED_MODULE_1__.directive)\n/* harmony export */ });\n/* harmony import */ var _directive_helpers_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./directive-helpers.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directive-helpers.js\");\n/* harmony import */ var _directive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./directive.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js\");\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n\n\nconst DEV_MODE = true;\n/**\n * Recursively walks down the tree of Parts/TemplateInstances/Directives to set\n * the connected state of directives and run `disconnected`/ `reconnected`\n * callbacks.\n *\n * @return True if there were children to disconnect; false otherwise\n */\nconst notifyChildrenConnectedChanged = (parent, isConnected) => {\n const children = parent._$disconnectableChildren;\n if (children === undefined) {\n return false;\n }\n for (const obj of children) {\n // The existence of `_$notifyDirectiveConnectionChanged` is used as a \"brand\" to\n // disambiguate AsyncDirectives from other DisconnectableChildren\n // (as opposed to using an instanceof check to know when to call it); the\n // redundancy of \"Directive\" in the API name is to avoid conflicting with\n // `_$notifyConnectionChanged`, which exists `ChildParts` which are also in\n // this list\n // Disconnect Directive (and any nested directives contained within)\n // This property needs to remain unminified.\n obj['_$notifyDirectiveConnectionChanged']?.(isConnected, false);\n // Disconnect Part/TemplateInstance\n notifyChildrenConnectedChanged(obj, isConnected);\n }\n return true;\n};\n/**\n * Removes the given child from its parent list of disconnectable children, and\n * if the parent list becomes empty as a result, removes the parent from its\n * parent, and so forth up the tree when that causes subsequent parent lists to\n * become empty.\n */\nconst removeDisconnectableFromParent = (obj) => {\n let parent, children;\n do {\n if ((parent = obj._$parent) === undefined) {\n break;\n }\n children = parent._$disconnectableChildren;\n children.delete(obj);\n obj = parent;\n } while (children?.size === 0);\n};\nconst addDisconnectableToParent = (obj) => {\n // Climb the parent tree, creating a sparse tree of children needing\n // disconnection\n for (let parent; (parent = obj._$parent); obj = parent) {\n let children = parent._$disconnectableChildren;\n if (children === undefined) {\n parent._$disconnectableChildren = children = new Set();\n }\n else if (children.has(obj)) {\n // Once we've reached a parent that already contains this child, we\n // can short-circuit\n break;\n }\n children.add(obj);\n installDisconnectAPI(parent);\n }\n};\n/**\n * Changes the parent reference of the ChildPart, and updates the sparse tree of\n * Disconnectable children accordingly.\n *\n * Note, this method will be patched onto ChildPart instances and called from\n * the core code when parts are moved between different parents.\n */\nfunction reparentDisconnectables(newParent) {\n if (this._$disconnectableChildren !== undefined) {\n removeDisconnectableFromParent(this);\n this._$parent = newParent;\n addDisconnectableToParent(this);\n }\n else {\n this._$parent = newParent;\n }\n}\n/**\n * Sets the connected state on any directives contained within the committed\n * value of this part (i.e. within a TemplateInstance or iterable of\n * ChildParts) and runs their `disconnected`/`reconnected`s, as well as within\n * any directives stored on the ChildPart (when `valueOnly` is false).\n *\n * `isClearingValue` should be passed as `true` on a top-level part that is\n * clearing itself, and not as a result of recursively disconnecting directives\n * as part of a `clear` operation higher up the tree. This both ensures that any\n * directive on this ChildPart that produced a value that caused the clear\n * operation is not disconnected, and also serves as a performance optimization\n * to avoid needless bookkeeping when a subtree is going away; when clearing a\n * subtree, only the top-most part need to remove itself from the parent.\n *\n * `fromPartIndex` is passed only in the case of a partial `_clear` running as a\n * result of truncating an iterable.\n *\n * Note, this method will be patched onto ChildPart instances and called from the\n * core code when parts are cleared or the connection state is changed by the\n * user.\n */\nfunction notifyChildPartConnectedChanged(isConnected, isClearingValue = false, fromPartIndex = 0) {\n const value = this._$committedValue;\n const children = this._$disconnectableChildren;\n if (children === undefined || children.size === 0) {\n return;\n }\n if (isClearingValue) {\n if (Array.isArray(value)) {\n // Iterable case: Any ChildParts created by the iterable should be\n // disconnected and removed from this ChildPart's disconnectable\n // children (starting at `fromPartIndex` in the case of truncation)\n for (let i = fromPartIndex; i < value.length; i++) {\n notifyChildrenConnectedChanged(value[i], false);\n removeDisconnectableFromParent(value[i]);\n }\n }\n else if (value != null) {\n // TemplateInstance case: If the value has disconnectable children (will\n // only be in the case that it is a TemplateInstance), we disconnect it\n // and remove it from this ChildPart's disconnectable children\n notifyChildrenConnectedChanged(value, false);\n removeDisconnectableFromParent(value);\n }\n }\n else {\n notifyChildrenConnectedChanged(this, isConnected);\n }\n}\n/**\n * Patches disconnection API onto ChildParts.\n */\nconst installDisconnectAPI = (obj) => {\n if (obj.type == _directive_js__WEBPACK_IMPORTED_MODULE_1__.PartType.CHILD) {\n obj._$notifyConnectionChanged ??=\n notifyChildPartConnectedChanged;\n obj._$reparentDisconnectables ??= reparentDisconnectables;\n }\n};\n/**\n * An abstract `Directive` base class whose `disconnected` method will be\n * called when the part containing the directive is cleared as a result of\n * re-rendering, or when the user calls `part.setConnected(false)` on\n * a part that was previously rendered containing the directive (as happens\n * when e.g. a LitElement disconnects from the DOM).\n *\n * If `part.setConnected(true)` is subsequently called on a\n * containing part, the directive's `reconnected` method will be called prior\n * to its next `update`/`render` callbacks. When implementing `disconnected`,\n * `reconnected` should also be implemented to be compatible with reconnection.\n *\n * Note that updates may occur while the directive is disconnected. As such,\n * directives should generally check the `this.isConnected` flag during\n * render/update to determine whether it is safe to subscribe to resources\n * that may prevent garbage collection.\n */\nclass AsyncDirective extends _directive_js__WEBPACK_IMPORTED_MODULE_1__.Directive {\n constructor() {\n super(...arguments);\n // @internal\n this._$disconnectableChildren = undefined;\n }\n /**\n * Initialize the part with internal fields\n * @param part\n * @param parent\n * @param attributeIndex\n */\n _$initialize(part, parent, attributeIndex) {\n super._$initialize(part, parent, attributeIndex);\n addDisconnectableToParent(this);\n this.isConnected = part._$isConnected;\n }\n // This property needs to remain unminified.\n /**\n * Called from the core code when a directive is going away from a part (in\n * which case `shouldRemoveFromParent` should be true), and from the\n * `setChildrenConnected` helper function when recursively changing the\n * connection state of a tree (in which case `shouldRemoveFromParent` should\n * be false).\n *\n * @param isConnected\n * @param isClearingDirective - True when the directive itself is being\n * removed; false when the tree is being disconnected\n * @internal\n */\n ['_$notifyDirectiveConnectionChanged'](isConnected, isClearingDirective = true) {\n if (isConnected !== this.isConnected) {\n this.isConnected = isConnected;\n if (isConnected) {\n this.reconnected?.();\n }\n else {\n this.disconnected?.();\n }\n }\n if (isClearingDirective) {\n notifyChildrenConnectedChanged(this, isConnected);\n removeDisconnectableFromParent(this);\n }\n }\n /**\n * Sets the value of the directive's Part outside the normal `update`/`render`\n * lifecycle of a directive.\n *\n * This method should not be called synchronously from a directive's `update`\n * or `render`.\n *\n * @param directive The directive to update\n * @param value The value to set\n */\n setValue(value) {\n if ((0,_directive_helpers_js__WEBPACK_IMPORTED_MODULE_0__.isSingleExpression)(this.__part)) {\n this.__part._$setValue(value, this);\n }\n else {\n // this.__attributeIndex will be defined in this case, but\n // assert it in dev mode\n if (DEV_MODE && this.__attributeIndex === undefined) {\n throw new Error(`Expected this.__attributeIndex to be a number`);\n }\n const newValues = [...this.__part._$committedValue];\n newValues[this.__attributeIndex] = value;\n this.__part._$setValue(newValues, this, 0);\n }\n }\n /**\n * User callbacks for implementing logic to release any resources/subscriptions\n * that may have been retained by this directive. Since directives may also be\n * re-connected, `reconnected` should also be implemented to restore the\n * working state of the directive prior to the next render.\n */\n disconnected() { }\n reconnected() { }\n}\n//# sourceMappingURL=async-directive.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/async-directive.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directive-helpers.js":
/*!*******************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directive-helpers.js ***!
\*******************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ TemplateResultType: () => (/* binding */ TemplateResultType),\n/* harmony export */ clearPart: () => (/* binding */ clearPart),\n/* harmony export */ getCommittedValue: () => (/* binding */ getCommittedValue),\n/* harmony export */ getDirectiveClass: () => (/* binding */ getDirectiveClass),\n/* harmony export */ insertPart: () => (/* binding */ insertPart),\n/* harmony export */ isCompiledTemplateResult: () => (/* binding */ isCompiledTemplateResult),\n/* harmony export */ isDirectiveResult: () => (/* binding */ isDirectiveResult),\n/* harmony export */ isPrimitive: () => (/* binding */ isPrimitive),\n/* harmony export */ isSingleExpression: () => (/* binding */ isSingleExpression),\n/* harmony export */ isTemplateResult: () => (/* binding */ isTemplateResult),\n/* harmony export */ removePart: () => (/* binding */ removePart),\n/* harmony export */ setChildPartValue: () => (/* binding */ setChildPartValue),\n/* harmony export */ setCommittedValue: () => (/* binding */ setCommittedValue)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nconst { _ChildPart: ChildPart } = _lit_html_js__WEBPACK_IMPORTED_MODULE_0__._$LH;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst wrap = ENABLE_SHADYDOM_NOPATCH &&\n window.ShadyDOM?.inUse &&\n window.ShadyDOM?.noPatch === true\n ? window.ShadyDOM.wrap\n : (node) => node;\n/**\n * Tests if a value is a primitive value.\n *\n * See https://tc39.github.io/ecma262/#sec-typeof-operator\n */\nconst isPrimitive = (value) => value === null || (typeof value != 'object' && typeof value != 'function');\nconst TemplateResultType = {\n HTML: 1,\n SVG: 2,\n};\n/**\n * Tests if a value is a TemplateResult or a CompiledTemplateResult.\n */\nconst isTemplateResult = (value, type) => type === undefined\n ? // This property needs to remain unminified.\n value?.['_$litType$'] !== undefined\n : value?.['_$litType$'] === type;\n/**\n * Tests if a value is a CompiledTemplateResult.\n */\nconst isCompiledTemplateResult = (value) => {\n return value?.['_$litType$']?.h != null;\n};\n/**\n * Tests if a value is a DirectiveResult.\n */\nconst isDirectiveResult = (value) => \n// This property needs to remain unminified.\nvalue?.['_$litDirective$'] !== undefined;\n/**\n * Retrieves the Directive class for a DirectiveResult\n */\nconst getDirectiveClass = (value) => \n// This property needs to remain unminified.\nvalue?.['_$litDirective$'];\n/**\n * Tests whether a part has only a single-expression with no strings to\n * interpolate between.\n *\n * Only AttributePart and PropertyPart can have multiple expressions.\n * Multi-expression parts have a `strings` property and single-expression\n * parts do not.\n */\nconst isSingleExpression = (part) => part.strings === undefined;\nconst createMarker = () => document.createComment('');\n/**\n * Inserts a ChildPart into the given container ChildPart's DOM, either at the\n * end of the container ChildPart, or before the optional `refPart`.\n *\n * This does not add the part to the containerPart's committed value. That must\n * be done by callers.\n *\n * @param containerPart Part within which to add the new ChildPart\n * @param refPart Part before which to add the new ChildPart; when omitted the\n * part added to the end of the `containerPart`\n * @param part Part to insert, or undefined to create a new part\n */\nconst insertPart = (containerPart, refPart, part) => {\n const container = wrap(containerPart._$startNode).parentNode;\n const refNode = refPart === undefined ? containerPart._$endNode : refPart._$startNode;\n if (part === undefined) {\n const startNode = wrap(container).insertBefore(createMarker(), refNode);\n const endNode = wrap(container).insertBefore(createMarker(), refNode);\n part = new ChildPart(startNode, endNode, containerPart, containerPart.options);\n }\n else {\n const endNode = wrap(part._$endNode).nextSibling;\n const oldParent = part._$parent;\n const parentChanged = oldParent !== containerPart;\n if (parentChanged) {\n part._$reparentDisconnectables?.(containerPart);\n // Note that although `_$reparentDisconnectables` updates the part's\n // `_$parent` reference after unlinking from its current parent, that\n // method only exists if Disconnectables are present, so we need to\n // unconditionally set it here\n part._$parent = containerPart;\n // Since the _$isConnected getter is somewhat costly, only\n // read it once we know the subtree has directives that need\n // to be notified\n let newConnectionState;\n if (part._$notifyConnectionChanged !== undefined &&\n (newConnectionState = containerPart._$isConnected) !==\n oldParent._$isConnected) {\n part._$notifyConnectionChanged(newConnectionState);\n }\n }\n if (endNode !== refNode || parentChanged) {\n let start = part._$startNode;\n while (start !== endNode) {\n const n = wrap(start).nextSibling;\n wrap(container).insertBefore(start, refNode);\n start = n;\n }\n }\n }\n return part;\n};\n/**\n * Sets the value of a Part.\n *\n * Note that this should only be used to set/update the value of user-created\n * parts (i.e. those created using `insertPart`); it should not be used\n * by directives to set the value of the directive's container part. Directives\n * should return a value from `update`/`render` to update their part state.\n *\n * For directives that require setting their part value asynchronously, they\n * should extend `AsyncDirective` and call `this.setValue()`.\n *\n * @param part Part to set\n * @param value Value to set\n * @param index For `AttributePart`s, the index to set\n * @param directiveParent Used internally; should not be set by user\n */\nconst setChildPartValue = (part, value, directiveParent = part) => {\n part._$setValue(value, directiveParent);\n return part;\n};\n// A sentinel value that can never appear as a part value except when set by\n// live(). Used to force a dirty-check to fail and cause a re-render.\nconst RESET_VALUE = {};\n/**\n * Sets the committed value of a ChildPart directly without triggering the\n * commit stage of the part.\n *\n * This is useful in cases where a directive needs to update the part such\n * that the next update detects a value change or not. When value is omitted,\n * the next update will be guaranteed to be detected as a change.\n *\n * @param part\n * @param value\n */\nconst setCommittedValue = (part, value = RESET_VALUE) => (part._$committedValue = value);\n/**\n * Returns the committed value of a ChildPart.\n *\n * The committed value is used for change detection and efficient updates of\n * the part. It can differ from the value set by the template or directive in\n * cases where the template value is transformed before being committed.\n *\n * - `TemplateResult`s are committed as a `TemplateInstance`\n * - Iterables are committed as `Array<ChildPart>`\n * - All other types are committed as the template value or value returned or\n * set by a directive.\n *\n * @param part\n */\nconst getCommittedValue = (part) => part._$committedValue;\n/**\n * Removes a ChildPart from the DOM, including any of its content.\n *\n * @param part The Part to remove\n */\nconst removePart = (part) => {\n part._$notifyConnectionChanged?.(false, true);\n let start = part._$startNode;\n const end = wrap(part._$endNode).nextSibling;\n while (start !== end) {\n const n = wrap(start).nextSibling;\n wrap(start).remove();\n start = n;\n }\n};\nconst clearPart = (part) => {\n part._$clear();\n};\n//# sourceMappingURL=directive-helpers.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directive-helpers.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Directive: () => (/* binding */ Directive),\n/* harmony export */ PartType: () => (/* binding */ PartType),\n/* harmony export */ directive: () => (/* binding */ directive)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst PartType = {\n ATTRIBUTE: 1,\n CHILD: 2,\n PROPERTY: 3,\n BOOLEAN_ATTRIBUTE: 4,\n EVENT: 5,\n ELEMENT: 6,\n};\n/**\n * Creates a user-facing directive function from a Directive class. This\n * function has the same parameters as the directive's render() method.\n */\nconst directive = (c) => (...values) => ({\n // This property needs to remain unminified.\n ['_$litDirective$']: c,\n values,\n});\n/**\n * Base class for creating custom directives. Users should extend this class,\n * implement `render` and/or `update`, and then pass their subclass to\n * `directive`.\n */\nclass Directive {\n constructor(_partInfo) { }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n /** @internal */\n _$initialize(part, parent, attributeIndex) {\n this.__part = part;\n this._$parent = parent;\n this.__attributeIndex = attributeIndex;\n }\n /** @internal */\n _$resolve(part, props) {\n return this.update(part, props);\n }\n update(_part, props) {\n return this.render(...props);\n }\n}\n//# sourceMappingURL=directive.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js":
/*!**********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js ***!
\**********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ classMap: () => (/* binding */ classMap)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var _directive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../directive.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directive.js\");\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n\nclass ClassMapDirective extends _directive_js__WEBPACK_IMPORTED_MODULE_1__.Directive {\n constructor(partInfo) {\n super(partInfo);\n if (partInfo.type !== _directive_js__WEBPACK_IMPORTED_MODULE_1__.PartType.ATTRIBUTE ||\n partInfo.name !== 'class' ||\n partInfo.strings?.length > 2) {\n throw new Error('`classMap()` can only be used in the `class` attribute ' +\n 'and must be the only part in the attribute.');\n }\n }\n render(classInfo) {\n // Add spaces to ensure separation from static classes\n return (' ' +\n Object.keys(classInfo)\n .filter((key) => classInfo[key])\n .join(' ') +\n ' ');\n }\n update(part, [classInfo]) {\n // Remember dynamic classes on the first render\n if (this._previousClasses === undefined) {\n this._previousClasses = new Set();\n if (part.strings !== undefined) {\n this._staticClasses = new Set(part.strings\n .join(' ')\n .split(/\\s/)\n .filter((s) => s !== ''));\n }\n for (const name in classInfo) {\n if (classInfo[name] && !this._staticClasses?.has(name)) {\n this._previousClasses.add(name);\n }\n }\n return this.render(classInfo);\n }\n const classList = part.element.classList;\n // Remove old classes that no longer apply\n for (const name of this._previousClasses) {\n if (!(name in classInfo)) {\n classList.remove(name);\n this._previousClasses.delete(name);\n }\n }\n // Add or remove classes based on their classMap value\n for (const name in classInfo) {\n // We explicitly want a loose truthy check of `value` because it seems\n // more convenient that '' and 0 are skipped.\n const value = !!classInfo[name];\n if (value !== this._previousClasses.has(name) &&\n !this._staticClasses?.has(name)) {\n if (value) {\n classList.add(name);\n this._previousClasses.add(name);\n }\n else {\n classList.remove(name);\n this._previousClasses.delete(name);\n }\n }\n }\n return _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.noChange;\n }\n}\n/**\n * A directive that applies dynamic CSS classes.\n *\n * This must be used in the `class` attribute and must be the only part used in\n * the attribute. It takes each property in the `classInfo` argument and adds\n * the property name to the element's `classList` if the property value is\n * truthy; if the property value is falsey, the property name is removed from\n * the element's `class`.\n *\n * For example `{foo: bar}` applies the class `foo` if the value of `bar` is\n * truthy.\n *\n * @param classInfo\n */\nconst classMap = (0,_directive_js__WEBPACK_IMPORTED_MODULE_1__.directive)(ClassMapDirective);\n//# sourceMappingURL=class-map.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* binding */ ifDefined)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nconst ifDefined = (value) => value ?? _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n//# sourceMappingURL=if-defined.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/ref.js":
/*!****************************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/ref.js ***!
\****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createRef: () => (/* binding */ createRef),\n/* harmony export */ ref: () => (/* binding */ ref)\n/* harmony export */ });\n/* harmony import */ var _lit_html_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../lit-html.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var _async_directive_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../async-directive.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/async-directive.js\");\n/**\n * @license\n * Copyright 2020 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n\n/**\n * Creates a new Ref object, which is container for a reference to an element.\n */\nconst createRef = () => new Ref();\n/**\n * An object that holds a ref value.\n */\nclass Ref {\n}\n// When callbacks are used for refs, this map tracks the last value the callback\n// was called with, for ensuring a directive doesn't clear the ref if the ref\n// has already been rendered to a new spot. It is double-keyed on both the\n// context (`options.host`) and the callback, since we auto-bind class methods\n// to `options.host`.\nconst lastElementForContextAndCallback = new WeakMap();\nclass RefDirective extends _async_directive_js__WEBPACK_IMPORTED_MODULE_1__.AsyncDirective {\n render(_ref) {\n return _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n }\n update(part, [ref]) {\n const refChanged = ref !== this._ref;\n if (refChanged && this._ref !== undefined) {\n // The ref passed to the directive has changed;\n // unset the previous ref's value\n this._updateRefValue(undefined);\n }\n if (refChanged || this._lastElementForRef !== this._element) {\n // We either got a new ref or this is the first render;\n // store the ref/element & update the ref value\n this._ref = ref;\n this._context = part.options?.host;\n this._updateRefValue((this._element = part.element));\n }\n return _lit_html_js__WEBPACK_IMPORTED_MODULE_0__.nothing;\n }\n _updateRefValue(element) {\n if (typeof this._ref === 'function') {\n // If the current ref was called with a previous value, call with\n // `undefined`; We do this to ensure callbacks are called in a consistent\n // way regardless of whether a ref might be moving up in the tree (in\n // which case it would otherwise be called with the new value before the\n // previous one unsets it) and down in the tree (where it would be unset\n // before being set). Note that element lookup is keyed by\n // both the context and the callback, since we allow passing unbound\n // functions that are called on options.host, and we want to treat\n // these as unique \"instances\" of a function.\n const context = this._context ?? globalThis;\n let lastElementForCallback = lastElementForContextAndCallback.get(context);\n if (lastElementForCallback === undefined) {\n lastElementForCallback = new WeakMap();\n lastElementForContextAndCallback.set(context, lastElementForCallback);\n }\n if (lastElementForCallback.get(this._ref) !== undefined) {\n this._ref.call(this._context, undefined);\n }\n lastElementForCallback.set(this._ref, element);\n // Call the ref with the new element value\n if (element !== undefined) {\n this._ref.call(this._context, element);\n }\n }\n else {\n this._ref.value = element;\n }\n }\n get _lastElementForRef() {\n return typeof this._ref === 'function'\n ? lastElementForContextAndCallback\n .get(this._context ?? globalThis)\n ?.get(this._ref)\n : this._ref?.value;\n }\n disconnected() {\n // Only clear the box if our element is still the one in it (i.e. another\n // directive instance hasn't rendered its element to it before us); that\n // only happens in the event of the directive being cleared (not via manual\n // disconnection)\n if (this._lastElementForRef === this._element) {\n this._updateRefValue(undefined);\n }\n }\n reconnected() {\n // If we were manually disconnected, we can safely put our element back in\n // the box, since no rendering could have occurred to change its state\n this._updateRefValue(this._element);\n }\n}\n/**\n * Sets the value of a Ref object or calls a ref callback with the element it's\n * bound to.\n *\n * A Ref object acts as a container for a reference to an element. A ref\n * callback is a function that takes an element as its only argument.\n *\n * The ref directive sets the value of the Ref object or calls the ref callback\n * during rendering, if the referenced element changed.\n *\n * Note: If a ref callback is rendered to a different element position or is\n * removed in a subsequent render, it will first be called with `undefined`,\n * followed by another call with the new element it was rendered to (if any).\n *\n * ```js\n * // Using Ref object\n * const inputRef = createRef();\n * render(html`<input ${ref(inputRef)}>`, container);\n * inputRef.value.focus();\n *\n * // Using callback\n * const callback = (inputElement) => inputElement.focus();\n * render(html`<input ${ref(callback)}>`, container);\n * ```\n */\nconst ref = (0,_async_directive_js__WEBPACK_IMPORTED_MODULE_1__.directive)(RefDirective);\n//# sourceMappingURL=ref.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/ref.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isServer: () => (/* binding */ isServer)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2022 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n/**\n * @fileoverview\n *\n * This file exports a boolean const whose value will depend on what environment\n * the module is being imported from.\n */\nconst NODE_MODE = false;\n/**\n * A boolean that will be `true` in server environments like Node, and `false`\n * in browser environments. Note that your server environment or toolchain must\n * support the `\"node\"` export condition for this to be `true`.\n *\n * This can be used when authoring components to change behavior based on\n * whether or not the component is executing in an SSR context.\n */\nconst isServer = NODE_MODE;\n//# sourceMappingURL=is-server.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js":
/*!**********************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js ***!
\**********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ _$LH: () => (/* binding */ _$LH),\n/* harmony export */ html: () => (/* binding */ html),\n/* harmony export */ noChange: () => (/* binding */ noChange),\n/* harmony export */ nothing: () => (/* binding */ nothing),\n/* harmony export */ render: () => (/* binding */ render),\n/* harmony export */ svg: () => (/* binding */ svg)\n/* harmony export */ });\n/**\n * @license\n * Copyright 2017 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\nconst DEV_MODE = true;\nconst ENABLE_EXTRA_SECURITY_HOOKS = true;\nconst ENABLE_SHADYDOM_NOPATCH = true;\nconst NODE_MODE = false;\n// Allows minifiers to rename references to globalThis\nconst global = globalThis;\n/**\n * Useful for visualizing and logging insights into what the Lit template system is doing.\n *\n * Compiled out of prod mode builds.\n */\nconst debugLogEvent = DEV_MODE\n ? (event) => {\n const shouldEmit = global\n .emitLitDebugLogEvents;\n if (!shouldEmit) {\n return;\n }\n global.dispatchEvent(new CustomEvent('lit-debug', {\n detail: event,\n }));\n }\n : undefined;\n// Used for connecting beginRender and endRender events when there are nested\n// renders when errors are thrown preventing an endRender event from being\n// called.\nlet debugLogRenderId = 0;\nlet issueWarning;\nif (DEV_MODE) {\n global.litIssuedWarnings ??= new Set();\n // Issue a warning, if we haven't already.\n issueWarning = (code, warning) => {\n warning += code\n ? ` See https://lit.dev/msg/${code} for more information.`\n : '';\n if (!global.litIssuedWarnings.has(warning)) {\n console.warn(warning);\n global.litIssuedWarnings.add(warning);\n }\n };\n issueWarning('dev-mode', `Lit is in dev mode. Not recommended for production!`);\n}\nconst wrap = ENABLE_SHADYDOM_NOPATCH &&\n global.ShadyDOM?.inUse &&\n global.ShadyDOM?.noPatch === true\n ? global.ShadyDOM.wrap\n : (node) => node;\nconst trustedTypes = global.trustedTypes;\n/**\n * Our TrustedTypePolicy for HTML which is declared using the html template\n * tag function.\n *\n * That HTML is a developer-authored constant, and is parsed with innerHTML\n * before any untrusted expressions have been mixed in. Therefor it is\n * considered safe by construction.\n */\nconst policy = trustedTypes\n ? trustedTypes.createPolicy('lit-html', {\n createHTML: (s) => s,\n })\n : undefined;\nconst identityFunction = (value) => value;\nconst noopSanitizer = (_node, _name, _type) => identityFunction;\n/** Sets the global sanitizer factory. */\nconst setSanitizer = (newSanitizer) => {\n if (!ENABLE_EXTRA_SECURITY_HOOKS) {\n return;\n }\n if (sanitizerFactoryInternal !== noopSanitizer) {\n throw new Error(`Attempted to overwrite existing lit-html security policy.` +\n ` setSanitizeDOMValueFactory should be called at most once.`);\n }\n sanitizerFactoryInternal = newSanitizer;\n};\n/**\n * Only used in internal tests, not a part of the public API.\n */\nconst _testOnlyClearSanitizerFactoryDoNotCallOrElse = () => {\n sanitizerFactoryInternal = noopSanitizer;\n};\nconst createSanitizer = (node, name, type) => {\n return sanitizerFactoryInternal(node, name, type);\n};\n// Added to an attribute name to mark the attribute as bound so we can find\n// it easily.\nconst boundAttributeSuffix = '$lit$';\n// This marker is used in many syntactic positions in HTML, so it must be\n// a valid element name and attribute name. We don't support dynamic names (yet)\n// but this at least ensures that the parse tree is closer to the template\n// intention.\nconst marker = `lit$${String(Math.random()).slice(9)}$`;\n// String used to tell if a comment is a marker comment\nconst markerMatch = '?' + marker;\n// Text used to insert a comment marker node. We use processing instruction\n// syntax because it's slightly smaller, but parses as a comment node.\nconst nodeMarker = `<${markerMatch}>`;\nconst d = NODE_MODE && global.document === undefined\n ? {\n createTreeWalker() {\n return {};\n },\n }\n : document;\n// Creates a dynamic marker. We never have to search for these in the DOM.\nconst createMarker = () => d.createComment('');\nconst isPrimitive = (value) => value === null || (typeof value != 'object' && typeof value != 'function');\nconst isArray = Array.isArray;\nconst isIterable = (value) => isArray(value) ||\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n typeof value?.[Symbol.iterator] === 'function';\nconst SPACE_CHAR = `[ \\t\\n\\f\\r]`;\nconst ATTR_VALUE_CHAR = `[^ \\t\\n\\f\\r\"'\\`<>=]`;\nconst NAME_CHAR = `[^\\\\s\"'>=/]`;\n// These regexes represent the five parsing states that we care about in the\n// Template's HTML scanner. They match the *end* of the state they're named\n// after.\n// Depending on the match, we transition to a new state. If there's no match,\n// we stay in the same state.\n// Note that the regexes are stateful. We utilize lastIndex and sync it\n// across the multiple regexes used. In addition to the five regexes below\n// we also dynamically create a regex to find the matching end tags for raw\n// text elements.\n/**\n * End of text is: `<` followed by:\n * (comment start) or (tag) or (dynamic tag binding)\n */\nconst textEndRegex = /<(?:(!--|\\/[^a-zA-Z])|(\\/?[a-zA-Z][^>\\s]*)|(\\/?$))/g;\nconst COMMENT_START = 1;\nconst TAG_NAME = 2;\nconst DYNAMIC_TAG_NAME = 3;\nconst commentEndRegex = /-->/g;\n/**\n * Comments not started with <!--, like </{, can be ended by a single `>`\n */\nconst comment2EndRegex = />/g;\n/**\n * The tagEnd regex matches the end of the \"inside an opening\" tag syntax\n * position. It either matches a `>`, an attribute-like sequence, or the end\n * of the string after a space (attribute-name position ending).\n *\n * See attributes in the HTML spec:\n * https://www.w3.org/TR/html5/syntax.html#elements-attributes\n *\n * \" \\t\\n\\f\\r\" are HTML space characters:\n * https://infra.spec.whatwg.org/#ascii-whitespace\n *\n * So an attribute is:\n * * The name: any character except a whitespace character, (\"), ('), \">\",\n * \"=\", or \"/\". Note: this is different from the HTML spec which also excludes control characters.\n * * Followed by zero or more space characters\n * * Followed by \"=\"\n * * Followed by zero or more space characters\n * * Followed by:\n * * Any character except space, ('), (\"), \"<\", \">\", \"=\", (`), or\n * * (\") then any non-(\"), or\n * * (') then any non-(')\n */\nconst tagEndRegex = new RegExp(`>|${SPACE_CHAR}(?:(${NAME_CHAR}+)(${SPACE_CHAR}*=${SPACE_CHAR}*(?:${ATTR_VALUE_CHAR}|(\"|')|))|$)`, 'g');\nconst ENTIRE_MATCH = 0;\nconst ATTRIBUTE_NAME = 1;\nconst SPACES_AND_EQUALS = 2;\nconst QUOTE_CHAR = 3;\nconst singleQuoteAttrEndRegex = /'/g;\nconst doubleQuoteAttrEndRegex = /\"/g;\n/**\n * Matches the raw text elements.\n *\n * Comments are not parsed within raw text elements, so we need to search their\n * text content for marker strings.\n */\nconst rawTextElement = /^(?:script|style|textarea|title)$/i;\n/** TemplateResult types */\nconst HTML_RESULT = 1;\nconst SVG_RESULT = 2;\n// TemplatePart types\n// IMPORTANT: these must match the values in PartType\nconst ATTRIBUTE_PART = 1;\nconst CHILD_PART = 2;\nconst PROPERTY_PART = 3;\nconst BOOLEAN_ATTRIBUTE_PART = 4;\nconst EVENT_PART = 5;\nconst ELEMENT_PART = 6;\nconst COMMENT_PART = 7;\n/**\n * Generates a template literal tag function that returns a TemplateResult with\n * the given result type.\n */\nconst tag = (type) => (strings, ...values) => {\n // Warn against templates octal escape sequences\n // We do this here rather than in render so that the warning is closer to the\n // template definition.\n if (DEV_MODE && strings.some((s) => s === undefined)) {\n console.warn('Some template strings are undefined.\\n' +\n 'This is probably caused by illegal octal escape sequences.');\n }\n if (DEV_MODE) {\n // Import static-html.js results in a circular dependency which g3 doesn't\n // handle. Instead we know that static values must have the field\n // `_$litStatic$`.\n if (values.some((val) => val?.['_$litStatic$'])) {\n issueWarning('', `Static values 'literal' or 'unsafeStatic' cannot be used as values to non-static templates.\\n` +\n `Please use the static 'html' tag function. See https://lit.dev/docs/templates/expressions/#static-expressions`);\n }\n }\n return {\n // This property needs to remain unminified.\n ['_$litType$']: type,\n strings,\n values,\n };\n};\n/**\n * Interprets a template literal as an HTML template that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const header = (title: string) => html`<h1>${title}</h1>`;\n * ```\n *\n * The `html` tag returns a description of the DOM to render as a value. It is\n * lazy, meaning no work is done until the template is rendered. When rendering,\n * if a template comes from the same expression as a previously rendered result,\n * it's efficiently updated instead of replaced.\n */\nconst html = tag(HTML_RESULT);\n/**\n * Interprets a template literal as an SVG fragment that can efficiently\n * render to and update a container.\n *\n * ```ts\n * const rect = svg`<rect width=\"10\" height=\"10\"></rect>`;\n *\n * const myImage = html`\n * <svg viewBox=\"0 0 10 10\" xmlns=\"http://www.w3.org/2000/svg\">\n * ${rect}\n * </svg>`;\n * ```\n *\n * The `svg` *tag function* should only be used for SVG fragments, or elements\n * that would be contained **inside** an `<svg>` HTML element. A common error is\n * placing an `<svg>` *element* in a template tagged with the `svg` tag\n * function. The `<svg>` element is an HTML element and should be used within a\n * template tagged with the {@linkcode html} tag function.\n *\n * In LitElement usage, it's invalid to return an SVG fragment from the\n * `render()` method, as the SVG fragment will be contained within the element's\n * shadow root and thus cannot be used within an `<svg>` HTML element.\n */\nconst svg = tag(SVG_RESULT);\n/**\n * A sentinel value that signals that a value was handled by a directive and\n * should not be written to the DOM.\n */\nconst noChange = Symbol.for('lit-noChange');\n/**\n * A sentinel value that signals a ChildPart to fully clear its content.\n *\n * ```ts\n * const button = html`${\n * user.isAdmin\n * ? html`<button>DELETE</button>`\n * : nothing\n * }`;\n * ```\n *\n * Prefer using `nothing` over other falsy values as it provides a consistent\n * behavior between various expression binding contexts.\n *\n * In child expressions, `undefined`, `null`, `''`, and `nothing` all behave the\n * same and render no nodes. In attribute expressions, `nothing` _removes_ the\n * attribute, while `undefined` and `null` will render an empty string. In\n * property expressions `nothing` becomes `undefined`.\n */\nconst nothing = Symbol.for('lit-nothing');\n/**\n * The cache of prepared templates, keyed by the tagged TemplateStringsArray\n * and _not_ accounting for the specific template tag used. This means that\n * template tags cannot be dynamic - the must statically be one of html, svg,\n * or attr. This restriction simplifies the cache lookup, which is on the hot\n * path for rendering.\n */\nconst templateCache = new WeakMap();\nconst walker = d.createTreeWalker(d, 129 /* NodeFilter.SHOW_{ELEMENT|COMMENT} */);\nlet sanitizerFactoryInternal = noopSanitizer;\nfunction trustFromTemplateString(tsa, stringFromTSA) {\n // A security check to prevent spoofing of Lit template results.\n // In the future, we may be able to replace this with Array.isTemplateObject,\n // though we might need to make that check inside of the html and svg\n // functions, because precompiled templates don't come in as\n // TemplateStringArray objects.\n if (!Array.isArray(tsa) || !tsa.hasOwnProperty('raw')) {\n let message = 'invalid template strings array';\n if (DEV_MODE) {\n message = `\n Internal Error: expected template strings to be an array\n with a 'raw' field. Faking a template strings array by\n calling html or svg like an ordinary function is effectively\n the same as calling unsafeHtml and can lead to major security\n issues, e.g. opening your code up to XSS attacks.\n If you're using the html or svg tagged template functions normally\n and still seeing this error, please file a bug at\n https://github.com/lit/lit/issues/new?template=bug_report.md\n and include information about your build tooling, if any.\n `\n .trim()\n .replace(/\\n */g, '\\n');\n }\n throw new Error(message);\n }\n return policy !== undefined\n ? policy.createHTML(stringFromTSA)\n : stringFromTSA;\n}\n/**\n * Returns an HTML string for the given TemplateStringsArray and result type\n * (HTML or SVG), along with the case-sensitive bound attribute names in\n * template order. The HTML contains comment markers denoting the `ChildPart`s\n * and suffixes on bound attributes denoting the `AttributeParts`.\n *\n * @param strings template strings array\n * @param type HTML or SVG\n * @return Array containing `[html, attrNames]` (array returned for terseness,\n * to avoid object fields since this code is shared with non-minified SSR\n * code)\n */\nconst getTemplateHtml = (strings, type) => {\n // Insert makers into the template HTML to represent the position of\n // bindings. The following code scans the template strings to determine the\n // syntactic position of the bindings. They can be in text position, where\n // we insert an HTML comment, attribute value position, where we insert a\n // sentinel string and re-write the attribute name, or inside a tag where\n // we insert the sentinel string.\n const l = strings.length - 1;\n // Stores the case-sensitive bound attribute names in the order of their\n // parts. ElementParts are also reflected in this array as undefined\n // rather than a string, to disambiguate from attribute bindings.\n const attrNames = [];\n let html = type === SVG_RESULT ? '<svg>' : '';\n // When we're inside a raw text tag (not it's text content), the regex\n // will still be tagRegex so we can find attributes, but will switch to\n // this regex when the tag ends.\n let rawTextEndRegex;\n // The current parsing state, represented as a reference to one of the\n // regexes\n let regex = textEndRegex;\n for (let i = 0; i < l; i++) {\n const s = strings[i];\n // The index of the end of the last attribute name. When this is\n // positive at end of a string, it means we're in an attribute value\n // position and need to rewrite the attribute name.\n // We also use a special value of -2 to indicate that we encountered\n // the end of a string in attribute name position.\n let attrNameEndIndex = -1;\n let attrName;\n let lastIndex = 0;\n let match;\n // The conditions in this loop handle the current parse state, and the\n // assignments to the `regex` variable are the state transitions.\n while (lastIndex < s.length) {\n // Make sure we start searching from where we previously left off\n regex.lastIndex = lastIndex;\n match = regex.exec(s);\n if (match === null) {\n break;\n }\n lastIndex = regex.lastIndex;\n if (regex === textEndRegex) {\n if (match[COMMENT_START] === '!--') {\n regex = commentEndRegex;\n }\n else if (match[COMMENT_START] !== undefined) {\n // We started a weird comment, like </{\n regex = comment2EndRegex;\n }\n else if (match[TAG_NAME] !== undefined) {\n if (rawTextElement.test(match[TAG_NAME])) {\n // Record if we encounter a raw-text element. We'll switch to\n // this regex at the end of the tag.\n rawTextEndRegex = new RegExp(`</${match[TAG_NAME]}`, 'g');\n }\n regex = tagEndRegex;\n }\n else if (match[DYNAMIC_TAG_NAME] !== undefined) {\n if (DEV_MODE) {\n throw new Error('Bindings in tag names are not supported. Please use static templates instead. ' +\n 'See https://lit.dev/docs/templates/expressions/#static-expressions');\n }\n regex = tagEndRegex;\n }\n }\n else if (regex === tagEndRegex) {\n if (match[ENTIRE_MATCH] === '>') {\n // End of a tag. If we had started a raw-text element, use that\n // regex\n regex = rawTextEndRegex ?? textEndRegex;\n // We may be ending an unquoted attribute value, so make sure we\n // clear any pending attrNameEndIndex\n attrNameEndIndex = -1;\n }\n else if (match[ATTRIBUTE_NAME] === undefined) {\n // Attribute name position\n attrNameEndIndex = -2;\n }\n else {\n attrNameEndIndex = regex.lastIndex - match[SPACES_AND_EQUALS].length;\n attrName = match[ATTRIBUTE_NAME];\n regex =\n match[QUOTE_CHAR] === undefined\n ? tagEndRegex\n : match[QUOTE_CHAR] === '\"'\n ? doubleQuoteAttrEndRegex\n : singleQuoteAttrEndRegex;\n }\n }\n else if (regex === doubleQuoteAttrEndRegex ||\n regex === singleQuoteAttrEndRegex) {\n regex = tagEndRegex;\n }\n else if (regex === commentEndRegex || regex === comment2EndRegex) {\n regex = textEndRegex;\n }\n else {\n // Not one of the five state regexes, so it must be the dynamically\n // created raw text regex and we're at the close of that element.\n regex = tagEndRegex;\n rawTextEndRegex = undefined;\n }\n }\n if (DEV_MODE) {\n // If we have a attrNameEndIndex, which indicates that we should\n // rewrite the attribute name, assert that we're in a valid attribute\n // position - either in a tag, or a quoted attribute value.\n console.assert(attrNameEndIndex === -1 ||\n regex === tagEndRegex ||\n regex === singleQuoteAttrEndRegex ||\n regex === doubleQuoteAttrEndRegex, 'unexpected parse state B');\n }\n // We have four cases:\n // 1. We're in text position, and not in a raw text element\n // (regex === textEndRegex): insert a comment marker.\n // 2. We have a non-negative attrNameEndIndex which means we need to\n // rewrite the attribute name to add a bound attribute suffix.\n // 3. We're at the non-first binding in a multi-binding attribute, use a\n // plain marker.\n // 4. We're somewhere else inside the tag. If we're in attribute name\n // position (attrNameEndIndex === -2), add a sequential suffix to\n // generate a unique attribute name.\n // Detect a binding next to self-closing tag end and insert a space to\n // separate the marker from the tag end:\n const end = regex === tagEndRegex && strings[i + 1].startsWith('/>') ? ' ' : '';\n html +=\n regex === textEndRegex\n ? s + nodeMarker\n : attrNameEndIndex >= 0\n ? (attrNames.push(attrName),\n s.slice(0, attrNameEndIndex) +\n boundAttributeSuffix +\n s.slice(attrNameEndIndex)) +\n marker +\n end\n : s + marker + (attrNameEndIndex === -2 ? i : end);\n }\n const htmlResult = html + (strings[l] || '<?>') + (type === SVG_RESULT ? '</svg>' : '');\n // Returned as an array for terseness\n return [trustFromTemplateString(strings, htmlResult), attrNames];\n};\nclass Template {\n constructor(\n // This property needs to remain unminified.\n { strings, ['_$litType$']: type }, options) {\n this.parts = [];\n let node;\n let nodeIndex = 0;\n let attrNameIndex = 0;\n const partCount = strings.length - 1;\n const parts = this.parts;\n // Create template element\n const [html, attrNames] = getTemplateHtml(strings, type);\n this.el = Template.createElement(html, options);\n walker.currentNode = this.el.content;\n // Re-parent SVG nodes into template root\n if (type === SVG_RESULT) {\n const svgElement = this.el.content.firstChild;\n svgElement.replaceWith(...svgElement.childNodes);\n }\n // Walk the template to find binding markers and create TemplateParts\n while ((node = walker.nextNode()) !== null && parts.length < partCount) {\n if (node.nodeType === 1) {\n if (DEV_MODE) {\n const tag = node.localName;\n // Warn if `textarea` includes an expression and throw if `template`\n // does since these are not supported. We do this by checking\n // innerHTML for anything that looks like a marker. This catches\n // cases like bindings in textarea there markers turn into text nodes.\n if (/^(?:textarea|template)$/i.test(tag) &&\n node.innerHTML.includes(marker)) {\n const m = `Expressions are not supported inside \\`${tag}\\` ` +\n `elements. See https://lit.dev/msg/expression-in-${tag} for more ` +\n `information.`;\n if (tag === 'template') {\n throw new Error(m);\n }\n else\n issueWarning('', m);\n }\n }\n // TODO (justinfagnani): for attempted dynamic tag names, we don't\n // increment the bindingIndex, and it'll be off by 1 in the element\n // and off by two after it.\n if (node.hasAttributes()) {\n for (const name of node.getAttributeNames()) {\n if (name.endsWith(boundAttributeSuffix)) {\n const realName = attrNames[attrNameIndex++];\n const value = node.getAttribute(name);\n const statics = value.split(marker);\n const m = /([.?@])?(.*)/.exec(realName);\n parts.push({\n type: ATTRIBUTE_PART,\n index: nodeIndex,\n name: m[2],\n strings: statics,\n ctor: m[1] === '.'\n ? PropertyPart\n : m[1] === '?'\n ? BooleanAttributePart\n : m[1] === '@'\n ? EventPart\n : AttributePart,\n });\n node.removeAttribute(name);\n }\n else if (name.startsWith(marker)) {\n parts.push({\n type: ELEMENT_PART,\n index: nodeIndex,\n });\n node.removeAttribute(name);\n }\n }\n }\n // TODO (justinfagnani): benchmark the regex against testing for each\n // of the 3 raw text element names.\n if (rawTextElement.test(node.tagName)) {\n // For raw text elements we need to split the text content on\n // markers, create a Text node for each segment, and create\n // a TemplatePart for each marker.\n const strings = node.textContent.split(marker);\n const lastIndex = strings.length - 1;\n if (lastIndex > 0) {\n node.textContent = trustedTypes\n ? trustedTypes.emptyScript\n : '';\n // Generate a new text node for each literal section\n // These nodes are also used as the markers for node parts\n // We can't use empty text nodes as markers because they're\n // normalized when cloning in IE (could simplify when\n // IE is no longer supported)\n for (let i = 0; i < lastIndex; i++) {\n node.append(strings[i], createMarker());\n // Walk past the marker node we just added\n walker.nextNode();\n parts.push({ type: CHILD_PART, index: ++nodeIndex });\n }\n // Note because this marker is added after the walker's current\n // node, it will be walked to in the outer loop (and ignored), so\n // we don't need to adjust nodeIndex here\n node.append(strings[lastIndex], createMarker());\n }\n }\n }\n else if (node.nodeType === 8) {\n const data = node.data;\n if (data === markerMatch) {\n parts.push({ type: CHILD_PART, index: nodeIndex });\n }\n else {\n let i = -1;\n while ((i = node.data.indexOf(marker, i + 1)) !== -1) {\n // Comment node has a binding marker inside, make an inactive part\n // The binding won't work, but subsequent bindings will\n parts.push({ type: COMMENT_PART, index: nodeIndex });\n // Move to the end of the match\n i += marker.length - 1;\n }\n }\n }\n nodeIndex++;\n }\n // We could set walker.currentNode to another node here to prevent a memory\n // leak, but every time we prepare a template, we immediately render it\n // and re-use the walker in new TemplateInstance._clone().\n debugLogEvent &&\n debugLogEvent({\n kind: 'template prep',\n template: this,\n clonableTemplate: this.el,\n parts: this.parts,\n strings,\n });\n }\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @nocollapse */\n static createElement(html, _options) {\n const el = d.createElement('template');\n el.innerHTML = html;\n return el;\n }\n}\nfunction resolveDirective(part, value, parent = part, attributeIndex) {\n // Bail early if the value is explicitly noChange. Note, this means any\n // nested directive is still attached and is not run.\n if (value === noChange) {\n return value;\n }\n let currentDirective = attributeIndex !== undefined\n ? parent.__directives?.[attributeIndex]\n : parent.__directive;\n const nextDirectiveConstructor = isPrimitive(value)\n ? undefined\n : // This property needs to remain unminified.\n value['_$litDirective$'];\n if (currentDirective?.constructor !== nextDirectiveConstructor) {\n // This property needs to remain unminified.\n currentDirective?.['_$notifyDirectiveConnectionChanged']?.(false);\n if (nextDirectiveConstructor === undefined) {\n currentDirective = undefined;\n }\n else {\n currentDirective = new nextDirectiveConstructor(part);\n currentDirective._$initialize(part, parent, attributeIndex);\n }\n if (attributeIndex !== undefined) {\n (parent.__directives ??= [])[attributeIndex] =\n currentDirective;\n }\n else {\n parent.__directive = currentDirective;\n }\n }\n if (currentDirective !== undefined) {\n value = resolveDirective(part, currentDirective._$resolve(part, value.values), currentDirective, attributeIndex);\n }\n return value;\n}\n/**\n * An updateable instance of a Template. Holds references to the Parts used to\n * update the template instance.\n */\nclass TemplateInstance {\n constructor(template, parent) {\n this._$parts = [];\n /** @internal */\n this._$disconnectableChildren = undefined;\n this._$template = template;\n this._$parent = parent;\n }\n // Called by ChildPart parentNode getter\n get parentNode() {\n return this._$parent.parentNode;\n }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n // This method is separate from the constructor because we need to return a\n // DocumentFragment and we don't want to hold onto it with an instance field.\n _clone(options) {\n const { el: { content }, parts: parts, } = this._$template;\n const fragment = (options?.creationScope ?? d).importNode(content, true);\n walker.currentNode = fragment;\n let node = walker.nextNode();\n let nodeIndex = 0;\n let partIndex = 0;\n let templatePart = parts[0];\n while (templatePart !== undefined) {\n if (nodeIndex === templatePart.index) {\n let part;\n if (templatePart.type === CHILD_PART) {\n part = new ChildPart(node, node.nextSibling, this, options);\n }\n else if (templatePart.type === ATTRIBUTE_PART) {\n part = new templatePart.ctor(node, templatePart.name, templatePart.strings, this, options);\n }\n else if (templatePart.type === ELEMENT_PART) {\n part = new ElementPart(node, this, options);\n }\n this._$parts.push(part);\n templatePart = parts[++partIndex];\n }\n if (nodeIndex !== templatePart?.index) {\n node = walker.nextNode();\n nodeIndex++;\n }\n }\n // We need to set the currentNode away from the cloned tree so that we\n // don't hold onto the tree even if the tree is detached and should be\n // freed.\n walker.currentNode = d;\n return fragment;\n }\n _update(values) {\n let i = 0;\n for (const part of this._$parts) {\n if (part !== undefined) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'set part',\n part,\n value: values[i],\n valueIndex: i,\n values,\n templateInstance: this,\n });\n if (part.strings !== undefined) {\n part._$setValue(values, part, i);\n // The number of values the part consumes is part.strings.length - 1\n // since values are in between template spans. We increment i by 1\n // later in the loop, so increment it by part.strings.length - 2 here\n i += part.strings.length - 2;\n }\n else {\n part._$setValue(values[i]);\n }\n }\n i++;\n }\n }\n}\nclass ChildPart {\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n // ChildParts that are not at the root should always be created with a\n // parent; only RootChildNode's won't, so they return the local isConnected\n // state\n return this._$parent?._$isConnected ?? this.__isConnected;\n }\n constructor(startNode, endNode, parent, options) {\n this.type = CHILD_PART;\n this._$committedValue = nothing;\n // The following fields will be patched onto ChildParts when required by\n // AsyncDirective\n /** @internal */\n this._$disconnectableChildren = undefined;\n this._$startNode = startNode;\n this._$endNode = endNode;\n this._$parent = parent;\n this.options = options;\n // Note __isConnected is only ever accessed on RootParts (i.e. when there is\n // no _$parent); the value on a non-root-part is \"don't care\", but checking\n // for parent would be more code\n this.__isConnected = options?.isConnected ?? true;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n // Explicitly initialize for consistent class shape.\n this._textSanitizer = undefined;\n }\n }\n /**\n * The parent node into which the part renders its content.\n *\n * A ChildPart's content consists of a range of adjacent child nodes of\n * `.parentNode`, possibly bordered by 'marker nodes' (`.startNode` and\n * `.endNode`).\n *\n * - If both `.startNode` and `.endNode` are non-null, then the part's content\n * consists of all siblings between `.startNode` and `.endNode`, exclusively.\n *\n * - If `.startNode` is non-null but `.endNode` is null, then the part's\n * content consists of all siblings following `.startNode`, up to and\n * including the last child of `.parentNode`. If `.endNode` is non-null, then\n * `.startNode` will always be non-null.\n *\n * - If both `.endNode` and `.startNode` are null, then the part's content\n * consists of all child nodes of `.parentNode`.\n */\n get parentNode() {\n let parentNode = wrap(this._$startNode).parentNode;\n const parent = this._$parent;\n if (parent !== undefined &&\n parentNode?.nodeType === 11 /* Node.DOCUMENT_FRAGMENT */) {\n // If the parentNode is a DocumentFragment, it may be because the DOM is\n // still in the cloned fragment during initial render; if so, get the real\n // parentNode the part will be committed into by asking the parent.\n parentNode = parent.parentNode;\n }\n return parentNode;\n }\n /**\n * The part's leading marker node, if any. See `.parentNode` for more\n * information.\n */\n get startNode() {\n return this._$startNode;\n }\n /**\n * The part's trailing marker node, if any. See `.parentNode` for more\n * information.\n */\n get endNode() {\n return this._$endNode;\n }\n _$setValue(value, directiveParent = this) {\n if (DEV_MODE && this.parentNode === null) {\n throw new Error(`This \\`ChildPart\\` has no \\`parentNode\\` and therefore cannot accept a value. This likely means the element containing the part was manipulated in an unsupported way outside of Lit's control such that the part's marker nodes were ejected from DOM. For example, setting the element's \\`innerHTML\\` or \\`textContent\\` can do this.`);\n }\n value = resolveDirective(this, value, directiveParent);\n if (isPrimitive(value)) {\n // Non-rendering child values. It's important that these do not render\n // empty text nodes to avoid issues with preventing default <slot>\n // fallback content.\n if (value === nothing || value == null || value === '') {\n if (this._$committedValue !== nothing) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit nothing to child',\n start: this._$startNode,\n end: this._$endNode,\n parent: this._$parent,\n options: this.options,\n });\n this._$clear();\n }\n this._$committedValue = nothing;\n }\n else if (value !== this._$committedValue && value !== noChange) {\n this._commitText(value);\n }\n // This property needs to remain unminified.\n }\n else if (value['_$litType$'] !== undefined) {\n this._commitTemplateResult(value);\n }\n else if (value.nodeType !== undefined) {\n if (DEV_MODE && this.options?.host === value) {\n this._commitText(`[probable mistake: rendered a template's host in itself ` +\n `(commonly caused by writing \\${this} in a template]`);\n console.warn(`Attempted to render the template host`, value, `inside itself. This is almost always a mistake, and in dev mode `, `we render some warning text. In production however, we'll `, `render it, which will usually result in an error, and sometimes `, `in the element disappearing from the DOM.`);\n return;\n }\n this._commitNode(value);\n }\n else if (isIterable(value)) {\n this._commitIterable(value);\n }\n else {\n // Fallback, will render the string representation\n this._commitText(value);\n }\n }\n _insert(node) {\n return wrap(wrap(this._$startNode).parentNode).insertBefore(node, this._$endNode);\n }\n _commitNode(value) {\n if (this._$committedValue !== value) {\n this._$clear();\n if (ENABLE_EXTRA_SECURITY_HOOKS &&\n sanitizerFactoryInternal !== noopSanitizer) {\n const parentNodeName = this._$startNode.parentNode?.nodeName;\n if (parentNodeName === 'STYLE' || parentNodeName === 'SCRIPT') {\n let message = 'Forbidden';\n if (DEV_MODE) {\n if (parentNodeName === 'STYLE') {\n message =\n `Lit does not support binding inside style nodes. ` +\n `This is a security risk, as style injection attacks can ` +\n `exfiltrate data and spoof UIs. ` +\n `Consider instead using css\\`...\\` literals ` +\n `to compose styles, and make do dynamic styling with ` +\n `css custom properties, ::parts, <slot>s, ` +\n `and by mutating the DOM rather than stylesheets.`;\n }\n else {\n message =\n `Lit does not support binding inside script nodes. ` +\n `This is a security risk, as it could allow arbitrary ` +\n `code execution.`;\n }\n }\n throw new Error(message);\n }\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit node',\n start: this._$startNode,\n parent: this._$parent,\n value: value,\n options: this.options,\n });\n this._$committedValue = this._insert(value);\n }\n }\n _commitText(value) {\n // If the committed value is a primitive it means we called _commitText on\n // the previous render, and we know that this._$startNode.nextSibling is a\n // Text node. We can now just replace the text content (.data) of the node.\n if (this._$committedValue !== nothing &&\n isPrimitive(this._$committedValue)) {\n const node = wrap(this._$startNode).nextSibling;\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(node, 'data', 'property');\n }\n value = this._textSanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node,\n value,\n options: this.options,\n });\n node.data = value;\n }\n else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n const textNode = d.createTextNode('');\n this._commitNode(textNode);\n // When setting text content, for security purposes it matters a lot\n // what the parent is. For example, <style> and <script> need to be\n // handled with care, while <span> does not. So first we need to put a\n // text node into the document, then we can sanitize its content.\n if (this._textSanitizer === undefined) {\n this._textSanitizer = createSanitizer(textNode, 'data', 'property');\n }\n value = this._textSanitizer(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: textNode,\n value,\n options: this.options,\n });\n textNode.data = value;\n }\n else {\n this._commitNode(d.createTextNode(value));\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit text',\n node: wrap(this._$startNode).nextSibling,\n value,\n options: this.options,\n });\n }\n }\n this._$committedValue = value;\n }\n _commitTemplateResult(result) {\n // This property needs to remain unminified.\n const { values, ['_$litType$']: type } = result;\n // If $litType$ is a number, result is a plain TemplateResult and we get\n // the template from the template cache. If not, result is a\n // CompiledTemplateResult and _$litType$ is a CompiledTemplate and we need\n // to create the <template> element the first time we see it.\n const template = typeof type === 'number'\n ? this._$getTemplate(result)\n : (type.el === undefined &&\n (type.el = Template.createElement(trustFromTemplateString(type.h, type.h[0]), this.options)),\n type);\n if (this._$committedValue?._$template === template) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'template updating',\n template,\n instance: this._$committedValue,\n parts: this._$committedValue._$parts,\n options: this.options,\n values,\n });\n this._$committedValue._update(values);\n }\n else {\n const instance = new TemplateInstance(template, this);\n const fragment = instance._clone(this.options);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n instance._update(values);\n debugLogEvent &&\n debugLogEvent({\n kind: 'template instantiated and updated',\n template,\n instance,\n parts: instance._$parts,\n options: this.options,\n fragment,\n values,\n });\n this._commitNode(fragment);\n this._$committedValue = instance;\n }\n }\n // Overridden via `litHtmlPolyfillSupport` to provide platform support.\n /** @internal */\n _$getTemplate(result) {\n let template = templateCache.get(result.strings);\n if (template === undefined) {\n templateCache.set(result.strings, (template = new Template(result)));\n }\n return template;\n }\n _commitIterable(value) {\n // For an Iterable, we create a new InstancePart per item, then set its\n // value to the item. This is a little bit of overhead for every item in\n // an Iterable, but it lets us recurse easily and efficiently update Arrays\n // of TemplateResults that will be commonly returned from expressions like:\n // array.map((i) => html`${i}`), by reusing existing TemplateInstances.\n // If value is an array, then the previous render was of an\n // iterable and value will contain the ChildParts from the previous\n // render. If value is not an array, clear this part and make a new\n // array for ChildParts.\n if (!isArray(this._$committedValue)) {\n this._$committedValue = [];\n this._$clear();\n }\n // Lets us keep track of how many items we stamped so we can clear leftover\n // items from a previous render\n const itemParts = this._$committedValue;\n let partIndex = 0;\n let itemPart;\n for (const item of value) {\n if (partIndex === itemParts.length) {\n // If no existing part, create a new one\n // TODO (justinfagnani): test perf impact of always creating two parts\n // instead of sharing parts between nodes\n // https://github.com/lit/lit/issues/1266\n itemParts.push((itemPart = new ChildPart(this._insert(createMarker()), this._insert(createMarker()), this, this.options)));\n }\n else {\n // Reuse an existing part\n itemPart = itemParts[partIndex];\n }\n itemPart._$setValue(item);\n partIndex++;\n }\n if (partIndex < itemParts.length) {\n // itemParts always have end nodes\n this._$clear(itemPart && wrap(itemPart._$endNode).nextSibling, partIndex);\n // Truncate the parts array so _value reflects the current state\n itemParts.length = partIndex;\n }\n }\n /**\n * Removes the nodes contained within this Part from the DOM.\n *\n * @param start Start node to clear from, for clearing a subset of the part's\n * DOM (used when truncating iterables)\n * @param from When `start` is specified, the index within the iterable from\n * which ChildParts are being removed, used for disconnecting directives in\n * those Parts.\n *\n * @internal\n */\n _$clear(start = wrap(this._$startNode).nextSibling, from) {\n this._$notifyConnectionChanged?.(false, true, from);\n while (start && start !== this._$endNode) {\n const n = wrap(start).nextSibling;\n wrap(start).remove();\n start = n;\n }\n }\n /**\n * Implementation of RootPart's `isConnected`. Note that this metod\n * should only be called on `RootPart`s (the `ChildPart` returned from a\n * top-level `render()` call). It has no effect on non-root ChildParts.\n * @param isConnected Whether to set\n * @internal\n */\n setConnected(isConnected) {\n if (this._$parent === undefined) {\n this.__isConnected = isConnected;\n this._$notifyConnectionChanged?.(isConnected);\n }\n else if (DEV_MODE) {\n throw new Error('part.setConnected() may only be called on a ' +\n 'RootPart returned from render().');\n }\n }\n}\nclass AttributePart {\n get tagName() {\n return this.element.tagName;\n }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n constructor(element, name, strings, parent, options) {\n this.type = ATTRIBUTE_PART;\n /** @internal */\n this._$committedValue = nothing;\n /** @internal */\n this._$disconnectableChildren = undefined;\n this.element = element;\n this.name = name;\n this._$parent = parent;\n this.options = options;\n if (strings.length > 2 || strings[0] !== '' || strings[1] !== '') {\n this._$committedValue = new Array(strings.length - 1).fill(new String());\n this.strings = strings;\n }\n else {\n this._$committedValue = nothing;\n }\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n this._sanitizer = undefined;\n }\n }\n /**\n * Sets the value of this part by resolving the value from possibly multiple\n * values and static strings and committing it to the DOM.\n * If this part is single-valued, `this._strings` will be undefined, and the\n * method will be called with a single value argument. If this part is\n * multi-value, `this._strings` will be defined, and the method is called\n * with the value array of the part's owning TemplateInstance, and an offset\n * into the value array from which the values should be read.\n * This method is overloaded this way to eliminate short-lived array slices\n * of the template instance values, and allow a fast-path for single-valued\n * parts.\n *\n * @param value The part value, or an array of values for multi-valued parts\n * @param valueIndex the index to start reading values from. `undefined` for\n * single-valued parts\n * @param noCommit causes the part to not commit its value to the DOM. Used\n * in hydration to prime attribute parts with their first-rendered value,\n * but not set the attribute, and in SSR to no-op the DOM operation and\n * capture the value for serialization.\n *\n * @internal\n */\n _$setValue(value, directiveParent = this, valueIndex, noCommit) {\n const strings = this.strings;\n // Whether any of the values has changed, for dirty-checking\n let change = false;\n if (strings === undefined) {\n // Single-value binding case\n value = resolveDirective(this, value, directiveParent, 0);\n change =\n !isPrimitive(value) ||\n (value !== this._$committedValue && value !== noChange);\n if (change) {\n this._$committedValue = value;\n }\n }\n else {\n // Interpolation case\n const values = value;\n value = strings[0];\n let i, v;\n for (i = 0; i < strings.length - 1; i++) {\n v = resolveDirective(this, values[valueIndex + i], directiveParent, i);\n if (v === noChange) {\n // If the user-provided value is `noChange`, use the previous value\n v = this._$committedValue[i];\n }\n change ||=\n !isPrimitive(v) || v !== this._$committedValue[i];\n if (v === nothing) {\n value = nothing;\n }\n else if (value !== nothing) {\n value += (v ?? '') + strings[i + 1];\n }\n // We always record each value, even if one is `nothing`, for future\n // change detection.\n this._$committedValue[i] = v;\n }\n }\n if (change && !noCommit) {\n this._commitValue(value);\n }\n }\n /** @internal */\n _commitValue(value) {\n if (value === nothing) {\n wrap(this.element).removeAttribute(this.name);\n }\n else {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(this.element, this.name, 'attribute');\n }\n value = this._sanitizer(value ?? '');\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit attribute',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n wrap(this.element).setAttribute(this.name, (value ?? ''));\n }\n }\n}\nclass PropertyPart extends AttributePart {\n constructor() {\n super(...arguments);\n this.type = PROPERTY_PART;\n }\n /** @internal */\n _commitValue(value) {\n if (ENABLE_EXTRA_SECURITY_HOOKS) {\n if (this._sanitizer === undefined) {\n this._sanitizer = sanitizerFactoryInternal(this.element, this.name, 'property');\n }\n value = this._sanitizer(value);\n }\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit property',\n element: this.element,\n name: this.name,\n value,\n options: this.options,\n });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n this.element[this.name] = value === nothing ? undefined : value;\n }\n}\nclass BooleanAttributePart extends AttributePart {\n constructor() {\n super(...arguments);\n this.type = BOOLEAN_ATTRIBUTE_PART;\n }\n /** @internal */\n _commitValue(value) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit boolean attribute',\n element: this.element,\n name: this.name,\n value: !!(value && value !== nothing),\n options: this.options,\n });\n wrap(this.element).toggleAttribute(this.name, !!value && value !== nothing);\n }\n}\nclass EventPart extends AttributePart {\n constructor(element, name, strings, parent, options) {\n super(element, name, strings, parent, options);\n this.type = EVENT_PART;\n if (DEV_MODE && this.strings !== undefined) {\n throw new Error(`A \\`<${element.localName}>\\` has a \\`@${name}=...\\` listener with ` +\n 'invalid content. Event listeners in templates must have exactly ' +\n 'one expression and no surrounding text.');\n }\n }\n // EventPart does not use the base _$setValue/_resolveValue implementation\n // since the dirty checking is more complex\n /** @internal */\n _$setValue(newListener, directiveParent = this) {\n newListener =\n resolveDirective(this, newListener, directiveParent, 0) ?? nothing;\n if (newListener === noChange) {\n return;\n }\n const oldListener = this._$committedValue;\n // If the new value is nothing or any options change we have to remove the\n // part as a listener.\n const shouldRemoveListener = (newListener === nothing && oldListener !== nothing) ||\n newListener.capture !==\n oldListener.capture ||\n newListener.once !==\n oldListener.once ||\n newListener.passive !==\n oldListener.passive;\n // If the new value is not nothing and we removed the listener, we have\n // to add the part as a listener.\n const shouldAddListener = newListener !== nothing &&\n (oldListener === nothing || shouldRemoveListener);\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit event listener',\n element: this.element,\n name: this.name,\n value: newListener,\n options: this.options,\n removeListener: shouldRemoveListener,\n addListener: shouldAddListener,\n oldListener,\n });\n if (shouldRemoveListener) {\n this.element.removeEventListener(this.name, this, oldListener);\n }\n if (shouldAddListener) {\n // Beware: IE11 and Chrome 41 don't like using the listener as the\n // options object. Figure out how to deal w/ this in IE11 - maybe\n // patch addEventListener?\n this.element.addEventListener(this.name, this, newListener);\n }\n this._$committedValue = newListener;\n }\n handleEvent(event) {\n if (typeof this._$committedValue === 'function') {\n this._$committedValue.call(this.options?.host ?? this.element, event);\n }\n else {\n this._$committedValue.handleEvent(event);\n }\n }\n}\nclass ElementPart {\n constructor(element, parent, options) {\n this.element = element;\n this.type = ELEMENT_PART;\n /** @internal */\n this._$disconnectableChildren = undefined;\n this._$parent = parent;\n this.options = options;\n }\n // See comment in Disconnectable interface for why this is a getter\n get _$isConnected() {\n return this._$parent._$isConnected;\n }\n _$setValue(value) {\n debugLogEvent &&\n debugLogEvent({\n kind: 'commit to element binding',\n element: this.element,\n value,\n options: this.options,\n });\n resolveDirective(this, value);\n }\n}\n/**\n * END USERS SHOULD NOT RELY ON THIS OBJECT.\n *\n * Private exports for use by other Lit packages, not intended for use by\n * external users.\n *\n * We currently do not make a mangled rollup build of the lit-ssr code. In order\n * to keep a number of (otherwise private) top-level exports mangled in the\n * client side code, we export a _$LH object containing those members (or\n * helper methods for accessing private fields of those members), and then\n * re-export them for use in lit-ssr. This keeps lit-ssr agnostic to whether the\n * client-side code is being used in `dev` mode or `prod` mode.\n *\n * This has a unique name, to disambiguate it from private exports in\n * lit-element, which re-exports all of lit-html.\n *\n * @private\n */\nconst _$LH = {\n // Used in lit-ssr\n _boundAttributeSuffix: boundAttributeSuffix,\n _marker: marker,\n _markerMatch: markerMatch,\n _HTML_RESULT: HTML_RESULT,\n _getTemplateHtml: getTemplateHtml,\n // Used in tests and private-ssr-support\n _TemplateInstance: TemplateInstance,\n _isIterable: isIterable,\n _resolveDirective: resolveDirective,\n _ChildPart: ChildPart,\n _AttributePart: AttributePart,\n _BooleanAttributePart: BooleanAttributePart,\n _EventPart: EventPart,\n _PropertyPart: PropertyPart,\n _ElementPart: ElementPart,\n};\n// Apply polyfills if available\nconst polyfillSupport = DEV_MODE\n ? global.litHtmlPolyfillSupportDevMode\n : global.litHtmlPolyfillSupport;\npolyfillSupport?.(Template, ChildPart);\n// IMPORTANT: do not change the property name or the assignment expression.\n// This line will be used in regexes to search for lit-html usage.\n(global.litHtmlVersions ??= []).push('3.1.0');\nif (DEV_MODE && global.litHtmlVersions.length > 1) {\n issueWarning('multiple-versions', `Multiple versions of Lit loaded. ` +\n `Loading multiple versions is not recommended.`);\n}\n/**\n * Renders a value, usually a lit-html TemplateResult, to the container.\n *\n * This example renders the text \"Hello, Zoe!\" inside a paragraph tag, appending\n * it to the container `document.body`.\n *\n * ```js\n * import {html, render} from 'lit';\n *\n * const name = \"Zoe\";\n * render(html`<p>Hello, ${name}!</p>`, document.body);\n * ```\n *\n * @param value Any [renderable\n * value](https://lit.dev/docs/templates/expressions/#child-expressions),\n * typically a {@linkcode TemplateResult} created by evaluating a template tag\n * like {@linkcode html} or {@linkcode svg}.\n * @param container A DOM container to render to. The first render will append\n * the rendered value to the container, and subsequent renders will\n * efficiently update the rendered value if the same result type was\n * previously rendered there.\n * @param options See {@linkcode RenderOptions} for options documentation.\n * @see\n * {@link https://lit.dev/docs/libraries/standalone-templates/#rendering-lit-html-templates| Rendering Lit HTML Templates}\n */\nconst render = (value, container, options) => {\n if (DEV_MODE && container == null) {\n // Give a clearer error message than\n // Uncaught TypeError: Cannot read properties of null (reading\n // '_$litPart$')\n // which reads like an internal Lit error.\n throw new TypeError(`The container to render into may not be ${container}`);\n }\n const renderId = DEV_MODE ? debugLogRenderId++ : 0;\n const partOwnerNode = options?.renderBefore ?? container;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n let part = partOwnerNode['_$litPart$'];\n debugLogEvent &&\n debugLogEvent({\n kind: 'begin render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n if (part === undefined) {\n const endNode = options?.renderBefore ?? null;\n // This property needs to remain unminified.\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n partOwnerNode['_$litPart$'] = part = new ChildPart(container.insertBefore(createMarker(), endNode), endNode, undefined, options ?? {});\n }\n part._$setValue(value);\n debugLogEvent &&\n debugLogEvent({\n kind: 'end render',\n id: renderId,\n value,\n container,\n options,\n part,\n });\n return part;\n};\nif (ENABLE_EXTRA_SECURITY_HOOKS) {\n render.setSanitizer = setSanitizer;\n render.createSanitizer = createSanitizer;\n if (DEV_MODE) {\n render._testOnlyClearSanitizerFactoryDoNotCallOrElse =\n _testOnlyClearSanitizerFactoryDoNotCallOrElse;\n }\n}\n//# sourceMappingURL=lit-html.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit/decorators.js":
/*!*******************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit/decorators.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ customElement: () => (/* reexport safe */ _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__.customElement),\n/* harmony export */ eventOptions: () => (/* reexport safe */ _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__.eventOptions),\n/* harmony export */ property: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.property),\n/* harmony export */ query: () => (/* reexport safe */ _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__.query),\n/* harmony export */ queryAll: () => (/* reexport safe */ _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__.queryAll),\n/* harmony export */ queryAssignedElements: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__.queryAssignedElements),\n/* harmony export */ queryAssignedNodes: () => (/* reexport safe */ _lit_reactive_element_decorators_query_assigned_nodes_js__WEBPACK_IMPORTED_MODULE_8__.queryAssignedNodes),\n/* harmony export */ queryAsync: () => (/* reexport safe */ _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__.queryAsync),\n/* harmony export */ standardProperty: () => (/* reexport safe */ _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__.standardProperty),\n/* harmony export */ state: () => (/* reexport safe */ _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__.state)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element_decorators_custom_element_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element/decorators/custom-element.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/custom-element.js\");\n/* harmony import */ var _lit_reactive_element_decorators_property_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @lit/reactive-element/decorators/property.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/property.js\");\n/* harmony import */ var _lit_reactive_element_decorators_state_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @lit/reactive-element/decorators/state.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/state.js\");\n/* harmony import */ var _lit_reactive_element_decorators_event_options_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @lit/reactive-element/decorators/event-options.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/event-options.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @lit/reactive-element/decorators/query.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_all_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-all.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-all.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_async_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-async.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-async.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_assigned_elements_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-assigned-elements.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-elements.js\");\n/* harmony import */ var _lit_reactive_element_decorators_query_assigned_nodes_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @lit/reactive-element/decorators/query-assigned-nodes.js */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/decorators/query-assigned-nodes.js\");\n\n//# sourceMappingURL=decorators.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/decorators.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js":
/*!*****************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js ***!
\*****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ classMap: () => (/* reexport safe */ lit_html_directives_class_map_js__WEBPACK_IMPORTED_MODULE_0__.classMap)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_class_map_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/class-map.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/class-map.js\");\n\n//# sourceMappingURL=class-map.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/directives/class-map.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js":
/*!******************************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ifDefined: () => (/* reexport safe */ lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__.ifDefined)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_if_defined_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/if-defined.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/if-defined.js\");\n\n//# sourceMappingURL=if-defined.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/directives/if-defined.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createRef: () => (/* reexport safe */ lit_html_directives_ref_js__WEBPACK_IMPORTED_MODULE_0__.createRef),\n/* harmony export */ ref: () => (/* reexport safe */ lit_html_directives_ref_js__WEBPACK_IMPORTED_MODULE_0__.ref)\n/* harmony export */ });\n/* harmony import */ var lit_html_directives_ref_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lit-html/directives/ref.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/directives/ref.js\");\n\n//# sourceMappingURL=ref.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/directives/ref.js?");
/***/ }),
/***/ "./node_modules/@web3modal/ui/node_modules/lit/index.js":
/*!**************************************************************!*\
!*** ./node_modules/@web3modal/ui/node_modules/lit/index.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CSSResult: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.CSSResult),\n/* harmony export */ LitElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.LitElement),\n/* harmony export */ ReactiveElement: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.ReactiveElement),\n/* harmony export */ _$LE: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LE),\n/* harmony export */ _$LH: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__._$LH),\n/* harmony export */ adoptStyles: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.adoptStyles),\n/* harmony export */ css: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.css),\n/* harmony export */ defaultConverter: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.defaultConverter),\n/* harmony export */ getCompatibleStyle: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.getCompatibleStyle),\n/* harmony export */ html: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.html),\n/* harmony export */ isServer: () => (/* reexport safe */ lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__.isServer),\n/* harmony export */ noChange: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.noChange),\n/* harmony export */ notEqual: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.notEqual),\n/* harmony export */ nothing: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.nothing),\n/* harmony export */ render: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.render),\n/* harmony export */ supportsAdoptingStyleSheets: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.supportsAdoptingStyleSheets),\n/* harmony export */ svg: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.svg),\n/* harmony export */ unsafeCSS: () => (/* reexport safe */ lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__.unsafeCSS)\n/* harmony export */ });\n/* harmony import */ var _lit_reactive_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @lit/reactive-element */ \"./node_modules/@web3modal/ui/node_modules/@lit/reactive-element/development/reactive-element.js\");\n/* harmony import */ var lit_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! lit-html */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/lit-html.js\");\n/* harmony import */ var lit_element_lit_element_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lit-element/lit-element.js */ \"./node_modules/@web3modal/ui/node_modules/lit-element/development/lit-element.js\");\n/* harmony import */ var lit_html_is_server_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! lit-html/is-server.js */ \"./node_modules/@web3modal/ui/node_modules/lit-html/development/is-server.js\");\n\n//# sourceMappingURL=index.js.map\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/ui/node_modules/lit/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/wagmi/dist/esm/exports/index.js":
/*!*****************************************************************!*\
!*** ./node_modules/@web3modal/wagmi/dist/esm/exports/index.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EIP6963Connector: () => (/* reexport safe */ _src_connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_2__.EIP6963Connector),\n/* harmony export */ createWeb3Modal: () => (/* binding */ createWeb3Modal),\n/* harmony export */ defaultWagmiConfig: () => (/* reexport safe */ _src_utils_defaultWagmiCoreConfig_js__WEBPACK_IMPORTED_MODULE_3__.defaultWagmiConfig),\n/* harmony export */ walletConnectProvider: () => (/* reexport safe */ _src_utils_provider_js__WEBPACK_IMPORTED_MODULE_4__.walletConnectProvider)\n/* harmony export */ });\n/* harmony import */ var _src_client_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../src/client.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/client.js\");\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n/* harmony import */ var _src_connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../src/connectors/EIP6963Connector.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js\");\n/* harmony import */ var _src_utils_defaultWagmiCoreConfig_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../src/utils/defaultWagmiCoreConfig.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js\");\n/* harmony import */ var _src_utils_provider_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../src/utils/provider.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js\");\n\n\n\n\n\nfunction createWeb3Modal(options) {\n return new _src_client_js__WEBPACK_IMPORTED_MODULE_0__.Web3Modal({ ...options, _sdkVersion: `html-wagmi-${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.VERSION}` });\n}\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/exports/index.js?");
/***/ }),
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/client.js":
/*!**************************************************************!*\
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/client.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Web3Modal: () => (/* binding */ Web3Modal)\n/* harmony export */ });\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js\");\n/* harmony import */ var _wagmi_core_chains__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wagmi/core/chains */ \"./node_modules/viem/_esm/chains/definitions/mainnet.js\");\n/* harmony import */ var _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/scaffold */ \"./node_modules/@web3modal/scaffold/dist/esm/index.js\");\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n/* harmony import */ var _utils_helpers_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./utils/helpers.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js\");\n/* harmony import */ var _utils_constants_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./utils/constants.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js\");\n\n\n\n\n\n\nclass Web3Modal extends _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__.Web3ModalScaffold {\n constructor(options) {\n const { wagmiConfig, siweConfig, chains, defaultChain, tokens, _sdkVersion, ...w3mOptions } = options;\n if (!wagmiConfig) {\n throw new Error('web3modal:constructor - wagmiConfig is undefined');\n }\n if (!w3mOptions.projectId) {\n throw new Error('web3modal:constructor - projectId is undefined');\n }\n if (!wagmiConfig.connectors.find(c => c.id === _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID)) {\n throw new Error('web3modal:constructor - WalletConnectConnector is required');\n }\n const networkControllerClient = {\n switchCaipNetwork: async (caipNetwork) => {\n const chainId = _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.HelpersUtil.caipNetworkIdToNumber(caipNetwork?.id);\n if (chainId) {\n await (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.switchNetwork)({ chainId });\n }\n },\n async getApprovedCaipNetworksData() {\n const walletChoice = localStorage.getItem(_utils_constants_js__WEBPACK_IMPORTED_MODULE_3__.WALLET_CHOICE_KEY);\n if (walletChoice?.includes(_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID)) {\n const connector = wagmiConfig.connectors.find(c => c.id === _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID);\n if (!connector) {\n throw new Error('networkControllerClient:getApprovedCaipNetworks - connector is undefined');\n }\n const provider = await connector.getProvider();\n const ns = provider.signer?.session?.namespaces;\n const nsMethods = ns?.[_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155]?.methods;\n const nsChains = ns?.[_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155]?.chains;\n return {\n supportsAllNetworks: nsMethods?.includes(_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.ADD_CHAIN_METHOD),\n approvedCaipNetworkIds: nsChains\n };\n }\n return { approvedCaipNetworkIds: undefined, supportsAllNetworks: true };\n }\n };\n const connectionControllerClient = {\n connectWalletConnect: async (onUri) => {\n const connector = wagmiConfig.connectors.find(c => c.id === _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.WALLET_CONNECT_CONNECTOR_ID);\n if (!connector) {\n throw new Error('connectionControllerClient:getWalletConnectUri - connector is undefined');\n }\n connector.on('message', event => {\n if (event.type === 'display_uri') {\n onUri(event.data);\n connector.removeAllListeners();\n }\n });\n const chainId = _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.HelpersUtil.caipNetworkIdToNumber(this.getCaipNetwork()?.id);\n await (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.connect)({ connector, chainId });\n },\n connectExternal: async ({ id, provider, info }) => {\n const connector = wagmiConfig.connectors.find(c => c.id === id);\n if (!connector) {\n throw new Error('connectionControllerClient:connectExternal - connector is undefined');\n }\n if (provider && info && connector.id === _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP6963_CONNECTOR_ID) {\n connector.setEip6963Wallet?.({ provider, info });\n }\n const chainId = _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.HelpersUtil.caipNetworkIdToNumber(this.getCaipNetwork()?.id);\n await (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.connect)({ connector, chainId });\n },\n checkInstalled: ids => {\n const eip6963Connectors = this.getConnectors().filter(c => c.type === 'ANNOUNCED');\n const injectedConnector = this.getConnectors().find(c => c.type === 'INJECTED');\n if (!ids) {\n return Boolean(window.ethereum);\n }\n if (eip6963Connectors.length) {\n const installed = ids.some(id => eip6963Connectors.some(c => c.info?.rdns === id));\n if (installed) {\n return true;\n }\n }\n if (injectedConnector) {\n if (!window?.ethereum) {\n return false;\n }\n return ids.some(id => Boolean(window.ethereum?.[String(id)]));\n }\n return false;\n },\n disconnect: _wagmi_core__WEBPACK_IMPORTED_MODULE_4__.disconnect\n };\n super({\n networkControllerClient,\n connectionControllerClient,\n siweControllerClient: siweConfig,\n defaultChain: (0,_utils_helpers_js__WEBPACK_IMPORTED_MODULE_2__.getCaipDefaultChain)(defaultChain),\n tokens: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.HelpersUtil.getCaipTokens(tokens),\n _sdkVersion: _sdkVersion ?? `html-wagmi-${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.VERSION}`,\n ...w3mOptions\n });\n this.hasSyncedConnectedAccount = false;\n this.options = undefined;\n this.options = options;\n this.syncRequestedNetworks(chains);\n this.syncConnectors(wagmiConfig);\n this.listenConnectors(wagmiConfig);\n (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.watchAccount)(() => this.syncAccount());\n (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.watchNetwork)(() => this.syncNetwork());\n }\n getState() {\n const state = super.getState();\n return {\n ...state,\n selectedNetworkId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.HelpersUtil.caipNetworkIdToNumber(state.selectedNetworkId)\n };\n }\n subscribeState(callback) {\n return super.subscribeState(state => callback({\n ...state,\n selectedNetworkId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.HelpersUtil.caipNetworkIdToNumber(state.selectedNetworkId)\n }));\n }\n syncRequestedNetworks(chains) {\n const requestedCaipNetworks = chains?.map(chain => ({\n id: `${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155}:${chain.id}`,\n name: chain.name,\n imageId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil.EIP155NetworkImageIds[chain.id],\n imageUrl: this.options?.chainImages?.[chain.id]\n }));\n this.setRequestedCaipNetworks(requestedCaipNetworks ?? []);\n }\n async syncAccount() {\n const { address, isConnected } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.getAccount)();\n const { chain } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.getNetwork)();\n this.resetAccount();\n if (isConnected && address && chain) {\n const caipAddress = `${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155}:${chain.id}:${address}`;\n this.setIsConnected(isConnected);\n this.setCaipAddress(caipAddress);\n await Promise.all([\n this.syncProfile(address),\n this.syncBalance(address, chain),\n this.getApprovedCaipNetworksData()\n ]);\n this.hasSyncedConnectedAccount = true;\n }\n else if (!isConnected && this.hasSyncedConnectedAccount) {\n this.resetWcConnection();\n this.resetNetwork();\n }\n }\n async syncNetwork() {\n const { address, isConnected } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.getAccount)();\n const { chain } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.getNetwork)();\n if (chain) {\n const chainId = String(chain.id);\n const caipChainId = `${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155}:${chainId}`;\n this.setCaipNetwork({\n id: caipChainId,\n name: chain.name,\n imageId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil.EIP155NetworkImageIds[chain.id],\n imageUrl: this.options?.chainImages?.[chain.id]\n });\n if (isConnected && address) {\n const caipAddress = `${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155}:${chain.id}:${address}`;\n this.setCaipAddress(caipAddress);\n if (chain.blockExplorers?.default?.url) {\n const url = `${chain.blockExplorers.default.url}/address/${address}`;\n this.setAddressExplorerUrl(url);\n }\n else {\n this.setAddressExplorerUrl(undefined);\n }\n if (this.hasSyncedConnectedAccount) {\n await this.syncBalance(address, chain);\n }\n }\n }\n }\n async syncProfile(address) {\n try {\n const { name, avatar } = await this.fetchIdentity({\n caipChainId: `${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155}:${_wagmi_core_chains__WEBPACK_IMPORTED_MODULE_5__.mainnet.id}`,\n address\n });\n this.setProfileName(name);\n this.setProfileImage(avatar);\n }\n catch {\n const profileName = await (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.fetchEnsName)({ address, chainId: _wagmi_core_chains__WEBPACK_IMPORTED_MODULE_5__.mainnet.id });\n if (profileName) {\n this.setProfileName(profileName);\n const profileImage = await (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.fetchEnsAvatar)({ name: profileName, chainId: _wagmi_core_chains__WEBPACK_IMPORTED_MODULE_5__.mainnet.id });\n if (profileImage) {\n this.setProfileImage(profileImage);\n }\n }\n }\n }\n async syncBalance(address, chain) {\n const balance = await (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_4__.fetchBalance)({\n address,\n chainId: chain.id,\n token: this.options?.tokens?.[chain.id]?.address\n });\n this.setBalance(balance.formatted, balance.symbol);\n }\n syncConnectors(wagmiConfig) {\n const w3mConnectors = [];\n wagmiConfig.connectors.forEach(({ id, name }) => {\n if (id !== _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP6963_CONNECTOR_ID) {\n w3mConnectors.push({\n id,\n explorerId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil.ConnectorExplorerIds[id],\n imageId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil.ConnectorImageIds[id],\n imageUrl: this.options?.connectorImages?.[id],\n name: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil.ConnectorNamesMap[id] ?? name,\n type: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.PresetsUtil.ConnectorTypesMap[id] ?? 'EXTERNAL'\n });\n }\n });\n this.setConnectors(w3mConnectors);\n }\n eip6963EventHandler(connector, event) {\n if (event.detail) {\n const { info, provider } = event.detail;\n const connectors = this.getConnectors();\n const existingConnector = connectors.find(c => c.name === info.name);\n if (!existingConnector) {\n this.addConnector({\n id: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP6963_CONNECTOR_ID,\n type: 'ANNOUNCED',\n imageUrl: info.icon ?? this.options?.connectorImages?.[_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP6963_CONNECTOR_ID],\n name: info.name,\n provider,\n info\n });\n connector.isAuthorized({ info, provider });\n }\n }\n }\n listenConnectors(wagmiConfig) {\n const connector = wagmiConfig.connectors.find(c => c.id === _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP6963_CONNECTOR_ID);\n if (typeof window !== 'undefined' && connector) {\n const handler = this.eip6963EventHandler.bind(this, connector);\n window.addEventListener(_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP6963_ANNOUNCE_EVENT, handler);\n window.dispatchEvent(new Event(_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP6963_REQUEST_EVENT));\n }\n }\n}\n//# sourceMappingURL=client.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/client.js?");
/***/ }),
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js":
/*!***********************************************************************************!*\
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js ***!
\***********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EIP6963Connector: () => (/* binding */ EIP6963Connector)\n/* harmony export */ });\n/* harmony import */ var _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wagmi/core/connectors/injected */ \"./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js\");\nvar __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n};\nvar __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n};\nvar _EIP6963Connector_defaultProvider, _EIP6963Connector_eip6963Wallet;\n\nconst connectedRdnsKey = 'connectedRdns';\nclass EIP6963Connector extends _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_0__.InjectedConnector {\n constructor(config) {\n super({ chains: config.chains, options: { shimDisconnect: true } });\n this.id = 'eip6963';\n this.name = 'EIP6963';\n _EIP6963Connector_defaultProvider.set(this, undefined);\n _EIP6963Connector_eip6963Wallet.set(this, undefined);\n __classPrivateFieldSet(this, _EIP6963Connector_defaultProvider, this.options.getProvider(), \"f\");\n }\n async connect(options) {\n const data = await super.connect(options);\n if (__classPrivateFieldGet(this, _EIP6963Connector_eip6963Wallet, \"f\")) {\n this.storage?.setItem(connectedRdnsKey, __classPrivateFieldGet(this, _EIP6963Connector_eip6963Wallet, \"f\").info.rdns);\n }\n return data;\n }\n async disconnect() {\n await super.disconnect();\n this.storage?.removeItem(connectedRdnsKey);\n __classPrivateFieldSet(this, _EIP6963Connector_eip6963Wallet, undefined, \"f\");\n }\n async isAuthorized(eip6963Wallet) {\n const connectedEIP6963Rdns = this.storage?.getItem(connectedRdnsKey);\n if (connectedEIP6963Rdns) {\n if (!eip6963Wallet || connectedEIP6963Rdns !== eip6963Wallet.info.rdns) {\n return true;\n }\n __classPrivateFieldSet(this, _EIP6963Connector_eip6963Wallet, eip6963Wallet, \"f\");\n }\n return super.isAuthorized();\n }\n async getProvider() {\n return Promise.resolve(__classPrivateFieldGet(this, _EIP6963Connector_eip6963Wallet, \"f\")?.provider ?? __classPrivateFieldGet(this, _EIP6963Connector_defaultProvider, \"f\"));\n }\n setEip6963Wallet(eip6963Wallet) {\n __classPrivateFieldSet(this, _EIP6963Connector_eip6963Wallet, eip6963Wallet, \"f\");\n }\n}\n_EIP6963Connector_defaultProvider = new WeakMap(), _EIP6963Connector_eip6963Wallet = new WeakMap();\n//# sourceMappingURL=EIP6963Connector.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js?");
/***/ }),
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js":
/*!***********************************************************************!*\
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WALLET_CHOICE_KEY: () => (/* binding */ WALLET_CHOICE_KEY)\n/* harmony export */ });\nconst WALLET_CHOICE_KEY = 'wagmi.wallet';\n//# sourceMappingURL=constants.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/constants.js?");
/***/ }),
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js":
/*!************************************************************************************!*\
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js ***!
\************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defaultWagmiConfig: () => (/* binding */ defaultWagmiConfig)\n/* harmony export */ });\n/* harmony import */ var _web3modal_polyfills__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/polyfills */ \"./node_modules/@web3modal/polyfills/dist/esm/index.js\");\n/* harmony import */ var _wagmi_core__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wagmi/core */ \"./node_modules/@wagmi/core/dist/chunk-TSH6VVF4.js\");\n/* harmony import */ var _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wagmi/core/connectors/coinbaseWallet */ \"./node_modules/@wagmi/connectors/dist/coinbaseWallet.js\");\n/* harmony import */ var _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wagmi/core/connectors/injected */ \"./node_modules/@wagmi/connectors/dist/chunk-JTELPB65.js\");\n/* harmony import */ var _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wagmi/core/connectors/walletConnect */ \"./node_modules/@wagmi/connectors/dist/walletConnect.js\");\n/* harmony import */ var _wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wagmi/core/providers/public */ \"./node_modules/@wagmi/core/dist/providers/public.js\");\n/* harmony import */ var _connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../connectors/EIP6963Connector.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/connectors/EIP6963Connector.js\");\n/* harmony import */ var _provider_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./provider.js */ \"./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js\");\n\n\n\n\n\n\n\n\nfunction defaultWagmiConfig({ projectId, chains, metadata }) {\n const { publicClient } = (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_3__.configureChains)(chains, [\n (0,_provider_js__WEBPACK_IMPORTED_MODULE_2__.walletConnectProvider)({ projectId }),\n (0,_wagmi_core_providers_public__WEBPACK_IMPORTED_MODULE_4__.publicProvider)()\n ]);\n return (0,_wagmi_core__WEBPACK_IMPORTED_MODULE_3__.createConfig)({\n autoConnect: true,\n connectors: [\n new _wagmi_core_connectors_walletConnect__WEBPACK_IMPORTED_MODULE_5__.WalletConnectConnector({ chains, options: { projectId, showQrModal: false, metadata } }),\n new _connectors_EIP6963Connector_js__WEBPACK_IMPORTED_MODULE_1__.EIP6963Connector({ chains }),\n new _wagmi_core_connectors_injected__WEBPACK_IMPORTED_MODULE_6__.InjectedConnector({ chains, options: { shimDisconnect: true } }),\n new _wagmi_core_connectors_coinbaseWallet__WEBPACK_IMPORTED_MODULE_7__.CoinbaseWalletConnector({ chains, options: { appName: metadata?.name ?? 'Unknown' } })\n ],\n publicClient\n });\n}\n//# sourceMappingURL=defaultWagmiCoreConfig.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/defaultWagmiCoreConfig.js?");
/***/ }),
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js":
/*!*********************************************************************!*\
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCaipDefaultChain: () => (/* binding */ getCaipDefaultChain)\n/* harmony export */ });\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n\nfunction getCaipDefaultChain(chain) {\n if (!chain) {\n return undefined;\n }\n return {\n id: `${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_0__.ConstantsUtil.EIP155}:${chain.id}`,\n name: chain.name,\n imageId: _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_0__.PresetsUtil.EIP155NetworkImageIds[chain.id]\n };\n}\n//# sourceMappingURL=helpers.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/helpers.js?");
/***/ }),
/***/ "./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js":
/*!**********************************************************************!*\
!*** ./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletConnectProvider: () => (/* binding */ walletConnectProvider)\n/* harmony export */ });\n/* harmony import */ var _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @web3modal/scaffold */ \"./node_modules/@web3modal/scaffold/dist/esm/index.js\");\n/* harmony import */ var _web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @web3modal/scaffold-utils */ \"./node_modules/@web3modal/scaffold-utils/dist/esm/index.js\");\n\n\nconst RPC_URL = _web3modal_scaffold__WEBPACK_IMPORTED_MODULE_0__.CoreHelperUtil.getBlockchainApiUrl();\nfunction walletConnectProvider({ projectId }) {\n return function provider(chain) {\n const supported = [\n 1,\n 5,\n 11155111,\n 10,\n 420,\n 42161,\n 421613,\n 137,\n 80001,\n 42220,\n 1313161554,\n 1313161555,\n 56,\n 97,\n 43114,\n 43113,\n 100,\n 8453,\n 84531,\n 7777777,\n 999,\n 324,\n 280\n ];\n if (!supported.includes(chain.id)) {\n return null;\n }\n const baseHttpUrl = `${RPC_URL}/v1/?chainId=${_web3modal_scaffold_utils__WEBPACK_IMPORTED_MODULE_1__.ConstantsUtil.EIP155}:${chain.id}&projectId=${projectId}`;\n return {\n chain: {\n ...chain,\n rpcUrls: {\n ...chain.rpcUrls,\n default: { http: [baseHttpUrl] }\n }\n },\n rpcUrls: {\n http: [baseHttpUrl]\n }\n };\n };\n}\n//# sourceMappingURL=provider.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/@web3modal/wagmi/dist/esm/src/utils/provider.js?");
/***/ }),
/***/ "./node_modules/isows/_esm/native.js":
/*!*******************************************!*\
!*** ./node_modules/isows/_esm/native.js ***!
\*******************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ WebSocket: () => (/* binding */ WebSocket)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/isows/_esm/utils.js\");\n\nconst WebSocket = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getNativeWebSocket)();\n//# sourceMappingURL=native.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/isows/_esm/native.js?");
/***/ }),
/***/ "./node_modules/isows/_esm/utils.js":
/*!******************************************!*\
!*** ./node_modules/isows/_esm/utils.js ***!
\******************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getNativeWebSocket: () => (/* binding */ getNativeWebSocket)\n/* harmony export */ });\nfunction getNativeWebSocket() {\n if (typeof WebSocket !== \"undefined\")\n return WebSocket;\n if (typeof global.WebSocket !== \"undefined\")\n return global.WebSocket;\n if (typeof window.WebSocket !== \"undefined\")\n return window.WebSocket;\n if (typeof self.WebSocket !== \"undefined\")\n return self.WebSocket;\n throw new Error(\"`WebSocket` is not supported in this environment\");\n}\n//# sourceMappingURL=utils.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/isows/_esm/utils.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base.js":
/*!*********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base.js ***!
\*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Codec: () => (/* binding */ Codec),\n/* harmony export */ baseX: () => (/* binding */ baseX),\n/* harmony export */ from: () => (/* binding */ from),\n/* harmony export */ or: () => (/* binding */ or),\n/* harmony export */ rfc4648: () => (/* binding */ rfc4648)\n/* harmony export */ });\n/* harmony import */ var _vendor_base_x_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../vendor/base-x.js */ \"./node_modules/multiformats/esm/vendor/base-x.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\n\nclass Encoder {\n constructor(name, prefix, baseEncode) {\n this.name = name;\n this.prefix = prefix;\n this.baseEncode = baseEncode;\n }\n encode(bytes) {\n if (bytes instanceof Uint8Array) {\n return `${ this.prefix }${ this.baseEncode(bytes) }`;\n } else {\n throw Error('Unknown type, must be binary type');\n }\n }\n}\nclass Decoder {\n constructor(name, prefix, baseDecode) {\n this.name = name;\n this.prefix = prefix;\n if (prefix.codePointAt(0) === undefined) {\n throw new Error('Invalid prefix character');\n }\n this.prefixCodePoint = prefix.codePointAt(0);\n this.baseDecode = baseDecode;\n }\n decode(text) {\n if (typeof text === 'string') {\n if (text.codePointAt(0) !== this.prefixCodePoint) {\n throw Error(`Unable to decode multibase string ${ JSON.stringify(text) }, ${ this.name } decoder only supports inputs prefixed with ${ this.prefix }`);\n }\n return this.baseDecode(text.slice(this.prefix.length));\n } else {\n throw Error('Can only multibase decode strings');\n }\n }\n or(decoder) {\n return or(this, decoder);\n }\n}\nclass ComposedDecoder {\n constructor(decoders) {\n this.decoders = decoders;\n }\n or(decoder) {\n return or(this, decoder);\n }\n decode(input) {\n const prefix = input[0];\n const decoder = this.decoders[prefix];\n if (decoder) {\n return decoder.decode(input);\n } else {\n throw RangeError(`Unable to decode multibase string ${ JSON.stringify(input) }, only inputs prefixed with ${ Object.keys(this.decoders) } are supported`);\n }\n }\n}\nconst or = (left, right) => new ComposedDecoder({\n ...left.decoders || { [left.prefix]: left },\n ...right.decoders || { [right.prefix]: right }\n});\nclass Codec {\n constructor(name, prefix, baseEncode, baseDecode) {\n this.name = name;\n this.prefix = prefix;\n this.baseEncode = baseEncode;\n this.baseDecode = baseDecode;\n this.encoder = new Encoder(name, prefix, baseEncode);\n this.decoder = new Decoder(name, prefix, baseDecode);\n }\n encode(input) {\n return this.encoder.encode(input);\n }\n decode(input) {\n return this.decoder.decode(input);\n }\n}\nconst from = ({name, prefix, encode, decode}) => new Codec(name, prefix, encode, decode);\nconst baseX = ({prefix, name, alphabet}) => {\n const {encode, decode} = (0,_vendor_base_x_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"])(alphabet, name);\n return from({\n prefix,\n name,\n encode,\n decode: text => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_1__.coerce)(decode(text))\n });\n};\nconst decode = (string, alphabet, bitsPerChar, name) => {\n const codes = {};\n for (let i = 0; i < alphabet.length; ++i) {\n codes[alphabet[i]] = i;\n }\n let end = string.length;\n while (string[end - 1] === '=') {\n --end;\n }\n const out = new Uint8Array(end * bitsPerChar / 8 | 0);\n let bits = 0;\n let buffer = 0;\n let written = 0;\n for (let i = 0; i < end; ++i) {\n const value = codes[string[i]];\n if (value === undefined) {\n throw new SyntaxError(`Non-${ name } character`);\n }\n buffer = buffer << bitsPerChar | value;\n bits += bitsPerChar;\n if (bits >= 8) {\n bits -= 8;\n out[written++] = 255 & buffer >> bits;\n }\n }\n if (bits >= bitsPerChar || 255 & buffer << 8 - bits) {\n throw new SyntaxError('Unexpected end of data');\n }\n return out;\n};\nconst encode = (data, alphabet, bitsPerChar) => {\n const pad = alphabet[alphabet.length - 1] === '=';\n const mask = (1 << bitsPerChar) - 1;\n let out = '';\n let bits = 0;\n let buffer = 0;\n for (let i = 0; i < data.length; ++i) {\n buffer = buffer << 8 | data[i];\n bits += 8;\n while (bits > bitsPerChar) {\n bits -= bitsPerChar;\n out += alphabet[mask & buffer >> bits];\n }\n }\n if (bits) {\n out += alphabet[mask & buffer << bitsPerChar - bits];\n }\n if (pad) {\n while (out.length * bitsPerChar & 7) {\n out += '=';\n }\n }\n return out;\n};\nconst rfc4648 = ({name, prefix, bitsPerChar, alphabet}) => {\n return from({\n prefix,\n name,\n encode(input) {\n return encode(input, alphabet, bitsPerChar);\n },\n decode(input) {\n return decode(input, alphabet, bitsPerChar, name);\n }\n });\n};\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base10.js":
/*!***********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base10.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base10: () => (/* binding */ base10)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base10 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n prefix: '9',\n name: 'base10',\n alphabet: '0123456789'\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base10.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base16.js":
/*!***********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base16.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base16: () => (/* binding */ base16),\n/* harmony export */ base16upper: () => (/* binding */ base16upper)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base16 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'f',\n name: 'base16',\n alphabet: '0123456789abcdef',\n bitsPerChar: 4\n});\nconst base16upper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'F',\n name: 'base16upper',\n alphabet: '0123456789ABCDEF',\n bitsPerChar: 4\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base16.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base2.js":
/*!**********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base2.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base2: () => (/* binding */ base2)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base2 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: '0',\n name: 'base2',\n alphabet: '01',\n bitsPerChar: 1\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base2.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base256emoji.js":
/*!*****************************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base256emoji.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base256emoji: () => (/* binding */ base256emoji)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst alphabet = Array.from('\\uD83D\\uDE80\\uD83E\\uDE90\\u2604\\uD83D\\uDEF0\\uD83C\\uDF0C\\uD83C\\uDF11\\uD83C\\uDF12\\uD83C\\uDF13\\uD83C\\uDF14\\uD83C\\uDF15\\uD83C\\uDF16\\uD83C\\uDF17\\uD83C\\uDF18\\uD83C\\uDF0D\\uD83C\\uDF0F\\uD83C\\uDF0E\\uD83D\\uDC09\\u2600\\uD83D\\uDCBB\\uD83D\\uDDA5\\uD83D\\uDCBE\\uD83D\\uDCBF\\uD83D\\uDE02\\u2764\\uD83D\\uDE0D\\uD83E\\uDD23\\uD83D\\uDE0A\\uD83D\\uDE4F\\uD83D\\uDC95\\uD83D\\uDE2D\\uD83D\\uDE18\\uD83D\\uDC4D\\uD83D\\uDE05\\uD83D\\uDC4F\\uD83D\\uDE01\\uD83D\\uDD25\\uD83E\\uDD70\\uD83D\\uDC94\\uD83D\\uDC96\\uD83D\\uDC99\\uD83D\\uDE22\\uD83E\\uDD14\\uD83D\\uDE06\\uD83D\\uDE44\\uD83D\\uDCAA\\uD83D\\uDE09\\u263A\\uD83D\\uDC4C\\uD83E\\uDD17\\uD83D\\uDC9C\\uD83D\\uDE14\\uD83D\\uDE0E\\uD83D\\uDE07\\uD83C\\uDF39\\uD83E\\uDD26\\uD83C\\uDF89\\uD83D\\uDC9E\\u270C\\u2728\\uD83E\\uDD37\\uD83D\\uDE31\\uD83D\\uDE0C\\uD83C\\uDF38\\uD83D\\uDE4C\\uD83D\\uDE0B\\uD83D\\uDC97\\uD83D\\uDC9A\\uD83D\\uDE0F\\uD83D\\uDC9B\\uD83D\\uDE42\\uD83D\\uDC93\\uD83E\\uDD29\\uD83D\\uDE04\\uD83D\\uDE00\\uD83D\\uDDA4\\uD83D\\uDE03\\uD83D\\uDCAF\\uD83D\\uDE48\\uD83D\\uDC47\\uD83C\\uDFB6\\uD83D\\uDE12\\uD83E\\uDD2D\\u2763\\uD83D\\uDE1C\\uD83D\\uDC8B\\uD83D\\uDC40\\uD83D\\uDE2A\\uD83D\\uDE11\\uD83D\\uDCA5\\uD83D\\uDE4B\\uD83D\\uDE1E\\uD83D\\uDE29\\uD83D\\uDE21\\uD83E\\uDD2A\\uD83D\\uDC4A\\uD83E\\uDD73\\uD83D\\uDE25\\uD83E\\uDD24\\uD83D\\uDC49\\uD83D\\uDC83\\uD83D\\uDE33\\u270B\\uD83D\\uDE1A\\uD83D\\uDE1D\\uD83D\\uDE34\\uD83C\\uDF1F\\uD83D\\uDE2C\\uD83D\\uDE43\\uD83C\\uDF40\\uD83C\\uDF37\\uD83D\\uDE3B\\uD83D\\uDE13\\u2B50\\u2705\\uD83E\\uDD7A\\uD83C\\uDF08\\uD83D\\uDE08\\uD83E\\uDD18\\uD83D\\uDCA6\\u2714\\uD83D\\uDE23\\uD83C\\uDFC3\\uD83D\\uDC90\\u2639\\uD83C\\uDF8A\\uD83D\\uDC98\\uD83D\\uDE20\\u261D\\uD83D\\uDE15\\uD83C\\uDF3A\\uD83C\\uDF82\\uD83C\\uDF3B\\uD83D\\uDE10\\uD83D\\uDD95\\uD83D\\uDC9D\\uD83D\\uDE4A\\uD83D\\uDE39\\uD83D\\uDDE3\\uD83D\\uDCAB\\uD83D\\uDC80\\uD83D\\uDC51\\uD83C\\uDFB5\\uD83E\\uDD1E\\uD83D\\uDE1B\\uD83D\\uDD34\\uD83D\\uDE24\\uD83C\\uDF3C\\uD83D\\uDE2B\\u26BD\\uD83E\\uDD19\\u2615\\uD83C\\uDFC6\\uD83E\\uDD2B\\uD83D\\uDC48\\uD83D\\uDE2E\\uD83D\\uDE46\\uD83C\\uDF7B\\uD83C\\uDF43\\uD83D\\uDC36\\uD83D\\uDC81\\uD83D\\uDE32\\uD83C\\uDF3F\\uD83E\\uDDE1\\uD83C\\uDF81\\u26A1\\uD83C\\uDF1E\\uD83C\\uDF88\\u274C\\u270A\\uD83D\\uDC4B\\uD83D\\uDE30\\uD83E\\uDD28\\uD83D\\uDE36\\uD83E\\uDD1D\\uD83D\\uDEB6\\uD83D\\uDCB0\\uD83C\\uDF53\\uD83D\\uDCA2\\uD83E\\uDD1F\\uD83D\\uDE41\\uD83D\\uDEA8\\uD83D\\uDCA8\\uD83E\\uDD2C\\u2708\\uD83C\\uDF80\\uD83C\\uDF7A\\uD83E\\uDD13\\uD83D\\uDE19\\uD83D\\uDC9F\\uD83C\\uDF31\\uD83D\\uDE16\\uD83D\\uDC76\\uD83E\\uDD74\\u25B6\\u27A1\\u2753\\uD83D\\uDC8E\\uD83D\\uDCB8\\u2B07\\uD83D\\uDE28\\uD83C\\uDF1A\\uD83E\\uDD8B\\uD83D\\uDE37\\uD83D\\uDD7A\\u26A0\\uD83D\\uDE45\\uD83D\\uDE1F\\uD83D\\uDE35\\uD83D\\uDC4E\\uD83E\\uDD32\\uD83E\\uDD20\\uD83E\\uDD27\\uD83D\\uDCCC\\uD83D\\uDD35\\uD83D\\uDC85\\uD83E\\uDDD0\\uD83D\\uDC3E\\uD83C\\uDF52\\uD83D\\uDE17\\uD83E\\uDD11\\uD83C\\uDF0A\\uD83E\\uDD2F\\uD83D\\uDC37\\u260E\\uD83D\\uDCA7\\uD83D\\uDE2F\\uD83D\\uDC86\\uD83D\\uDC46\\uD83C\\uDFA4\\uD83D\\uDE47\\uD83C\\uDF51\\u2744\\uD83C\\uDF34\\uD83D\\uDCA3\\uD83D\\uDC38\\uD83D\\uDC8C\\uD83D\\uDCCD\\uD83E\\uDD40\\uD83E\\uDD22\\uD83D\\uDC45\\uD83D\\uDCA1\\uD83D\\uDCA9\\uD83D\\uDC50\\uD83D\\uDCF8\\uD83D\\uDC7B\\uD83E\\uDD10\\uD83E\\uDD2E\\uD83C\\uDFBC\\uD83E\\uDD75\\uD83D\\uDEA9\\uD83C\\uDF4E\\uD83C\\uDF4A\\uD83D\\uDC7C\\uD83D\\uDC8D\\uD83D\\uDCE3\\uD83E\\uDD42');\nconst alphabetBytesToChars = alphabet.reduce((p, c, i) => {\n p[i] = c;\n return p;\n}, []);\nconst alphabetCharsToBytes = alphabet.reduce((p, c, i) => {\n p[c.codePointAt(0)] = i;\n return p;\n}, []);\nfunction encode(data) {\n return data.reduce((p, c) => {\n p += alphabetBytesToChars[c];\n return p;\n }, '');\n}\nfunction decode(str) {\n const byts = [];\n for (const char of str) {\n const byt = alphabetCharsToBytes[char.codePointAt(0)];\n if (byt === undefined) {\n throw new Error(`Non-base256emoji character: ${ char }`);\n }\n byts.push(byt);\n }\n return new Uint8Array(byts);\n}\nconst base256emoji = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.from)({\n prefix: '\\uD83D\\uDE80',\n name: 'base256emoji',\n encode,\n decode\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base256emoji.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base32.js":
/*!***********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base32.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base32: () => (/* binding */ base32),\n/* harmony export */ base32hex: () => (/* binding */ base32hex),\n/* harmony export */ base32hexpad: () => (/* binding */ base32hexpad),\n/* harmony export */ base32hexpadupper: () => (/* binding */ base32hexpadupper),\n/* harmony export */ base32hexupper: () => (/* binding */ base32hexupper),\n/* harmony export */ base32pad: () => (/* binding */ base32pad),\n/* harmony export */ base32padupper: () => (/* binding */ base32padupper),\n/* harmony export */ base32upper: () => (/* binding */ base32upper),\n/* harmony export */ base32z: () => (/* binding */ base32z)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base32 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'b',\n name: 'base32',\n alphabet: 'abcdefghijklmnopqrstuvwxyz234567',\n bitsPerChar: 5\n});\nconst base32upper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'B',\n name: 'base32upper',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567',\n bitsPerChar: 5\n});\nconst base32pad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'c',\n name: 'base32pad',\n alphabet: 'abcdefghijklmnopqrstuvwxyz234567=',\n bitsPerChar: 5\n});\nconst base32padupper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'C',\n name: 'base32padupper',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=',\n bitsPerChar: 5\n});\nconst base32hex = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'v',\n name: 'base32hex',\n alphabet: '0123456789abcdefghijklmnopqrstuv',\n bitsPerChar: 5\n});\nconst base32hexupper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'V',\n name: 'base32hexupper',\n alphabet: '0123456789ABCDEFGHIJKLMNOPQRSTUV',\n bitsPerChar: 5\n});\nconst base32hexpad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 't',\n name: 'base32hexpad',\n alphabet: '0123456789abcdefghijklmnopqrstuv=',\n bitsPerChar: 5\n});\nconst base32hexpadupper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'T',\n name: 'base32hexpadupper',\n alphabet: '0123456789ABCDEFGHIJKLMNOPQRSTUV=',\n bitsPerChar: 5\n});\nconst base32z = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'h',\n name: 'base32z',\n alphabet: 'ybndrfg8ejkmcpqxot1uwisza345h769',\n bitsPerChar: 5\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base32.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base36.js":
/*!***********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base36.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base36: () => (/* binding */ base36),\n/* harmony export */ base36upper: () => (/* binding */ base36upper)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base36 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n prefix: 'k',\n name: 'base36',\n alphabet: '0123456789abcdefghijklmnopqrstuvwxyz'\n});\nconst base36upper = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n prefix: 'K',\n name: 'base36upper',\n alphabet: '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base36.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base58.js":
/*!***********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base58.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base58btc: () => (/* binding */ base58btc),\n/* harmony export */ base58flickr: () => (/* binding */ base58flickr)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base58btc = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n name: 'base58btc',\n prefix: 'z',\n alphabet: '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'\n});\nconst base58flickr = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.baseX)({\n name: 'base58flickr',\n prefix: 'Z',\n alphabet: '123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base58.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base64.js":
/*!***********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base64.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base64: () => (/* binding */ base64),\n/* harmony export */ base64pad: () => (/* binding */ base64pad),\n/* harmony export */ base64url: () => (/* binding */ base64url),\n/* harmony export */ base64urlpad: () => (/* binding */ base64urlpad)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base64 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'm',\n name: 'base64',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',\n bitsPerChar: 6\n});\nconst base64pad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'M',\n name: 'base64pad',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',\n bitsPerChar: 6\n});\nconst base64url = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'u',\n name: 'base64url',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_',\n bitsPerChar: 6\n});\nconst base64urlpad = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: 'U',\n name: 'base64urlpad',\n alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_=',\n bitsPerChar: 6\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base64.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/base8.js":
/*!**********************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/base8.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ base8: () => (/* binding */ base8)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n\nconst base8 = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.rfc4648)({\n prefix: '7',\n name: 'base8',\n alphabet: '01234567',\n bitsPerChar: 3\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/base8.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bases/identity.js":
/*!*************************************************************!*\
!*** ./node_modules/multiformats/esm/src/bases/identity.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ identity: () => (/* binding */ identity)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/multiformats/esm/src/bases/base.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\n\nconst identity = (0,_base_js__WEBPACK_IMPORTED_MODULE_0__.from)({\n prefix: '\\0',\n name: 'identity',\n encode: buf => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_1__.toString)(buf),\n decode: str => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_1__.fromString)(str)\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bases/identity.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/basics.js":
/*!*****************************************************!*\
!*** ./node_modules/multiformats/esm/src/basics.js ***!
\*****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CID: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.CID),\n/* harmony export */ bases: () => (/* binding */ bases),\n/* harmony export */ bytes: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.bytes),\n/* harmony export */ codecs: () => (/* binding */ codecs),\n/* harmony export */ digest: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.digest),\n/* harmony export */ hasher: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.hasher),\n/* harmony export */ hashes: () => (/* binding */ hashes),\n/* harmony export */ varint: () => (/* reexport safe */ _index_js__WEBPACK_IMPORTED_MODULE_14__.varint)\n/* harmony export */ });\n/* harmony import */ var _bases_identity_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./bases/identity.js */ \"./node_modules/multiformats/esm/src/bases/identity.js\");\n/* harmony import */ var _bases_base2_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./bases/base2.js */ \"./node_modules/multiformats/esm/src/bases/base2.js\");\n/* harmony import */ var _bases_base8_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bases/base8.js */ \"./node_modules/multiformats/esm/src/bases/base8.js\");\n/* harmony import */ var _bases_base10_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bases/base10.js */ \"./node_modules/multiformats/esm/src/bases/base10.js\");\n/* harmony import */ var _bases_base16_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./bases/base16.js */ \"./node_modules/multiformats/esm/src/bases/base16.js\");\n/* harmony import */ var _bases_base32_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./bases/base32.js */ \"./node_modules/multiformats/esm/src/bases/base32.js\");\n/* harmony import */ var _bases_base36_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./bases/base36.js */ \"./node_modules/multiformats/esm/src/bases/base36.js\");\n/* harmony import */ var _bases_base58_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./bases/base58.js */ \"./node_modules/multiformats/esm/src/bases/base58.js\");\n/* harmony import */ var _bases_base64_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./bases/base64.js */ \"./node_modules/multiformats/esm/src/bases/base64.js\");\n/* harmony import */ var _bases_base256emoji_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./bases/base256emoji.js */ \"./node_modules/multiformats/esm/src/bases/base256emoji.js\");\n/* harmony import */ var _hashes_sha2_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./hashes/sha2.js */ \"./node_modules/multiformats/esm/src/hashes/sha2-browser.js\");\n/* harmony import */ var _hashes_identity_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./hashes/identity.js */ \"./node_modules/multiformats/esm/src/hashes/identity.js\");\n/* harmony import */ var _codecs_raw_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ./codecs/raw.js */ \"./node_modules/multiformats/esm/src/codecs/raw.js\");\n/* harmony import */ var _codecs_json_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ./codecs/json.js */ \"./node_modules/multiformats/esm/src/codecs/json.js\");\n/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./index.js */ \"./node_modules/multiformats/esm/src/index.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nconst bases = {\n ..._bases_identity_js__WEBPACK_IMPORTED_MODULE_0__,\n ..._bases_base2_js__WEBPACK_IMPORTED_MODULE_1__,\n ..._bases_base8_js__WEBPACK_IMPORTED_MODULE_2__,\n ..._bases_base10_js__WEBPACK_IMPORTED_MODULE_3__,\n ..._bases_base16_js__WEBPACK_IMPORTED_MODULE_4__,\n ..._bases_base32_js__WEBPACK_IMPORTED_MODULE_5__,\n ..._bases_base36_js__WEBPACK_IMPORTED_MODULE_6__,\n ..._bases_base58_js__WEBPACK_IMPORTED_MODULE_7__,\n ..._bases_base64_js__WEBPACK_IMPORTED_MODULE_8__,\n ..._bases_base256emoji_js__WEBPACK_IMPORTED_MODULE_9__\n};\nconst hashes = {\n ..._hashes_sha2_js__WEBPACK_IMPORTED_MODULE_10__,\n ..._hashes_identity_js__WEBPACK_IMPORTED_MODULE_11__\n};\nconst codecs = {\n raw: _codecs_raw_js__WEBPACK_IMPORTED_MODULE_12__,\n json: _codecs_json_js__WEBPACK_IMPORTED_MODULE_13__\n};\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/basics.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/bytes.js":
/*!****************************************************!*\
!*** ./node_modules/multiformats/esm/src/bytes.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ coerce: () => (/* binding */ coerce),\n/* harmony export */ empty: () => (/* binding */ empty),\n/* harmony export */ equals: () => (/* binding */ equals),\n/* harmony export */ fromHex: () => (/* binding */ fromHex),\n/* harmony export */ fromString: () => (/* binding */ fromString),\n/* harmony export */ isBinary: () => (/* binding */ isBinary),\n/* harmony export */ toHex: () => (/* binding */ toHex),\n/* harmony export */ toString: () => (/* binding */ toString)\n/* harmony export */ });\nconst empty = new Uint8Array(0);\nconst toHex = d => d.reduce((hex, byte) => hex + byte.toString(16).padStart(2, '0'), '');\nconst fromHex = hex => {\n const hexes = hex.match(/../g);\n return hexes ? new Uint8Array(hexes.map(b => parseInt(b, 16))) : empty;\n};\nconst equals = (aa, bb) => {\n if (aa === bb)\n return true;\n if (aa.byteLength !== bb.byteLength) {\n return false;\n }\n for (let ii = 0; ii < aa.byteLength; ii++) {\n if (aa[ii] !== bb[ii]) {\n return false;\n }\n }\n return true;\n};\nconst coerce = o => {\n if (o instanceof Uint8Array && o.constructor.name === 'Uint8Array')\n return o;\n if (o instanceof ArrayBuffer)\n return new Uint8Array(o);\n if (ArrayBuffer.isView(o)) {\n return new Uint8Array(o.buffer, o.byteOffset, o.byteLength);\n }\n throw new Error('Unknown type, must be binary type');\n};\nconst isBinary = o => o instanceof ArrayBuffer || ArrayBuffer.isView(o);\nconst fromString = str => new TextEncoder().encode(str);\nconst toString = b => new TextDecoder().decode(b);\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/bytes.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/cid.js":
/*!**************************************************!*\
!*** ./node_modules/multiformats/esm/src/cid.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CID: () => (/* binding */ CID)\n/* harmony export */ });\n/* harmony import */ var _varint_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./varint.js */ \"./node_modules/multiformats/esm/src/varint.js\");\n/* harmony import */ var _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./hashes/digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n/* harmony import */ var _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bases/base58.js */ \"./node_modules/multiformats/esm/src/bases/base58.js\");\n/* harmony import */ var _bases_base32_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./bases/base32.js */ \"./node_modules/multiformats/esm/src/bases/base32.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\n\n\n\n\nclass CID {\n constructor(version, code, multihash, bytes) {\n this.code = code;\n this.version = version;\n this.multihash = multihash;\n this.bytes = bytes;\n this.byteOffset = bytes.byteOffset;\n this.byteLength = bytes.byteLength;\n this.asCID = this;\n this._baseCache = new Map();\n Object.defineProperties(this, {\n byteOffset: hidden,\n byteLength: hidden,\n code: readonly,\n version: readonly,\n multihash: readonly,\n bytes: readonly,\n _baseCache: hidden,\n asCID: hidden\n });\n }\n toV0() {\n switch (this.version) {\n case 0: {\n return this;\n }\n default: {\n const {code, multihash} = this;\n if (code !== DAG_PB_CODE) {\n throw new Error('Cannot convert a non dag-pb CID to CIDv0');\n }\n if (multihash.code !== SHA_256_CODE) {\n throw new Error('Cannot convert non sha2-256 multihash CID to CIDv0');\n }\n return CID.createV0(multihash);\n }\n }\n }\n toV1() {\n switch (this.version) {\n case 0: {\n const {code, digest} = this.multihash;\n const multihash = _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__.create(code, digest);\n return CID.createV1(this.code, multihash);\n }\n case 1: {\n return this;\n }\n default: {\n throw Error(`Can not convert CID version ${ this.version } to version 0. This is a bug please report`);\n }\n }\n }\n equals(other) {\n return other && this.code === other.code && this.version === other.version && _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__.equals(this.multihash, other.multihash);\n }\n toString(base) {\n const {bytes, version, _baseCache} = this;\n switch (version) {\n case 0:\n return toStringV0(bytes, _baseCache, base || _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc.encoder);\n default:\n return toStringV1(bytes, _baseCache, base || _bases_base32_js__WEBPACK_IMPORTED_MODULE_3__.base32.encoder);\n }\n }\n toJSON() {\n return {\n code: this.code,\n version: this.version,\n hash: this.multihash.bytes\n };\n }\n get [Symbol.toStringTag]() {\n return 'CID';\n }\n [Symbol.for('nodejs.util.inspect.custom')]() {\n return 'CID(' + this.toString() + ')';\n }\n static isCID(value) {\n deprecate(/^0\\.0/, IS_CID_DEPRECATION);\n return !!(value && (value[cidSymbol] || value.asCID === value));\n }\n get toBaseEncodedString() {\n throw new Error('Deprecated, use .toString()');\n }\n get codec() {\n throw new Error('\"codec\" property is deprecated, use integer \"code\" property instead');\n }\n get buffer() {\n throw new Error('Deprecated .buffer property, use .bytes to get Uint8Array instead');\n }\n get multibaseName() {\n throw new Error('\"multibaseName\" property is deprecated');\n }\n get prefix() {\n throw new Error('\"prefix\" property is deprecated');\n }\n static asCID(value) {\n if (value instanceof CID) {\n return value;\n } else if (value != null && value.asCID === value) {\n const {version, code, multihash, bytes} = value;\n return new CID(version, code, multihash, bytes || encodeCID(version, code, multihash.bytes));\n } else if (value != null && value[cidSymbol] === true) {\n const {version, multihash, code} = value;\n const digest = _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__.decode(multihash);\n return CID.create(version, code, digest);\n } else {\n return null;\n }\n }\n static create(version, code, digest) {\n if (typeof code !== 'number') {\n throw new Error('String codecs are no longer supported');\n }\n switch (version) {\n case 0: {\n if (code !== DAG_PB_CODE) {\n throw new Error(`Version 0 CID must use dag-pb (code: ${ DAG_PB_CODE }) block encoding`);\n } else {\n return new CID(version, code, digest, digest.bytes);\n }\n }\n case 1: {\n const bytes = encodeCID(version, code, digest.bytes);\n return new CID(version, code, digest, bytes);\n }\n default: {\n throw new Error('Invalid version');\n }\n }\n }\n static createV0(digest) {\n return CID.create(0, DAG_PB_CODE, digest);\n }\n static createV1(code, digest) {\n return CID.create(1, code, digest);\n }\n static decode(bytes) {\n const [cid, remainder] = CID.decodeFirst(bytes);\n if (remainder.length) {\n throw new Error('Incorrect length');\n }\n return cid;\n }\n static decodeFirst(bytes) {\n const specs = CID.inspectBytes(bytes);\n const prefixSize = specs.size - specs.multihashSize;\n const multihashBytes = (0,_bytes_js__WEBPACK_IMPORTED_MODULE_4__.coerce)(bytes.subarray(prefixSize, prefixSize + specs.multihashSize));\n if (multihashBytes.byteLength !== specs.multihashSize) {\n throw new Error('Incorrect length');\n }\n const digestBytes = multihashBytes.subarray(specs.multihashSize - specs.digestSize);\n const digest = new _hashes_digest_js__WEBPACK_IMPORTED_MODULE_1__.Digest(specs.multihashCode, specs.digestSize, digestBytes, multihashBytes);\n const cid = specs.version === 0 ? CID.createV0(digest) : CID.createV1(specs.codec, digest);\n return [\n cid,\n bytes.subarray(specs.size)\n ];\n }\n static inspectBytes(initialBytes) {\n let offset = 0;\n const next = () => {\n const [i, length] = _varint_js__WEBPACK_IMPORTED_MODULE_0__.decode(initialBytes.subarray(offset));\n offset += length;\n return i;\n };\n let version = next();\n let codec = DAG_PB_CODE;\n if (version === 18) {\n version = 0;\n offset = 0;\n } else if (version === 1) {\n codec = next();\n }\n if (version !== 0 && version !== 1) {\n throw new RangeError(`Invalid CID version ${ version }`);\n }\n const prefixSize = offset;\n const multihashCode = next();\n const digestSize = next();\n const size = offset + digestSize;\n const multihashSize = size - prefixSize;\n return {\n version,\n codec,\n multihashCode,\n digestSize,\n multihashSize,\n size\n };\n }\n static parse(source, base) {\n const [prefix, bytes] = parseCIDtoBytes(source, base);\n const cid = CID.decode(bytes);\n cid._baseCache.set(prefix, source);\n return cid;\n }\n}\nconst parseCIDtoBytes = (source, base) => {\n switch (source[0]) {\n case 'Q': {\n const decoder = base || _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc;\n return [\n _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc.prefix,\n decoder.decode(`${ _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc.prefix }${ source }`)\n ];\n }\n case _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc.prefix: {\n const decoder = base || _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc;\n return [\n _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc.prefix,\n decoder.decode(source)\n ];\n }\n case _bases_base32_js__WEBPACK_IMPORTED_MODULE_3__.base32.prefix: {\n const decoder = base || _bases_base32_js__WEBPACK_IMPORTED_MODULE_3__.base32;\n return [\n _bases_base32_js__WEBPACK_IMPORTED_MODULE_3__.base32.prefix,\n decoder.decode(source)\n ];\n }\n default: {\n if (base == null) {\n throw Error('To parse non base32 or base58btc encoded CID multibase decoder must be provided');\n }\n return [\n source[0],\n base.decode(source)\n ];\n }\n }\n};\nconst toStringV0 = (bytes, cache, base) => {\n const {prefix} = base;\n if (prefix !== _bases_base58_js__WEBPACK_IMPORTED_MODULE_2__.base58btc.prefix) {\n throw Error(`Cannot string encode V0 in ${ base.name } encoding`);\n }\n const cid = cache.get(prefix);\n if (cid == null) {\n const cid = base.encode(bytes).slice(1);\n cache.set(prefix, cid);\n return cid;\n } else {\n return cid;\n }\n};\nconst toStringV1 = (bytes, cache, base) => {\n const {prefix} = base;\n const cid = cache.get(prefix);\n if (cid == null) {\n const cid = base.encode(bytes);\n cache.set(prefix, cid);\n return cid;\n } else {\n return cid;\n }\n};\nconst DAG_PB_CODE = 112;\nconst SHA_256_CODE = 18;\nconst encodeCID = (version, code, multihash) => {\n const codeOffset = _varint_js__WEBPACK_IMPORTED_MODULE_0__.encodingLength(version);\n const hashOffset = codeOffset + _varint_js__WEBPACK_IMPORTED_MODULE_0__.encodingLength(code);\n const bytes = new Uint8Array(hashOffset + multihash.byteLength);\n _varint_js__WEBPACK_IMPORTED_MODULE_0__.encodeTo(version, bytes, 0);\n _varint_js__WEBPACK_IMPORTED_MODULE_0__.encodeTo(code, bytes, codeOffset);\n bytes.set(multihash, hashOffset);\n return bytes;\n};\nconst cidSymbol = Symbol.for('@ipld/js-cid/CID');\nconst readonly = {\n writable: false,\n configurable: false,\n enumerable: true\n};\nconst hidden = {\n writable: false,\n enumerable: false,\n configurable: false\n};\nconst version = '0.0.0-dev';\nconst deprecate = (range, message) => {\n if (range.test(version)) {\n console.warn(message);\n } else {\n throw new Error(message);\n }\n};\nconst IS_CID_DEPRECATION = `CID.isCID(v) is deprecated and will be removed in the next major release.\nFollowing code pattern:\n\nif (CID.isCID(value)) {\n doSomethingWithCID(value)\n}\n\nIs replaced with:\n\nconst cid = CID.asCID(value)\nif (cid) {\n // Make sure to use cid instead of value\n doSomethingWithCID(cid)\n}\n`;\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/cid.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/codecs/json.js":
/*!**********************************************************!*\
!*** ./node_modules/multiformats/esm/src/codecs/json.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ code: () => (/* binding */ code),\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ encode: () => (/* binding */ encode),\n/* harmony export */ name: () => (/* binding */ name)\n/* harmony export */ });\nconst textEncoder = new TextEncoder();\nconst textDecoder = new TextDecoder();\nconst name = 'json';\nconst code = 512;\nconst encode = node => textEncoder.encode(JSON.stringify(node));\nconst decode = data => JSON.parse(textDecoder.decode(data));\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/codecs/json.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/codecs/raw.js":
/*!*********************************************************!*\
!*** ./node_modules/multiformats/esm/src/codecs/raw.js ***!
\*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ code: () => (/* binding */ code),\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ encode: () => (/* binding */ encode),\n/* harmony export */ name: () => (/* binding */ name)\n/* harmony export */ });\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n\nconst name = 'raw';\nconst code = 85;\nconst encode = node => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce)(node);\nconst decode = data => (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce)(data);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/codecs/raw.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/hashes/digest.js":
/*!************************************************************!*\
!*** ./node_modules/multiformats/esm/src/hashes/digest.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Digest: () => (/* binding */ Digest),\n/* harmony export */ create: () => (/* binding */ create),\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ equals: () => (/* binding */ equals)\n/* harmony export */ });\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n/* harmony import */ var _varint_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../varint.js */ \"./node_modules/multiformats/esm/src/varint.js\");\n\n\nconst create = (code, digest) => {\n const size = digest.byteLength;\n const sizeOffset = _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodingLength(code);\n const digestOffset = sizeOffset + _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodingLength(size);\n const bytes = new Uint8Array(digestOffset + size);\n _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodeTo(code, bytes, 0);\n _varint_js__WEBPACK_IMPORTED_MODULE_1__.encodeTo(size, bytes, sizeOffset);\n bytes.set(digest, digestOffset);\n return new Digest(code, size, digest, bytes);\n};\nconst decode = multihash => {\n const bytes = (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce)(multihash);\n const [code, sizeOffset] = _varint_js__WEBPACK_IMPORTED_MODULE_1__.decode(bytes);\n const [size, digestOffset] = _varint_js__WEBPACK_IMPORTED_MODULE_1__.decode(bytes.subarray(sizeOffset));\n const digest = bytes.subarray(sizeOffset + digestOffset);\n if (digest.byteLength !== size) {\n throw new Error('Incorrect length');\n }\n return new Digest(code, size, digest, bytes);\n};\nconst equals = (a, b) => {\n if (a === b) {\n return true;\n } else {\n return a.code === b.code && a.size === b.size && (0,_bytes_js__WEBPACK_IMPORTED_MODULE_0__.equals)(a.bytes, b.bytes);\n }\n};\nclass Digest {\n constructor(code, size, digest, bytes) {\n this.code = code;\n this.size = size;\n this.digest = digest;\n this.bytes = bytes;\n }\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/digest.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/hashes/hasher.js":
/*!************************************************************!*\
!*** ./node_modules/multiformats/esm/src/hashes/hasher.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ Hasher: () => (/* binding */ Hasher),\n/* harmony export */ from: () => (/* binding */ from)\n/* harmony export */ });\n/* harmony import */ var _digest_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n\nconst from = ({name, code, encode}) => new Hasher(name, code, encode);\nclass Hasher {\n constructor(name, code, encode) {\n this.name = name;\n this.code = code;\n this.encode = encode;\n }\n digest(input) {\n if (input instanceof Uint8Array) {\n const result = this.encode(input);\n return result instanceof Uint8Array ? _digest_js__WEBPACK_IMPORTED_MODULE_0__.create(this.code, result) : result.then(digest => _digest_js__WEBPACK_IMPORTED_MODULE_0__.create(this.code, digest));\n } else {\n throw Error('Unknown type, must be binary type');\n }\n }\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/hasher.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/hashes/identity.js":
/*!**************************************************************!*\
!*** ./node_modules/multiformats/esm/src/hashes/identity.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ identity: () => (/* binding */ identity)\n/* harmony export */ });\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n/* harmony import */ var _digest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n\n\nconst code = 0;\nconst name = 'identity';\nconst encode = _bytes_js__WEBPACK_IMPORTED_MODULE_0__.coerce;\nconst digest = input => _digest_js__WEBPACK_IMPORTED_MODULE_1__.create(code, encode(input));\nconst identity = {\n code,\n name,\n encode,\n digest\n};\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/identity.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/hashes/sha2-browser.js":
/*!******************************************************************!*\
!*** ./node_modules/multiformats/esm/src/hashes/sha2-browser.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sha256: () => (/* binding */ sha256),\n/* harmony export */ sha512: () => (/* binding */ sha512)\n/* harmony export */ });\n/* harmony import */ var _hasher_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./hasher.js */ \"./node_modules/multiformats/esm/src/hashes/hasher.js\");\n\nconst sha = name => async data => new Uint8Array(await crypto.subtle.digest(name, data));\nconst sha256 = (0,_hasher_js__WEBPACK_IMPORTED_MODULE_0__.from)({\n name: 'sha2-256',\n code: 18,\n encode: sha('SHA-256')\n});\nconst sha512 = (0,_hasher_js__WEBPACK_IMPORTED_MODULE_0__.from)({\n name: 'sha2-512',\n code: 19,\n encode: sha('SHA-512')\n});\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/hashes/sha2-browser.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/index.js":
/*!****************************************************!*\
!*** ./node_modules/multiformats/esm/src/index.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CID: () => (/* reexport safe */ _cid_js__WEBPACK_IMPORTED_MODULE_0__.CID),\n/* harmony export */ bytes: () => (/* reexport module object */ _bytes_js__WEBPACK_IMPORTED_MODULE_2__),\n/* harmony export */ digest: () => (/* reexport module object */ _hashes_digest_js__WEBPACK_IMPORTED_MODULE_4__),\n/* harmony export */ hasher: () => (/* reexport module object */ _hashes_hasher_js__WEBPACK_IMPORTED_MODULE_3__),\n/* harmony export */ varint: () => (/* reexport module object */ _varint_js__WEBPACK_IMPORTED_MODULE_1__)\n/* harmony export */ });\n/* harmony import */ var _cid_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./cid.js */ \"./node_modules/multiformats/esm/src/cid.js\");\n/* harmony import */ var _varint_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./varint.js */ \"./node_modules/multiformats/esm/src/varint.js\");\n/* harmony import */ var _bytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./bytes.js */ \"./node_modules/multiformats/esm/src/bytes.js\");\n/* harmony import */ var _hashes_hasher_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./hashes/hasher.js */ \"./node_modules/multiformats/esm/src/hashes/hasher.js\");\n/* harmony import */ var _hashes_digest_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./hashes/digest.js */ \"./node_modules/multiformats/esm/src/hashes/digest.js\");\n\n\n\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/index.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/src/varint.js":
/*!*****************************************************!*\
!*** ./node_modules/multiformats/esm/src/varint.js ***!
\*****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decode: () => (/* binding */ decode),\n/* harmony export */ encodeTo: () => (/* binding */ encodeTo),\n/* harmony export */ encodingLength: () => (/* binding */ encodingLength)\n/* harmony export */ });\n/* harmony import */ var _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../vendor/varint.js */ \"./node_modules/multiformats/esm/vendor/varint.js\");\n\nconst decode = (data, offset = 0) => {\n const code = _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decode(data, offset);\n return [\n code,\n _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].decode.bytes\n ];\n};\nconst encodeTo = (int, target, offset = 0) => {\n _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].encode(int, target, offset);\n return target;\n};\nconst encodingLength = int => {\n return _vendor_varint_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"].encodingLength(int);\n};\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/src/varint.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/vendor/base-x.js":
/*!********************************************************!*\
!*** ./node_modules/multiformats/esm/vendor/base-x.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nfunction base(ALPHABET, name) {\n if (ALPHABET.length >= 255) {\n throw new TypeError('Alphabet too long');\n }\n var BASE_MAP = new Uint8Array(256);\n for (var j = 0; j < BASE_MAP.length; j++) {\n BASE_MAP[j] = 255;\n }\n for (var i = 0; i < ALPHABET.length; i++) {\n var x = ALPHABET.charAt(i);\n var xc = x.charCodeAt(0);\n if (BASE_MAP[xc] !== 255) {\n throw new TypeError(x + ' is ambiguous');\n }\n BASE_MAP[xc] = i;\n }\n var BASE = ALPHABET.length;\n var LEADER = ALPHABET.charAt(0);\n var FACTOR = Math.log(BASE) / Math.log(256);\n var iFACTOR = Math.log(256) / Math.log(BASE);\n function encode(source) {\n if (source instanceof Uint8Array);\n else if (ArrayBuffer.isView(source)) {\n source = new Uint8Array(source.buffer, source.byteOffset, source.byteLength);\n } else if (Array.isArray(source)) {\n source = Uint8Array.from(source);\n }\n if (!(source instanceof Uint8Array)) {\n throw new TypeError('Expected Uint8Array');\n }\n if (source.length === 0) {\n return '';\n }\n var zeroes = 0;\n var length = 0;\n var pbegin = 0;\n var pend = source.length;\n while (pbegin !== pend && source[pbegin] === 0) {\n pbegin++;\n zeroes++;\n }\n var size = (pend - pbegin) * iFACTOR + 1 >>> 0;\n var b58 = new Uint8Array(size);\n while (pbegin !== pend) {\n var carry = source[pbegin];\n var i = 0;\n for (var it1 = size - 1; (carry !== 0 || i < length) && it1 !== -1; it1--, i++) {\n carry += 256 * b58[it1] >>> 0;\n b58[it1] = carry % BASE >>> 0;\n carry = carry / BASE >>> 0;\n }\n if (carry !== 0) {\n throw new Error('Non-zero carry');\n }\n length = i;\n pbegin++;\n }\n var it2 = size - length;\n while (it2 !== size && b58[it2] === 0) {\n it2++;\n }\n var str = LEADER.repeat(zeroes);\n for (; it2 < size; ++it2) {\n str += ALPHABET.charAt(b58[it2]);\n }\n return str;\n }\n function decodeUnsafe(source) {\n if (typeof source !== 'string') {\n throw new TypeError('Expected String');\n }\n if (source.length === 0) {\n return new Uint8Array();\n }\n var psz = 0;\n if (source[psz] === ' ') {\n return;\n }\n var zeroes = 0;\n var length = 0;\n while (source[psz] === LEADER) {\n zeroes++;\n psz++;\n }\n var size = (source.length - psz) * FACTOR + 1 >>> 0;\n var b256 = new Uint8Array(size);\n while (source[psz]) {\n var carry = BASE_MAP[source.charCodeAt(psz)];\n if (carry === 255) {\n return;\n }\n var i = 0;\n for (var it3 = size - 1; (carry !== 0 || i < length) && it3 !== -1; it3--, i++) {\n carry += BASE * b256[it3] >>> 0;\n b256[it3] = carry % 256 >>> 0;\n carry = carry / 256 >>> 0;\n }\n if (carry !== 0) {\n throw new Error('Non-zero carry');\n }\n length = i;\n psz++;\n }\n if (source[psz] === ' ') {\n return;\n }\n var it4 = size - length;\n while (it4 !== size && b256[it4] === 0) {\n it4++;\n }\n var vch = new Uint8Array(zeroes + (size - it4));\n var j = zeroes;\n while (it4 !== size) {\n vch[j++] = b256[it4++];\n }\n return vch;\n }\n function decode(string) {\n var buffer = decodeUnsafe(string);\n if (buffer) {\n return buffer;\n }\n throw new Error(`Non-${ name } character`);\n }\n return {\n encode: encode,\n decodeUnsafe: decodeUnsafe,\n decode: decode\n };\n}\nvar src = base;\nvar _brrp__multiformats_scope_baseX = src;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_brrp__multiformats_scope_baseX);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/vendor/base-x.js?");
/***/ }),
/***/ "./node_modules/multiformats/esm/vendor/varint.js":
/*!********************************************************!*\
!*** ./node_modules/multiformats/esm/vendor/varint.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\nvar encode_1 = encode;\nvar MSB = 128, REST = 127, MSBALL = ~REST, INT = Math.pow(2, 31);\nfunction encode(num, out, offset) {\n out = out || [];\n offset = offset || 0;\n var oldOffset = offset;\n while (num >= INT) {\n out[offset++] = num & 255 | MSB;\n num /= 128;\n }\n while (num & MSBALL) {\n out[offset++] = num & 255 | MSB;\n num >>>= 7;\n }\n out[offset] = num | 0;\n encode.bytes = offset - oldOffset + 1;\n return out;\n}\nvar decode = read;\nvar MSB$1 = 128, REST$1 = 127;\nfunction read(buf, offset) {\n var res = 0, offset = offset || 0, shift = 0, counter = offset, b, l = buf.length;\n do {\n if (counter >= l) {\n read.bytes = 0;\n throw new RangeError('Could not decode varint');\n }\n b = buf[counter++];\n res += shift < 28 ? (b & REST$1) << shift : (b & REST$1) * Math.pow(2, shift);\n shift += 7;\n } while (b >= MSB$1);\n read.bytes = counter - offset;\n return res;\n}\nvar N1 = Math.pow(2, 7);\nvar N2 = Math.pow(2, 14);\nvar N3 = Math.pow(2, 21);\nvar N4 = Math.pow(2, 28);\nvar N5 = Math.pow(2, 35);\nvar N6 = Math.pow(2, 42);\nvar N7 = Math.pow(2, 49);\nvar N8 = Math.pow(2, 56);\nvar N9 = Math.pow(2, 63);\nvar length = function (value) {\n return value < N1 ? 1 : value < N2 ? 2 : value < N3 ? 3 : value < N4 ? 4 : value < N5 ? 5 : value < N6 ? 6 : value < N7 ? 7 : value < N8 ? 8 : value < N9 ? 9 : 10;\n};\nvar varint = {\n encode: encode_1,\n decode: decode,\n encodingLength: length\n};\nvar _brrp_varint = varint;\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_brrp_varint);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/multiformats/esm/vendor/varint.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/alloc.js":
/*!***************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/alloc.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ alloc: () => (/* binding */ alloc),\n/* harmony export */ allocUnsafe: () => (/* binding */ allocUnsafe)\n/* harmony export */ });\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\nfunction alloc(size = 0) {\n if (globalThis.Buffer != null && globalThis.Buffer.alloc != null) {\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_0__.asUint8Array)(globalThis.Buffer.alloc(size));\n }\n return new Uint8Array(size);\n}\nfunction allocUnsafe(size = 0) {\n if (globalThis.Buffer != null && globalThis.Buffer.allocUnsafe != null) {\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_0__.asUint8Array)(globalThis.Buffer.allocUnsafe(size));\n }\n return new Uint8Array(size);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/alloc.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/compare.js":
/*!*****************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/compare.js ***!
\*****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ compare: () => (/* binding */ compare)\n/* harmony export */ });\nfunction compare(a, b) {\n for (let i = 0; i < a.byteLength; i++) {\n if (a[i] < b[i]) {\n return -1;\n }\n if (a[i] > b[i]) {\n return 1;\n }\n }\n if (a.byteLength > b.byteLength) {\n return 1;\n }\n if (a.byteLength < b.byteLength) {\n return -1;\n }\n return 0;\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/compare.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/concat.js":
/*!****************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/concat.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat)\n/* harmony export */ });\n/* harmony import */ var _alloc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./alloc.js */ \"./node_modules/uint8arrays/esm/src/alloc.js\");\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\n\nfunction concat(arrays, length) {\n if (!length) {\n length = arrays.reduce((acc, curr) => acc + curr.length, 0);\n }\n const output = (0,_alloc_js__WEBPACK_IMPORTED_MODULE_0__.allocUnsafe)(length);\n let offset = 0;\n for (const arr of arrays) {\n output.set(arr, offset);\n offset += arr.length;\n }\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__.asUint8Array)(output);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/concat.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/equals.js":
/*!****************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/equals.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ equals: () => (/* binding */ equals)\n/* harmony export */ });\nfunction equals(a, b) {\n if (a === b) {\n return true;\n }\n if (a.byteLength !== b.byteLength) {\n return false;\n }\n for (let i = 0; i < a.byteLength; i++) {\n if (a[i] !== b[i]) {\n return false;\n }\n }\n return true;\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/equals.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/from-string.js":
/*!*********************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/from-string.js ***!
\*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fromString: () => (/* binding */ fromString)\n/* harmony export */ });\n/* harmony import */ var _util_bases_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/bases.js */ \"./node_modules/uint8arrays/esm/src/util/bases.js\");\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\n\nfunction fromString(string, encoding = 'utf8') {\n const base = _util_bases_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"][encoding];\n if (!base) {\n throw new Error(`Unsupported encoding \"${ encoding }\"`);\n }\n if ((encoding === 'utf8' || encoding === 'utf-8') && globalThis.Buffer != null && globalThis.Buffer.from != null) {\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__.asUint8Array)(globalThis.Buffer.from(string, 'utf-8'));\n }\n return base.decoder.decode(`${ base.prefix }${ string }`);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/from-string.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/index.js":
/*!***************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/index.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ compare: () => (/* reexport safe */ _compare_js__WEBPACK_IMPORTED_MODULE_0__.compare),\n/* harmony export */ concat: () => (/* reexport safe */ _concat_js__WEBPACK_IMPORTED_MODULE_1__.concat),\n/* harmony export */ equals: () => (/* reexport safe */ _equals_js__WEBPACK_IMPORTED_MODULE_2__.equals),\n/* harmony export */ fromString: () => (/* reexport safe */ _from_string_js__WEBPACK_IMPORTED_MODULE_3__.fromString),\n/* harmony export */ toString: () => (/* reexport safe */ _to_string_js__WEBPACK_IMPORTED_MODULE_4__.toString),\n/* harmony export */ xor: () => (/* reexport safe */ _xor_js__WEBPACK_IMPORTED_MODULE_5__.xor)\n/* harmony export */ });\n/* harmony import */ var _compare_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./compare.js */ \"./node_modules/uint8arrays/esm/src/compare.js\");\n/* harmony import */ var _concat_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./concat.js */ \"./node_modules/uint8arrays/esm/src/concat.js\");\n/* harmony import */ var _equals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./equals.js */ \"./node_modules/uint8arrays/esm/src/equals.js\");\n/* harmony import */ var _from_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./from-string.js */ \"./node_modules/uint8arrays/esm/src/from-string.js\");\n/* harmony import */ var _to_string_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./to-string.js */ \"./node_modules/uint8arrays/esm/src/to-string.js\");\n/* harmony import */ var _xor_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./xor.js */ \"./node_modules/uint8arrays/esm/src/xor.js\");\n\n\n\n\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/index.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/to-string.js":
/*!*******************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/to-string.js ***!
\*******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ toString: () => (/* binding */ toString)\n/* harmony export */ });\n/* harmony import */ var _util_bases_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./util/bases.js */ \"./node_modules/uint8arrays/esm/src/util/bases.js\");\n\nfunction toString(array, encoding = 'utf8') {\n const base = _util_bases_js__WEBPACK_IMPORTED_MODULE_0__[\"default\"][encoding];\n if (!base) {\n throw new Error(`Unsupported encoding \"${ encoding }\"`);\n }\n if ((encoding === 'utf8' || encoding === 'utf-8') && globalThis.Buffer != null && globalThis.Buffer.from != null) {\n return globalThis.Buffer.from(array.buffer, array.byteOffset, array.byteLength).toString('utf8');\n }\n return base.encoder.encode(array).substring(1);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/to-string.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/util/as-uint8array.js":
/*!****************************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/util/as-uint8array.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ asUint8Array: () => (/* binding */ asUint8Array)\n/* harmony export */ });\nfunction asUint8Array(buf) {\n if (globalThis.Buffer != null) {\n return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength);\n }\n return buf;\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/util/as-uint8array.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/util/bases.js":
/*!********************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/util/bases.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__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 multiformats_basics__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! multiformats/basics */ \"./node_modules/multiformats/esm/src/basics.js\");\n/* harmony import */ var _alloc_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../alloc.js */ \"./node_modules/uint8arrays/esm/src/alloc.js\");\n\n\nfunction createCodec(name, prefix, encode, decode) {\n return {\n name,\n prefix,\n encoder: {\n name,\n prefix,\n encode\n },\n decoder: { decode }\n };\n}\nconst string = createCodec('utf8', 'u', buf => {\n const decoder = new TextDecoder('utf8');\n return 'u' + decoder.decode(buf);\n}, str => {\n const encoder = new TextEncoder();\n return encoder.encode(str.substring(1));\n});\nconst ascii = createCodec('ascii', 'a', buf => {\n let string = 'a';\n for (let i = 0; i < buf.length; i++) {\n string += String.fromCharCode(buf[i]);\n }\n return string;\n}, str => {\n str = str.substring(1);\n const buf = (0,_alloc_js__WEBPACK_IMPORTED_MODULE_1__.allocUnsafe)(str.length);\n for (let i = 0; i < str.length; i++) {\n buf[i] = str.charCodeAt(i);\n }\n return buf;\n});\nconst BASES = {\n utf8: string,\n 'utf-8': string,\n hex: multiformats_basics__WEBPACK_IMPORTED_MODULE_0__.bases.base16,\n latin1: ascii,\n ascii: ascii,\n binary: ascii,\n ...multiformats_basics__WEBPACK_IMPORTED_MODULE_0__.bases\n};\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (BASES);\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/util/bases.js?");
/***/ }),
/***/ "./node_modules/uint8arrays/esm/src/xor.js":
/*!*************************************************!*\
!*** ./node_modules/uint8arrays/esm/src/xor.js ***!
\*************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ xor: () => (/* binding */ xor)\n/* harmony export */ });\n/* harmony import */ var _alloc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./alloc.js */ \"./node_modules/uint8arrays/esm/src/alloc.js\");\n/* harmony import */ var _util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./util/as-uint8array.js */ \"./node_modules/uint8arrays/esm/src/util/as-uint8array.js\");\n\n\nfunction xor(a, b) {\n if (a.length !== b.length) {\n throw new Error('Inputs should have the same length');\n }\n const result = (0,_alloc_js__WEBPACK_IMPORTED_MODULE_0__.allocUnsafe)(a.length);\n for (let i = 0; i < a.length; i++) {\n result[i] = a[i] ^ b[i];\n }\n return (0,_util_as_uint8array_js__WEBPACK_IMPORTED_MODULE_1__.asUint8Array)(result);\n}\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/uint8arrays/esm/src/xor.js?");
/***/ }),
/***/ "./node_modules/valtio/esm/vanilla.mjs":
/*!*********************************************!*\
!*** ./node_modules/valtio/esm/vanilla.mjs ***!
\*********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getVersion: () => (/* binding */ getVersion),\n/* harmony export */ proxy: () => (/* binding */ proxy),\n/* harmony export */ ref: () => (/* binding */ ref),\n/* harmony export */ snapshot: () => (/* binding */ snapshot),\n/* harmony export */ subscribe: () => (/* binding */ subscribe),\n/* harmony export */ unstable_buildProxyFunction: () => (/* binding */ unstable_buildProxyFunction)\n/* harmony export */ });\n/* harmony import */ var proxy_compare__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! proxy-compare */ \"./node_modules/proxy-compare/dist/index.modern.js\");\n\n\nconst isObject = (x) => typeof x === \"object\" && x !== null;\nconst proxyStateMap = /* @__PURE__ */ new WeakMap();\nconst refSet = /* @__PURE__ */ new WeakSet();\nconst buildProxyFunction = (objectIs = Object.is, newProxy = (target, handler) => new Proxy(target, handler), canProxy = (x) => isObject(x) && !refSet.has(x) && (Array.isArray(x) || !(Symbol.iterator in x)) && !(x instanceof WeakMap) && !(x instanceof WeakSet) && !(x instanceof Error) && !(x instanceof Number) && !(x instanceof Date) && !(x instanceof String) && !(x instanceof RegExp) && !(x instanceof ArrayBuffer), defaultHandlePromise = (promise) => {\n switch (promise.status) {\n case \"fulfilled\":\n return promise.value;\n case \"rejected\":\n throw promise.reason;\n default:\n throw promise;\n }\n}, snapCache = /* @__PURE__ */ new WeakMap(), createSnapshot = (target, version, handlePromise = defaultHandlePromise) => {\n const cache = snapCache.get(target);\n if ((cache == null ? void 0 : cache[0]) === version) {\n return cache[1];\n }\n const snap = Array.isArray(target) ? [] : Object.create(Object.getPrototypeOf(target));\n (0,proxy_compare__WEBPACK_IMPORTED_MODULE_0__.markToTrack)(snap, true);\n snapCache.set(target, [version, snap]);\n Reflect.ownKeys(target).forEach((key) => {\n if (Object.getOwnPropertyDescriptor(snap, key)) {\n return;\n }\n const value = Reflect.get(target, key);\n const desc = {\n value,\n enumerable: true,\n // This is intentional to avoid copying with proxy-compare.\n // It's still non-writable, so it avoids assigning a value.\n configurable: true\n };\n if (refSet.has(value)) {\n (0,proxy_compare__WEBPACK_IMPORTED_MODULE_0__.markToTrack)(value, false);\n } else if (value instanceof Promise) {\n delete desc.value;\n desc.get = () => handlePromise(value);\n } else if (proxyStateMap.has(value)) {\n const [target2, ensureVersion] = proxyStateMap.get(\n value\n );\n desc.value = createSnapshot(\n target2,\n ensureVersion(),\n handlePromise\n );\n }\n Object.defineProperty(snap, key, desc);\n });\n return Object.preventExtensions(snap);\n}, proxyCache = /* @__PURE__ */ new WeakMap(), versionHolder = [1, 1], proxyFunction = (initialObject) => {\n if (!isObject(initialObject)) {\n throw new Error(\"object required\");\n }\n const found = proxyCache.get(initialObject);\n if (found) {\n return found;\n }\n let version = versionHolder[0];\n const listeners = /* @__PURE__ */ new Set();\n const notifyUpdate = (op, nextVersion = ++versionHolder[0]) => {\n if (version !== nextVersion) {\n version = nextVersion;\n listeners.forEach((listener) => listener(op, nextVersion));\n }\n };\n let checkVersion = versionHolder[1];\n const ensureVersion = (nextCheckVersion = ++versionHolder[1]) => {\n if (checkVersion !== nextCheckVersion && !listeners.size) {\n checkVersion = nextCheckVersion;\n propProxyStates.forEach(([propProxyState]) => {\n const propVersion = propProxyState[1](nextCheckVersion);\n if (propVersion > version) {\n version = propVersion;\n }\n });\n }\n return version;\n };\n const createPropListener = (prop) => (op, nextVersion) => {\n const newOp = [...op];\n newOp[1] = [prop, ...newOp[1]];\n notifyUpdate(newOp, nextVersion);\n };\n const propProxyStates = /* @__PURE__ */ new Map();\n const addPropListener = (prop, propProxyState) => {\n if (( false ? 0 : void 0) !== \"production\" && propProxyStates.has(prop)) {\n throw new Error(\"prop listener already exists\");\n }\n if (listeners.size) {\n const remove = propProxyState[3](createPropListener(prop));\n propProxyStates.set(prop, [propProxyState, remove]);\n } else {\n propProxyStates.set(prop, [propProxyState]);\n }\n };\n const removePropListener = (prop) => {\n var _a;\n const entry = propProxyStates.get(prop);\n if (entry) {\n propProxyStates.delete(prop);\n (_a = entry[1]) == null ? void 0 : _a.call(entry);\n }\n };\n const addListener = (listener) => {\n listeners.add(listener);\n if (listeners.size === 1) {\n propProxyStates.forEach(([propProxyState, prevRemove], prop) => {\n if (( false ? 0 : void 0) !== \"production\" && prevRemove) {\n throw new Error(\"remove already exists\");\n }\n const remove = propProxyState[3](createPropListener(prop));\n propProxyStates.set(prop, [propProxyState, remove]);\n });\n }\n const removeListener = () => {\n listeners.delete(listener);\n if (listeners.size === 0) {\n propProxyStates.forEach(([propProxyState, remove], prop) => {\n if (remove) {\n remove();\n propProxyStates.set(prop, [propProxyState]);\n }\n });\n }\n };\n return removeListener;\n };\n const baseObject = Array.isArray(initialObject) ? [] : Object.create(Object.getPrototypeOf(initialObject));\n const handler = {\n deleteProperty(target, prop) {\n const prevValue = Reflect.get(target, prop);\n removePropListener(prop);\n const deleted = Reflect.deleteProperty(target, prop);\n if (deleted) {\n notifyUpdate([\"delete\", [prop], prevValue]);\n }\n return deleted;\n },\n set(target, prop, value, receiver) {\n const hasPrevValue = Reflect.has(target, prop);\n const prevValue = Reflect.get(target, prop, receiver);\n if (hasPrevValue && (objectIs(prevValue, value) || proxyCache.has(value) && objectIs(prevValue, proxyCache.get(value)))) {\n return true;\n }\n removePropListener(prop);\n if (isObject(value)) {\n value = (0,proxy_compare__WEBPACK_IMPORTED_MODULE_0__.getUntracked)(value) || value;\n }\n let nextValue = value;\n if (value instanceof Promise) {\n value.then((v) => {\n value.status = \"fulfilled\";\n value.value = v;\n notifyUpdate([\"resolve\", [prop], v]);\n }).catch((e) => {\n value.status = \"rejected\";\n value.reason = e;\n notifyUpdate([\"reject\", [prop], e]);\n });\n } else {\n if (!proxyStateMap.has(value) && canProxy(value)) {\n nextValue = proxyFunction(value);\n }\n const childProxyState = !refSet.has(nextValue) && proxyStateMap.get(nextValue);\n if (childProxyState) {\n addPropListener(prop, childProxyState);\n }\n }\n Reflect.set(target, prop, nextValue, receiver);\n notifyUpdate([\"set\", [prop], value, prevValue]);\n return true;\n }\n };\n const proxyObject = newProxy(baseObject, handler);\n proxyCache.set(initialObject, proxyObject);\n const proxyState = [\n baseObject,\n ensureVersion,\n createSnapshot,\n addListener\n ];\n proxyStateMap.set(proxyObject, proxyState);\n Reflect.ownKeys(initialObject).forEach((key) => {\n const desc = Object.getOwnPropertyDescriptor(\n initialObject,\n key\n );\n if (\"value\" in desc) {\n proxyObject[key] = initialObject[key];\n delete desc.value;\n delete desc.writable;\n }\n Object.defineProperty(baseObject, key, desc);\n });\n return proxyObject;\n}) => [\n // public functions\n proxyFunction,\n // shared state\n proxyStateMap,\n refSet,\n // internal things\n objectIs,\n newProxy,\n canProxy,\n defaultHandlePromise,\n snapCache,\n createSnapshot,\n proxyCache,\n versionHolder\n];\nconst [defaultProxyFunction] = buildProxyFunction();\nfunction proxy(initialObject = {}) {\n return defaultProxyFunction(initialObject);\n}\nfunction getVersion(proxyObject) {\n const proxyState = proxyStateMap.get(proxyObject);\n return proxyState == null ? void 0 : proxyState[1]();\n}\nfunction subscribe(proxyObject, callback, notifyInSync) {\n const proxyState = proxyStateMap.get(proxyObject);\n if (( false ? 0 : void 0) !== \"production\" && !proxyState) {\n console.warn(\"Please use proxy object\");\n }\n let promise;\n const ops = [];\n const addListener = proxyState[3];\n let isListenerActive = false;\n const listener = (op) => {\n ops.push(op);\n if (notifyInSync) {\n callback(ops.splice(0));\n return;\n }\n if (!promise) {\n promise = Promise.resolve().then(() => {\n promise = void 0;\n if (isListenerActive) {\n callback(ops.splice(0));\n }\n });\n }\n };\n const removeListener = addListener(listener);\n isListenerActive = true;\n return () => {\n isListenerActive = false;\n removeListener();\n };\n}\nfunction snapshot(proxyObject, handlePromise) {\n const proxyState = proxyStateMap.get(proxyObject);\n if (( false ? 0 : void 0) !== \"production\" && !proxyState) {\n console.warn(\"Please use proxy object\");\n }\n const [target, ensureVersion, createSnapshot] = proxyState;\n return createSnapshot(target, ensureVersion(), handlePromise);\n}\nfunction ref(obj) {\n refSet.add(obj);\n return obj;\n}\nconst unstable_buildProxyFunction = buildProxyFunction;\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/valtio/esm/vanilla.mjs?");
/***/ }),
/***/ "./node_modules/valtio/esm/vanilla/utils.mjs":
/*!***************************************************!*\
!*** ./node_modules/valtio/esm/vanilla/utils.mjs ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ addComputed: () => (/* binding */ addComputed_DEPRECATED),\n/* harmony export */ derive: () => (/* binding */ derive),\n/* harmony export */ devtools: () => (/* binding */ devtools),\n/* harmony export */ proxyMap: () => (/* binding */ proxyMap),\n/* harmony export */ proxySet: () => (/* binding */ proxySet),\n/* harmony export */ proxyWithComputed: () => (/* binding */ proxyWithComputed_DEPRECATED),\n/* harmony export */ proxyWithHistory: () => (/* binding */ proxyWithHistory),\n/* harmony export */ subscribeKey: () => (/* binding */ subscribeKey),\n/* harmony export */ underive: () => (/* binding */ underive),\n/* harmony export */ unstable_deriveSubscriptions: () => (/* binding */ unstable_deriveSubscriptions),\n/* harmony export */ watch: () => (/* binding */ watch)\n/* harmony export */ });\n/* harmony import */ var valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! valtio/vanilla */ \"./node_modules/valtio/esm/vanilla.mjs\");\n\n\nfunction subscribeKey(proxyObject, key, callback, notifyInSync) {\n let prevValue = proxyObject[key];\n return (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(\n proxyObject,\n () => {\n const nextValue = proxyObject[key];\n if (!Object.is(prevValue, nextValue)) {\n callback(prevValue = nextValue);\n }\n },\n notifyInSync\n );\n}\n\nlet currentCleanups;\nfunction watch(callback, options) {\n let alive = true;\n const cleanups = /* @__PURE__ */ new Set();\n const subscriptions = /* @__PURE__ */ new Map();\n const cleanup = () => {\n if (alive) {\n alive = false;\n cleanups.forEach((clean) => clean());\n cleanups.clear();\n subscriptions.forEach((unsubscribe) => unsubscribe());\n subscriptions.clear();\n }\n };\n const revalidate = () => {\n if (!alive) {\n return;\n }\n cleanups.forEach((clean) => clean());\n cleanups.clear();\n const proxiesToSubscribe = /* @__PURE__ */ new Set();\n const parent = currentCleanups;\n currentCleanups = cleanups;\n try {\n const cleanupReturn = callback((proxyObject) => {\n proxiesToSubscribe.add(proxyObject);\n return proxyObject;\n });\n if (cleanupReturn) {\n cleanups.add(cleanupReturn);\n }\n } finally {\n currentCleanups = parent;\n }\n subscriptions.forEach((unsubscribe, proxyObject) => {\n if (proxiesToSubscribe.has(proxyObject)) {\n proxiesToSubscribe.delete(proxyObject);\n } else {\n subscriptions.delete(proxyObject);\n unsubscribe();\n }\n });\n proxiesToSubscribe.forEach((proxyObject) => {\n const unsubscribe = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(proxyObject, revalidate, options == null ? void 0 : options.sync);\n subscriptions.set(proxyObject, unsubscribe);\n });\n };\n if (currentCleanups) {\n currentCleanups.add(cleanup);\n }\n revalidate();\n return cleanup;\n}\n\nconst DEVTOOLS = Symbol();\nfunction devtools(proxyObject, options) {\n if (typeof options === \"string\") {\n console.warn(\n \"string name option is deprecated, use { name }. https://github.com/pmndrs/valtio/pull/400\"\n );\n options = { name: options };\n }\n const { enabled, name = \"\", ...rest } = options || {};\n let extension;\n try {\n extension = (enabled != null ? enabled : ( false ? 0 : void 0) !== \"production\") && window.__REDUX_DEVTOOLS_EXTENSION__;\n } catch {\n }\n if (!extension) {\n if (( false ? 0 : void 0) !== \"production\" && enabled) {\n console.warn(\"[Warning] Please install/enable Redux devtools extension\");\n }\n return;\n }\n let isTimeTraveling = false;\n const devtools2 = extension.connect({ name, ...rest });\n const unsub1 = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(proxyObject, (ops) => {\n const action = ops.filter(([_, path]) => path[0] !== DEVTOOLS).map(([op, path]) => `${op}:${path.map(String).join(\".\")}`).join(\", \");\n if (!action) {\n return;\n }\n if (isTimeTraveling) {\n isTimeTraveling = false;\n } else {\n const snapWithoutDevtools = Object.assign({}, (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.snapshot)(proxyObject));\n delete snapWithoutDevtools[DEVTOOLS];\n devtools2.send(\n {\n type: action,\n updatedAt: (/* @__PURE__ */ new Date()).toLocaleString()\n },\n snapWithoutDevtools\n );\n }\n });\n const unsub2 = devtools2.subscribe((message) => {\n var _a, _b, _c, _d, _e, _f;\n if (message.type === \"ACTION\" && message.payload) {\n try {\n Object.assign(proxyObject, JSON.parse(message.payload));\n } catch (e) {\n console.error(\n \"please dispatch a serializable value that JSON.parse() and proxy() support\\n\",\n e\n );\n }\n }\n if (message.type === \"DISPATCH\" && message.state) {\n if (((_a = message.payload) == null ? void 0 : _a.type) === \"JUMP_TO_ACTION\" || ((_b = message.payload) == null ? void 0 : _b.type) === \"JUMP_TO_STATE\") {\n isTimeTraveling = true;\n const state = JSON.parse(message.state);\n Object.assign(proxyObject, state);\n }\n proxyObject[DEVTOOLS] = message;\n } else if (message.type === \"DISPATCH\" && ((_c = message.payload) == null ? void 0 : _c.type) === \"COMMIT\") {\n devtools2.init((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.snapshot)(proxyObject));\n } else if (message.type === \"DISPATCH\" && ((_d = message.payload) == null ? void 0 : _d.type) === \"IMPORT_STATE\") {\n const actions = (_e = message.payload.nextLiftedState) == null ? void 0 : _e.actionsById;\n const computedStates = ((_f = message.payload.nextLiftedState) == null ? void 0 : _f.computedStates) || [];\n isTimeTraveling = true;\n computedStates.forEach(({ state }, index) => {\n const action = actions[index] || \"No action found\";\n Object.assign(proxyObject, state);\n if (index === 0) {\n devtools2.init((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.snapshot)(proxyObject));\n } else {\n devtools2.send(action, (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.snapshot)(proxyObject));\n }\n });\n }\n });\n devtools2.init((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.snapshot)(proxyObject));\n return () => {\n unsub1();\n unsub2 == null ? void 0 : unsub2();\n };\n}\n\nconst sourceObjectMap = /* @__PURE__ */ new WeakMap();\nconst derivedObjectMap = /* @__PURE__ */ new WeakMap();\nconst markPending = (sourceObject, callback) => {\n const sourceObjectEntry = sourceObjectMap.get(sourceObject);\n if (sourceObjectEntry) {\n sourceObjectEntry[0].forEach((subscription) => {\n const { d: derivedObject } = subscription;\n if (sourceObject !== derivedObject) {\n markPending(derivedObject);\n }\n });\n ++sourceObjectEntry[2];\n if (callback) {\n sourceObjectEntry[3].add(callback);\n }\n }\n};\nconst checkPending = (sourceObject, callback) => {\n const sourceObjectEntry = sourceObjectMap.get(sourceObject);\n if (sourceObjectEntry == null ? void 0 : sourceObjectEntry[2]) {\n sourceObjectEntry[3].add(callback);\n return true;\n }\n return false;\n};\nconst unmarkPending = (sourceObject) => {\n const sourceObjectEntry = sourceObjectMap.get(sourceObject);\n if (sourceObjectEntry) {\n --sourceObjectEntry[2];\n if (!sourceObjectEntry[2]) {\n sourceObjectEntry[3].forEach((callback) => callback());\n sourceObjectEntry[3].clear();\n }\n sourceObjectEntry[0].forEach((subscription) => {\n const { d: derivedObject } = subscription;\n if (sourceObject !== derivedObject) {\n unmarkPending(derivedObject);\n }\n });\n }\n};\nconst addSubscription = (subscription) => {\n const { s: sourceObject, d: derivedObject } = subscription;\n let derivedObjectEntry = derivedObjectMap.get(derivedObject);\n if (!derivedObjectEntry) {\n derivedObjectEntry = [/* @__PURE__ */ new Set()];\n derivedObjectMap.set(subscription.d, derivedObjectEntry);\n }\n derivedObjectEntry[0].add(subscription);\n let sourceObjectEntry = sourceObjectMap.get(sourceObject);\n if (!sourceObjectEntry) {\n const subscriptions = /* @__PURE__ */ new Set();\n const unsubscribe = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(\n sourceObject,\n (ops) => {\n subscriptions.forEach((subscription2) => {\n const {\n d: derivedObject2,\n c: callback,\n n: notifyInSync,\n i: ignoreKeys\n } = subscription2;\n if (sourceObject === derivedObject2 && ops.every(\n (op) => op[1].length === 1 && ignoreKeys.includes(op[1][0])\n )) {\n return;\n }\n if (subscription2.p) {\n return;\n }\n markPending(sourceObject, callback);\n if (notifyInSync) {\n unmarkPending(sourceObject);\n } else {\n subscription2.p = Promise.resolve().then(() => {\n delete subscription2.p;\n unmarkPending(sourceObject);\n });\n }\n });\n },\n true\n );\n sourceObjectEntry = [subscriptions, unsubscribe, 0, /* @__PURE__ */ new Set()];\n sourceObjectMap.set(sourceObject, sourceObjectEntry);\n }\n sourceObjectEntry[0].add(subscription);\n};\nconst removeSubscription = (subscription) => {\n const { s: sourceObject, d: derivedObject } = subscription;\n const derivedObjectEntry = derivedObjectMap.get(derivedObject);\n derivedObjectEntry == null ? void 0 : derivedObjectEntry[0].delete(subscription);\n if ((derivedObjectEntry == null ? void 0 : derivedObjectEntry[0].size) === 0) {\n derivedObjectMap.delete(derivedObject);\n }\n const sourceObjectEntry = sourceObjectMap.get(sourceObject);\n if (sourceObjectEntry) {\n const [subscriptions, unsubscribe] = sourceObjectEntry;\n subscriptions.delete(subscription);\n if (!subscriptions.size) {\n unsubscribe();\n sourceObjectMap.delete(sourceObject);\n }\n }\n};\nconst listSubscriptions = (derivedObject) => {\n const derivedObjectEntry = derivedObjectMap.get(derivedObject);\n if (derivedObjectEntry) {\n return Array.from(derivedObjectEntry[0]);\n }\n return [];\n};\nconst unstable_deriveSubscriptions = {\n add: addSubscription,\n remove: removeSubscription,\n list: listSubscriptions\n};\nfunction derive(derivedFns, options) {\n const proxyObject = (options == null ? void 0 : options.proxy) || (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({});\n const notifyInSync = !!(options == null ? void 0 : options.sync);\n const derivedKeys = Object.keys(derivedFns);\n derivedKeys.forEach((key) => {\n if (Object.getOwnPropertyDescriptor(proxyObject, key)) {\n throw new Error(\"object property already defined\");\n }\n const fn = derivedFns[key];\n let lastDependencies = null;\n const evaluate = () => {\n if (lastDependencies) {\n if (Array.from(lastDependencies).map(([p]) => checkPending(p, evaluate)).some((isPending) => isPending)) {\n return;\n }\n if (Array.from(lastDependencies).every(\n ([p, entry]) => (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.getVersion)(p) === entry.v\n )) {\n return;\n }\n }\n const dependencies = /* @__PURE__ */ new Map();\n const get = (p) => {\n dependencies.set(p, { v: (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.getVersion)(p) });\n return p;\n };\n const value = fn(get);\n const subscribeToDependencies = () => {\n dependencies.forEach((entry, p) => {\n var _a;\n const lastSubscription = (_a = lastDependencies == null ? void 0 : lastDependencies.get(p)) == null ? void 0 : _a.s;\n if (lastSubscription) {\n entry.s = lastSubscription;\n } else {\n const subscription = {\n s: p,\n // sourceObject\n d: proxyObject,\n // derivedObject\n k: key,\n // derived key\n c: evaluate,\n // callback\n n: notifyInSync,\n i: derivedKeys\n // ignoringKeys\n };\n addSubscription(subscription);\n entry.s = subscription;\n }\n });\n lastDependencies == null ? void 0 : lastDependencies.forEach((entry, p) => {\n if (!dependencies.has(p) && entry.s) {\n removeSubscription(entry.s);\n }\n });\n lastDependencies = dependencies;\n };\n if (value instanceof Promise) {\n value.finally(subscribeToDependencies);\n } else {\n subscribeToDependencies();\n }\n proxyObject[key] = value;\n };\n evaluate();\n });\n return proxyObject;\n}\nfunction underive(proxyObject, options) {\n const keysToDelete = (options == null ? void 0 : options.delete) ? /* @__PURE__ */ new Set() : null;\n listSubscriptions(proxyObject).forEach((subscription) => {\n const { k: key } = subscription;\n if (!(options == null ? void 0 : options.keys) || options.keys.includes(key)) {\n removeSubscription(subscription);\n if (keysToDelete) {\n keysToDelete.add(key);\n }\n }\n });\n if (keysToDelete) {\n keysToDelete.forEach((key) => {\n delete proxyObject[key];\n });\n }\n}\n\nfunction addComputed_DEPRECATED(proxyObject, computedFns_FAKE, targetObject = proxyObject) {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"addComputed is deprecated. Please consider using `derive`. Falling back to emulation with derive. https://github.com/pmndrs/valtio/pull/201\"\n );\n }\n const derivedFns = {};\n Object.keys(computedFns_FAKE).forEach((key) => {\n derivedFns[key] = (get) => computedFns_FAKE[key](get(proxyObject));\n });\n return derive(derivedFns, { proxy: targetObject });\n}\n\nfunction proxyWithComputed_DEPRECATED(initialObject, computedFns) {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n 'proxyWithComputed is deprecated. Please follow \"Computed Properties\" guide in docs.'\n );\n }\n Object.keys(computedFns).forEach((key) => {\n if (Object.getOwnPropertyDescriptor(initialObject, key)) {\n throw new Error(\"object property already defined\");\n }\n const computedFn = computedFns[key];\n const { get, set } = typeof computedFn === \"function\" ? { get: computedFn } : computedFn;\n const desc = {};\n desc.get = () => get((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.snapshot)(proxyObject));\n if (set) {\n desc.set = (newValue) => set(proxyObject, newValue);\n }\n Object.defineProperty(initialObject, key, desc);\n });\n const proxyObject = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)(initialObject);\n return proxyObject;\n}\n\nconst isObject = (x) => typeof x === \"object\" && x !== null;\nlet refSet;\nconst deepClone = (obj) => {\n if (!refSet) {\n refSet = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.unstable_buildProxyFunction)()[2];\n }\n if (!isObject(obj) || refSet.has(obj)) {\n return obj;\n }\n const baseObject = Array.isArray(obj) ? [] : Object.create(Object.getPrototypeOf(obj));\n Reflect.ownKeys(obj).forEach((key) => {\n baseObject[key] = deepClone(obj[key]);\n });\n return baseObject;\n};\nfunction proxyWithHistory(initialValue, skipSubscribe = false) {\n const proxyObject = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n value: initialValue,\n history: (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.ref)({\n wip: void 0,\n // to avoid infinite loop\n snapshots: [],\n index: -1\n }),\n clone: deepClone,\n canUndo: () => proxyObject.history.index > 0,\n undo: () => {\n if (proxyObject.canUndo()) {\n proxyObject.value = proxyObject.history.wip = proxyObject.clone(\n proxyObject.history.snapshots[--proxyObject.history.index]\n );\n }\n },\n canRedo: () => proxyObject.history.index < proxyObject.history.snapshots.length - 1,\n redo: () => {\n if (proxyObject.canRedo()) {\n proxyObject.value = proxyObject.history.wip = proxyObject.clone(\n proxyObject.history.snapshots[++proxyObject.history.index]\n );\n }\n },\n saveHistory: () => {\n proxyObject.history.snapshots.splice(proxyObject.history.index + 1);\n proxyObject.history.snapshots.push((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.snapshot)(proxyObject).value);\n ++proxyObject.history.index;\n },\n subscribe: () => (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.subscribe)(proxyObject, (ops) => {\n if (ops.every(\n (op) => op[1][0] === \"value\" && (op[0] !== \"set\" || op[2] !== proxyObject.history.wip)\n )) {\n proxyObject.saveHistory();\n }\n })\n });\n proxyObject.saveHistory();\n if (!skipSubscribe) {\n proxyObject.subscribe();\n }\n return proxyObject;\n}\n\nfunction proxySet(initialValues) {\n const set = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n data: Array.from(new Set(initialValues)),\n has(value) {\n return this.data.indexOf(value) !== -1;\n },\n add(value) {\n let hasProxy = false;\n if (typeof value === \"object\" && value !== null) {\n hasProxy = this.data.indexOf((0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)(value)) !== -1;\n }\n if (this.data.indexOf(value) === -1 && !hasProxy) {\n this.data.push(value);\n }\n return this;\n },\n delete(value) {\n const index = this.data.indexOf(value);\n if (index === -1) {\n return false;\n }\n this.data.splice(index, 1);\n return true;\n },\n clear() {\n this.data.splice(0);\n },\n get size() {\n return this.data.length;\n },\n forEach(cb) {\n this.data.forEach((value) => {\n cb(value, value, this);\n });\n },\n get [Symbol.toStringTag]() {\n return \"Set\";\n },\n toJSON() {\n return new Set(this.data);\n },\n [Symbol.iterator]() {\n return this.data[Symbol.iterator]();\n },\n values() {\n return this.data.values();\n },\n keys() {\n return this.data.values();\n },\n entries() {\n return new Set(this.data).entries();\n }\n });\n Object.defineProperties(set, {\n data: {\n enumerable: false\n },\n size: {\n enumerable: false\n },\n toJSON: {\n enumerable: false\n }\n });\n Object.seal(set);\n return set;\n}\n\nfunction proxyMap(entries) {\n const map = (0,valtio_vanilla__WEBPACK_IMPORTED_MODULE_0__.proxy)({\n data: Array.from(entries || []),\n has(key) {\n return this.data.some((p) => p[0] === key);\n },\n set(key, value) {\n const record = this.data.find((p) => p[0] === key);\n if (record) {\n record[1] = value;\n } else {\n this.data.push([key, value]);\n }\n return this;\n },\n get(key) {\n var _a;\n return (_a = this.data.find((p) => p[0] === key)) == null ? void 0 : _a[1];\n },\n delete(key) {\n const index = this.data.findIndex((p) => p[0] === key);\n if (index === -1) {\n return false;\n }\n this.data.splice(index, 1);\n return true;\n },\n clear() {\n this.data.splice(0);\n },\n get size() {\n return this.data.length;\n },\n toJSON() {\n return new Map(this.data);\n },\n forEach(cb) {\n this.data.forEach((p) => {\n cb(p[1], p[0], this);\n });\n },\n keys() {\n return this.data.map((p) => p[0]).values();\n },\n values() {\n return this.data.map((p) => p[1]).values();\n },\n entries() {\n return new Map(this.data).entries();\n },\n get [Symbol.toStringTag]() {\n return \"Map\";\n },\n [Symbol.iterator]() {\n return this.entries();\n }\n });\n Object.defineProperties(map, {\n data: {\n enumerable: false\n },\n size: {\n enumerable: false\n },\n toJSON: {\n enumerable: false\n }\n });\n Object.seal(map);\n return map;\n}\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/valtio/esm/vanilla/utils.mjs?");
/***/ }),
/***/ "./node_modules/viem/_esm/accounts/utils/parseAccount.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/accounts/utils/parseAccount.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseAccount: () => (/* binding */ parseAccount)\n/* harmony export */ });\nfunction parseAccount(account) {\n if (typeof account === 'string')\n return { address: account, type: 'json-rpc' };\n return account;\n}\n//# sourceMappingURL=parseAccount.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/accounts/utils/parseAccount.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/ens/getEnsAddress.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/actions/ens/getEnsAddress.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsAddress: () => (/* binding */ getEnsAddress)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_data_trim_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/data/trim.js */ \"./node_modules/viem/_esm/utils/data/trim.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/ens/errors.js */ \"./node_modules/viem/_esm/utils/ens/errors.js\");\n/* harmony import */ var _utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/ens/namehash.js */ \"./node_modules/viem/_esm/utils/ens/namehash.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Gets address for ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsAddress.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsAddressParameters}\n * @returns Address for ENS name or `null` if not found. {@link GetEnsAddressReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsAddress, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const ensAddress = await getEnsAddress(client, {\n * name: normalize('wevm.eth'),\n * })\n * // '0xd2135CfB216b74109775236E36d4b433F1DF507B'\n */\nasync function getEnsAddress(client, { blockNumber, blockTag, coinType, name, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n universalResolverAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'ensUniversalResolver',\n });\n }\n try {\n const functionData = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__.encodeFunctionData)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_2__.addressResolverAbi,\n functionName: 'addr',\n ...(coinType != null\n ? { args: [(0,_utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_3__.namehash)(name), BigInt(coinType)] }\n : { args: [(0,_utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_3__.namehash)(name)] }),\n });\n const res = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_4__.getAction)(client, _public_readContract_js__WEBPACK_IMPORTED_MODULE_5__.readContract, 'readContract')({\n address: universalResolverAddress,\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_2__.universalResolverResolveAbi,\n functionName: 'resolve',\n args: [(0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_6__.toHex)((0,_utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_7__.packetToBytes)(name)), functionData],\n blockNumber,\n blockTag,\n });\n if (res[0] === '0x')\n return null;\n const address = (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__.decodeFunctionResult)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_2__.addressResolverAbi,\n args: coinType != null ? [(0,_utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_3__.namehash)(name), BigInt(coinType)] : undefined,\n functionName: 'addr',\n data: res[0],\n });\n if (address === '0x')\n return null;\n if ((0,_utils_data_trim_js__WEBPACK_IMPORTED_MODULE_9__.trim)(address) === '0x00')\n return null;\n return address;\n }\n catch (err) {\n if ((0,_utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_10__.isNullUniversalResolverError)(err, 'resolve'))\n return null;\n throw err;\n }\n}\n//# sourceMappingURL=getEnsAddress.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/ens/getEnsAddress.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/ens/getEnsAvatar.js":
/*!************************************************************!*\
!*** ./node_modules/viem/_esm/actions/ens/getEnsAvatar.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsAvatar: () => (/* binding */ getEnsAvatar)\n/* harmony export */ });\n/* harmony import */ var _utils_ens_avatar_parseAvatarRecord_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/ens/avatar/parseAvatarRecord.js */ \"./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getEnsText_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getEnsText.js */ \"./node_modules/viem/_esm/actions/ens/getEnsText.js\");\n\n\n\n/**\n * Gets the avatar of an ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsAvatar.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls [`getEnsText`](https://viem.sh/docs/ens/actions/getEnsText.html) with `key` set to `'avatar'`.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsAvatarParameters}\n * @returns Avatar URI or `null` if not found. {@link GetEnsAvatarReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsAvatar, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const ensAvatar = await getEnsAvatar(client, {\n * name: normalize('wevm.eth'),\n * })\n * // 'https://ipfs.io/ipfs/Qma8mnp6xV3J2cRNf3mTth5C8nV11CAnceVinc3y8jSbio'\n */\nasync function getEnsAvatar(client, { blockNumber, blockTag, gatewayUrls, name, universalResolverAddress, }) {\n const record = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getEnsText_js__WEBPACK_IMPORTED_MODULE_1__.getEnsText, 'getEnsText')({\n blockNumber,\n blockTag,\n key: 'avatar',\n name,\n universalResolverAddress,\n });\n if (!record)\n return null;\n try {\n return await (0,_utils_ens_avatar_parseAvatarRecord_js__WEBPACK_IMPORTED_MODULE_2__.parseAvatarRecord)(client, { record, gatewayUrls });\n }\n catch {\n return null;\n }\n}\n//# sourceMappingURL=getEnsAvatar.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/ens/getEnsAvatar.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/ens/getEnsName.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/actions/ens/getEnsName.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsName: () => (/* binding */ getEnsName)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/ens/errors.js */ \"./node_modules/viem/_esm/utils/ens/errors.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n/**\n * Gets primary name for specified address.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsName.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `reverse(bytes)` on ENS Universal Resolver Contract to \"reverse resolve\" the address to the primary ENS name.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsNameParameters}\n * @returns Name or `null` if not found. {@link GetEnsNameReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsName } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const ensName = await getEnsName(client, {\n * address: '0xd2135CfB216b74109775236E36d4b433F1DF507B',\n * })\n * // 'wevm.eth'\n */\nasync function getEnsName(client, { address, blockNumber, blockTag, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n universalResolverAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'ensUniversalResolver',\n });\n }\n const reverseNode = `${address.toLowerCase().substring(2)}.addr.reverse`;\n try {\n const res = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__.readContract, 'readContract')({\n address: universalResolverAddress,\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__.universalResolverReverseAbi,\n functionName: 'reverse',\n args: [(0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__.toHex)((0,_utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_5__.packetToBytes)(reverseNode))],\n blockNumber,\n blockTag,\n });\n return res[0];\n }\n catch (err) {\n if ((0,_utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_6__.isNullUniversalResolverError)(err, 'reverse'))\n return null;\n throw err;\n }\n}\n//# sourceMappingURL=getEnsName.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/ens/getEnsName.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/ens/getEnsResolver.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/actions/ens/getEnsResolver.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsResolver: () => (/* binding */ getEnsResolver)\n/* harmony export */ });\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n/**\n * Gets resolver for ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `findResolver(bytes)` on ENS Universal Resolver Contract to retrieve the resolver of an ENS name.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsResolverParameters}\n * @returns Address for ENS resolver. {@link GetEnsResolverReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsResolver, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const resolverAddress = await getEnsResolver(client, {\n * name: normalize('wevm.eth'),\n * })\n * // '0x4976fb03C32e5B8cfe2b6cCB31c09Ba78EBaBa41'\n */\nasync function getEnsResolver(client, { blockNumber, blockTag, name, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n universalResolverAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'ensUniversalResolver',\n });\n }\n const [resolverAddress] = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__.readContract, 'readContract')({\n address: universalResolverAddress,\n abi: [\n {\n inputs: [{ type: 'bytes' }],\n name: 'findResolver',\n outputs: [{ type: 'address' }, { type: 'bytes32' }],\n stateMutability: 'view',\n type: 'function',\n },\n ],\n functionName: 'findResolver',\n args: [(0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__.toHex)((0,_utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_4__.packetToBytes)(name))],\n blockNumber,\n blockTag,\n });\n return resolverAddress;\n}\n//# sourceMappingURL=getEnsResolver.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/ens/getEnsResolver.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/ens/getEnsText.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/actions/ens/getEnsText.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEnsText: () => (/* binding */ getEnsText)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/ens/errors.js */ \"./node_modules/viem/_esm/utils/ens/errors.js\");\n/* harmony import */ var _utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/ens/namehash.js */ \"./node_modules/viem/_esm/utils/ens/namehash.js\");\n/* harmony import */ var _utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/ens/packetToBytes.js */ \"./node_modules/viem/_esm/utils/ens/packetToBytes.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Gets a text record for specified ENS name.\n *\n * - Docs: https://viem.sh/docs/ens/actions/getEnsResolver.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/ens\n *\n * Calls `resolve(bytes, bytes)` on ENS Universal Resolver Contract.\n *\n * Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `getEnsAddress`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @param client - Client to use\n * @param parameters - {@link GetEnsTextParameters}\n * @returns Address for ENS resolver. {@link GetEnsTextReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getEnsText, normalize } from 'viem/ens'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const twitterRecord = await getEnsText(client, {\n * name: normalize('wevm.eth'),\n * key: 'com.twitter',\n * })\n * // 'wagmi_sh'\n */\nasync function getEnsText(client, { blockNumber, blockTag, name, key, universalResolverAddress: universalResolverAddress_, }) {\n let universalResolverAddress = universalResolverAddress_;\n if (!universalResolverAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. universalResolverAddress is required.');\n universalResolverAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'ensUniversalResolver',\n });\n }\n try {\n const res = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _public_readContract_js__WEBPACK_IMPORTED_MODULE_2__.readContract, 'readContract')({\n address: universalResolverAddress,\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__.universalResolverResolveAbi,\n functionName: 'resolve',\n args: [\n (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__.toHex)((0,_utils_ens_packetToBytes_js__WEBPACK_IMPORTED_MODULE_5__.packetToBytes)(name)),\n (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_6__.encodeFunctionData)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__.textResolverAbi,\n functionName: 'text',\n args: [(0,_utils_ens_namehash_js__WEBPACK_IMPORTED_MODULE_7__.namehash)(name), key],\n }),\n ],\n blockNumber,\n blockTag,\n });\n if (res[0] === '0x')\n return null;\n const record = (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__.decodeFunctionResult)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_3__.textResolverAbi,\n functionName: 'text',\n data: res[0],\n });\n return record === '' ? null : record;\n }\n catch (err) {\n if ((0,_utils_ens_errors_js__WEBPACK_IMPORTED_MODULE_9__.isNullUniversalResolverError)(err, 'resolve'))\n return null;\n throw err;\n }\n}\n//# sourceMappingURL=getEnsText.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/ens/getEnsText.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/getContract.js":
/*!*******************************************************!*\
!*** ./node_modules/viem/_esm/actions/getContract.js ***!
\*******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContract: () => (/* binding */ getContract),\n/* harmony export */ getEventParameters: () => (/* binding */ getEventParameters),\n/* harmony export */ getFunctionParameters: () => (/* binding */ getFunctionParameters)\n/* harmony export */ });\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _public_createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./public/createContractEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createContractEventFilter.js\");\n/* harmony import */ var _public_estimateContractGas_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./public/estimateContractGas.js */ \"./node_modules/viem/_esm/actions/public/estimateContractGas.js\");\n/* harmony import */ var _public_getContractEvents_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./public/getContractEvents.js */ \"./node_modules/viem/_esm/actions/public/getContractEvents.js\");\n/* harmony import */ var _public_readContract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n/* harmony import */ var _public_simulateContract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./public/simulateContract.js */ \"./node_modules/viem/_esm/actions/public/simulateContract.js\");\n/* harmony import */ var _public_watchContractEvent_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./public/watchContractEvent.js */ \"./node_modules/viem/_esm/actions/public/watchContractEvent.js\");\n/* harmony import */ var _wallet_writeContract_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./wallet/writeContract.js */ \"./node_modules/viem/_esm/actions/wallet/writeContract.js\");\n\n\n\n\n\n\n\n\n/**\n * Gets type-safe interface for performing contract-related actions with a specific `abi` and `address`.\n *\n * - Docs https://viem.sh/docs/contract/getContract.html\n *\n * Using Contract Instances can make it easier to work with contracts if you don't want to pass the `abi` and `address` properites every time you perform contract actions, e.g. [`readContract`](https://viem.sh/docs/contract/readContract.html), [`writeContract`](https://viem.sh/docs/contract/writeContract.html), [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas.html), etc.\n *\n * @example\n * import { createPublicClient, getContract, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const publicClient = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const contract = getContract({\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi([\n * 'function balanceOf(address owner) view returns (uint256)',\n * 'function ownerOf(uint256 tokenId) view returns (address)',\n * 'function totalSupply() view returns (uint256)',\n * ]),\n * publicClient,\n * })\n */\nfunction getContract({ abi, address, publicClient, walletClient, }) {\n const hasPublicClient = publicClient !== undefined && publicClient !== null;\n const hasWalletClient = walletClient !== undefined && walletClient !== null;\n const contract = {};\n let hasReadFunction = false;\n let hasWriteFunction = false;\n let hasEvent = false;\n for (const item of abi) {\n if (item.type === 'function')\n if (item.stateMutability === 'view' || item.stateMutability === 'pure')\n hasReadFunction = true;\n else\n hasWriteFunction = true;\n else if (item.type === 'event')\n hasEvent = true;\n // Exit early if all flags are `true`\n if (hasReadFunction && hasWriteFunction && hasEvent)\n break;\n }\n if (hasPublicClient) {\n if (hasReadFunction)\n contract.read = new Proxy({}, {\n get(_, functionName) {\n return (...parameters) => {\n const { args, options } = getFunctionParameters(parameters);\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(publicClient, _public_readContract_js__WEBPACK_IMPORTED_MODULE_1__.readContract, 'readContract')({\n abi,\n address,\n functionName,\n args,\n ...options,\n });\n };\n },\n });\n if (hasWriteFunction)\n contract.simulate = new Proxy({}, {\n get(_, functionName) {\n return (...parameters) => {\n const { args, options } = getFunctionParameters(parameters);\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(publicClient, _public_simulateContract_js__WEBPACK_IMPORTED_MODULE_2__.simulateContract, 'simulateContract')({\n abi,\n address,\n functionName,\n args,\n ...options,\n });\n };\n },\n });\n if (hasEvent) {\n contract.createEventFilter = new Proxy({}, {\n get(_, eventName) {\n return (...parameters) => {\n const abiEvent = abi.find((x) => x.type === 'event' && x.name === eventName);\n const { args, options } = getEventParameters(parameters, abiEvent);\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(publicClient, _public_createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_3__.createContractEventFilter, 'createContractEventFilter')({\n abi,\n address,\n eventName,\n args,\n ...options,\n });\n };\n },\n });\n contract.getEvents = new Proxy({}, {\n get(_, eventName) {\n return (...parameters) => {\n const abiEvent = abi.find((x) => x.type === 'event' && x.name === eventName);\n const { args, options } = getEventParameters(parameters, abiEvent);\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(publicClient, _public_getContractEvents_js__WEBPACK_IMPORTED_MODULE_4__.getContractEvents, 'getContractEvents')({\n abi,\n address,\n eventName,\n args,\n ...options,\n });\n };\n },\n });\n contract.watchEvent = new Proxy({}, {\n get(_, eventName) {\n return (...parameters) => {\n const abiEvent = abi.find((x) => x.type === 'event' && x.name === eventName);\n const { args, options } = getEventParameters(parameters, abiEvent);\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(publicClient, _public_watchContractEvent_js__WEBPACK_IMPORTED_MODULE_5__.watchContractEvent, 'watchContractEvent')({\n abi,\n address,\n eventName,\n args,\n ...options,\n });\n };\n },\n });\n }\n }\n if (hasWalletClient) {\n if (hasWriteFunction)\n contract.write = new Proxy({}, {\n get(_, functionName) {\n return (...parameters) => {\n const { args, options } = getFunctionParameters(parameters);\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(walletClient, _wallet_writeContract_js__WEBPACK_IMPORTED_MODULE_6__.writeContract, 'writeContract')({\n abi,\n address,\n functionName,\n args,\n ...options,\n });\n };\n },\n });\n }\n if (hasPublicClient || hasWalletClient)\n if (hasWriteFunction)\n contract.estimateGas = new Proxy({}, {\n get(_, functionName) {\n return (...parameters) => {\n const { args, options } = getFunctionParameters(parameters);\n const client = (publicClient ?? walletClient);\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _public_estimateContractGas_js__WEBPACK_IMPORTED_MODULE_7__.estimateContractGas, 'estimateContractGas')({\n abi,\n address,\n functionName,\n args,\n ...options,\n account: options.account ??\n walletClient.account,\n });\n };\n },\n });\n contract.address = address;\n contract.abi = abi;\n return contract;\n}\n/**\n * @internal exporting for testing only\n */\nfunction getFunctionParameters(values) {\n const hasArgs = values.length && Array.isArray(values[0]);\n const args = hasArgs ? values[0] : [];\n const options = (hasArgs ? values[1] : values[0]) ?? {};\n return { args, options };\n}\n/**\n * @internal exporting for testing only\n */\nfunction getEventParameters(values, abiEvent) {\n let hasArgs = false;\n // If first item is array, must be `args`\n if (Array.isArray(values[0]))\n hasArgs = true;\n // Check if first item is `args` or `options`\n else if (values.length === 1) {\n // if event has indexed inputs, must have `args`\n hasArgs = abiEvent.inputs.some((x) => x.indexed);\n // If there are two items in array, must have `args`\n }\n else if (values.length === 2) {\n hasArgs = true;\n }\n const args = hasArgs ? values[0] : undefined;\n const options = (hasArgs ? values[1] : values[0]) ?? {};\n return { args, options };\n}\n//# sourceMappingURL=getContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/getContract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/call.js":
/*!*******************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/call.js ***!
\*******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ call: () => (/* binding */ call),\n/* harmony export */ getRevertErrorData: () => (/* binding */ getRevertErrorData)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _constants_contract_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../constants/contract.js */ \"./node_modules/viem/_esm/constants/contract.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_chain_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../errors/chain.js */ \"./node_modules/viem/_esm/errors/chain.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_errors_getCallError_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/errors/getCallError.js */ \"./node_modules/viem/_esm/utils/errors/getCallError.js\");\n/* harmony import */ var _utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/formatters/extract.js */ \"./node_modules/viem/_esm/utils/formatters/extract.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/promise/createBatchScheduler.js */ \"./node_modules/viem/_esm/utils/promise/createBatchScheduler.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Executes a new message call immediately without submitting a transaction to the network.\n *\n * - Docs: https://viem.sh/docs/actions/public/call.html\n * - JSON-RPC Methods: [`eth_call`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call)\n *\n * @param client - Client to use\n * @param parameters - {@link CallParameters}\n * @returns The call data. {@link CallReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { call } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const data = await call(client, {\n * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',\n * data: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',\n * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',\n * })\n */\nasync function call(client, args) {\n const { account: account_ = client.account, batch = Boolean(client.batch?.multicall), blockNumber, blockTag = 'latest', accessList, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args;\n const account = account_ ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__.parseAccount)(account_) : undefined;\n try {\n (0,_utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_1__.assertRequest)(args);\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(blockNumber) : undefined;\n const block = blockNumberHex || blockTag;\n const chainFormat = client.chain?.formatters?.transactionRequest?.format;\n const format = chainFormat || _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_3__.formatTransactionRequest;\n const request = format({\n // Pick out extra data that might exist on the chain's transaction request type.\n ...(0,_utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_4__.extract)(rest, { format: chainFormat }),\n from: account?.address,\n accessList,\n data,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to,\n value,\n });\n if (batch && shouldPerformMulticall({ request })) {\n try {\n return await scheduleMulticall(client, {\n ...request,\n blockNumber,\n blockTag,\n });\n }\n catch (err) {\n if (!(err instanceof _errors_chain_js__WEBPACK_IMPORTED_MODULE_5__.ClientChainNotConfiguredError) &&\n !(err instanceof _errors_chain_js__WEBPACK_IMPORTED_MODULE_5__.ChainDoesNotSupportContract))\n throw err;\n }\n }\n const response = await client.request({\n method: 'eth_call',\n params: block\n ? [request, block]\n : [request],\n });\n if (response === '0x')\n return { data: undefined };\n return { data: response };\n }\n catch (err) {\n const data = getRevertErrorData(err);\n const { offchainLookup, offchainLookupSignature } = await __webpack_require__.e(/*! import() */ \"node_modules_viem__esm_utils_ccip_js\").then(__webpack_require__.bind(__webpack_require__, /*! ../../utils/ccip.js */ \"./node_modules/viem/_esm/utils/ccip.js\"));\n if (data?.slice(0, 10) === offchainLookupSignature && to) {\n return { data: await offchainLookup(client, { data, to }) };\n }\n throw (0,_utils_errors_getCallError_js__WEBPACK_IMPORTED_MODULE_6__.getCallError)(err, {\n ...args,\n account,\n chain: client.chain,\n });\n }\n}\n// We only want to perform a scheduled multicall if:\n// - The request has calldata,\n// - The request has a target address,\n// - The target address is not already the aggregate3 signature,\n// - The request has no other properties (`nonce`, `gas`, etc cannot be sent with a multicall).\nfunction shouldPerformMulticall({ request }) {\n const { data, to, ...request_ } = request;\n if (!data)\n return false;\n if (data.startsWith(_constants_contract_js__WEBPACK_IMPORTED_MODULE_7__.aggregate3Signature))\n return false;\n if (!to)\n return false;\n if (Object.values(request_).filter((x) => typeof x !== 'undefined').length > 0)\n return false;\n return true;\n}\nasync function scheduleMulticall(client, args) {\n const { batchSize = 1024, wait = 0 } = typeof client.batch?.multicall === 'object' ? client.batch.multicall : {};\n const { blockNumber, blockTag = 'latest', data, multicallAddress: multicallAddress_, to, } = args;\n let multicallAddress = multicallAddress_;\n if (!multicallAddress) {\n if (!client.chain)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_5__.ClientChainNotConfiguredError();\n multicallAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_8__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'multicall3',\n });\n }\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(blockNumber) : undefined;\n const block = blockNumberHex || blockTag;\n const { schedule } = (0,_utils_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_9__.createBatchScheduler)({\n id: `${client.uid}.${block}`,\n wait,\n shouldSplitBatch(args) {\n const size = args.reduce((size, { data }) => size + (data.length - 2), 0);\n return size > batchSize * 2;\n },\n fn: async (requests) => {\n const calls = requests.map((request) => ({\n allowFailure: true,\n callData: request.data,\n target: request.to,\n }));\n const calldata = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_10__.encodeFunctionData)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_11__.multicall3Abi,\n args: [calls],\n functionName: 'aggregate3',\n });\n const data = await client.request({\n method: 'eth_call',\n params: [\n {\n data: calldata,\n to: multicallAddress,\n },\n block,\n ],\n });\n return (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_12__.decodeFunctionResult)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_11__.multicall3Abi,\n args: [calls],\n functionName: 'aggregate3',\n data: data || '0x',\n });\n },\n });\n const [{ returnData, success }] = await schedule({ data, to });\n if (!success)\n throw new _errors_contract_js__WEBPACK_IMPORTED_MODULE_13__.RawContractError({ data: returnData });\n if (returnData === '0x')\n return { data: undefined };\n return { data: returnData };\n}\nfunction getRevertErrorData(err) {\n if (!(err instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_14__.BaseError))\n return undefined;\n const error = err.walk();\n return typeof error.data === 'object' ? error.data.data : error.data;\n}\n//# sourceMappingURL=call.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/call.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/createBlockFilter.js":
/*!********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/createBlockFilter.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createBlockFilter: () => (/* binding */ createBlockFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n/**\n * Creates a [`Filter`](https://viem.sh/docs/glossary/types.html#filter) to listen for new block hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html).\n *\n * - Docs: https://viem.sh/docs/actions/public/createBlockFilter.html\n * - JSON-RPC Methods: [`eth_newBlockFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newBlockFilter)\n *\n * @param client - Client to use\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateBlockFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createBlockFilter } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createBlockFilter(client)\n * // { id: \"0x345a6572337856574a76364e457a4366\", type: 'block' }\n */\nasync function createBlockFilter(client) {\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newBlockFilter',\n });\n const id = await client.request({\n method: 'eth_newBlockFilter',\n });\n return { id, request: getRequest(id), type: 'block' };\n}\n//# sourceMappingURL=createBlockFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createBlockFilter.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/createContractEventFilter.js":
/*!****************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/createContractEventFilter.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createContractEventFilter: () => (/* binding */ createContractEventFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n\n\n/**\n * Creates a Filter to retrieve event logs that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html) or [`getFilterLogs`](https://viem.sh/docs/actions/public/getFilterLogs.html).\n *\n * - Docs: https://viem.sh/docs/contract/createContractEventFilter.html\n *\n * @param client - Client to use\n * @param parameters - {@link CreateContractEventFilterParameters}\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateContractEventFilterReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createContractEventFilter } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createContractEventFilter(client, {\n * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),\n * })\n */\nasync function createContractEventFilter(client, { address, abi, args, eventName, fromBlock, strict, toBlock, }) {\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newFilter',\n });\n const topics = eventName\n ? (0,_utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__.encodeEventTopics)({\n abi,\n args,\n eventName,\n })\n : undefined;\n const id = await client.request({\n method: 'eth_newFilter',\n params: [\n {\n address,\n fromBlock: typeof fromBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(fromBlock) : fromBlock,\n toBlock: typeof toBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(toBlock) : toBlock,\n topics,\n },\n ],\n });\n return {\n abi,\n args,\n eventName,\n id,\n request: getRequest(id),\n strict,\n type: 'event',\n };\n}\n//# sourceMappingURL=createContractEventFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createContractEventFilter.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/createEventFilter.js":
/*!********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/createEventFilter.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createEventFilter: () => (/* binding */ createEventFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n\n\n/**\n * Creates a [`Filter`](https://viem.sh/docs/glossary/types.html#filter) to listen for new events that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html).\n *\n * - Docs: https://viem.sh/docs/actions/public/createEventFilter.html\n * - JSON-RPC Methods: [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter)\n *\n * @param client - Client to use\n * @param parameters - {@link CreateEventFilterParameters}\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateEventFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createEventFilter } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createEventFilter(client, {\n * address: '0xfba3912ca04dd458c843e2ee08967fc04f3579c2',\n * })\n */\nasync function createEventFilter(client, { address, args, event, events: events_, fromBlock, strict, toBlock, } = {}) {\n const events = events_ ?? (event ? [event] : undefined);\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newFilter',\n });\n let topics = [];\n if (events) {\n topics = [\n events.flatMap((event) => (0,_utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_1__.encodeEventTopics)({\n abi: [event],\n eventName: event.name,\n args,\n })),\n ];\n if (event)\n topics = topics[0];\n }\n const id = await client.request({\n method: 'eth_newFilter',\n params: [\n {\n address,\n fromBlock: typeof fromBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(fromBlock) : fromBlock,\n toBlock: typeof toBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(toBlock) : toBlock,\n ...(topics.length ? { topics } : {}),\n },\n ],\n });\n return {\n abi: events,\n args,\n eventName: event ? event.name : undefined,\n fromBlock,\n id,\n request: getRequest(id),\n strict,\n toBlock,\n type: 'event',\n };\n}\n//# sourceMappingURL=createEventFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createEventFilter.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js":
/*!*********************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js ***!
\*********************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createPendingTransactionFilter: () => (/* binding */ createPendingTransactionFilter)\n/* harmony export */ });\n/* harmony import */ var _utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/filters/createFilterRequestScope.js */ \"./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js\");\n\n/**\n * Creates a Filter to listen for new pending transaction hashes that can be used with [`getFilterChanges`](https://viem.sh/docs/actions/public/getFilterChanges.html).\n *\n * - Docs: https://viem.sh/docs/actions/public/createPendingTransactionFilter.html\n * - JSON-RPC Methods: [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter)\n *\n * @param client - Client to use\n * @returns [`Filter`](https://viem.sh/docs/glossary/types.html#filter). {@link CreateBlockFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createPendingTransactionFilter } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createPendingTransactionFilter(client)\n * // { id: \"0x345a6572337856574a76364e457a4366\", type: 'transaction' }\n */\nasync function createPendingTransactionFilter(client) {\n const getRequest = (0,_utils_filters_createFilterRequestScope_js__WEBPACK_IMPORTED_MODULE_0__.createFilterRequestScope)(client, {\n method: 'eth_newPendingTransactionFilter',\n });\n const id = await client.request({\n method: 'eth_newPendingTransactionFilter',\n });\n return { id, request: getRequest(id), type: 'transaction' };\n}\n//# sourceMappingURL=createPendingTransactionFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/estimateContractGas.js":
/*!**********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/estimateContractGas.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateContractGas: () => (/* binding */ estimateContractGas)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _estimateGas_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./estimateGas.js */ \"./node_modules/viem/_esm/actions/public/estimateGas.js\");\n\n\n\n\n\n/**\n * Estimates the gas required to successfully execute a contract write function call.\n *\n * - Docs: https://viem.sh/docs/contract/estimateContractGas.html\n *\n * Internally, uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`estimateGas` action](https://viem.sh/docs/actions/public/estimateGas.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * @param client - Client to use\n * @param parameters - {@link EstimateContractGasParameters}\n * @returns The gas estimate (in wei). {@link EstimateContractGasReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateContractGas } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const gas = await estimateContractGas(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint() public']),\n * functionName: 'mint',\n * account: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',\n * })\n */\nasync function estimateContractGas(client, { abi, address, args, functionName, ...request }) {\n const data = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n try {\n const gas = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _estimateGas_js__WEBPACK_IMPORTED_MODULE_2__.estimateGas, 'estimateGas')({\n data,\n to: address,\n ...request,\n });\n return gas;\n }\n catch (err) {\n const account = request.account ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_3__.parseAccount)(request.account) : undefined;\n throw (0,_utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__.getContractError)(err, {\n abi: abi,\n address,\n args,\n docsPath: '/docs/contract/estimateContractGas',\n functionName,\n sender: account?.address,\n });\n }\n}\n//# sourceMappingURL=estimateContractGas.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/estimateContractGas.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js":
/*!*********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateFeesPerGas: () => (/* binding */ estimateFeesPerGas),\n/* harmony export */ internal_estimateFeesPerGas: () => (/* binding */ internal_estimateFeesPerGas)\n/* harmony export */ });\n/* harmony import */ var _errors_fee_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/fee.js */ \"./node_modules/viem/_esm/errors/fee.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _estimateMaxPriorityFeePerGas_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./estimateMaxPriorityFeePerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _getGasPrice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getGasPrice.js */ \"./node_modules/viem/_esm/actions/public/getGasPrice.js\");\n\n\n\n\n\n/**\n * Returns an estimate for the fees per gas (in wei) for a\n * transaction to be likely included in the next block.\n * Defaults to [`chain.fees.estimateFeesPerGas`](/docs/clients/chains.html#fees-estimatefeespergas) if set.\n *\n * - Docs: https://viem.sh/docs/actions/public/estimateFeesPerGas.html\n *\n * @param client - Client to use\n * @param parameters - {@link EstimateFeesPerGasParameters}\n * @returns An estimate (in wei) for the fees per gas. {@link EstimateFeesPerGasReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateFeesPerGas } from 'viem/actions'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const maxPriorityFeePerGas = await estimateFeesPerGas(client)\n * // { maxFeePerGas: ..., maxPriorityFeePerGas: ... }\n */\nasync function estimateFeesPerGas(client, args) {\n return internal_estimateFeesPerGas(client, args);\n}\nasync function internal_estimateFeesPerGas(client, args) {\n const { block: block_, chain = client.chain, request, type = 'eip1559', } = args || {};\n const baseFeeMultiplier = await (async () => {\n if (typeof chain?.fees?.baseFeeMultiplier === 'function')\n return chain.fees.baseFeeMultiplier({\n block: block_,\n client,\n request,\n });\n return chain?.fees?.baseFeeMultiplier ?? 1.2;\n })();\n if (baseFeeMultiplier < 1)\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_0__.BaseFeeScalarError();\n const decimals = baseFeeMultiplier.toString().split('.')[1]?.length ?? 0;\n const denominator = 10 ** decimals;\n const multiply = (base) => (base * BigInt(Math.ceil(baseFeeMultiplier * denominator))) /\n BigInt(denominator);\n const block = block_\n ? block_\n : await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_2__.getBlock, 'getBlock')({});\n if (typeof chain?.fees?.estimateFeesPerGas === 'function')\n return chain.fees.estimateFeesPerGas({\n block: block_,\n client,\n multiply,\n request,\n type,\n });\n if (type === 'eip1559') {\n if (typeof block.baseFeePerGas !== 'bigint')\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_0__.Eip1559FeesNotSupportedError();\n const maxPriorityFeePerGas = request?.maxPriorityFeePerGas\n ? request.maxPriorityFeePerGas\n : await (0,_estimateMaxPriorityFeePerGas_js__WEBPACK_IMPORTED_MODULE_3__.internal_estimateMaxPriorityFeePerGas)(client, {\n block,\n chain,\n request,\n });\n const baseFeePerGas = multiply(block.baseFeePerGas);\n const maxFeePerGas = request?.maxFeePerGas ?? baseFeePerGas + maxPriorityFeePerGas;\n return {\n maxFeePerGas,\n maxPriorityFeePerGas,\n };\n }\n const gasPrice = request?.gasPrice ??\n multiply(await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _getGasPrice_js__WEBPACK_IMPORTED_MODULE_4__.getGasPrice, 'getGasPrice')({}));\n return {\n gasPrice,\n };\n}\n//# sourceMappingURL=estimateFeesPerGas.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/estimateGas.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/estimateGas.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateGas: () => (/* binding */ estimateGas)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_errors_getEstimateGasError_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/errors/getEstimateGasError.js */ \"./node_modules/viem/_esm/utils/errors/getEstimateGasError.js\");\n/* harmony import */ var _utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/formatters/extract.js */ \"./node_modules/viem/_esm/utils/formatters/extract.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../wallet/prepareTransactionRequest.js */ \"./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js\");\n\n\n\n\n\n\n\n\n/**\n * Estimates the gas necessary to complete a transaction without submitting it to the network.\n *\n * - Docs: https://viem.sh/docs/actions/public/estimateGas.html\n * - JSON-RPC Methods: [`eth_estimateGas`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_estimategas)\n *\n * @param client - Client to use\n * @param parameters - {@link EstimateGasParameters}\n * @returns The gas estimate (in wei). {@link EstimateGasReturnType}\n *\n * @example\n * import { createPublicClient, http, parseEther } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateGas } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const gasEstimate = await estimateGas(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',\n * value: parseEther('1'),\n * })\n */\nasync function estimateGas(client, args) {\n const account_ = args.account ?? client.account;\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/public/estimateGas',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n try {\n const { accessList, blockNumber, blockTag, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = account.type === 'local'\n ? (await (0,_wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_2__.prepareTransactionRequest)(client, args))\n : args;\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__.numberToHex)(blockNumber) : undefined;\n const block = blockNumberHex || blockTag;\n (0,_utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_4__.assertRequest)(args);\n const chainFormat = client.chain?.formatters?.transactionRequest?.format;\n const format = chainFormat || _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_5__.formatTransactionRequest;\n const request = format({\n // Pick out extra data that might exist on the chain's transaction request type.\n ...(0,_utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_6__.extract)(rest, { format: chainFormat }),\n from: account.address,\n accessList,\n data,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to,\n value,\n });\n const balance = await client.request({\n method: 'eth_estimateGas',\n params: block ? [request, block] : [request],\n });\n return BigInt(balance);\n }\n catch (err) {\n throw (0,_utils_errors_getEstimateGasError_js__WEBPACK_IMPORTED_MODULE_7__.getEstimateGasError)(err, {\n ...args,\n account,\n chain: client.chain,\n });\n }\n}\n//# sourceMappingURL=estimateGas.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/estimateGas.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js":
/*!*******************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js ***!
\*******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ estimateMaxPriorityFeePerGas: () => (/* binding */ estimateMaxPriorityFeePerGas),\n/* harmony export */ internal_estimateMaxPriorityFeePerGas: () => (/* binding */ internal_estimateMaxPriorityFeePerGas)\n/* harmony export */ });\n/* harmony import */ var _errors_fee_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/fee.js */ \"./node_modules/viem/_esm/errors/fee.js\");\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _getGasPrice_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getGasPrice.js */ \"./node_modules/viem/_esm/actions/public/getGasPrice.js\");\n\n\n\n\n\n/**\n * Returns an estimate for the max priority fee per gas (in wei) for a\n * transaction to be likely included in the next block.\n * Defaults to [`chain.fees.defaultPriorityFee`](/docs/clients/chains.html#fees-defaultpriorityfee) if set.\n *\n * - Docs: https://viem.sh/docs/actions/public/estimateMaxPriorityFeePerGas.html\n *\n * @param client - Client to use\n * @returns An estimate (in wei) for the max priority fee per gas. {@link EstimateMaxPriorityFeePerGasReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { estimateMaxPriorityFeePerGas } from 'viem/actions'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const maxPriorityFeePerGas = await estimateMaxPriorityFeePerGas(client)\n * // 10000000n\n */\nasync function estimateMaxPriorityFeePerGas(client, args) {\n return internal_estimateMaxPriorityFeePerGas(client, args);\n}\nasync function internal_estimateMaxPriorityFeePerGas(client, args) {\n const { block: block_, chain = client.chain, request } = args || {};\n if (typeof chain?.fees?.defaultPriorityFee === 'function') {\n const block = block_ || (await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_1__.getBlock, 'getBlock')({}));\n return chain.fees.defaultPriorityFee({\n block,\n client,\n request,\n });\n }\n if (typeof chain?.fees?.defaultPriorityFee !== 'undefined')\n return chain?.fees?.defaultPriorityFee;\n try {\n const maxPriorityFeePerGasHex = await client.request({\n method: 'eth_maxPriorityFeePerGas',\n });\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_2__.hexToBigInt)(maxPriorityFeePerGasHex);\n }\n catch {\n // If the RPC Provider does not support `eth_maxPriorityFeePerGas`\n // fall back to calculating it manually via `gasPrice - baseFeePerGas`.\n // See: https://github.com/ethereum/pm/issues/328#:~:text=eth_maxPriorityFeePerGas%20after%20London%20will%20effectively%20return%20eth_gasPrice%20%2D%20baseFee\n const [block, gasPrice] = await Promise.all([\n block_\n ? Promise.resolve(block_)\n : (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_1__.getBlock, 'getBlock')({}),\n (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getGasPrice_js__WEBPACK_IMPORTED_MODULE_3__.getGasPrice, 'getGasPrice')({}),\n ]);\n if (typeof block.baseFeePerGas !== 'bigint')\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_4__.Eip1559FeesNotSupportedError();\n const maxPriorityFeePerGas = gasPrice - block.baseFeePerGas;\n if (maxPriorityFeePerGas < 0n)\n return 0n;\n return maxPriorityFeePerGas;\n }\n}\n//# sourceMappingURL=estimateMaxPriorityFeePerGas.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getBalance.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getBalance.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBalance: () => (/* binding */ getBalance)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Returns the balance of an address in wei.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBalance.html\n * - JSON-RPC Methods: [`eth_getBalance`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getbalance)\n *\n * You can convert the balance to ether units with [`formatEther`](https://viem.sh/docs/utilities/formatEther.html).\n *\n * ```ts\n * const balance = await getBalance(client, {\n * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * blockTag: 'safe'\n * })\n * const balanceAsEther = formatEther(balance)\n * // \"6.942\"\n * ```\n *\n * @param client - Client to use\n * @param parameters - {@link GetBalanceParameters}\n * @returns The balance of the address in wei. {@link GetBalanceReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBalance } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const balance = await getBalance(client, {\n * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * })\n * // 10000000000000000000000n (wei)\n */\nasync function getBalance(client, { address, blockNumber, blockTag = 'latest' }) {\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const balance = await client.request({\n method: 'eth_getBalance',\n params: [address, blockNumberHex || blockTag],\n });\n return BigInt(balance);\n}\n//# sourceMappingURL=getBalance.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBalance.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getBlock.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getBlock.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBlock: () => (/* binding */ getBlock)\n/* harmony export */ });\n/* harmony import */ var _errors_block_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/block.js */ \"./node_modules/viem/_esm/errors/block.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_block_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/formatters/block.js */ \"./node_modules/viem/_esm/utils/formatters/block.js\");\n\n\n\n/**\n * Returns information about a block at a block number, hash, or tag.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBlock.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks\n * - JSON-RPC Methods:\n * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) for `blockNumber` & `blockTag`.\n * - Calls [`eth_getBlockByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbyhash) for `blockHash`.\n *\n * @param client - Client to use\n * @param parameters - {@link GetBlockParameters}\n * @returns Information about the block. {@link GetBlockReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBlock } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const block = await getBlock(client)\n */\nasync function getBlock(client, { blockHash, blockNumber, blockTag: blockTag_, includeTransactions: includeTransactions_, } = {}) {\n const blockTag = blockTag_ ?? 'latest';\n const includeTransactions = includeTransactions_ ?? false;\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n let block = null;\n if (blockHash) {\n block = await client.request({\n method: 'eth_getBlockByHash',\n params: [blockHash, includeTransactions],\n });\n }\n else {\n block = await client.request({\n method: 'eth_getBlockByNumber',\n params: [blockNumberHex || blockTag, includeTransactions],\n });\n }\n if (!block)\n throw new _errors_block_js__WEBPACK_IMPORTED_MODULE_1__.BlockNotFoundError({ blockHash, blockNumber });\n const format = client.chain?.formatters?.block?.format || _utils_formatters_block_js__WEBPACK_IMPORTED_MODULE_2__.formatBlock;\n return format(block);\n}\n//# sourceMappingURL=getBlock.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBlock.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getBlockNumber.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getBlockNumber.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBlockNumber: () => (/* binding */ getBlockNumber),\n/* harmony export */ getBlockNumberCache: () => (/* binding */ getBlockNumberCache)\n/* harmony export */ });\n/* harmony import */ var _utils_promise_withCache_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/promise/withCache.js */ \"./node_modules/viem/_esm/utils/promise/withCache.js\");\n\nconst cacheKey = (id) => `blockNumber.${id}`;\nfunction getBlockNumberCache(id) {\n return (0,_utils_promise_withCache_js__WEBPACK_IMPORTED_MODULE_0__.getCache)(cacheKey(id));\n}\n/**\n * Returns the number of the most recent block seen.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBlockNumber.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/fetching-blocks\n * - JSON-RPC Methods: [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber)\n *\n * @param client - Client to use\n * @param parameters - {@link GetBlockNumberParameters}\n * @returns The number of the block. {@link GetBlockNumberReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBlockNumber } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const blockNumber = await getBlockNumber(client)\n * // 69420n\n */\nasync function getBlockNumber(client, { cacheTime = client.cacheTime, maxAge } = {}) {\n const blockNumberHex = await (0,_utils_promise_withCache_js__WEBPACK_IMPORTED_MODULE_0__.withCache)(() => client.request({\n method: 'eth_blockNumber',\n }), { cacheKey: cacheKey(client.uid), cacheTime: maxAge ?? cacheTime });\n return BigInt(blockNumberHex);\n}\n//# sourceMappingURL=getBlockNumber.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBlockNumber.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getBlockTransactionCount.js":
/*!***************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getBlockTransactionCount.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBlockTransactionCount: () => (/* binding */ getBlockTransactionCount)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n/**\n * Returns the number of Transactions at a block number, hash, or tag.\n *\n * - Docs: https://viem.sh/docs/actions/public/getBlockTransactionCount.html\n * - JSON-RPC Methods:\n * - Calls [`eth_getBlockTransactionCountByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbynumber) for `blockNumber` & `blockTag`.\n * - Calls [`eth_getBlockTransactionCountByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblocktransactioncountbyhash) for `blockHash`.\n *\n * @param client - Client to use\n * @param parameters - {@link GetBlockTransactionCountParameters}\n * @returns The block transaction count. {@link GetBlockTransactionCountReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBlockTransactionCount } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const count = await getBlockTransactionCount(client)\n */\nasync function getBlockTransactionCount(client, { blockHash, blockNumber, blockTag = 'latest', } = {}) {\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n let count;\n if (blockHash) {\n count = await client.request({\n method: 'eth_getBlockTransactionCountByHash',\n params: [blockHash],\n });\n }\n else {\n count = await client.request({\n method: 'eth_getBlockTransactionCountByNumber',\n params: [blockNumberHex || blockTag],\n });\n }\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.hexToNumber)(count);\n}\n//# sourceMappingURL=getBlockTransactionCount.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBlockTransactionCount.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getBytecode.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getBytecode.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getBytecode: () => (/* binding */ getBytecode)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Retrieves the bytecode at an address.\n *\n * - Docs: https://viem.sh/docs/contract/getBytecode.html\n * - JSON-RPC Methods: [`eth_getCode`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getcode)\n *\n * @param client - Client to use\n * @param parameters - {@link GetBytecodeParameters}\n * @returns The contract's bytecode. {@link GetBytecodeReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getBytecode } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const code = await getBytecode(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * })\n */\nasync function getBytecode(client, { address, blockNumber, blockTag = 'latest' }) {\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const hex = await client.request({\n method: 'eth_getCode',\n params: [address, blockNumberHex || blockTag],\n });\n if (hex === '0x')\n return undefined;\n return hex;\n}\n//# sourceMappingURL=getBytecode.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getBytecode.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getChainId.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getChainId.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getChainId: () => (/* binding */ getChainId)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n\n/**\n * Returns the chain ID associated with the current network.\n *\n * - Docs: https://viem.sh/docs/actions/public/getChainId.html\n * - JSON-RPC Methods: [`eth_chainId`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_chainid)\n *\n * @param client - Client to use\n * @returns The current chain ID. {@link GetChainIdReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getChainId } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const chainId = await getChainId(client)\n * // 1\n */\nasync function getChainId(client) {\n const chainIdHex = await client.request({\n method: 'eth_chainId',\n });\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(chainIdHex);\n}\n//# sourceMappingURL=getChainId.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getChainId.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getContractEvents.js":
/*!********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getContractEvents.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContractEvents: () => (/* binding */ getContractEvents)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getLogs_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getLogs.js */ \"./node_modules/viem/_esm/actions/public/getLogs.js\");\n\n\n\n/**\n * Returns a list of event logs emitted by a contract.\n *\n * - Docs: https://viem.sh/docs/actions/public/getContractEvents.html\n * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)\n *\n * @param client - Client to use\n * @param parameters - {@link GetContractEventsParameters}\n * @returns A list of event logs. {@link GetContractEventsReturnType}\n *\n * @example\n * import { createClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getContractEvents } from 'viem/public'\n * import { wagmiAbi } from './abi'\n *\n * const client = createClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const logs = await getContractEvents(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: wagmiAbi,\n * eventName: 'Transfer'\n * })\n */\nasync function getContractEvents(client, { abi, address, args, blockHash, eventName, fromBlock, toBlock, strict, }) {\n const event = eventName\n ? (0,_utils_abi_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({ abi, name: eventName })\n : undefined;\n const events = !event\n ? abi.filter((x) => x.type === 'event')\n : undefined;\n return (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _getLogs_js__WEBPACK_IMPORTED_MODULE_2__.getLogs, 'getLogs')({\n address,\n args,\n blockHash,\n event,\n events,\n fromBlock,\n toBlock,\n strict,\n });\n}\n//# sourceMappingURL=getContractEvents.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getContractEvents.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getFeeHistory.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getFeeHistory.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFeeHistory: () => (/* binding */ getFeeHistory)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_feeHistory_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/feeHistory.js */ \"./node_modules/viem/_esm/utils/formatters/feeHistory.js\");\n\n\n/**\n * Returns a collection of historical gas information.\n *\n * - Docs: https://viem.sh/docs/actions/public/getFeeHistory.html\n * - JSON-RPC Methods: [`eth_feeHistory`](https://docs.alchemy.com/reference/eth-feehistory)\n *\n * @param client - Client to use\n * @param parameters - {@link GetFeeHistoryParameters}\n * @returns The gas estimate (in wei). {@link GetFeeHistoryReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getFeeHistory } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const feeHistory = await getFeeHistory(client, {\n * blockCount: 4,\n * rewardPercentiles: [25, 75],\n * })\n */\nasync function getFeeHistory(client, { blockCount, blockNumber, blockTag = 'latest', rewardPercentiles, }) {\n const blockNumberHex = blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const feeHistory = await client.request({\n method: 'eth_feeHistory',\n params: [\n (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockCount),\n blockNumberHex || blockTag,\n rewardPercentiles,\n ],\n });\n return (0,_utils_formatters_feeHistory_js__WEBPACK_IMPORTED_MODULE_1__.formatFeeHistory)(feeHistory);\n}\n//# sourceMappingURL=getFeeHistory.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getFeeHistory.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getFilterChanges.js":
/*!*******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getFilterChanges.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFilterChanges: () => (/* binding */ getFilterChanges)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n\n\n\n/**\n * Returns a list of logs or hashes based on a [Filter](/docs/glossary/terms#filter) since the last time it was called.\n *\n * - Docs: https://viem.sh/docs/actions/public/getFilterChanges.html\n * - JSON-RPC Methods: [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges)\n *\n * A Filter can be created from the following actions:\n *\n * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter.html)\n * - [`createContractEventFilter`](https://viem.sh/docs/contract/createContractEventFilter.html)\n * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter.html)\n * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter.html)\n *\n * Depending on the type of filter, the return value will be different:\n *\n * - If the filter was created with `createContractEventFilter` or `createEventFilter`, it returns a list of logs.\n * - If the filter was created with `createPendingTransactionFilter`, it returns a list of transaction hashes.\n * - If the filter was created with `createBlockFilter`, it returns a list of block hashes.\n *\n * @param client - Client to use\n * @param parameters - {@link GetFilterChangesParameters}\n * @returns Logs or hashes. {@link GetFilterChangesReturnType}\n *\n * @example\n * // Blocks\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createBlockFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createBlockFilter(client)\n * const hashes = await getFilterChanges(client, { filter })\n *\n * @example\n * // Contract Events\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createContractEventFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createContractEventFilter(client, {\n * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',\n * abi: parseAbi(['event Transfer(address indexed, address indexed, uint256)']),\n * eventName: 'Transfer',\n * })\n * const logs = await getFilterChanges(client, { filter })\n *\n * @example\n * // Raw Events\n * import { createPublicClient, http, parseAbiItem } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createEventFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createEventFilter(client, {\n * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',\n * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),\n * })\n * const logs = await getFilterChanges(client, { filter })\n *\n * @example\n * // Transactions\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createPendingTransactionFilter, getFilterChanges } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createPendingTransactionFilter(client)\n * const hashes = await getFilterChanges(client, { filter })\n */\nasync function getFilterChanges(_client, { filter, }) {\n const strict = 'strict' in filter && filter.strict;\n const logs = await filter.request({\n method: 'eth_getFilterChanges',\n params: [filter.id],\n });\n return logs\n .map((log) => {\n if (typeof log === 'string')\n return log;\n try {\n const { eventName, args } = 'abi' in filter && filter.abi\n ? (0,_utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_0__.decodeEventLog)({\n abi: filter.abi,\n data: log.data,\n topics: log.topics,\n strict,\n })\n : { eventName: undefined, args: undefined };\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__.formatLog)(log, { args, eventName });\n }\n catch (err) {\n let eventName;\n let isUnnamed;\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.DecodeLogDataMismatch ||\n err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.DecodeLogTopicsMismatch) {\n // If strict mode is on, and log data/topics do not match event definition, skip.\n if ('strict' in filter && filter.strict)\n return;\n eventName = err.abiItem.name;\n isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));\n }\n // Set args undefined if there is an error decoding (e.g. indexed/non-indexed params mismatch).\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__.formatLog)(log, { args: isUnnamed ? [] : {}, eventName });\n }\n })\n .filter(Boolean);\n}\n//# sourceMappingURL=getFilterChanges.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getFilterChanges.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getFilterLogs.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getFilterLogs.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFilterLogs: () => (/* binding */ getFilterLogs)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n\n\n\n/**\n * Returns a list of event logs since the filter was created.\n *\n * - Docs: https://viem.sh/docs/actions/public/getFilterLogs.html\n * - JSON-RPC Methods: [`eth_getFilterLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterlogs)\n *\n * `getFilterLogs` is only compatible with **event filters**.\n *\n * @param client - Client to use\n * @param parameters - {@link GetFilterLogsParameters}\n * @returns A list of event logs. {@link GetFilterLogsReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbiItem } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createEventFilter, getFilterLogs } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const filter = await createEventFilter(client, {\n * address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48',\n * event: parseAbiItem('event Transfer(address indexed, address indexed, uint256)'),\n * })\n * const logs = await getFilterLogs(client, { filter })\n */\nasync function getFilterLogs(_client, { filter, }) {\n const strict = filter.strict ?? false;\n const logs = await filter.request({\n method: 'eth_getFilterLogs',\n params: [filter.id],\n });\n return logs\n .map((log) => {\n try {\n const { eventName, args } = 'abi' in filter && filter.abi\n ? (0,_utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_0__.decodeEventLog)({\n abi: filter.abi,\n data: log.data,\n topics: log.topics,\n strict,\n })\n : { eventName: undefined, args: undefined };\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__.formatLog)(log, { args, eventName });\n }\n catch (err) {\n let eventName;\n let isUnnamed;\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.DecodeLogDataMismatch ||\n err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.DecodeLogTopicsMismatch) {\n // If strict mode is on, and log data/topics do not match event definition, skip.\n if ('strict' in filter && filter.strict)\n return;\n eventName = err.abiItem.name;\n isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));\n }\n // Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_1__.formatLog)(log, { args: isUnnamed ? [] : {}, eventName });\n }\n })\n .filter(Boolean);\n}\n//# sourceMappingURL=getFilterLogs.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getFilterLogs.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getGasPrice.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getGasPrice.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getGasPrice: () => (/* binding */ getGasPrice)\n/* harmony export */ });\n/**\n * Returns the current price of gas (in wei).\n *\n * - Docs: https://viem.sh/docs/actions/public/getGasPrice.html\n * - JSON-RPC Methods: [`eth_gasPrice`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gasprice)\n *\n * @param client - Client to use\n * @returns The gas price (in wei). {@link GetGasPriceReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getGasPrice } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const gasPrice = await getGasPrice(client)\n */\nasync function getGasPrice(client) {\n const gasPrice = await client.request({\n method: 'eth_gasPrice',\n });\n return BigInt(gasPrice);\n}\n//# sourceMappingURL=getGasPrice.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getGasPrice.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getLogs.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getLogs.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getLogs: () => (/* binding */ getLogs)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n\n\n\n\n\n/**\n * Returns a list of event logs matching the provided parameters.\n *\n * - Docs: https://viem.sh/docs/actions/public/getLogs.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/filters-and-logs/event-logs\n * - JSON-RPC Methods: [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs)\n *\n * @param client - Client to use\n * @param parameters - {@link GetLogsParameters}\n * @returns A list of event logs. {@link GetLogsReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbiItem } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getLogs } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const logs = await getLogs(client)\n */\nasync function getLogs(client, { address, blockHash, fromBlock, toBlock, event, events: events_, args, strict: strict_, } = {}) {\n const strict = strict_ ?? false;\n const events = events_ ?? (event ? [event] : undefined);\n let topics = [];\n if (events) {\n topics = [\n events.flatMap((event) => (0,_utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_0__.encodeEventTopics)({\n abi: [event],\n eventName: event.name,\n args,\n })),\n ];\n if (event)\n topics = topics[0];\n }\n let logs;\n if (blockHash) {\n logs = await client.request({\n method: 'eth_getLogs',\n params: [{ address, topics, blockHash }],\n });\n }\n else {\n logs = await client.request({\n method: 'eth_getLogs',\n params: [\n {\n address,\n topics,\n fromBlock: typeof fromBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__.numberToHex)(fromBlock) : fromBlock,\n toBlock: typeof toBlock === 'bigint' ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__.numberToHex)(toBlock) : toBlock,\n },\n ],\n });\n }\n return logs\n .map((log) => {\n try {\n const { eventName, args } = events\n ? (0,_utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_2__.decodeEventLog)({\n abi: events,\n data: log.data,\n topics: log.topics,\n strict,\n })\n : { eventName: undefined, args: undefined };\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_3__.formatLog)(log, { args, eventName: eventName });\n }\n catch (err) {\n let eventName;\n let isUnnamed;\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_4__.DecodeLogDataMismatch ||\n err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_4__.DecodeLogTopicsMismatch) {\n // If strict mode is on, and log data/topics do not match event definition, skip.\n if (strict)\n return;\n eventName = err.abiItem.name;\n isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));\n }\n // Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).\n return (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_3__.formatLog)(log, { args: isUnnamed ? [] : {}, eventName });\n }\n })\n .filter(Boolean);\n}\n//# sourceMappingURL=getLogs.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getLogs.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getProof.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getProof.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getProof: () => (/* binding */ getProof)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_proof_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/proof.js */ \"./node_modules/viem/_esm/utils/formatters/proof.js\");\n\n\n/**\n * Returns the account and storage values of the specified account including the Merkle-proof.\n *\n * - Docs: https://viem.sh/docs/actions/public/getProof.html\n * - JSON-RPC Methods:\n * - Calls [`eth_getProof`](https://eips.ethereum.org/EIPS/eip-1186)\n *\n * @param client - Client to use\n * @param parameters - {@link GetProofParameters}\n * @returns Proof data. {@link GetProofReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getProof } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const block = await getProof(client, {\n * address: '0x...',\n * storageKeys: ['0x...'],\n * })\n */\nasync function getProof(client, { address, blockNumber, blockTag: blockTag_, storageKeys, }) {\n const blockTag = blockTag_ ?? 'latest';\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const proof = await client.request({\n method: 'eth_getProof',\n params: [address, storageKeys, blockNumberHex || blockTag],\n });\n return (0,_utils_formatters_proof_js__WEBPACK_IMPORTED_MODULE_1__.formatProof)(proof);\n}\n//# sourceMappingURL=getProof.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getProof.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getStorageAt.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getStorageAt.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getStorageAt: () => (/* binding */ getStorageAt)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Returns the value from a storage slot at a given address.\n *\n * - Docs: https://viem.sh/docs/contract/getStorageAt.html\n * - JSON-RPC Methods: [`eth_getStorageAt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getstorageat)\n *\n * @param client - Client to use\n * @param parameters - {@link GetStorageAtParameters}\n * @returns The value of the storage slot. {@link GetStorageAtReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getStorageAt } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const code = await getStorageAt(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * slot: toHex(0),\n * })\n */\nasync function getStorageAt(client, { address, blockNumber, blockTag = 'latest', slot }) {\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n const data = await client.request({\n method: 'eth_getStorageAt',\n params: [address, slot, blockNumberHex || blockTag],\n });\n return data;\n}\n//# sourceMappingURL=getStorageAt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getStorageAt.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getTransaction.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getTransaction.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransaction: () => (/* binding */ getTransaction)\n/* harmony export */ });\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_formatters_transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/formatters/transaction.js */ \"./node_modules/viem/_esm/utils/formatters/transaction.js\");\n\n\n\n/**\n * Returns information about a [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) given a hash or block identifier.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransaction.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions\n * - JSON-RPC Methods: [`eth_getTransactionByHash`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionByHash)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionParameters}\n * @returns The transaction information. {@link GetTransactionReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransaction } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const transaction = await getTransaction(client, {\n * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',\n * })\n */\nasync function getTransaction(client, { blockHash, blockNumber, blockTag: blockTag_, hash, index, }) {\n const blockTag = blockTag_ || 'latest';\n const blockNumberHex = blockNumber !== undefined ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : undefined;\n let transaction = null;\n if (hash) {\n transaction = await client.request({\n method: 'eth_getTransactionByHash',\n params: [hash],\n });\n }\n else if (blockHash) {\n transaction = await client.request({\n method: 'eth_getTransactionByBlockHashAndIndex',\n params: [blockHash, (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(index)],\n });\n }\n else if (blockNumberHex || blockTag) {\n transaction = await client.request({\n method: 'eth_getTransactionByBlockNumberAndIndex',\n params: [blockNumberHex || blockTag, (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(index)],\n });\n }\n if (!transaction)\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__.TransactionNotFoundError({\n blockHash,\n blockNumber,\n blockTag,\n hash,\n index,\n });\n const format = client.chain?.formatters?.transaction?.format || _utils_formatters_transaction_js__WEBPACK_IMPORTED_MODULE_2__.formatTransaction;\n return format(transaction);\n}\n//# sourceMappingURL=getTransaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransaction.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js":
/*!******************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js ***!
\******************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionConfirmations: () => (/* binding */ getTransactionConfirmations)\n/* harmony export */ });\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _getTransaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getTransaction.js */ \"./node_modules/viem/_esm/actions/public/getTransaction.js\");\n\n\n\n/**\n * Returns the number of blocks passed (confirmations) since the transaction was processed on a block.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransactionConfirmations.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions\n * - JSON-RPC Methods: [`eth_getTransactionConfirmations`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionConfirmations)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionConfirmationsParameters}\n * @returns The number of blocks passed since the transaction was processed. If confirmations is 0, then the Transaction has not been confirmed & processed yet. {@link GetTransactionConfirmationsReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransactionConfirmations } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const confirmations = await getTransactionConfirmations(client, {\n * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',\n * })\n */\nasync function getTransactionConfirmations(client, { hash, transactionReceipt }) {\n const [blockNumber, transaction] = await Promise.all([\n (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_1__.getBlockNumber, 'getBlockNumber')({}),\n hash\n ? (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_0__.getAction)(client, _getTransaction_js__WEBPACK_IMPORTED_MODULE_2__.getTransaction, 'getBlockNumber')({ hash })\n : undefined,\n ]);\n const transactionBlockNumber = transactionReceipt?.blockNumber || transaction?.blockNumber;\n if (!transactionBlockNumber)\n return 0n;\n return blockNumber - transactionBlockNumber + 1n;\n}\n//# sourceMappingURL=getTransactionConfirmations.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getTransactionCount.js":
/*!**********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getTransactionCount.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionCount: () => (/* binding */ getTransactionCount)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n/**\n * Returns the number of [Transactions](https://viem.sh/docs/glossary/terms.html#transaction) an Account has broadcast / sent.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransactionCount.html\n * - JSON-RPC Methods: [`eth_getTransactionCount`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactioncount)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionCountParameters}\n * @returns The number of transactions an account has sent. {@link GetTransactionCountReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransactionCount } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const transactionCount = await getTransactionCount(client, {\n * address: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * })\n */\nasync function getTransactionCount(client, { address, blockTag = 'latest', blockNumber }) {\n const count = await client.request({\n method: 'eth_getTransactionCount',\n params: [address, blockNumber ? (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(blockNumber) : blockTag],\n });\n return (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.hexToNumber)(count);\n}\n//# sourceMappingURL=getTransactionCount.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransactionCount.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/getTransactionReceipt.js":
/*!************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/getTransactionReceipt.js ***!
\************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionReceipt: () => (/* binding */ getTransactionReceipt)\n/* harmony export */ });\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_formatters_transactionReceipt_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/formatters/transactionReceipt.js */ \"./node_modules/viem/_esm/utils/formatters/transactionReceipt.js\");\n\n\n/**\n * Returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms.html#transaction-receipt) given a [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) hash.\n *\n * - Docs: https://viem.sh/docs/actions/public/getTransactionReceipt.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/fetching-transactions\n * - JSON-RPC Methods: [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_gettransactionreceipt)\n *\n * @param client - Client to use\n * @param parameters - {@link GetTransactionReceiptParameters}\n * @returns The transaction receipt. {@link GetTransactionReceiptReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getTransactionReceipt } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const transactionReceipt = await getTransactionReceipt(client, {\n * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',\n * })\n */\nasync function getTransactionReceipt(client, { hash }) {\n const receipt = await client.request({\n method: 'eth_getTransactionReceipt',\n params: [hash],\n });\n if (!receipt)\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__.TransactionReceiptNotFoundError({ hash });\n const format = client.chain?.formatters?.transactionReceipt?.format ||\n _utils_formatters_transactionReceipt_js__WEBPACK_IMPORTED_MODULE_1__.formatTransactionReceipt;\n return format(receipt);\n}\n//# sourceMappingURL=getTransactionReceipt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/getTransactionReceipt.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/multicall.js":
/*!************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/multicall.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ multicall: () => (/* binding */ multicall)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/getChainContractAddress.js */ \"./node_modules/viem/_esm/utils/chain/getChainContractAddress.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _readContract_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Similar to [`readContract`](https://viem.sh/docs/contract/readContract.html), but batches up multiple functions on a contract in a single RPC call via the [`multicall3` contract](https://github.com/mds1/multicall).\n *\n * - Docs: https://viem.sh/docs/contract/multicall.html\n *\n * @param client - Client to use\n * @param parameters - {@link MulticallParameters}\n * @returns An array of results with accompanying status. {@link MulticallReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { multicall } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const abi = parseAbi([\n * 'function balanceOf(address) view returns (uint256)',\n * 'function totalSupply() view returns (uint256)',\n * ])\n * const results = await multicall(client, {\n * contracts: [\n * {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi,\n * functionName: 'balanceOf',\n * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'],\n * },\n * {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi,\n * functionName: 'totalSupply',\n * },\n * ],\n * })\n * // [{ result: 424122n, status: 'success' }, { result: 1000000n, status: 'success' }]\n */\nasync function multicall(client, args) {\n const { allowFailure = true, batchSize: batchSize_, blockNumber, blockTag, contracts, multicallAddress: multicallAddress_, } = args;\n const batchSize = batchSize_ ??\n ((typeof client.batch?.multicall === 'object' &&\n client.batch.multicall.batchSize) ||\n 1024);\n let multicallAddress = multicallAddress_;\n if (!multicallAddress) {\n if (!client.chain)\n throw new Error('client chain not configured. multicallAddress is required.');\n multicallAddress = (0,_utils_chain_getChainContractAddress_js__WEBPACK_IMPORTED_MODULE_0__.getChainContractAddress)({\n blockNumber,\n chain: client.chain,\n contract: 'multicall3',\n });\n }\n const chunkedCalls = [[]];\n let currentChunk = 0;\n let currentChunkSize = 0;\n for (let i = 0; i < contracts.length; i++) {\n const { abi, address, args, functionName } = contracts[i];\n try {\n const callData = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n currentChunkSize += (callData.length - 2) / 2;\n // Check to see if we need to create a new chunk.\n if (\n // Check if batching is enabled.\n batchSize > 0 &&\n // Check if the current size of the batch exceeds the size limit.\n currentChunkSize > batchSize &&\n // Check if the current chunk is not already empty.\n chunkedCalls[currentChunk].length > 0) {\n currentChunk++;\n currentChunkSize = (callData.length - 2) / 2;\n chunkedCalls[currentChunk] = [];\n }\n chunkedCalls[currentChunk] = [\n ...chunkedCalls[currentChunk],\n {\n allowFailure: true,\n callData,\n target: address,\n },\n ];\n }\n catch (err) {\n const error = (0,_utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_2__.getContractError)(err, {\n abi,\n address,\n args,\n docsPath: '/docs/contract/multicall',\n functionName,\n });\n if (!allowFailure)\n throw error;\n chunkedCalls[currentChunk] = [\n ...chunkedCalls[currentChunk],\n {\n allowFailure: true,\n callData: '0x',\n target: address,\n },\n ];\n }\n }\n const aggregate3Results = await Promise.allSettled(chunkedCalls.map((calls) => (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _readContract_js__WEBPACK_IMPORTED_MODULE_4__.readContract, 'readContract')({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_5__.multicall3Abi,\n address: multicallAddress,\n args: [calls],\n blockNumber,\n blockTag,\n functionName: 'aggregate3',\n })));\n const results = [];\n for (let i = 0; i < aggregate3Results.length; i++) {\n const result = aggregate3Results[i];\n // If an error occurred in a `readContract` invocation (ie. network error),\n // then append the failure reason to each contract result.\n if (result.status === 'rejected') {\n if (!allowFailure)\n throw result.reason;\n for (let j = 0; j < chunkedCalls[i].length; j++) {\n results.push({\n status: 'failure',\n error: result.reason,\n result: undefined,\n });\n }\n continue;\n }\n // If the `readContract` call was successful, then decode the results.\n const aggregate3Result = result.value;\n for (let j = 0; j < aggregate3Result.length; j++) {\n // Extract the response from `readContract`\n const { returnData, success } = aggregate3Result[j];\n // Extract the request call data from the original call.\n const { callData } = chunkedCalls[i][j];\n // Extract the contract config for this call from the `contracts` argument\n // for decoding.\n const { abi, address, functionName, args } = contracts[results.length];\n try {\n if (callData === '0x')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_6__.AbiDecodingZeroDataError();\n if (!success)\n throw new _errors_contract_js__WEBPACK_IMPORTED_MODULE_7__.RawContractError({ data: returnData });\n const result = (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_8__.decodeFunctionResult)({\n abi,\n args,\n data: returnData,\n functionName,\n });\n results.push(allowFailure ? { result, status: 'success' } : result);\n }\n catch (err) {\n const error = (0,_utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_2__.getContractError)(err, {\n abi,\n address,\n args,\n docsPath: '/docs/contract/multicall',\n functionName,\n });\n if (!allowFailure)\n throw error;\n results.push({ error, result: undefined, status: 'failure' });\n }\n }\n }\n if (results.length !== contracts.length)\n throw new _errors_base_js__WEBPACK_IMPORTED_MODULE_9__.BaseError('multicall results mismatch');\n return results;\n}\n//# sourceMappingURL=multicall.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/multicall.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/readContract.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/readContract.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ readContract: () => (/* binding */ readContract)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _call_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n\n\n\n\n\n/**\n * Calls a read-only function on a contract, and returns the response.\n *\n * - Docs: https://viem.sh/docs/contract/readContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/reading-contracts\n *\n * A \"read-only\" function (constant function) on a Solidity contract is denoted by a `view` or `pure` keyword. They can only read the state of the contract, and cannot make any changes to it. Since read-only methods do not change the state of the contract, they do not require any gas to be executed, and can be called by any user without the need to pay for gas.\n *\n * Internally, uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * @param client - Client to use\n * @param parameters - {@link ReadContractParameters}\n * @returns The response from the contract. Type is inferred. {@link ReadContractReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { readContract } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const result = await readContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function balanceOf(address) view returns (uint256)']),\n * functionName: 'balanceOf',\n * args: ['0xA0Cf798816D4b9b9866b5330EEa46a18382f251e'],\n * })\n * // 424122n\n */\nasync function readContract(client, { abi, address, args, functionName, ...callRequest }) {\n const calldata = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n try {\n const { data } = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _call_js__WEBPACK_IMPORTED_MODULE_2__.call, 'call')({\n data: calldata,\n to: address,\n ...callRequest,\n });\n return (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_3__.decodeFunctionResult)({\n abi,\n args,\n functionName,\n data: data || '0x',\n });\n }\n catch (err) {\n throw (0,_utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_4__.getContractError)(err, {\n abi: abi,\n address,\n args,\n docsPath: '/docs/contract/readContract',\n functionName,\n });\n }\n}\n//# sourceMappingURL=readContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/readContract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/simulateContract.js":
/*!*******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/simulateContract.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ simulateContract: () => (/* binding */ simulateContract)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/abi/decodeFunctionResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js\");\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/errors/getContractError.js */ \"./node_modules/viem/_esm/utils/errors/getContractError.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _call_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n\n\n\n\n\n\n/**\n * Simulates/validates a contract interaction. This is useful for retrieving **return data** and **revert reasons** of contract write functions.\n *\n * - Docs: https://viem.sh/docs/contract/simulateContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/writing-to-contracts\n *\n * This function does not require gas to execute and _**does not**_ change the state of the blockchain. It is almost identical to [`readContract`](https://viem.sh/docs/contract/readContract.html), but also supports contract write functions.\n *\n * Internally, uses a [Public Client](https://viem.sh/docs/clients/public.html) to call the [`call` action](https://viem.sh/docs/actions/public/call.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * @param client - Client to use\n * @param parameters - {@link SimulateContractParameters}\n * @returns The simulation result and write request. {@link SimulateContractReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { simulateContract } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const result = await simulateContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint(uint32) view returns (uint32)']),\n * functionName: 'mint',\n * args: ['69420'],\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * })\n */\nasync function simulateContract(client, { abi, address, args, dataSuffix, functionName, ...callRequest }) {\n const account = callRequest.account\n ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__.parseAccount)(callRequest.account)\n : undefined;\n const calldata = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_1__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n try {\n const { data } = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__.getAction)(client, _call_js__WEBPACK_IMPORTED_MODULE_3__.call, 'call')({\n batch: false,\n data: `${calldata}${dataSuffix ? dataSuffix.replace('0x', '') : ''}`,\n to: address,\n ...callRequest,\n });\n const result = (0,_utils_abi_decodeFunctionResult_js__WEBPACK_IMPORTED_MODULE_4__.decodeFunctionResult)({\n abi,\n args,\n functionName,\n data: data || '0x',\n });\n return {\n result,\n request: {\n abi,\n address,\n args,\n dataSuffix,\n functionName,\n ...callRequest,\n },\n };\n }\n catch (err) {\n throw (0,_utils_errors_getContractError_js__WEBPACK_IMPORTED_MODULE_5__.getContractError)(err, {\n abi: abi,\n address,\n args,\n docsPath: '/docs/contract/simulateContract',\n functionName,\n sender: account?.address,\n });\n }\n}\n//# sourceMappingURL=simulateContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/simulateContract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/uninstallFilter.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/uninstallFilter.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ uninstallFilter: () => (/* binding */ uninstallFilter)\n/* harmony export */ });\n/**\n * Destroys a [`Filter`](https://viem.sh/docs/glossary/types.html#filter).\n *\n * - Docs: https://viem.sh/docs/actions/public/uninstallFilter.html\n * - JSON-RPC Methods: [`eth_uninstallFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_uninstallFilter)\n *\n * Destroys a Filter that was created from one of the following Actions:\n * - [`createBlockFilter`](https://viem.sh/docs/actions/public/createBlockFilter.html)\n * - [`createEventFilter`](https://viem.sh/docs/actions/public/createEventFilter.html)\n * - [`createPendingTransactionFilter`](https://viem.sh/docs/actions/public/createPendingTransactionFilter.html)\n *\n * @param client - Client to use\n * @param parameters - {@link UninstallFilterParameters}\n * @returns A boolean indicating if the Filter was successfully uninstalled. {@link UninstallFilterReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { createPendingTransactionFilter, uninstallFilter } from 'viem/public'\n *\n * const filter = await createPendingTransactionFilter(client)\n * const uninstalled = await uninstallFilter(client, { filter })\n * // true\n */\nasync function uninstallFilter(_client, { filter }) {\n return filter.request({\n method: 'eth_uninstallFilter',\n params: [filter.id],\n });\n}\n//# sourceMappingURL=uninstallFilter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/uninstallFilter.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/verifyHash.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/verifyHash.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ verifyHash: () => (/* binding */ verifyHash)\n/* harmony export */ });\n/* harmony import */ var _constants_abis_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../constants/abis.js */ \"./node_modules/viem/_esm/constants/abis.js\");\n/* harmony import */ var _constants_contracts_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../constants/contracts.js */ \"./node_modules/viem/_esm/constants/contracts.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _utils_data_isBytesEqual_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/data/isBytesEqual.js */ \"./node_modules/viem/_esm/utils/data/isBytesEqual.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/abi/encodeDeployData.js\");\n/* harmony import */ var _call_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n\n\n\n\n\n\n\n/**\n * Verifies a message hash on chain using ERC-6492.\n *\n * @param client - Client to use.\n * @param parameters - {@link VerifyHashParameters}\n * @returns Whether or not the signature is valid. {@link VerifyHashReturnType}\n */\nasync function verifyHash(client, { address, hash, signature, ...callRequest }) {\n const signatureHex = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(signature) ? signature : (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_1__.toHex)(signature);\n try {\n const { data } = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__.getAction)(client, _call_js__WEBPACK_IMPORTED_MODULE_3__.call, 'call')({\n data: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_4__.encodeDeployData)({\n abi: _constants_abis_js__WEBPACK_IMPORTED_MODULE_5__.universalSignatureValidatorAbi,\n args: [address, hash, signatureHex],\n bytecode: _constants_contracts_js__WEBPACK_IMPORTED_MODULE_6__.universalSignatureValidatorByteCode,\n }),\n ...callRequest,\n });\n return (0,_utils_data_isBytesEqual_js__WEBPACK_IMPORTED_MODULE_7__.isBytesEqual)(data ?? '0x0', '0x1');\n }\n catch (error) {\n if (error instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_8__.CallExecutionError) {\n // if the execution fails, the signature was not valid and an internal method inside of the validator reverted\n // this can happen for many reasons, for example if signer can not be recovered from the signature\n // or if the signature has no valid format\n return false;\n }\n throw error;\n }\n}\n//# sourceMappingURL=verifyHash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/verifyHash.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/verifyMessage.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/verifyMessage.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ verifyMessage: () => (/* binding */ verifyMessage)\n/* harmony export */ });\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/signature/hashMessage.js\");\n/* harmony import */ var _verifyHash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./verifyHash.js */ \"./node_modules/viem/_esm/actions/public/verifyHash.js\");\n\n\n/**\n * Verify that a message was signed by the provided address.\n *\n * Compatible with Smart Contract Accounts & Externally Owned Accounts via [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492).\n *\n * - Docs {@link https://viem.sh/docs/actions/public/verifyMessage.html}\n *\n * @param client - Client to use.\n * @param parameters - {@link VerifyMessageParameters}\n * @returns Whether or not the signature is valid. {@link VerifyMessageReturnType}\n */\nasync function verifyMessage(client, { address, message, signature, ...callRequest }) {\n const hash = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_0__.hashMessage)(message);\n return (0,_verifyHash_js__WEBPACK_IMPORTED_MODULE_1__.verifyHash)(client, {\n address,\n hash,\n signature,\n ...callRequest,\n });\n}\n//# sourceMappingURL=verifyMessage.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/verifyMessage.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/verifyTypedData.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/verifyTypedData.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ verifyTypedData: () => (/* binding */ verifyTypedData)\n/* harmony export */ });\n/* harmony import */ var _utils_signature_hashTypedData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/signature/hashTypedData.js */ \"./node_modules/viem/_esm/utils/signature/hashTypedData.js\");\n/* harmony import */ var _verifyHash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./verifyHash.js */ \"./node_modules/viem/_esm/actions/public/verifyHash.js\");\n\n\n/**\n * Verify that typed data was signed by the provided address.\n *\n * - Docs {@link https://viem.sh/docs/actions/public/verifyTypedData.html}\n *\n * @param client - Client to use.\n * @param parameters - {@link VerifyTypedDataParameters}\n * @returns Whether or not the signature is valid. {@link VerifyTypedDataReturnType}\n */\nasync function verifyTypedData(client, { address, signature, message, primaryType, types, domain, ...callRequest }) {\n const hash = (0,_utils_signature_hashTypedData_js__WEBPACK_IMPORTED_MODULE_0__.hashTypedData)({ message, primaryType, types, domain });\n return (0,_verifyHash_js__WEBPACK_IMPORTED_MODULE_1__.verifyHash)(client, {\n address,\n hash,\n signature,\n ...callRequest,\n });\n}\n//# sourceMappingURL=verifyTypedData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/verifyTypedData.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js":
/*!****************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ waitForTransactionReceipt: () => (/* binding */ waitForTransactionReceipt)\n/* harmony export */ });\n/* harmony import */ var _errors_block_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../errors/block.js */ \"./node_modules/viem/_esm/errors/block.js\");\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_promise_withRetry_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/promise/withRetry.js */ \"./node_modules/viem/_esm/utils/promise/withRetry.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _getTransaction_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getTransaction.js */ \"./node_modules/viem/_esm/actions/public/getTransaction.js\");\n/* harmony import */ var _getTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getTransactionReceipt.js */ \"./node_modules/viem/_esm/actions/public/getTransactionReceipt.js\");\n/* harmony import */ var _watchBlockNumber_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./watchBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/watchBlockNumber.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Waits for the [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) to be included on a [Block](https://viem.sh/docs/glossary/terms.html#block) (one confirmation), and then returns the [Transaction Receipt](https://viem.sh/docs/glossary/terms.html#transaction-receipt). If the Transaction reverts, then the action will throw an error.\n *\n * - Docs: https://viem.sh/docs/actions/public/waitForTransactionReceipt.html\n * - Example: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/sending-transactions\n * - JSON-RPC Methods:\n * - Polls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt) on each block until it has been processed.\n * - If a Transaction has been replaced:\n * - Calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getblockbynumber) and extracts the transactions\n * - Checks if one of the Transactions is a replacement\n * - If so, calls [`eth_getTransactionReceipt`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getTransactionReceipt).\n *\n * The `waitForTransactionReceipt` action additionally supports Replacement detection (e.g. sped up Transactions).\n *\n * Transactions can be replaced when a user modifies their transaction in their wallet (to speed up or cancel). Transactions are replaced when they are sent from the same nonce.\n *\n * There are 3 types of Transaction Replacement reasons:\n *\n * - `repriced`: The gas price has been modified (e.g. different `maxFeePerGas`)\n * - `cancelled`: The Transaction has been cancelled (e.g. `value === 0n`)\n * - `replaced`: The Transaction has been replaced (e.g. different `value` or `data`)\n *\n * @param client - Client to use\n * @param parameters - {@link WaitForTransactionReceiptParameters}\n * @returns The transaction receipt. {@link WaitForTransactionReceiptReturnType}\n *\n * @example\n * import { createPublicClient, waitForTransactionReceipt, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const transactionReceipt = await waitForTransactionReceipt(client, {\n * hash: '0x4ca7ee652d57678f26e887c149ab0735f41de37bcad58c9f6d3ed5824f15b74d',\n * })\n */\nasync function waitForTransactionReceipt(client, { confirmations = 1, hash, onReplaced, pollingInterval = client.pollingInterval, timeout, }) {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)(['waitForTransactionReceipt', client.uid, hash]);\n let transaction;\n let replacedTransaction;\n let receipt;\n let retrying = false;\n return new Promise((resolve, reject) => {\n if (timeout)\n setTimeout(() => reject(new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__.WaitForTransactionReceiptTimeoutError({ hash })), timeout);\n const _unobserve = (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_2__.observe)(observerId, { onReplaced, resolve, reject }, (emit) => {\n const _unwatch = (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _watchBlockNumber_js__WEBPACK_IMPORTED_MODULE_4__.watchBlockNumber, 'watchBlockNumber')({\n emitMissed: true,\n emitOnBegin: true,\n poll: true,\n pollingInterval,\n async onBlockNumber(blockNumber_) {\n if (retrying)\n return;\n let blockNumber = blockNumber_;\n const done = (fn) => {\n _unwatch();\n fn();\n _unobserve();\n };\n try {\n // If we already have a valid receipt, let's check if we have enough\n // confirmations. If we do, then we can resolve.\n if (receipt) {\n if (confirmations > 1 &&\n (!receipt.blockNumber ||\n blockNumber - receipt.blockNumber + 1n < confirmations))\n return;\n done(() => emit.resolve(receipt));\n return;\n }\n // Get the transaction to check if it's been replaced.\n // We need to retry as some RPC Providers may be slow to sync\n // up mined transactions.\n if (!transaction) {\n retrying = true;\n await (0,_utils_promise_withRetry_js__WEBPACK_IMPORTED_MODULE_5__.withRetry)(async () => {\n transaction = (await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getTransaction_js__WEBPACK_IMPORTED_MODULE_6__.getTransaction, 'getTransaction')({ hash }));\n if (transaction.blockNumber)\n blockNumber = transaction.blockNumber;\n }, {\n // exponential backoff\n delay: ({ count }) => ~~(1 << count) * 200,\n retryCount: 6,\n });\n retrying = false;\n }\n // Get the receipt to check if it's been processed.\n receipt = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_7__.getTransactionReceipt, 'getTransactionReceipt')({ hash });\n // Check if we have enough confirmations. If not, continue polling.\n if (confirmations > 1 &&\n (!receipt.blockNumber ||\n blockNumber - receipt.blockNumber + 1n < confirmations))\n return;\n done(() => emit.resolve(receipt));\n }\n catch (err) {\n // If the receipt is not found, the transaction will be pending.\n // We need to check if it has potentially been replaced.\n if (transaction &&\n (err instanceof _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__.TransactionNotFoundError ||\n err instanceof _errors_transaction_js__WEBPACK_IMPORTED_MODULE_1__.TransactionReceiptNotFoundError)) {\n try {\n replacedTransaction = transaction;\n // Let's retrieve the transactions from the current block.\n // We need to retry as some RPC Providers may be slow to sync\n // up mined blocks.\n retrying = true;\n const block = await (0,_utils_promise_withRetry_js__WEBPACK_IMPORTED_MODULE_5__.withRetry)(() => (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_8__.getBlock, 'getBlock')({\n blockNumber,\n includeTransactions: true,\n }), {\n // exponential backoff\n delay: ({ count }) => ~~(1 << count) * 200,\n retryCount: 6,\n shouldRetry: ({ error }) => error instanceof _errors_block_js__WEBPACK_IMPORTED_MODULE_9__.BlockNotFoundError,\n });\n retrying = false;\n const replacementTransaction = block.transactions.find(({ from, nonce }) => from === replacedTransaction.from &&\n nonce === replacedTransaction.nonce);\n // If we couldn't find a replacement transaction, continue polling.\n if (!replacementTransaction)\n return;\n // If we found a replacement transaction, return it's receipt.\n receipt = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_7__.getTransactionReceipt, 'getTransactionReceipt')({\n hash: replacementTransaction.hash,\n });\n // Check if we have enough confirmations. If not, continue polling.\n if (confirmations > 1 &&\n (!receipt.blockNumber ||\n blockNumber - receipt.blockNumber + 1n < confirmations))\n return;\n let reason = 'replaced';\n if (replacementTransaction.to === replacedTransaction.to &&\n replacementTransaction.value === replacedTransaction.value) {\n reason = 'repriced';\n }\n else if (replacementTransaction.from === replacementTransaction.to &&\n replacementTransaction.value === 0n) {\n reason = 'cancelled';\n }\n done(() => {\n emit.onReplaced?.({\n reason,\n replacedTransaction: replacedTransaction,\n transaction: replacementTransaction,\n transactionReceipt: receipt,\n });\n emit.resolve(receipt);\n });\n }\n catch (err_) {\n done(() => emit.reject(err_));\n }\n }\n else {\n done(() => emit.reject(err));\n }\n }\n },\n });\n });\n });\n}\n//# sourceMappingURL=waitForTransactionReceipt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/watchBlockNumber.js":
/*!*******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/watchBlockNumber.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchBlockNumber: () => (/* binding */ watchBlockNumber)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n\n\n\n\n\n\n/**\n * Watches and returns incoming block numbers.\n *\n * - Docs: https://viem.sh/docs/actions/public/watchBlockNumber.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/watching-blocks\n * - JSON-RPC Methods:\n * - When `poll: true`, calls [`eth_blockNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_blocknumber) on a polling interval.\n * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `\"newHeads\"` event.\n *\n * @param client - Client to use\n * @param parameters - {@link WatchBlockNumberParameters}\n * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlockNumberReturnType}\n *\n * @example\n * import { createPublicClient, watchBlockNumber, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = watchBlockNumber(client, {\n * onBlockNumber: (blockNumber) => console.log(blockNumber),\n * })\n */\nfunction watchBlockNumber(client, { emitOnBegin = false, emitMissed = false, onBlockNumber, onError, poll: poll_, pollingInterval = client.pollingInterval, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n let prevBlockNumber;\n const pollBlockNumber = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchBlockNumber',\n client.uid,\n emitOnBegin,\n emitMissed,\n pollingInterval,\n ]);\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onBlockNumber, onError }, (emit) => (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n try {\n const blockNumber = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_4__.getBlockNumber, 'getBlockNumber')({ cacheTime: 0 });\n if (prevBlockNumber) {\n // If the current block number is the same as the previous,\n // we can skip.\n if (blockNumber === prevBlockNumber)\n return;\n // If we have missed out on some previous blocks, and the\n // `emitMissed` flag is truthy, let's emit those blocks.\n if (blockNumber - prevBlockNumber > 1 && emitMissed) {\n for (let i = prevBlockNumber + 1n; i < blockNumber; i++) {\n emit.onBlockNumber(i, prevBlockNumber);\n prevBlockNumber = i;\n }\n }\n }\n // If the next block number is greater than the previous,\n // it is not in the past, and we can emit the new block number.\n if (!prevBlockNumber || blockNumber > prevBlockNumber) {\n emit.onBlockNumber(blockNumber, prevBlockNumber);\n prevBlockNumber = blockNumber;\n }\n }\n catch (err) {\n emit.onError?.(err);\n }\n }, {\n emitOnBegin,\n interval: pollingInterval,\n }));\n };\n const subscribeBlockNumber = () => {\n let active = true;\n let unsubscribe = () => (active = false);\n (async () => {\n try {\n const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({\n params: ['newHeads'],\n onData(data) {\n if (!active)\n return;\n const blockNumber = (0,_utils_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToBigInt)(data.result?.number);\n onBlockNumber(blockNumber, prevBlockNumber);\n prevBlockNumber = blockNumber;\n },\n onError(error) {\n onError?.(error);\n },\n });\n unsubscribe = unsubscribe_;\n if (!active)\n unsubscribe();\n }\n catch (err) {\n onError?.(err);\n }\n })();\n return unsubscribe;\n };\n return enablePolling ? pollBlockNumber() : subscribeBlockNumber();\n}\n//# sourceMappingURL=watchBlockNumber.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/watchBlockNumber.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/watchBlocks.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/watchBlocks.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchBlocks: () => (/* binding */ watchBlocks)\n/* harmony export */ });\n/* harmony import */ var _utils_formatters_block_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/formatters/block.js */ \"./node_modules/viem/_esm/utils/formatters/block.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _getBlock_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n\n\n\n\n\n\n/**\n * Watches and returns information for incoming blocks.\n *\n * - Docs: https://viem.sh/docs/actions/public/watchBlocks.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/blocks/watching-blocks\n * - JSON-RPC Methods:\n * - When `poll: true`, calls [`eth_getBlockByNumber`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getBlockByNumber) on a polling interval.\n * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `\"newHeads\"` event.\n *\n * @param client - Client to use\n * @param parameters - {@link WatchBlocksParameters}\n * @returns A function that can be invoked to stop watching for new block numbers. {@link WatchBlocksReturnType}\n *\n * @example\n * import { createPublicClient, watchBlocks, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = watchBlocks(client, {\n * onBlock: (block) => console.log(block),\n * })\n */\nfunction watchBlocks(client, { blockTag = 'latest', emitMissed = false, emitOnBegin = false, onBlock, onError, includeTransactions: includeTransactions_, poll: poll_, pollingInterval = client.pollingInterval, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n const includeTransactions = includeTransactions_ ?? false;\n let prevBlock;\n const pollBlocks = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchBlocks',\n client.uid,\n emitMissed,\n emitOnBegin,\n includeTransactions,\n pollingInterval,\n ]);\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onBlock, onError }, (emit) => (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n try {\n const block = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_4__.getBlock, 'getBlock')({\n blockTag,\n includeTransactions,\n });\n if (block.number && prevBlock?.number) {\n // If the current block number is the same as the previous,\n // we can skip.\n if (block.number === prevBlock.number)\n return;\n // If we have missed out on some previous blocks, and the\n // `emitMissed` flag is truthy, let's emit those blocks.\n if (block.number - prevBlock.number > 1 && emitMissed) {\n for (let i = prevBlock?.number + 1n; i < block.number; i++) {\n const block = (await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlock_js__WEBPACK_IMPORTED_MODULE_4__.getBlock, 'getBlock')({\n blockNumber: i,\n includeTransactions,\n }));\n emit.onBlock(block, prevBlock);\n prevBlock = block;\n }\n }\n }\n if (\n // If no previous block exists, emit.\n !prevBlock?.number ||\n // If the block tag is \"pending\" with no block number, emit.\n (blockTag === 'pending' && !block?.number) ||\n // If the next block number is greater than the previous block number, emit.\n // We don't want to emit blocks in the past.\n (block.number && block.number > prevBlock.number)) {\n emit.onBlock(block, prevBlock);\n prevBlock = block;\n }\n }\n catch (err) {\n emit.onError?.(err);\n }\n }, {\n emitOnBegin,\n interval: pollingInterval,\n }));\n };\n const subscribeBlocks = () => {\n let active = true;\n let unsubscribe = () => (active = false);\n (async () => {\n try {\n const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({\n params: ['newHeads'],\n onData(data) {\n if (!active)\n return;\n const format = client.chain?.formatters?.block?.format || _utils_formatters_block_js__WEBPACK_IMPORTED_MODULE_5__.formatBlock;\n const block = format(data.result);\n onBlock(block, prevBlock);\n prevBlock = block;\n },\n onError(error) {\n onError?.(error);\n },\n });\n unsubscribe = unsubscribe_;\n if (!active)\n unsubscribe();\n }\n catch (err) {\n onError?.(err);\n }\n })();\n return unsubscribe;\n };\n return enablePolling ? pollBlocks() : subscribeBlocks();\n}\n//# sourceMappingURL=watchBlocks.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/watchBlocks.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/watchContractEvent.js":
/*!*********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/watchContractEvent.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchContractEvent: () => (/* binding */ watchContractEvent)\n/* harmony export */ });\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var _utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/abi/decodeEventLog.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/abi/encodeEventTopics.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/formatters/log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createContractEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createContractEventFilter.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _getContractEvents_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getContractEvents.js */ \"./node_modules/viem/_esm/actions/public/getContractEvents.js\");\n/* harmony import */ var _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getFilterChanges.js */ \"./node_modules/viem/_esm/actions/public/getFilterChanges.js\");\n/* harmony import */ var _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./uninstallFilter.js */ \"./node_modules/viem/_esm/actions/public/uninstallFilter.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Watches and returns emitted contract event logs.\n *\n * - Docs: https://viem.sh/docs/contract/watchContractEvent.html\n *\n * This Action will batch up all the event logs found within the [`pollingInterval`](https://viem.sh/docs/contract/watchContractEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/contract/watchContractEvent.html#onLogs).\n *\n * `watchContractEvent` will attempt to create an [Event Filter](https://viem.sh/docs/contract/createContractEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchContractEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs) instead.\n *\n * @param client - Client to use\n * @param parameters - {@link WatchContractEventParameters}\n * @returns A function that can be invoked to stop watching for new event logs. {@link WatchContractEventReturnType}\n *\n * @example\n * import { createPublicClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { watchContractEvent } from 'viem/contract'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = watchContractEvent(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['event Transfer(address indexed from, address indexed to, uint256 value)']),\n * eventName: 'Transfer',\n * args: { from: '0xc961145a54C96E3aE9bAA048c4F4D6b04C13916b' },\n * onLogs: (logs) => console.log(logs),\n * })\n */\nfunction watchContractEvent(client, { abi, address, args, batch = true, eventName, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n const pollContractEvent = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchContractEvent',\n address,\n args,\n batch,\n client.uid,\n eventName,\n pollingInterval,\n ]);\n const strict = strict_ ?? false;\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onLogs, onError }, (emit) => {\n let previousBlockNumber;\n let filter;\n let initialized = false;\n const unwatch = (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n if (!initialized) {\n try {\n filter = (await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_4__.createContractEventFilter, 'createContractEventFilter')({\n abi,\n address,\n args,\n eventName,\n strict,\n }));\n }\n catch { }\n initialized = true;\n return;\n }\n try {\n let logs;\n if (filter) {\n logs = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__.getFilterChanges, 'getFilterChanges')({ filter });\n }\n else {\n // If the filter doesn't exist, we will fall back to use `getLogs`.\n // The fall back exists because some RPC Providers do not support filters.\n // Fetch the block number to use for `getLogs`.\n const blockNumber = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_6__.getBlockNumber, 'getBlockNumber')({});\n // If the block number has changed, we will need to fetch the logs.\n // If the block number doesn't exist, we are yet to reach the first poll interval,\n // so do not emit any logs.\n if (previousBlockNumber && previousBlockNumber !== blockNumber) {\n logs = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getContractEvents_js__WEBPACK_IMPORTED_MODULE_7__.getContractEvents, 'getContractEvents')({\n abi,\n address,\n args,\n eventName,\n fromBlock: previousBlockNumber + 1n,\n toBlock: blockNumber,\n strict,\n });\n }\n else {\n logs = [];\n }\n previousBlockNumber = blockNumber;\n }\n if (logs.length === 0)\n return;\n if (batch)\n emit.onLogs(logs);\n else\n for (const log of logs)\n emit.onLogs([log]);\n }\n catch (err) {\n // If a filter has been set and gets uninstalled, providers will throw an InvalidInput error.\n // Reinitalize the filter when this occurs\n if (filter && err instanceof _errors_rpc_js__WEBPACK_IMPORTED_MODULE_8__.InvalidInputRpcError)\n initialized = false;\n emit.onError?.(err);\n }\n }, {\n emitOnBegin: true,\n interval: pollingInterval,\n });\n return async () => {\n if (filter)\n await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_9__.uninstallFilter, 'uninstallFilter')({ filter });\n unwatch();\n };\n });\n };\n const subscribeContractEvent = () => {\n let active = true;\n let unsubscribe = () => (active = false);\n (async () => {\n try {\n const topics = eventName\n ? (0,_utils_abi_encodeEventTopics_js__WEBPACK_IMPORTED_MODULE_10__.encodeEventTopics)({\n abi: abi,\n eventName: eventName,\n args,\n })\n : [];\n const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({\n params: ['logs', { address, topics }],\n onData(data) {\n if (!active)\n return;\n const log = data.result;\n try {\n const { eventName, args } = (0,_utils_abi_decodeEventLog_js__WEBPACK_IMPORTED_MODULE_11__.decodeEventLog)({\n abi: abi,\n data: log.data,\n topics: log.topics,\n strict: strict_,\n });\n const formatted = (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_12__.formatLog)(log, {\n args,\n eventName: eventName,\n });\n onLogs([formatted]);\n }\n catch (err) {\n let eventName;\n let isUnnamed;\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__.DecodeLogDataMismatch ||\n err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__.DecodeLogTopicsMismatch) {\n // If strict mode is on, and log data/topics do not match event definition, skip.\n if (strict_)\n return;\n eventName = err.abiItem.name;\n isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));\n }\n // Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).\n const formatted = (0,_utils_formatters_log_js__WEBPACK_IMPORTED_MODULE_12__.formatLog)(log, {\n args: isUnnamed ? [] : {},\n eventName,\n });\n onLogs([formatted]);\n }\n },\n onError(error) {\n onError?.(error);\n },\n });\n unsubscribe = unsubscribe_;\n if (!active)\n unsubscribe();\n }\n catch (err) {\n onError?.(err);\n }\n })();\n return unsubscribe;\n };\n return enablePolling ? pollContractEvent() : subscribeContractEvent();\n}\n//# sourceMappingURL=watchContractEvent.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/watchContractEvent.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/watchEvent.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/watchEvent.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchEvent: () => (/* binding */ watchEvent)\n/* harmony export */ });\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/abi/encodeEventTopics.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/abi/decodeEventLog.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n/* harmony import */ var _createEventFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createEventFilter.js\");\n/* harmony import */ var _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getFilterChanges.js */ \"./node_modules/viem/_esm/actions/public/getFilterChanges.js\");\n/* harmony import */ var _getLogs_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./getLogs.js */ \"./node_modules/viem/_esm/actions/public/getLogs.js\");\n/* harmony import */ var _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./uninstallFilter.js */ \"./node_modules/viem/_esm/actions/public/uninstallFilter.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Watches and returns emitted [Event Logs](https://viem.sh/docs/glossary/terms.html#event-log).\n *\n * - Docs: https://viem.sh/docs/actions/public/watchEvent.html\n * - JSON-RPC Methods:\n * - **RPC Provider supports `eth_newFilter`:**\n * - Calls [`eth_newFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newfilter) to create a filter (called on initialize).\n * - On a polling interval, it will call [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getfilterchanges).\n * - **RPC Provider does not support `eth_newFilter`:**\n * - Calls [`eth_getLogs`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getlogs) for each block between the polling interval.\n *\n * This Action will batch up all the Event Logs found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchEvent.html#pollinginterval-optional), and invoke them via [`onLogs`](https://viem.sh/docs/actions/public/watchEvent.html#onLogs).\n *\n * `watchEvent` will attempt to create an [Event Filter](https://viem.sh/docs/actions/public/createEventFilter.html) and listen to changes to the Filter per polling interval, however, if the RPC Provider does not support Filters (e.g. `eth_newFilter`), then `watchEvent` will fall back to using [`getLogs`](https://viem.sh/docs/actions/public/getLogs.html) instead.\n *\n * @param client - Client to use\n * @param parameters - {@link WatchEventParameters}\n * @returns A function that can be invoked to stop watching for new Event Logs. {@link WatchEventReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { watchEvent } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = watchEvent(client, {\n * onLogs: (logs) => console.log(logs),\n * })\n */\nfunction watchEvent(client, { address, args, batch = true, event, events, onError, onLogs, poll: poll_, pollingInterval = client.pollingInterval, strict: strict_, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n const strict = strict_ ?? false;\n const pollEvent = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchEvent',\n address,\n args,\n batch,\n client.uid,\n event,\n pollingInterval,\n ]);\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onLogs, onError }, (emit) => {\n let previousBlockNumber;\n let filter;\n let initialized = false;\n const unwatch = (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n if (!initialized) {\n try {\n filter = (await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _createEventFilter_js__WEBPACK_IMPORTED_MODULE_4__.createEventFilter, 'createEventFilter')({\n address,\n args,\n event: event,\n events,\n strict,\n }));\n }\n catch { }\n initialized = true;\n return;\n }\n try {\n let logs;\n if (filter) {\n logs = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__.getFilterChanges, 'getFilterChanges')({ filter });\n }\n else {\n // If the filter doesn't exist, we will fall back to use `getLogs`.\n // The fall back exists because some RPC Providers do not support filters.\n // Fetch the block number to use for `getLogs`.\n const blockNumber = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getBlockNumber_js__WEBPACK_IMPORTED_MODULE_6__.getBlockNumber, 'getBlockNumber')({});\n // If the block number has changed, we will need to fetch the logs.\n // If the block number doesn't exist, we are yet to reach the first poll interval,\n // so do not emit any logs.\n if (previousBlockNumber && previousBlockNumber !== blockNumber) {\n logs = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getLogs_js__WEBPACK_IMPORTED_MODULE_7__.getLogs, 'getLogs')({\n address,\n args,\n event: event,\n events,\n fromBlock: previousBlockNumber + 1n,\n toBlock: blockNumber,\n });\n }\n else {\n logs = [];\n }\n previousBlockNumber = blockNumber;\n }\n if (logs.length === 0)\n return;\n if (batch)\n emit.onLogs(logs);\n else\n for (const log of logs)\n emit.onLogs([log]);\n }\n catch (err) {\n // If a filter has been set and gets uninstalled, providers will throw an InvalidInput error.\n // Reinitalize the filter when this occurs\n if (filter && err instanceof _errors_rpc_js__WEBPACK_IMPORTED_MODULE_8__.InvalidInputRpcError)\n initialized = false;\n emit.onError?.(err);\n }\n }, {\n emitOnBegin: true,\n interval: pollingInterval,\n });\n return async () => {\n if (filter)\n await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_9__.uninstallFilter, 'uninstallFilter')({ filter });\n unwatch();\n };\n });\n };\n const subscribeEvent = () => {\n let active = true;\n let unsubscribe = () => (active = false);\n (async () => {\n try {\n const events_ = events ?? (event ? [event] : undefined);\n let topics = [];\n if (events_) {\n topics = [\n events_.flatMap((event) => (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_10__.encodeEventTopics)({\n abi: [event],\n eventName: event.name,\n args,\n })),\n ];\n if (event)\n topics = topics[0];\n }\n const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({\n params: ['logs', { address, topics }],\n onData(data) {\n if (!active)\n return;\n const log = data.result;\n try {\n const { eventName, args } = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_11__.decodeEventLog)({\n abi: events_,\n data: log.data,\n topics: log.topics,\n strict,\n });\n const formatted = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_12__.formatLog)(log, {\n args,\n eventName: eventName,\n });\n onLogs([formatted]);\n }\n catch (err) {\n let eventName;\n let isUnnamed;\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__.DecodeLogDataMismatch ||\n err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_13__.DecodeLogTopicsMismatch) {\n // If strict mode is on, and log data/topics do not match event definition, skip.\n if (strict_)\n return;\n eventName = err.abiItem.name;\n isUnnamed = err.abiItem.inputs?.some((x) => !('name' in x && x.name));\n }\n // Set args to empty if there is an error decoding (e.g. indexed/non-indexed params mismatch).\n const formatted = (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_12__.formatLog)(log, {\n args: isUnnamed ? [] : {},\n eventName,\n });\n onLogs([formatted]);\n }\n },\n onError(error) {\n onError?.(error);\n },\n });\n unsubscribe = unsubscribe_;\n if (!active)\n unsubscribe();\n }\n catch (err) {\n onError?.(err);\n }\n })();\n return unsubscribe;\n };\n return enablePolling ? pollEvent() : subscribeEvent();\n}\n//# sourceMappingURL=watchEvent.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/watchEvent.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/public/watchPendingTransactions.js":
/*!***************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/public/watchPendingTransactions.js ***!
\***************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchPendingTransactions: () => (/* binding */ watchPendingTransactions)\n/* harmony export */ });\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_observe_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/observe.js */ \"./node_modules/viem/_esm/utils/observe.js\");\n/* harmony import */ var _utils_poll_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/poll.js */ \"./node_modules/viem/_esm/utils/poll.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _createPendingTransactionFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./createPendingTransactionFilter.js */ \"./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js\");\n/* harmony import */ var _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./getFilterChanges.js */ \"./node_modules/viem/_esm/actions/public/getFilterChanges.js\");\n/* harmony import */ var _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./uninstallFilter.js */ \"./node_modules/viem/_esm/actions/public/uninstallFilter.js\");\n\n\n\n\n\n\n\n/**\n * Watches and returns pending transaction hashes.\n *\n * - Docs: https://viem.sh/docs/actions/public/watchPendingTransactions.html\n * - JSON-RPC Methods:\n * - When `poll: true`\n * - Calls [`eth_newPendingTransactionFilter`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_newpendingtransactionfilter) to initialize the filter.\n * - Calls [`eth_getFilterChanges`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getFilterChanges) on a polling interval.\n * - When `poll: false` & WebSocket Transport, uses a WebSocket subscription via [`eth_subscribe`](https://docs.alchemy.com/reference/eth-subscribe-polygon) and the `\"newPendingTransactions\"` event.\n *\n * This Action will batch up all the pending transactions found within the [`pollingInterval`](https://viem.sh/docs/actions/public/watchPendingTransactions.html#pollinginterval-optional), and invoke them via [`onTransactions`](https://viem.sh/docs/actions/public/watchPendingTransactions.html#ontransactions).\n *\n * @param client - Client to use\n * @param parameters - {@link WatchPendingTransactionsParameters}\n * @returns A function that can be invoked to stop watching for new pending transaction hashes. {@link WatchPendingTransactionsReturnType}\n *\n * @example\n * import { createPublicClient, http } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { watchPendingTransactions } from 'viem/public'\n *\n * const client = createPublicClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const unwatch = await watchPendingTransactions(client, {\n * onTransactions: (hashes) => console.log(hashes),\n * })\n */\nfunction watchPendingTransactions(client, { batch = true, onError, onTransactions, poll: poll_, pollingInterval = client.pollingInterval, }) {\n const enablePolling = typeof poll_ !== 'undefined' ? poll_ : client.transport.type !== 'webSocket';\n const pollPendingTransactions = () => {\n const observerId = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)([\n 'watchPendingTransactions',\n client.uid,\n batch,\n pollingInterval,\n ]);\n return (0,_utils_observe_js__WEBPACK_IMPORTED_MODULE_1__.observe)(observerId, { onTransactions, onError }, (emit) => {\n let filter;\n const unwatch = (0,_utils_poll_js__WEBPACK_IMPORTED_MODULE_2__.poll)(async () => {\n try {\n if (!filter) {\n try {\n filter = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _createPendingTransactionFilter_js__WEBPACK_IMPORTED_MODULE_4__.createPendingTransactionFilter, 'createPendingTransactionFilter')({});\n return;\n }\n catch (err) {\n unwatch();\n throw err;\n }\n }\n const hashes = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _getFilterChanges_js__WEBPACK_IMPORTED_MODULE_5__.getFilterChanges, 'getFilterChanges')({ filter });\n if (hashes.length === 0)\n return;\n if (batch)\n emit.onTransactions(hashes);\n else\n for (const hash of hashes)\n emit.onTransactions([hash]);\n }\n catch (err) {\n emit.onError?.(err);\n }\n }, {\n emitOnBegin: true,\n interval: pollingInterval,\n });\n return async () => {\n if (filter)\n await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _uninstallFilter_js__WEBPACK_IMPORTED_MODULE_6__.uninstallFilter, 'uninstallFilter')({ filter });\n unwatch();\n };\n });\n };\n const subscribePendingTransactions = () => {\n let active = true;\n let unsubscribe = () => (active = false);\n (async () => {\n try {\n const { unsubscribe: unsubscribe_ } = await client.transport.subscribe({\n params: ['newPendingTransactions'],\n onData(data) {\n if (!active)\n return;\n const transaction = data.result;\n onTransactions([transaction]);\n },\n onError(error) {\n onError?.(error);\n },\n });\n unsubscribe = unsubscribe_;\n if (!active)\n unsubscribe();\n }\n catch (err) {\n onError?.(err);\n }\n })();\n return unsubscribe;\n };\n return enablePolling\n ? pollPendingTransactions()\n : subscribePendingTransactions();\n}\n//# sourceMappingURL=watchPendingTransactions.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/public/watchPendingTransactions.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/addChain.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/addChain.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ addChain: () => (/* binding */ addChain)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Adds an EVM chain to the wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/addChain.html\n * - JSON-RPC Methods: [`eth_addEthereumChain`](https://eips.ethereum.org/EIPS/eip-3085)\n *\n * @param client - Client to use\n * @param parameters - {@link AddChainParameters}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { optimism } from 'viem/chains'\n * import { addChain } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * transport: custom(window.ethereum),\n * })\n * await addChain(client, { chain: optimism })\n */\nasync function addChain(client, { chain }) {\n const { id, name, nativeCurrency, rpcUrls, blockExplorers } = chain;\n await client.request({\n method: 'wallet_addEthereumChain',\n params: [\n {\n chainId: (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(id),\n chainName: name,\n nativeCurrency,\n rpcUrls: rpcUrls.default.http,\n blockExplorerUrls: blockExplorers\n ? Object.values(blockExplorers).map(({ url }) => url)\n : undefined,\n },\n ],\n });\n}\n//# sourceMappingURL=addChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/addChain.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/deployContract.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/deployContract.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ deployContract: () => (/* binding */ deployContract)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeDeployData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeDeployData.js */ \"./node_modules/viem/_esm/utils/abi/encodeDeployData.js\");\n/* harmony import */ var _sendTransaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./sendTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendTransaction.js\");\n\n\n/**\n * Deploys a contract to the network, given bytecode and constructor arguments.\n *\n * - Docs: https://viem.sh/docs/contract/deployContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/deploying-contracts\n *\n * @param client - Client to use\n * @param parameters - {@link DeployContractParameters}\n * @returns The [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) hash. {@link DeployContractReturnType}\n *\n * @example\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { deployContract } from 'viem/contract'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: http(),\n * })\n * const hash = await deployContract(client, {\n * abi: [],\n * account: '0x…,\n * bytecode: '0x608060405260405161083e38038061083e833981016040819052610...',\n * })\n */\nfunction deployContract(walletClient, { abi, args, bytecode, ...request }) {\n const calldata = (0,_utils_abi_encodeDeployData_js__WEBPACK_IMPORTED_MODULE_0__.encodeDeployData)({\n abi,\n args,\n bytecode,\n });\n return (0,_sendTransaction_js__WEBPACK_IMPORTED_MODULE_1__.sendTransaction)(walletClient, {\n ...request,\n data: calldata,\n });\n}\n//# sourceMappingURL=deployContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/deployContract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/getAddresses.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/getAddresses.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getAddresses: () => (/* binding */ getAddresses)\n/* harmony export */ });\n/* harmony import */ var _utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/address/getAddress.js */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n\n/**\n * Returns a list of account addresses owned by the wallet or client.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/getAddresses.html\n * - JSON-RPC Methods: [`eth_accounts`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_accounts)\n *\n * @param client - Client to use\n * @returns List of account addresses owned by the wallet or client. {@link GetAddressesReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getAddresses } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const accounts = await getAddresses(client)\n */\nasync function getAddresses(client) {\n if (client.account?.type === 'local')\n return [client.account.address];\n const addresses = await client.request({ method: 'eth_accounts' });\n return addresses.map((address) => (0,_utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__.checksumAddress)(address));\n}\n//# sourceMappingURL=getAddresses.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/getAddresses.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/getPermissions.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/getPermissions.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getPermissions: () => (/* binding */ getPermissions)\n/* harmony export */ });\n/**\n * Gets the wallets current permissions.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/getPermissions.html\n * - JSON-RPC Methods: [`wallet_getPermissions`](https://eips.ethereum.org/EIPS/eip-2255)\n *\n * @param client - Client to use\n * @returns The wallet permissions. {@link GetPermissionsReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { getPermissions } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const permissions = await getPermissions(client)\n */\nasync function getPermissions(client) {\n const permissions = await client.request({ method: 'wallet_getPermissions' });\n return permissions;\n}\n//# sourceMappingURL=getPermissions.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/getPermissions.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js":
/*!****************************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js ***!
\****************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ prepareTransactionRequest: () => (/* binding */ prepareTransactionRequest)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _actions_public_estimateFeesPerGas_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../actions/public/estimateFeesPerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js\");\n/* harmony import */ var _actions_public_estimateGas_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../actions/public/estimateGas.js */ \"./node_modules/viem/_esm/actions/public/estimateGas.js\");\n/* harmony import */ var _actions_public_getBlock_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/public/getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _actions_public_getTransactionCount_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../actions/public/getTransactionCount.js */ \"./node_modules/viem/_esm/actions/public/getTransactionCount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _errors_fee_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../errors/fee.js */ \"./node_modules/viem/_esm/errors/fee.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _utils_transaction_getTransactionType_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/transaction/getTransactionType.js */ \"./node_modules/viem/_esm/utils/transaction/getTransactionType.js\");\n\n\n\n\n\n\n\n\n\n\n/**\n * Prepares a transaction request for signing.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/prepareTransactionRequest.html\n *\n * @param args - {@link PrepareTransactionRequestParameters}\n * @returns The transaction request. {@link PrepareTransactionRequestReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { prepareTransactionRequest } from 'viem/actions'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const request = await prepareTransactionRequest(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { prepareTransactionRequest } from 'viem/actions'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const request = await prepareTransactionRequest(client, {\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n */\nasync function prepareTransactionRequest(client, args) {\n const { account: account_ = client.account, chain, gas, nonce, type } = args;\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError();\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n const block = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__.getAction)(client, _actions_public_getBlock_js__WEBPACK_IMPORTED_MODULE_3__.getBlock, 'getBlock')({ blockTag: 'latest' });\n const request = { ...args, from: account.address };\n if (typeof nonce === 'undefined')\n request.nonce = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__.getAction)(client, _actions_public_getTransactionCount_js__WEBPACK_IMPORTED_MODULE_4__.getTransactionCount, 'getTransactionCount')({\n address: account.address,\n blockTag: 'pending',\n });\n if (typeof type === 'undefined') {\n try {\n request.type = (0,_utils_transaction_getTransactionType_js__WEBPACK_IMPORTED_MODULE_5__.getTransactionType)(request);\n }\n catch {\n // infer type from block\n request.type =\n typeof block.baseFeePerGas === 'bigint' ? 'eip1559' : 'legacy';\n }\n }\n if (request.type === 'eip1559') {\n // EIP-1559 fees\n const { maxFeePerGas, maxPriorityFeePerGas } = await (0,_actions_public_estimateFeesPerGas_js__WEBPACK_IMPORTED_MODULE_6__.internal_estimateFeesPerGas)(client, {\n block,\n chain,\n request: request,\n });\n if (typeof args.maxPriorityFeePerGas === 'undefined' &&\n args.maxFeePerGas &&\n args.maxFeePerGas < maxPriorityFeePerGas)\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_7__.MaxFeePerGasTooLowError({\n maxPriorityFeePerGas,\n });\n request.maxPriorityFeePerGas = maxPriorityFeePerGas;\n request.maxFeePerGas = maxFeePerGas;\n }\n else {\n // Legacy fees\n if (typeof args.maxFeePerGas !== 'undefined' ||\n typeof args.maxPriorityFeePerGas !== 'undefined')\n throw new _errors_fee_js__WEBPACK_IMPORTED_MODULE_7__.Eip1559FeesNotSupportedError();\n const { gasPrice: gasPrice_ } = await (0,_actions_public_estimateFeesPerGas_js__WEBPACK_IMPORTED_MODULE_6__.internal_estimateFeesPerGas)(client, {\n block,\n chain,\n request: request,\n type: 'legacy',\n });\n request.gasPrice = gasPrice_;\n }\n if (typeof gas === 'undefined')\n request.gas = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_2__.getAction)(client, _actions_public_estimateGas_js__WEBPACK_IMPORTED_MODULE_8__.estimateGas, 'estimateGas')({\n ...request,\n account: { address: account.address, type: 'json-rpc' },\n });\n (0,_utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_9__.assertRequest)(request);\n return request;\n}\n//# sourceMappingURL=prepareTransactionRequest.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/requestAddresses.js":
/*!*******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/requestAddresses.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ requestAddresses: () => (/* binding */ requestAddresses)\n/* harmony export */ });\n/* harmony import */ var _utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/address/getAddress.js */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n\n/**\n * Requests a list of accounts managed by a wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/requestAddresses.html\n * - JSON-RPC Methods: [`eth_requestAccounts`](https://eips.ethereum.org/EIPS/eip-1102)\n *\n * Sends a request to the wallet, asking for permission to access the user's accounts. After the user accepts the request, it will return a list of accounts (addresses).\n *\n * This API can be useful for dapps that need to access the user's accounts in order to execute transactions or interact with smart contracts.\n *\n * @param client - Client to use\n * @returns List of accounts managed by a wallet {@link RequestAddressesReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { requestAddresses } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const accounts = await requestAddresses(client)\n */\nasync function requestAddresses(client) {\n const addresses = await client.request({ method: 'eth_requestAccounts' });\n return addresses.map((address) => (0,_utils_address_getAddress_js__WEBPACK_IMPORTED_MODULE_0__.getAddress)(address));\n}\n//# sourceMappingURL=requestAddresses.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/requestAddresses.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/requestPermissions.js":
/*!*********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/requestPermissions.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ requestPermissions: () => (/* binding */ requestPermissions)\n/* harmony export */ });\n/**\n * Requests permissions for a wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/requestPermissions.html\n * - JSON-RPC Methods: [`wallet_requestPermissions`](https://eips.ethereum.org/EIPS/eip-2255)\n *\n * @param client - Client to use\n * @param parameters - {@link RequestPermissionsParameters}\n * @returns The wallet permissions. {@link RequestPermissionsReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { requestPermissions } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const permissions = await requestPermissions(client, {\n * eth_accounts: {}\n * })\n */\nasync function requestPermissions(client, permissions) {\n return client.request({\n method: 'wallet_requestPermissions',\n params: [permissions],\n });\n}\n//# sourceMappingURL=requestPermissions.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/requestPermissions.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js":
/*!*********************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sendRawTransaction: () => (/* binding */ sendRawTransaction)\n/* harmony export */ });\n/**\n * Sends a **signed** transaction to the network\n *\n * - Docs: https://viem.sh/docs/actions/wallet/sendRawTransaction.html\n * - JSON-RPC Method: [`eth_sendRawTransaction`](https://ethereum.github.io/execution-apis/api-documentation/)\n *\n * @param client - Client to use\n * @param parameters - {@link SendRawTransactionParameters}\n * @returns The transaction hash. {@link SendRawTransactionReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { sendRawTransaction } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n *\n * const hash = await sendRawTransaction(client, {\n * serializedTransaction: '0x02f850018203118080825208808080c080a04012522854168b27e5dc3d5839bab5e6b39e1a0ffd343901ce1622e3d64b48f1a04e00902ae0502c4728cbf12156290df99c3ed7de85b1dbfe20b5c36931733a33'\n * })\n */\nasync function sendRawTransaction(client, { serializedTransaction }) {\n return client.request({\n method: 'eth_sendRawTransaction',\n params: [serializedTransaction],\n });\n}\n//# sourceMappingURL=sendRawTransaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/sendTransaction.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/sendTransaction.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ sendTransaction: () => (/* binding */ sendTransaction)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_chain_assertCurrentChain_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/chain/assertCurrentChain.js */ \"./node_modules/viem/_esm/utils/chain/assertCurrentChain.js\");\n/* harmony import */ var _utils_errors_getTransactionError_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../utils/errors/getTransactionError.js */ \"./node_modules/viem/_esm/utils/errors/getTransactionError.js\");\n/* harmony import */ var _utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../utils/formatters/extract.js */ \"./node_modules/viem/_esm/utils/formatters/extract.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../public/getChainId.js */ \"./node_modules/viem/_esm/actions/public/getChainId.js\");\n/* harmony import */ var _prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./prepareTransactionRequest.js */ \"./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js\");\n/* harmony import */ var _sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./sendRawTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js\");\n\n\n\n\n\n\n\n\n\n\n\n/**\n * Creates, signs, and sends a new transaction to the network.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/sendTransaction.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/transactions/sending-transactions\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`eth_sendTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendtransaction)\n * - Local Accounts: [`eth_sendRawTransaction`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_sendrawtransaction)\n *\n * @param client - Client to use\n * @param parameters - {@link SendTransactionParameters}\n * @returns The [Transaction](https://viem.sh/docs/glossary/terms.html#transaction) hash. {@link SendTransactionReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { sendTransaction } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const hash = await sendTransaction(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',\n * value: 1000000000000000000n,\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { sendTransaction } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: http(),\n * })\n * const hash = await sendTransaction(client, {\n * to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',\n * value: 1000000000000000000n,\n * })\n */\nasync function sendTransaction(client, args) {\n const { account: account_ = client.account, chain = client.chain, accessList, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args;\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/wallet/sendTransaction',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n try {\n (0,_utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_2__.assertRequest)(args);\n let chainId;\n if (chain !== null) {\n chainId = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__.getChainId, 'getChainId')({});\n (0,_utils_chain_assertCurrentChain_js__WEBPACK_IMPORTED_MODULE_5__.assertCurrentChain)({\n currentChainId: chainId,\n chain,\n });\n }\n if (account.type === 'local') {\n // Prepare the request for signing (assign appropriate fees, etc.)\n const request = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_6__.prepareTransactionRequest, 'prepareTransactionRequest')({\n account,\n accessList,\n chain,\n data,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to,\n value,\n ...rest,\n });\n if (!chainId)\n chainId = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__.getChainId, 'getChainId')({});\n const serializer = chain?.serializers?.transaction;\n const serializedTransaction = (await account.signTransaction({\n ...request,\n chainId,\n }, { serializer }));\n return await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_7__.sendRawTransaction, 'sendRawTransaction')({\n serializedTransaction,\n });\n }\n const chainFormat = client.chain?.formatters?.transactionRequest?.format;\n const format = chainFormat || _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_8__.formatTransactionRequest;\n const request = format({\n // Pick out extra data that might exist on the chain's transaction request type.\n ...(0,_utils_formatters_extract_js__WEBPACK_IMPORTED_MODULE_9__.extract)(rest, { format: chainFormat }),\n accessList,\n data,\n from: account.address,\n gas,\n gasPrice,\n maxFeePerGas,\n maxPriorityFeePerGas,\n nonce,\n to,\n value,\n });\n return await client.request({\n method: 'eth_sendTransaction',\n params: [request],\n });\n }\n catch (err) {\n throw (0,_utils_errors_getTransactionError_js__WEBPACK_IMPORTED_MODULE_10__.getTransactionError)(err, {\n ...args,\n account,\n chain: args.chain || undefined,\n });\n }\n}\n//# sourceMappingURL=sendTransaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/sendTransaction.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/signMessage.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/signMessage.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ signMessage: () => (/* binding */ signMessage)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n/**\n * Calculates an Ethereum-specific signature in [EIP-191 format](https://eips.ethereum.org/EIPS/eip-191): `keccak256(\"\\x19Ethereum Signed Message:\\n\" + len(message) + message))`.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/signMessage.html\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`personal_sign`](https://docs.metamask.io/guide/signing-data.html#personal-sign)\n * - Local Accounts: Signs locally. No JSON-RPC request.\n *\n * With the calculated signature, you can:\n * - use [`verifyMessage`](https://viem.sh/docs/utilities/verifyMessage.html) to verify the signature,\n * - use [`recoverMessageAddress`](https://viem.sh/docs/utilities/recoverMessageAddress.html) to recover the signing address from a signature.\n *\n * @param client - Client to use\n * @param parameters - {@link SignMessageParameters}\n * @returns The signed message. {@link SignMessageReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { signMessage } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signMessage(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * message: 'hello world',\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, custom } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { signMessage } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signMessage(client, {\n * message: 'hello world',\n * })\n */\nasync function signMessage(client, { account: account_ = client.account, message, }) {\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/wallet/signMessage',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n if (account.type === 'local')\n return account.signMessage({ message });\n const message_ = (() => {\n if (typeof message === 'string')\n return (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.stringToHex)(message);\n if (message.raw instanceof Uint8Array)\n return (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.toHex)(message.raw);\n return message.raw;\n })();\n return client.request({\n method: 'personal_sign',\n params: [message_, account.address],\n });\n}\n//# sourceMappingURL=signMessage.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/signMessage.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/signTransaction.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/signTransaction.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ signTransaction: () => (/* binding */ signTransaction)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_chain_assertCurrentChain_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../utils/chain/assertCurrentChain.js */ \"./node_modules/viem/_esm/utils/chain/assertCurrentChain.js\");\n/* harmony import */ var _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../utils/formatters/transactionRequest.js */ \"./node_modules/viem/_esm/utils/formatters/transactionRequest.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _utils_index_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../utils/index.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/transaction/assertRequest.js */ \"./node_modules/viem/_esm/utils/transaction/assertRequest.js\");\n/* harmony import */ var _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../public/getChainId.js */ \"./node_modules/viem/_esm/actions/public/getChainId.js\");\n\n\n\n\n\n\n\n\n\n/**\n * Signs a transaction.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/signTransaction.html\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`eth_signTransaction`](https://ethereum.github.io/execution-apis/api-documentation/)\n * - Local Accounts: Signs locally. No JSON-RPC request.\n *\n * @param args - {@link SignTransactionParameters}\n * @returns The signed serialized tranasction. {@link SignTransactionReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { signTransaction } from 'viem/actions'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signTransaction(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { signTransaction } from 'viem/actions'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signTransaction(client, {\n * to: '0x0000000000000000000000000000000000000000',\n * value: 1n,\n * })\n */\nasync function signTransaction(client, args) {\n const { account: account_ = client.account, chain = client.chain, ...transaction } = args;\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/wallet/signTransaction',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n (0,_utils_transaction_assertRequest_js__WEBPACK_IMPORTED_MODULE_2__.assertRequest)({\n account,\n ...args,\n });\n const chainId = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_3__.getAction)(client, _public_getChainId_js__WEBPACK_IMPORTED_MODULE_4__.getChainId, 'getChainId')({});\n if (chain !== null)\n (0,_utils_chain_assertCurrentChain_js__WEBPACK_IMPORTED_MODULE_5__.assertCurrentChain)({\n currentChainId: chainId,\n chain,\n });\n const formatters = chain?.formatters || client.chain?.formatters;\n const format = formatters?.transactionRequest?.format || _utils_formatters_transactionRequest_js__WEBPACK_IMPORTED_MODULE_6__.formatTransactionRequest;\n if (account.type === 'local')\n return account.signTransaction({\n ...transaction,\n chainId,\n }, { serializer: client.chain?.serializers?.transaction });\n return await client.request({\n method: 'eth_signTransaction',\n params: [\n {\n ...format(transaction),\n chainId: (0,_utils_index_js__WEBPACK_IMPORTED_MODULE_7__.numberToHex)(chainId),\n from: account.address,\n },\n ],\n });\n}\n//# sourceMappingURL=signTransaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/signTransaction.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/signTypedData.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/signTypedData.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ signTypedData: () => (/* binding */ signTypedData)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_account_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/account.js */ \"./node_modules/viem/_esm/errors/account.js\");\n/* harmony import */ var _utils_data_isHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../utils/data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _utils_typedData_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/typedData.js */ \"./node_modules/viem/_esm/utils/typedData.js\");\n\n\n\n\n\n/**\n * Signs typed data and calculates an Ethereum-specific signature in [https://eips.ethereum.org/EIPS/eip-712](https://eips.ethereum.org/EIPS/eip-712): `sign(keccak256(\"\\x19\\x01\" ‖ domainSeparator ‖ hashStruct(message)))`\n *\n * - Docs: https://viem.sh/docs/actions/wallet/signTypedData.html\n * - JSON-RPC Methods:\n * - JSON-RPC Accounts: [`eth_signTypedData_v4`](https://docs.metamask.io/guide/signing-data.html#signtypeddata-v4)\n * - Local Accounts: Signs locally. No JSON-RPC request.\n *\n * @param client - Client to use\n * @param parameters - {@link SignTypedDataParameters}\n * @returns The signed data. {@link SignTypedDataReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { signTypedData } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const signature = await signTypedData(client, {\n * account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',\n * domain: {\n * name: 'Ether Mail',\n * version: '1',\n * chainId: 1,\n * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',\n * },\n * types: {\n * Person: [\n * { name: 'name', type: 'string' },\n * { name: 'wallet', type: 'address' },\n * ],\n * Mail: [\n * { name: 'from', type: 'Person' },\n * { name: 'to', type: 'Person' },\n * { name: 'contents', type: 'string' },\n * ],\n * },\n * primaryType: 'Mail',\n * message: {\n * from: {\n * name: 'Cow',\n * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',\n * },\n * to: {\n * name: 'Bob',\n * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',\n * },\n * contents: 'Hello, Bob!',\n * },\n * })\n *\n * @example\n * // Account Hoisting\n * import { createWalletClient, http } from 'viem'\n * import { privateKeyToAccount } from 'viem/accounts'\n * import { mainnet } from 'viem/chains'\n * import { signTypedData } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * account: privateKeyToAccount('0x…'),\n * chain: mainnet,\n * transport: http(),\n * })\n * const signature = await signTypedData(client, {\n * domain: {\n * name: 'Ether Mail',\n * version: '1',\n * chainId: 1,\n * verifyingContract: '0xCcCCccccCCCCcCCCCCCcCcCccCcCCCcCcccccccC',\n * },\n * types: {\n * Person: [\n * { name: 'name', type: 'string' },\n * { name: 'wallet', type: 'address' },\n * ],\n * Mail: [\n * { name: 'from', type: 'Person' },\n * { name: 'to', type: 'Person' },\n * { name: 'contents', type: 'string' },\n * ],\n * },\n * primaryType: 'Mail',\n * message: {\n * from: {\n * name: 'Cow',\n * wallet: '0xCD2a3d9F938E13CD947Ec05AbC7FE734Df8DD826',\n * },\n * to: {\n * name: 'Bob',\n * wallet: '0xbBbBBBBbbBBBbbbBbbBbbbbBBbBbbbbBbBbbBBbB',\n * },\n * contents: 'Hello, Bob!',\n * },\n * })\n */\nasync function signTypedData(client, { account: account_ = client.account, domain, message, primaryType, types: types_, }) {\n if (!account_)\n throw new _errors_account_js__WEBPACK_IMPORTED_MODULE_0__.AccountNotFoundError({\n docsPath: '/docs/actions/wallet/signTypedData',\n });\n const account = (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_);\n const types = {\n EIP712Domain: (0,_utils_typedData_js__WEBPACK_IMPORTED_MODULE_2__.getTypesForEIP712Domain)({ domain }),\n ...types_,\n };\n // Need to do a runtime validation check on addresses, byte ranges, integer ranges, etc\n // as we can't statically check this with TypeScript.\n (0,_utils_typedData_js__WEBPACK_IMPORTED_MODULE_2__.validateTypedData)({\n domain,\n message,\n primaryType,\n types,\n });\n if (account.type === 'local')\n return account.signTypedData({\n domain,\n primaryType,\n types,\n message,\n });\n const typedData = (0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_3__.stringify)({ domain: domain ?? {}, primaryType, types, message }, (_, value) => ((0,_utils_data_isHex_js__WEBPACK_IMPORTED_MODULE_4__.isHex)(value) ? value.toLowerCase() : value));\n return client.request({\n method: 'eth_signTypedData_v4',\n params: [account.address, typedData],\n });\n}\n//# sourceMappingURL=signTypedData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/signTypedData.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/switchChain.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/switchChain.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ switchChain: () => (/* binding */ switchChain)\n/* harmony export */ });\n/* harmony import */ var _utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n/**\n * Switch the target chain in a wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/switchChain.html\n * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-3326)\n *\n * @param client - Client to use\n * @param parameters - {@link SwitchChainParameters}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet, optimism } from 'viem/chains'\n * import { switchChain } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * await switchChain(client, { id: optimism.id })\n */\nasync function switchChain(client, { id }) {\n await client.request({\n method: 'wallet_switchEthereumChain',\n params: [\n {\n chainId: (0,_utils_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(id),\n },\n ],\n });\n}\n//# sourceMappingURL=switchChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/switchChain.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/watchAsset.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/watchAsset.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ watchAsset: () => (/* binding */ watchAsset)\n/* harmony export */ });\n/**\n * Adds an EVM chain to the wallet.\n *\n * - Docs: https://viem.sh/docs/actions/wallet/watchAsset.html\n * - JSON-RPC Methods: [`eth_switchEthereumChain`](https://eips.ethereum.org/EIPS/eip-747)\n *\n * @param client - Client to use\n * @param parameters - {@link WatchAssetParameters}\n * @returns Boolean indicating if the token was successfully added. {@link WatchAssetReturnType}\n *\n * @example\n * import { createWalletClient, custom } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { watchAsset } from 'viem/wallet'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const success = await watchAsset(client, {\n * type: 'ERC20',\n * options: {\n * address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',\n * decimals: 18,\n * symbol: 'WETH',\n * },\n * })\n */\nasync function watchAsset(client, params) {\n const added = await client.request({\n method: 'wallet_watchAsset',\n params,\n });\n return added;\n}\n//# sourceMappingURL=watchAsset.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/watchAsset.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/actions/wallet/writeContract.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/actions/wallet/writeContract.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ writeContract: () => (/* binding */ writeContract)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/abi/encodeFunctionData.js */ \"./node_modules/viem/_esm/utils/abi/encodeFunctionData.js\");\n/* harmony import */ var _utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/getAction.js */ \"./node_modules/viem/_esm/utils/getAction.js\");\n/* harmony import */ var _sendTransaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./sendTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendTransaction.js\");\n\n\n\n/**\n * Executes a write function on a contract.\n *\n * - Docs: https://viem.sh/docs/contract/writeContract.html\n * - Examples: https://stackblitz.com/github/wevm/viem/tree/main/examples/contracts/writing-to-contracts\n *\n * A \"write\" function on a Solidity contract modifies the state of the blockchain. These types of functions require gas to be executed, and hence a [Transaction](https://viem.sh/docs/glossary/terms.html) is needed to be broadcast in order to change the state.\n *\n * Internally, uses a [Wallet Client](https://viem.sh/docs/clients/wallet.html) to call the [`sendTransaction` action](https://viem.sh/docs/actions/wallet/sendTransaction.html) with [ABI-encoded `data`](https://viem.sh/docs/contract/encodeFunctionData.html).\n *\n * __Warning: The `write` internally sends a transaction it does not validate if the contract write will succeed (the contract may throw an error). It is highly recommended to [simulate the contract write with `contract.simulate`](https://viem.sh/docs/contract/writeContract.html#usage) before you execute it.__\n *\n * @param client - Client to use\n * @param parameters - {@link WriteContractParameters}\n * @returns A [Transaction Hash](https://viem.sh/docs/glossary/terms.html#hash). {@link WriteContractReturnType}\n *\n * @example\n * import { createWalletClient, custom, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { writeContract } from 'viem/contract'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: custom(window.ethereum),\n * })\n * const hash = await writeContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),\n * functionName: 'mint',\n * args: [69420],\n * })\n *\n * @example\n * // With Validation\n * import { createWalletClient, http, parseAbi } from 'viem'\n * import { mainnet } from 'viem/chains'\n * import { simulateContract, writeContract } from 'viem/contract'\n *\n * const client = createWalletClient({\n * chain: mainnet,\n * transport: http(),\n * })\n * const { request } = await simulateContract(client, {\n * address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',\n * abi: parseAbi(['function mint(uint32 tokenId) nonpayable']),\n * functionName: 'mint',\n * args: [69420],\n * }\n * const hash = await writeContract(client, request)\n */\nasync function writeContract(client, { abi, address, args, dataSuffix, functionName, ...request }) {\n const data = (0,_utils_abi_encodeFunctionData_js__WEBPACK_IMPORTED_MODULE_0__.encodeFunctionData)({\n abi,\n args,\n functionName,\n });\n const hash = await (0,_utils_getAction_js__WEBPACK_IMPORTED_MODULE_1__.getAction)(client, _sendTransaction_js__WEBPACK_IMPORTED_MODULE_2__.sendTransaction, 'sendTransaction')({\n data: `${data}${dataSuffix ? dataSuffix.replace('0x', '') : ''}`,\n to: address,\n ...request,\n });\n return hash;\n}\n//# sourceMappingURL=writeContract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/actions/wallet/writeContract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/chains/definitions/goerli.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/chains/definitions/goerli.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ goerli: () => (/* binding */ goerli)\n/* harmony export */ });\n/* harmony import */ var _utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/defineChain.js */ \"./node_modules/viem/_esm/utils/chain/defineChain.js\");\n\nconst goerli = /*#__PURE__*/ (0,_utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__.defineChain)({\n id: 5,\n network: 'goerli',\n name: 'Goerli',\n nativeCurrency: { name: 'Goerli Ether', symbol: 'ETH', decimals: 18 },\n rpcUrls: {\n alchemy: {\n http: ['https://eth-goerli.g.alchemy.com/v2'],\n webSocket: ['wss://eth-goerli.g.alchemy.com/v2'],\n },\n infura: {\n http: ['https://goerli.infura.io/v3'],\n webSocket: ['wss://goerli.infura.io/ws/v3'],\n },\n default: {\n http: ['https://rpc.ankr.com/eth_goerli'],\n },\n public: {\n http: ['https://rpc.ankr.com/eth_goerli'],\n },\n },\n blockExplorers: {\n etherscan: {\n name: 'Etherscan',\n url: 'https://goerli.etherscan.io',\n },\n default: {\n name: 'Etherscan',\n url: 'https://goerli.etherscan.io',\n },\n },\n contracts: {\n ensRegistry: {\n address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',\n },\n ensUniversalResolver: {\n address: '0x56522D00C410a43BFfDF00a9A569489297385790',\n blockCreated: 8765204,\n },\n multicall3: {\n address: '0xca11bde05977b3631167028862be2a173976ca11',\n blockCreated: 6507670,\n },\n },\n testnet: true,\n});\n//# sourceMappingURL=goerli.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/chains/definitions/goerli.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/chains/definitions/mainnet.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/chains/definitions/mainnet.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ mainnet: () => (/* binding */ mainnet)\n/* harmony export */ });\n/* harmony import */ var _utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/chain/defineChain.js */ \"./node_modules/viem/_esm/utils/chain/defineChain.js\");\n\nconst mainnet = /*#__PURE__*/ (0,_utils_chain_defineChain_js__WEBPACK_IMPORTED_MODULE_0__.defineChain)({\n id: 1,\n network: 'homestead',\n name: 'Ethereum',\n nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },\n rpcUrls: {\n alchemy: {\n http: ['https://eth-mainnet.g.alchemy.com/v2'],\n webSocket: ['wss://eth-mainnet.g.alchemy.com/v2'],\n },\n infura: {\n http: ['https://mainnet.infura.io/v3'],\n webSocket: ['wss://mainnet.infura.io/ws/v3'],\n },\n default: {\n http: ['https://cloudflare-eth.com'],\n },\n public: {\n http: ['https://cloudflare-eth.com'],\n },\n },\n blockExplorers: {\n etherscan: {\n name: 'Etherscan',\n url: 'https://etherscan.io',\n },\n default: {\n name: 'Etherscan',\n url: 'https://etherscan.io',\n },\n },\n contracts: {\n ensRegistry: {\n address: '0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e',\n },\n ensUniversalResolver: {\n address: '0xc0497E381f536Be9ce14B0dD3817cBcAe57d2F62',\n blockCreated: 16966585,\n },\n multicall3: {\n address: '0xca11bde05977b3631167028862be2a173976ca11',\n blockCreated: 14353601,\n },\n },\n});\n//# sourceMappingURL=mainnet.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/chains/definitions/mainnet.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/createClient.js":
/*!********************************************************!*\
!*** ./node_modules/viem/_esm/clients/createClient.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createClient: () => (/* binding */ createClient)\n/* harmony export */ });\n/* harmony import */ var _utils_accounts_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/accounts.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _utils_uid_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/uid.js */ \"./node_modules/viem/_esm/utils/uid.js\");\n\n\nfunction createClient(parameters) {\n const { batch, cacheTime = parameters.pollingInterval ?? 4000, key = 'base', name = 'Base Client', pollingInterval = 4000, type = 'base', } = parameters;\n const chain = parameters.chain;\n const account = parameters.account\n ? (0,_utils_accounts_js__WEBPACK_IMPORTED_MODULE_0__.parseAccount)(parameters.account)\n : undefined;\n const { config, request, value } = parameters.transport({\n chain,\n pollingInterval,\n });\n const transport = { ...config, ...value };\n const client = {\n account,\n batch,\n cacheTime,\n chain,\n key,\n name,\n pollingInterval,\n request,\n transport,\n type,\n uid: (0,_utils_uid_js__WEBPACK_IMPORTED_MODULE_1__.uid)(),\n };\n function extend(base) {\n return (extendFn) => {\n const extended = extendFn(base);\n for (const key in client)\n delete extended[key];\n const combined = { ...base, ...extended };\n return Object.assign(combined, { extend: extend(combined) });\n };\n }\n return Object.assign(client, { extend: extend(client) });\n}\n//# sourceMappingURL=createClient.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/createClient.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/createPublicClient.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/clients/createPublicClient.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createPublicClient: () => (/* binding */ createPublicClient)\n/* harmony export */ });\n/* harmony import */ var _createClient_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createClient.js */ \"./node_modules/viem/_esm/clients/createClient.js\");\n/* harmony import */ var _decorators_public_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./decorators/public.js */ \"./node_modules/viem/_esm/clients/decorators/public.js\");\n\n\nfunction createPublicClient(parameters) {\n const { key = 'public', name = 'Public Client' } = parameters;\n const client = (0,_createClient_js__WEBPACK_IMPORTED_MODULE_0__.createClient)({\n ...parameters,\n key,\n name,\n type: 'publicClient',\n });\n return client.extend(_decorators_public_js__WEBPACK_IMPORTED_MODULE_1__.publicActions);\n}\n//# sourceMappingURL=createPublicClient.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/createPublicClient.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/createWalletClient.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/clients/createWalletClient.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createWalletClient: () => (/* binding */ createWalletClient)\n/* harmony export */ });\n/* harmony import */ var _createClient_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createClient.js */ \"./node_modules/viem/_esm/clients/createClient.js\");\n/* harmony import */ var _decorators_wallet_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./decorators/wallet.js */ \"./node_modules/viem/_esm/clients/decorators/wallet.js\");\n\n\nfunction createWalletClient(parameters) {\n const { key = 'wallet', name = 'Wallet Client', transport } = parameters;\n const client = (0,_createClient_js__WEBPACK_IMPORTED_MODULE_0__.createClient)({\n ...parameters,\n key,\n name,\n transport: (opts) => transport({ ...opts, retryCount: 0 }),\n type: 'walletClient',\n });\n return client.extend(_decorators_wallet_js__WEBPACK_IMPORTED_MODULE_1__.walletActions);\n}\n//# sourceMappingURL=createWalletClient.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/createWalletClient.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/decorators/public.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/clients/decorators/public.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ publicActions: () => (/* binding */ publicActions)\n/* harmony export */ });\n/* harmony import */ var _actions_ens_getEnsAddress_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../actions/ens/getEnsAddress.js */ \"./node_modules/viem/_esm/actions/ens/getEnsAddress.js\");\n/* harmony import */ var _actions_ens_getEnsAvatar_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../actions/ens/getEnsAvatar.js */ \"./node_modules/viem/_esm/actions/ens/getEnsAvatar.js\");\n/* harmony import */ var _actions_ens_getEnsName_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! ../../actions/ens/getEnsName.js */ \"./node_modules/viem/_esm/actions/ens/getEnsName.js\");\n/* harmony import */ var _actions_ens_getEnsResolver_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! ../../actions/ens/getEnsResolver.js */ \"./node_modules/viem/_esm/actions/ens/getEnsResolver.js\");\n/* harmony import */ var _actions_ens_getEnsText_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! ../../actions/ens/getEnsText.js */ \"./node_modules/viem/_esm/actions/ens/getEnsText.js\");\n/* harmony import */ var _actions_public_call_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../actions/public/call.js */ \"./node_modules/viem/_esm/actions/public/call.js\");\n/* harmony import */ var _actions_public_createBlockFilter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../actions/public/createBlockFilter.js */ \"./node_modules/viem/_esm/actions/public/createBlockFilter.js\");\n/* harmony import */ var _actions_public_createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../actions/public/createContractEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createContractEventFilter.js\");\n/* harmony import */ var _actions_public_createEventFilter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/public/createEventFilter.js */ \"./node_modules/viem/_esm/actions/public/createEventFilter.js\");\n/* harmony import */ var _actions_public_createPendingTransactionFilter_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../actions/public/createPendingTransactionFilter.js */ \"./node_modules/viem/_esm/actions/public/createPendingTransactionFilter.js\");\n/* harmony import */ var _actions_public_estimateContractGas_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../actions/public/estimateContractGas.js */ \"./node_modules/viem/_esm/actions/public/estimateContractGas.js\");\n/* harmony import */ var _actions_public_estimateFeesPerGas_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! ../../actions/public/estimateFeesPerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateFeesPerGas.js\");\n/* harmony import */ var _actions_public_estimateGas_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../actions/public/estimateGas.js */ \"./node_modules/viem/_esm/actions/public/estimateGas.js\");\n/* harmony import */ var _actions_public_estimateMaxPriorityFeePerGas_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! ../../actions/public/estimateMaxPriorityFeePerGas.js */ \"./node_modules/viem/_esm/actions/public/estimateMaxPriorityFeePerGas.js\");\n/* harmony import */ var _actions_public_getBalance_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../actions/public/getBalance.js */ \"./node_modules/viem/_esm/actions/public/getBalance.js\");\n/* harmony import */ var _actions_public_getBlock_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../actions/public/getBlock.js */ \"./node_modules/viem/_esm/actions/public/getBlock.js\");\n/* harmony import */ var _actions_public_getBlockNumber_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../actions/public/getBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/getBlockNumber.js\");\n/* harmony import */ var _actions_public_getBlockTransactionCount_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../actions/public/getBlockTransactionCount.js */ \"./node_modules/viem/_esm/actions/public/getBlockTransactionCount.js\");\n/* harmony import */ var _actions_public_getBytecode_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../actions/public/getBytecode.js */ \"./node_modules/viem/_esm/actions/public/getBytecode.js\");\n/* harmony import */ var _actions_public_getChainId_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../actions/public/getChainId.js */ \"./node_modules/viem/_esm/actions/public/getChainId.js\");\n/* harmony import */ var _actions_public_getContractEvents_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../actions/public/getContractEvents.js */ \"./node_modules/viem/_esm/actions/public/getContractEvents.js\");\n/* harmony import */ var _actions_public_getFeeHistory_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! ../../actions/public/getFeeHistory.js */ \"./node_modules/viem/_esm/actions/public/getFeeHistory.js\");\n/* harmony import */ var _actions_public_getFilterChanges_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! ../../actions/public/getFilterChanges.js */ \"./node_modules/viem/_esm/actions/public/getFilterChanges.js\");\n/* harmony import */ var _actions_public_getFilterLogs_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! ../../actions/public/getFilterLogs.js */ \"./node_modules/viem/_esm/actions/public/getFilterLogs.js\");\n/* harmony import */ var _actions_public_getGasPrice_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! ../../actions/public/getGasPrice.js */ \"./node_modules/viem/_esm/actions/public/getGasPrice.js\");\n/* harmony import */ var _actions_public_getLogs_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! ../../actions/public/getLogs.js */ \"./node_modules/viem/_esm/actions/public/getLogs.js\");\n/* harmony import */ var _actions_public_getProof_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! ../../actions/public/getProof.js */ \"./node_modules/viem/_esm/actions/public/getProof.js\");\n/* harmony import */ var _actions_public_getStorageAt_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(/*! ../../actions/public/getStorageAt.js */ \"./node_modules/viem/_esm/actions/public/getStorageAt.js\");\n/* harmony import */ var _actions_public_getTransaction_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(/*! ../../actions/public/getTransaction.js */ \"./node_modules/viem/_esm/actions/public/getTransaction.js\");\n/* harmony import */ var _actions_public_getTransactionConfirmations_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(/*! ../../actions/public/getTransactionConfirmations.js */ \"./node_modules/viem/_esm/actions/public/getTransactionConfirmations.js\");\n/* harmony import */ var _actions_public_getTransactionCount_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(/*! ../../actions/public/getTransactionCount.js */ \"./node_modules/viem/_esm/actions/public/getTransactionCount.js\");\n/* harmony import */ var _actions_public_getTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(/*! ../../actions/public/getTransactionReceipt.js */ \"./node_modules/viem/_esm/actions/public/getTransactionReceipt.js\");\n/* harmony import */ var _actions_public_multicall_js__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(/*! ../../actions/public/multicall.js */ \"./node_modules/viem/_esm/actions/public/multicall.js\");\n/* harmony import */ var _actions_public_readContract_js__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(/*! ../../actions/public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n/* harmony import */ var _actions_public_simulateContract_js__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(/*! ../../actions/public/simulateContract.js */ \"./node_modules/viem/_esm/actions/public/simulateContract.js\");\n/* harmony import */ var _actions_public_uninstallFilter_js__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(/*! ../../actions/public/uninstallFilter.js */ \"./node_modules/viem/_esm/actions/public/uninstallFilter.js\");\n/* harmony import */ var _actions_public_verifyMessage_js__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(/*! ../../actions/public/verifyMessage.js */ \"./node_modules/viem/_esm/actions/public/verifyMessage.js\");\n/* harmony import */ var _actions_public_verifyTypedData_js__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(/*! ../../actions/public/verifyTypedData.js */ \"./node_modules/viem/_esm/actions/public/verifyTypedData.js\");\n/* harmony import */ var _actions_public_waitForTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(/*! ../../actions/public/waitForTransactionReceipt.js */ \"./node_modules/viem/_esm/actions/public/waitForTransactionReceipt.js\");\n/* harmony import */ var _actions_public_watchBlockNumber_js__WEBPACK_IMPORTED_MODULE_42__ = __webpack_require__(/*! ../../actions/public/watchBlockNumber.js */ \"./node_modules/viem/_esm/actions/public/watchBlockNumber.js\");\n/* harmony import */ var _actions_public_watchBlocks_js__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(/*! ../../actions/public/watchBlocks.js */ \"./node_modules/viem/_esm/actions/public/watchBlocks.js\");\n/* harmony import */ var _actions_public_watchContractEvent_js__WEBPACK_IMPORTED_MODULE_43__ = __webpack_require__(/*! ../../actions/public/watchContractEvent.js */ \"./node_modules/viem/_esm/actions/public/watchContractEvent.js\");\n/* harmony import */ var _actions_public_watchEvent_js__WEBPACK_IMPORTED_MODULE_44__ = __webpack_require__(/*! ../../actions/public/watchEvent.js */ \"./node_modules/viem/_esm/actions/public/watchEvent.js\");\n/* harmony import */ var _actions_public_watchPendingTransactions_js__WEBPACK_IMPORTED_MODULE_45__ = __webpack_require__(/*! ../../actions/public/watchPendingTransactions.js */ \"./node_modules/viem/_esm/actions/public/watchPendingTransactions.js\");\n/* harmony import */ var _actions_wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(/*! ../../actions/wallet/prepareTransactionRequest.js */ \"./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js\");\n/* harmony import */ var _actions_wallet_sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(/*! ../../actions/wallet/sendRawTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendRawTransaction.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\nfunction publicActions(client) {\n return {\n call: (args) => (0,_actions_public_call_js__WEBPACK_IMPORTED_MODULE_0__.call)(client, args),\n createBlockFilter: () => (0,_actions_public_createBlockFilter_js__WEBPACK_IMPORTED_MODULE_1__.createBlockFilter)(client),\n createContractEventFilter: (args) => (0,_actions_public_createContractEventFilter_js__WEBPACK_IMPORTED_MODULE_2__.createContractEventFilter)(client, args),\n createEventFilter: (args) => (0,_actions_public_createEventFilter_js__WEBPACK_IMPORTED_MODULE_3__.createEventFilter)(client, args),\n createPendingTransactionFilter: () => (0,_actions_public_createPendingTransactionFilter_js__WEBPACK_IMPORTED_MODULE_4__.createPendingTransactionFilter)(client),\n estimateContractGas: (args) => (0,_actions_public_estimateContractGas_js__WEBPACK_IMPORTED_MODULE_5__.estimateContractGas)(client, args),\n estimateGas: (args) => (0,_actions_public_estimateGas_js__WEBPACK_IMPORTED_MODULE_6__.estimateGas)(client, args),\n getBalance: (args) => (0,_actions_public_getBalance_js__WEBPACK_IMPORTED_MODULE_7__.getBalance)(client, args),\n getBlock: (args) => (0,_actions_public_getBlock_js__WEBPACK_IMPORTED_MODULE_8__.getBlock)(client, args),\n getBlockNumber: (args) => (0,_actions_public_getBlockNumber_js__WEBPACK_IMPORTED_MODULE_9__.getBlockNumber)(client, args),\n getBlockTransactionCount: (args) => (0,_actions_public_getBlockTransactionCount_js__WEBPACK_IMPORTED_MODULE_10__.getBlockTransactionCount)(client, args),\n getBytecode: (args) => (0,_actions_public_getBytecode_js__WEBPACK_IMPORTED_MODULE_11__.getBytecode)(client, args),\n getChainId: () => (0,_actions_public_getChainId_js__WEBPACK_IMPORTED_MODULE_12__.getChainId)(client),\n getContractEvents: (args) => (0,_actions_public_getContractEvents_js__WEBPACK_IMPORTED_MODULE_13__.getContractEvents)(client, args),\n getEnsAddress: (args) => (0,_actions_ens_getEnsAddress_js__WEBPACK_IMPORTED_MODULE_14__.getEnsAddress)(client, args),\n getEnsAvatar: (args) => (0,_actions_ens_getEnsAvatar_js__WEBPACK_IMPORTED_MODULE_15__.getEnsAvatar)(client, args),\n getEnsName: (args) => (0,_actions_ens_getEnsName_js__WEBPACK_IMPORTED_MODULE_16__.getEnsName)(client, args),\n getEnsResolver: (args) => (0,_actions_ens_getEnsResolver_js__WEBPACK_IMPORTED_MODULE_17__.getEnsResolver)(client, args),\n getEnsText: (args) => (0,_actions_ens_getEnsText_js__WEBPACK_IMPORTED_MODULE_18__.getEnsText)(client, args),\n getFeeHistory: (args) => (0,_actions_public_getFeeHistory_js__WEBPACK_IMPORTED_MODULE_19__.getFeeHistory)(client, args),\n estimateFeesPerGas: (args) => (0,_actions_public_estimateFeesPerGas_js__WEBPACK_IMPORTED_MODULE_20__.estimateFeesPerGas)(client, args),\n getFilterChanges: (args) => (0,_actions_public_getFilterChanges_js__WEBPACK_IMPORTED_MODULE_21__.getFilterChanges)(client, args),\n getFilterLogs: (args) => (0,_actions_public_getFilterLogs_js__WEBPACK_IMPORTED_MODULE_22__.getFilterLogs)(client, args),\n getGasPrice: () => (0,_actions_public_getGasPrice_js__WEBPACK_IMPORTED_MODULE_23__.getGasPrice)(client),\n getLogs: (args) => (0,_actions_public_getLogs_js__WEBPACK_IMPORTED_MODULE_24__.getLogs)(client, args),\n getProof: (args) => (0,_actions_public_getProof_js__WEBPACK_IMPORTED_MODULE_25__.getProof)(client, args),\n estimateMaxPriorityFeePerGas: (args) => (0,_actions_public_estimateMaxPriorityFeePerGas_js__WEBPACK_IMPORTED_MODULE_26__.estimateMaxPriorityFeePerGas)(client, args),\n getStorageAt: (args) => (0,_actions_public_getStorageAt_js__WEBPACK_IMPORTED_MODULE_27__.getStorageAt)(client, args),\n getTransaction: (args) => (0,_actions_public_getTransaction_js__WEBPACK_IMPORTED_MODULE_28__.getTransaction)(client, args),\n getTransactionConfirmations: (args) => (0,_actions_public_getTransactionConfirmations_js__WEBPACK_IMPORTED_MODULE_29__.getTransactionConfirmations)(client, args),\n getTransactionCount: (args) => (0,_actions_public_getTransactionCount_js__WEBPACK_IMPORTED_MODULE_30__.getTransactionCount)(client, args),\n getTransactionReceipt: (args) => (0,_actions_public_getTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_31__.getTransactionReceipt)(client, args),\n multicall: (args) => (0,_actions_public_multicall_js__WEBPACK_IMPORTED_MODULE_32__.multicall)(client, args),\n prepareTransactionRequest: (args) => (0,_actions_wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_33__.prepareTransactionRequest)(client, args),\n readContract: (args) => (0,_actions_public_readContract_js__WEBPACK_IMPORTED_MODULE_34__.readContract)(client, args),\n sendRawTransaction: (args) => (0,_actions_wallet_sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_35__.sendRawTransaction)(client, args),\n simulateContract: (args) => (0,_actions_public_simulateContract_js__WEBPACK_IMPORTED_MODULE_36__.simulateContract)(client, args),\n verifyMessage: (args) => (0,_actions_public_verifyMessage_js__WEBPACK_IMPORTED_MODULE_37__.verifyMessage)(client, args),\n verifyTypedData: (args) => (0,_actions_public_verifyTypedData_js__WEBPACK_IMPORTED_MODULE_38__.verifyTypedData)(client, args),\n uninstallFilter: (args) => (0,_actions_public_uninstallFilter_js__WEBPACK_IMPORTED_MODULE_39__.uninstallFilter)(client, args),\n waitForTransactionReceipt: (args) => (0,_actions_public_waitForTransactionReceipt_js__WEBPACK_IMPORTED_MODULE_40__.waitForTransactionReceipt)(client, args),\n watchBlocks: (args) => (0,_actions_public_watchBlocks_js__WEBPACK_IMPORTED_MODULE_41__.watchBlocks)(client, args),\n watchBlockNumber: (args) => (0,_actions_public_watchBlockNumber_js__WEBPACK_IMPORTED_MODULE_42__.watchBlockNumber)(client, args),\n watchContractEvent: (args) => (0,_actions_public_watchContractEvent_js__WEBPACK_IMPORTED_MODULE_43__.watchContractEvent)(client, args),\n watchEvent: (args) => (0,_actions_public_watchEvent_js__WEBPACK_IMPORTED_MODULE_44__.watchEvent)(client, args),\n watchPendingTransactions: (args) => (0,_actions_public_watchPendingTransactions_js__WEBPACK_IMPORTED_MODULE_45__.watchPendingTransactions)(client, args),\n };\n}\n//# sourceMappingURL=public.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/decorators/public.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/decorators/wallet.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/clients/decorators/wallet.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ walletActions: () => (/* binding */ walletActions)\n/* harmony export */ });\n/* harmony import */ var _actions_public_getChainId_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../actions/public/getChainId.js */ \"./node_modules/viem/_esm/actions/public/getChainId.js\");\n/* harmony import */ var _actions_wallet_addChain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../actions/wallet/addChain.js */ \"./node_modules/viem/_esm/actions/wallet/addChain.js\");\n/* harmony import */ var _actions_wallet_deployContract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../actions/wallet/deployContract.js */ \"./node_modules/viem/_esm/actions/wallet/deployContract.js\");\n/* harmony import */ var _actions_wallet_getAddresses_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../actions/wallet/getAddresses.js */ \"./node_modules/viem/_esm/actions/wallet/getAddresses.js\");\n/* harmony import */ var _actions_wallet_getPermissions_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../actions/wallet/getPermissions.js */ \"./node_modules/viem/_esm/actions/wallet/getPermissions.js\");\n/* harmony import */ var _actions_wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../actions/wallet/prepareTransactionRequest.js */ \"./node_modules/viem/_esm/actions/wallet/prepareTransactionRequest.js\");\n/* harmony import */ var _actions_wallet_requestAddresses_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../actions/wallet/requestAddresses.js */ \"./node_modules/viem/_esm/actions/wallet/requestAddresses.js\");\n/* harmony import */ var _actions_wallet_requestPermissions_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../actions/wallet/requestPermissions.js */ \"./node_modules/viem/_esm/actions/wallet/requestPermissions.js\");\n/* harmony import */ var _actions_wallet_sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../actions/wallet/sendRawTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendRawTransaction.js\");\n/* harmony import */ var _actions_wallet_sendTransaction_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../actions/wallet/sendTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/sendTransaction.js\");\n/* harmony import */ var _actions_wallet_signMessage_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../actions/wallet/signMessage.js */ \"./node_modules/viem/_esm/actions/wallet/signMessage.js\");\n/* harmony import */ var _actions_wallet_signTransaction_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../actions/wallet/signTransaction.js */ \"./node_modules/viem/_esm/actions/wallet/signTransaction.js\");\n/* harmony import */ var _actions_wallet_signTypedData_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../actions/wallet/signTypedData.js */ \"./node_modules/viem/_esm/actions/wallet/signTypedData.js\");\n/* harmony import */ var _actions_wallet_switchChain_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../actions/wallet/switchChain.js */ \"./node_modules/viem/_esm/actions/wallet/switchChain.js\");\n/* harmony import */ var _actions_wallet_watchAsset_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ../../actions/wallet/watchAsset.js */ \"./node_modules/viem/_esm/actions/wallet/watchAsset.js\");\n/* harmony import */ var _actions_wallet_writeContract_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ../../actions/wallet/writeContract.js */ \"./node_modules/viem/_esm/actions/wallet/writeContract.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction walletActions(client) {\n return {\n addChain: (args) => (0,_actions_wallet_addChain_js__WEBPACK_IMPORTED_MODULE_0__.addChain)(client, args),\n deployContract: (args) => (0,_actions_wallet_deployContract_js__WEBPACK_IMPORTED_MODULE_1__.deployContract)(client, args),\n getAddresses: () => (0,_actions_wallet_getAddresses_js__WEBPACK_IMPORTED_MODULE_2__.getAddresses)(client),\n getChainId: () => (0,_actions_public_getChainId_js__WEBPACK_IMPORTED_MODULE_3__.getChainId)(client),\n getPermissions: () => (0,_actions_wallet_getPermissions_js__WEBPACK_IMPORTED_MODULE_4__.getPermissions)(client),\n prepareTransactionRequest: (args) => (0,_actions_wallet_prepareTransactionRequest_js__WEBPACK_IMPORTED_MODULE_5__.prepareTransactionRequest)(client, args),\n requestAddresses: () => (0,_actions_wallet_requestAddresses_js__WEBPACK_IMPORTED_MODULE_6__.requestAddresses)(client),\n requestPermissions: (args) => (0,_actions_wallet_requestPermissions_js__WEBPACK_IMPORTED_MODULE_7__.requestPermissions)(client, args),\n sendRawTransaction: (args) => (0,_actions_wallet_sendRawTransaction_js__WEBPACK_IMPORTED_MODULE_8__.sendRawTransaction)(client, args),\n sendTransaction: (args) => (0,_actions_wallet_sendTransaction_js__WEBPACK_IMPORTED_MODULE_9__.sendTransaction)(client, args),\n signMessage: (args) => (0,_actions_wallet_signMessage_js__WEBPACK_IMPORTED_MODULE_10__.signMessage)(client, args),\n signTransaction: (args) => (0,_actions_wallet_signTransaction_js__WEBPACK_IMPORTED_MODULE_11__.signTransaction)(client, args),\n signTypedData: (args) => (0,_actions_wallet_signTypedData_js__WEBPACK_IMPORTED_MODULE_12__.signTypedData)(client, args),\n switchChain: (args) => (0,_actions_wallet_switchChain_js__WEBPACK_IMPORTED_MODULE_13__.switchChain)(client, args),\n watchAsset: (args) => (0,_actions_wallet_watchAsset_js__WEBPACK_IMPORTED_MODULE_14__.watchAsset)(client, args),\n writeContract: (args) => (0,_actions_wallet_writeContract_js__WEBPACK_IMPORTED_MODULE_15__.writeContract)(client, args),\n };\n}\n//# sourceMappingURL=wallet.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/decorators/wallet.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/transports/createTransport.js":
/*!**********************************************************************!*\
!*** ./node_modules/viem/_esm/clients/transports/createTransport.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createTransport: () => (/* binding */ createTransport)\n/* harmony export */ });\n/* harmony import */ var _utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/buildRequest.js */ \"./node_modules/viem/_esm/utils/buildRequest.js\");\n\n/**\n * @description Creates an transport intended to be used with a client.\n */\nfunction createTransport({ key, name, request, retryCount = 3, retryDelay = 150, timeout, type, }, value) {\n return {\n config: { key, name, request, retryCount, retryDelay, timeout, type },\n request: (0,_utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_0__.buildRequest)(request, { retryCount, retryDelay }),\n value,\n };\n}\n//# sourceMappingURL=createTransport.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/createTransport.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/transports/custom.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/clients/transports/custom.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ custom: () => (/* binding */ custom)\n/* harmony export */ });\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n/**\n * @description Creates a custom transport given an EIP-1193 compliant `request` attribute.\n */\nfunction custom(provider, config = {}) {\n const { key = 'custom', name = 'Custom Provider', retryDelay } = config;\n return ({ retryCount: defaultRetryCount }) => (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_0__.createTransport)({\n key,\n name,\n request: provider.request.bind(provider),\n retryCount: config.retryCount ?? defaultRetryCount,\n retryDelay,\n type: 'custom',\n });\n}\n//# sourceMappingURL=custom.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/custom.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/transports/fallback.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/clients/transports/fallback.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ fallback: () => (/* binding */ fallback),\n/* harmony export */ rankTransports: () => (/* binding */ rankTransports)\n/* harmony export */ });\n/* harmony import */ var _utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/buildRequest.js */ \"./node_modules/viem/_esm/utils/buildRequest.js\");\n/* harmony import */ var _utils_wait_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/wait.js */ \"./node_modules/viem/_esm/utils/wait.js\");\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n\n\nfunction fallback(transports_, config = {}) {\n const { key = 'fallback', name = 'Fallback', rank = false, retryCount, retryDelay, } = config;\n return ({ chain, pollingInterval = 4000, timeout }) => {\n let transports = transports_;\n let onResponse = () => { };\n const transport = (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_0__.createTransport)({\n key,\n name,\n async request({ method, params }) {\n const fetch = async (i = 0) => {\n const transport = transports[i]({ chain, retryCount: 0, timeout });\n try {\n const response = await transport.request({\n method,\n params,\n });\n onResponse({\n method,\n params: params,\n response,\n transport,\n status: 'success',\n });\n return response;\n }\n catch (err) {\n onResponse({\n error: err,\n method,\n params: params,\n transport,\n status: 'error',\n });\n // If the error is deterministic, we don't need to fall back.\n // So throw the error.\n if ((0,_utils_buildRequest_js__WEBPACK_IMPORTED_MODULE_1__.isDeterministicError)(err))\n throw err;\n // If we've reached the end of the fallbacks, throw the error.\n if (i === transports.length - 1)\n throw err;\n // Otherwise, try the next fallback.\n return fetch(i + 1);\n }\n };\n return fetch();\n },\n retryCount,\n retryDelay,\n type: 'fallback',\n }, {\n onResponse: (fn) => (onResponse = fn),\n transports: transports.map((fn) => fn({ chain, retryCount: 0 })),\n });\n if (rank) {\n const rankOptions = (typeof rank === 'object' ? rank : {});\n rankTransports({\n chain,\n interval: rankOptions.interval ?? pollingInterval,\n onTransports: (transports_) => (transports = transports_),\n sampleCount: rankOptions.sampleCount,\n timeout: rankOptions.timeout,\n transports,\n weights: rankOptions.weights,\n });\n }\n return transport;\n };\n}\nfunction rankTransports({ chain, interval = 4000, onTransports, sampleCount = 10, timeout = 1000, transports, weights = {}, }) {\n const { stability: stabilityWeight = 0.7, latency: latencyWeight = 0.3 } = weights;\n const samples = [];\n const rankTransports_ = async () => {\n // 1. Take a sample from each Transport.\n const sample = await Promise.all(transports.map(async (transport) => {\n const transport_ = transport({ chain, retryCount: 0, timeout });\n const start = Date.now();\n let end;\n let success;\n try {\n await transport_.request({ method: 'net_listening' });\n success = 1;\n }\n catch {\n success = 0;\n }\n finally {\n end = Date.now();\n }\n const latency = end - start;\n return { latency, success };\n }));\n // 2. Store the sample. If we have more than `sampleCount` samples, remove\n // the oldest sample.\n samples.push(sample);\n if (samples.length > sampleCount)\n samples.shift();\n // 3. Calculate the max latency from samples.\n const maxLatency = Math.max(...samples.map((sample) => Math.max(...sample.map(({ latency }) => latency))));\n // 4. Calculate the score for each Transport.\n const scores = transports\n .map((_, i) => {\n const latencies = samples.map((sample) => sample[i].latency);\n const meanLatency = latencies.reduce((acc, latency) => acc + latency, 0) /\n latencies.length;\n const latencyScore = 1 - meanLatency / maxLatency;\n const successes = samples.map((sample) => sample[i].success);\n const stabilityScore = successes.reduce((acc, success) => acc + success, 0) /\n successes.length;\n if (stabilityScore === 0)\n return [0, i];\n return [\n latencyWeight * latencyScore + stabilityWeight * stabilityScore,\n i,\n ];\n })\n .sort((a, b) => b[0] - a[0]);\n // 5. Sort the Transports by score.\n onTransports(scores.map(([, i]) => transports[i]));\n // 6. Wait, and then rank again.\n await (0,_utils_wait_js__WEBPACK_IMPORTED_MODULE_2__.wait)(interval);\n rankTransports_();\n };\n rankTransports_();\n}\n//# sourceMappingURL=fallback.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/fallback.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/transports/http.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/clients/transports/http.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ http: () => (/* binding */ http)\n/* harmony export */ });\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transport.js */ \"./node_modules/viem/_esm/errors/transport.js\");\n/* harmony import */ var _utils_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/promise/createBatchScheduler.js */ \"./node_modules/viem/_esm/utils/promise/createBatchScheduler.js\");\n/* harmony import */ var _utils_rpc_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../utils/rpc.js */ \"./node_modules/viem/_esm/utils/rpc.js\");\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n\n\n\n\n/**\n * @description Creates a HTTP transport that connects to a JSON-RPC API.\n */\nfunction http(\n/** URL of the JSON-RPC API. Defaults to the chain's public RPC URL. */\nurl, config = {}) {\n const { batch, fetchOptions, key = 'http', name = 'HTTP JSON-RPC', retryDelay, } = config;\n return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {\n const { batchSize = 1000, wait = 0 } = typeof batch === 'object' ? batch : {};\n const retryCount = config.retryCount ?? retryCount_;\n const timeout = timeout_ ?? config.timeout ?? 10000;\n const url_ = url || chain?.rpcUrls.default.http[0];\n if (!url_)\n throw new _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__.UrlRequiredError();\n return (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_1__.createTransport)({\n key,\n name,\n async request({ method, params }) {\n const body = { method, params };\n const { schedule } = (0,_utils_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_2__.createBatchScheduler)({\n id: `${url}`,\n wait,\n shouldSplitBatch(requests) {\n return requests.length > batchSize;\n },\n fn: (body) => _utils_rpc_js__WEBPACK_IMPORTED_MODULE_3__.rpc.http(url_, {\n body,\n fetchOptions,\n timeout,\n }),\n sort: (a, b) => a.id - b.id,\n });\n const fn = async (body) => batch\n ? schedule(body)\n : [await _utils_rpc_js__WEBPACK_IMPORTED_MODULE_3__.rpc.http(url_, { body, fetchOptions, timeout })];\n const [{ error, result }] = await fn(body);\n if (error)\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_4__.RpcRequestError({\n body,\n error,\n url: url_,\n });\n return result;\n },\n retryCount,\n retryDelay,\n timeout,\n type: 'http',\n }, {\n fetchOptions,\n url,\n });\n };\n}\n//# sourceMappingURL=http.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/http.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/clients/transports/webSocket.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/clients/transports/webSocket.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ webSocket: () => (/* binding */ webSocket)\n/* harmony export */ });\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transport.js */ \"./node_modules/viem/_esm/errors/transport.js\");\n/* harmony import */ var _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/rpc.js */ \"./node_modules/viem/_esm/utils/rpc.js\");\n/* harmony import */ var _createTransport_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./createTransport.js */ \"./node_modules/viem/_esm/clients/transports/createTransport.js\");\n\n\n\n\n/**\n * @description Creates a WebSocket transport that connects to a JSON-RPC API.\n */\nfunction webSocket(\n/** URL of the JSON-RPC API. Defaults to the chain's public RPC URL. */\nurl, config = {}) {\n const { key = 'webSocket', name = 'WebSocket JSON-RPC', retryDelay } = config;\n return ({ chain, retryCount: retryCount_, timeout: timeout_ }) => {\n const retryCount = config.retryCount ?? retryCount_;\n const timeout = timeout_ ?? config.timeout ?? 10000;\n const url_ = url || chain?.rpcUrls.default.webSocket?.[0];\n if (!url_)\n throw new _errors_transport_js__WEBPACK_IMPORTED_MODULE_0__.UrlRequiredError();\n return (0,_createTransport_js__WEBPACK_IMPORTED_MODULE_1__.createTransport)({\n key,\n name,\n async request({ method, params }) {\n const body = { method, params };\n const socket = await (0,_utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.getSocket)(url_);\n const { error, result } = await _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.rpc.webSocketAsync(socket, {\n body,\n timeout,\n });\n if (error)\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_3__.RpcRequestError({\n body,\n error,\n url: url_,\n });\n return result;\n },\n retryCount,\n retryDelay,\n timeout,\n type: 'webSocket',\n }, {\n getSocket() {\n return (0,_utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.getSocket)(url_);\n },\n async subscribe({ params, onData, onError }) {\n const socket = await (0,_utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.getSocket)(url_);\n const { result: subscriptionId } = await new Promise((resolve, reject) => _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.rpc.webSocket(socket, {\n body: {\n method: 'eth_subscribe',\n params,\n },\n onResponse(response) {\n if (response.error) {\n reject(response.error);\n onError?.(response.error);\n return;\n }\n if (typeof response.id === 'number') {\n resolve(response);\n return;\n }\n if (response.method !== 'eth_subscription')\n return;\n onData(response.params);\n },\n }));\n return {\n subscriptionId,\n async unsubscribe() {\n return new Promise((resolve) => _utils_rpc_js__WEBPACK_IMPORTED_MODULE_2__.rpc.webSocket(socket, {\n body: {\n method: 'eth_unsubscribe',\n params: [subscriptionId],\n },\n onResponse: resolve,\n }));\n },\n };\n },\n });\n };\n}\n//# sourceMappingURL=webSocket.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/clients/transports/webSocket.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/constants/abis.js":
/*!**************************************************!*\
!*** ./node_modules/viem/_esm/constants/abis.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ addressResolverAbi: () => (/* binding */ addressResolverAbi),\n/* harmony export */ multicall3Abi: () => (/* binding */ multicall3Abi),\n/* harmony export */ smartAccountAbi: () => (/* binding */ smartAccountAbi),\n/* harmony export */ textResolverAbi: () => (/* binding */ textResolverAbi),\n/* harmony export */ universalResolverResolveAbi: () => (/* binding */ universalResolverResolveAbi),\n/* harmony export */ universalResolverReverseAbi: () => (/* binding */ universalResolverReverseAbi),\n/* harmony export */ universalSignatureValidatorAbi: () => (/* binding */ universalSignatureValidatorAbi)\n/* harmony export */ });\n/* [Multicall3](https://github.com/mds1/multicall) */\nconst multicall3Abi = [\n {\n inputs: [\n {\n components: [\n {\n name: 'target',\n type: 'address',\n },\n {\n name: 'allowFailure',\n type: 'bool',\n },\n {\n name: 'callData',\n type: 'bytes',\n },\n ],\n name: 'calls',\n type: 'tuple[]',\n },\n ],\n name: 'aggregate3',\n outputs: [\n {\n components: [\n {\n name: 'success',\n type: 'bool',\n },\n {\n name: 'returnData',\n type: 'bytes',\n },\n ],\n name: 'returnData',\n type: 'tuple[]',\n },\n ],\n stateMutability: 'view',\n type: 'function',\n },\n];\nconst universalResolverErrors = [\n {\n inputs: [],\n name: 'ResolverNotFound',\n type: 'error',\n },\n {\n inputs: [],\n name: 'ResolverWildcardNotSupported',\n type: 'error',\n },\n];\nconst universalResolverResolveAbi = [\n ...universalResolverErrors,\n {\n name: 'resolve',\n type: 'function',\n stateMutability: 'view',\n inputs: [\n { name: 'name', type: 'bytes' },\n { name: 'data', type: 'bytes' },\n ],\n outputs: [\n { name: '', type: 'bytes' },\n { name: 'address', type: 'address' },\n ],\n },\n];\nconst universalResolverReverseAbi = [\n ...universalResolverErrors,\n {\n name: 'reverse',\n type: 'function',\n stateMutability: 'view',\n inputs: [{ type: 'bytes', name: 'reverseName' }],\n outputs: [\n { type: 'string', name: 'resolvedName' },\n { type: 'address', name: 'resolvedAddress' },\n { type: 'address', name: 'reverseResolver' },\n { type: 'address', name: 'resolver' },\n ],\n },\n];\nconst textResolverAbi = [\n {\n name: 'text',\n type: 'function',\n stateMutability: 'view',\n inputs: [\n { name: 'name', type: 'bytes32' },\n { name: 'key', type: 'string' },\n ],\n outputs: [{ name: '', type: 'string' }],\n },\n];\nconst addressResolverAbi = [\n {\n name: 'addr',\n type: 'function',\n stateMutability: 'view',\n inputs: [{ name: 'name', type: 'bytes32' }],\n outputs: [{ name: '', type: 'address' }],\n },\n {\n name: 'addr',\n type: 'function',\n stateMutability: 'view',\n inputs: [\n { name: 'name', type: 'bytes32' },\n { name: 'coinType', type: 'uint256' },\n ],\n outputs: [{ name: '', type: 'bytes' }],\n },\n];\n// ERC-1271\n// isValidSignature(bytes32 hash, bytes signature) → bytes4 magicValue\nconst smartAccountAbi = [\n {\n name: 'isValidSignature',\n type: 'function',\n stateMutability: 'view',\n inputs: [\n { name: 'hash', type: 'bytes32' },\n { name: 'signature', type: 'bytes' },\n ],\n outputs: [{ name: '', type: 'bytes4' }],\n },\n];\n// ERC-6492 - universal deployless signature validator contract\n// constructor(address _signer, bytes32 _hash, bytes _signature) → bytes4 returnValue\n// returnValue is either 0x1 (valid) or 0x0 (invalid)\nconst universalSignatureValidatorAbi = [\n {\n inputs: [\n {\n internalType: 'address',\n name: '_signer',\n type: 'address',\n },\n {\n internalType: 'bytes32',\n name: '_hash',\n type: 'bytes32',\n },\n {\n internalType: 'bytes',\n name: '_signature',\n type: 'bytes',\n },\n ],\n stateMutability: 'nonpayable',\n type: 'constructor',\n },\n];\n//# sourceMappingURL=abis.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/abis.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/constants/contract.js":
/*!******************************************************!*\
!*** ./node_modules/viem/_esm/constants/contract.js ***!
\******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ aggregate3Signature: () => (/* binding */ aggregate3Signature)\n/* harmony export */ });\nconst aggregate3Signature = '0x82ad56cb';\n//# sourceMappingURL=contract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/contract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/constants/contracts.js":
/*!*******************************************************!*\
!*** ./node_modules/viem/_esm/constants/contracts.js ***!
\*******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ universalSignatureValidatorByteCode: () => (/* binding */ universalSignatureValidatorByteCode)\n/* harmony export */ });\nconst universalSignatureValidatorByteCode = '0x60806040523480156200001157600080fd5b50604051620007003803806200070083398101604081905262000034916200056f565b6000620000438484846200004f565b9050806000526001601ff35b600080846001600160a01b0316803b806020016040519081016040528181526000908060200190933c90507f6492649264926492649264926492649264926492649264926492649264926492620000a68462000451565b036200021f57600060608085806020019051810190620000c79190620005ce565b8651929550909350915060000362000192576000836001600160a01b031683604051620000f5919062000643565b6000604051808303816000865af19150503d806000811462000134576040519150601f19603f3d011682016040523d82523d6000602084013e62000139565b606091505b5050905080620001905760405162461bcd60e51b815260206004820152601e60248201527f5369676e617475726556616c696461746f723a206465706c6f796d656e74000060448201526064015b60405180910390fd5b505b604051630b135d3f60e11b808252906001600160a01b038a1690631626ba7e90620001c4908b90869060040162000661565b602060405180830381865afa158015620001e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020891906200069d565b6001600160e01b031916149450505050506200044a565b805115620002b157604051630b135d3f60e11b808252906001600160a01b03871690631626ba7e9062000259908890889060040162000661565b602060405180830381865afa15801562000277573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029d91906200069d565b6001600160e01b031916149150506200044a565b8251604114620003195760405162461bcd60e51b815260206004820152603a6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e6174757265206c656e677468000000000000606482015260840162000187565b620003236200046b565b506020830151604080850151855186939260009185919081106200034b576200034b620006c9565b016020015160f81c9050601b81148015906200036b57508060ff16601c14155b15620003cf5760405162461bcd60e51b815260206004820152603b6024820152600080516020620006e083398151915260448201527f3a20696e76616c6964207369676e617475726520762076616c75650000000000606482015260840162000187565b6040805160008152602081018083528a905260ff83169181019190915260608101849052608081018390526001600160a01b038a169060019060a0016020604051602081039080840390855afa1580156200042e573d6000803e3d6000fd5b505050602060405103516001600160a01b031614955050505050505b9392505050565b60006020825110156200046357600080fd5b508051015190565b60405180606001604052806003906020820280368337509192915050565b6001600160a01b03811681146200049f57600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620004d5578181015183820152602001620004bb565b50506000910152565b600082601f830112620004f057600080fd5b81516001600160401b03808211156200050d576200050d620004a2565b604051601f8301601f19908116603f01168101908282118183101715620005385762000538620004a2565b816040528381528660208588010111156200055257600080fd5b62000565846020830160208901620004b8565b9695505050505050565b6000806000606084860312156200058557600080fd5b8351620005928162000489565b6020850151604086015191945092506001600160401b03811115620005b657600080fd5b620005c486828701620004de565b9150509250925092565b600080600060608486031215620005e457600080fd5b8351620005f18162000489565b60208501519093506001600160401b03808211156200060f57600080fd5b6200061d87838801620004de565b935060408601519150808211156200063457600080fd5b50620005c486828701620004de565b6000825162000657818460208701620004b8565b9190910192915050565b828152604060208201526000825180604084015262000688816060850160208701620004b8565b601f01601f1916919091016060019392505050565b600060208284031215620006b057600080fd5b81516001600160e01b0319811681146200044a57600080fd5b634e487b7160e01b600052603260045260246000fdfe5369676e617475726556616c696461746f72237265636f7665725369676e6572';\n//# sourceMappingURL=contracts.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/contracts.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/constants/solidity.js":
/*!******************************************************!*\
!*** ./node_modules/viem/_esm/constants/solidity.js ***!
\******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ panicReasons: () => (/* binding */ panicReasons),\n/* harmony export */ solidityError: () => (/* binding */ solidityError),\n/* harmony export */ solidityPanic: () => (/* binding */ solidityPanic)\n/* harmony export */ });\n// https://docs.soliditylang.org/en/v0.8.16/control-structures.html#panic-via-assert-and-error-via-require\nconst panicReasons = {\n 1: 'An `assert` condition failed.',\n 17: 'Arithmic operation resulted in underflow or overflow.',\n 18: 'Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).',\n 33: 'Attempted to convert to an invalid type.',\n 34: 'Attempted to access a storage byte array that is incorrectly encoded.',\n 49: 'Performed `.pop()` on an empty array',\n 50: 'Array index is out of bounds.',\n 65: 'Allocated too much memory or created an array which is too large.',\n 81: 'Attempted to call a zero-initialized variable of internal function type.',\n};\nconst solidityError = {\n inputs: [\n {\n name: 'message',\n type: 'string',\n },\n ],\n name: 'Error',\n type: 'error',\n};\nconst solidityPanic = {\n inputs: [\n {\n name: 'reason',\n type: 'uint256',\n },\n ],\n name: 'Panic',\n type: 'error',\n};\n//# sourceMappingURL=solidity.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/solidity.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/constants/strings.js":
/*!*****************************************************!*\
!*** ./node_modules/viem/_esm/constants/strings.js ***!
\*****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ presignMessagePrefix: () => (/* binding */ presignMessagePrefix)\n/* harmony export */ });\nconst presignMessagePrefix = '\\x19Ethereum Signed Message:\\n';\n//# sourceMappingURL=strings.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/strings.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/constants/unit.js":
/*!**************************************************!*\
!*** ./node_modules/viem/_esm/constants/unit.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ etherUnits: () => (/* binding */ etherUnits),\n/* harmony export */ gweiUnits: () => (/* binding */ gweiUnits),\n/* harmony export */ weiUnits: () => (/* binding */ weiUnits)\n/* harmony export */ });\nconst etherUnits = {\n gwei: 9,\n wei: 18,\n};\nconst gweiUnits = {\n ether: -9,\n wei: 9,\n};\nconst weiUnits = {\n ether: -18,\n gwei: -9,\n};\n//# sourceMappingURL=unit.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/constants/unit.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/abi.js":
/*!**********************************************!*\
!*** ./node_modules/viem/_esm/errors/abi.js ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AbiConstructorNotFoundError: () => (/* binding */ AbiConstructorNotFoundError),\n/* harmony export */ AbiConstructorParamsNotFoundError: () => (/* binding */ AbiConstructorParamsNotFoundError),\n/* harmony export */ AbiDecodingDataSizeInvalidError: () => (/* binding */ AbiDecodingDataSizeInvalidError),\n/* harmony export */ AbiDecodingDataSizeTooSmallError: () => (/* binding */ AbiDecodingDataSizeTooSmallError),\n/* harmony export */ AbiDecodingZeroDataError: () => (/* binding */ AbiDecodingZeroDataError),\n/* harmony export */ AbiEncodingArrayLengthMismatchError: () => (/* binding */ AbiEncodingArrayLengthMismatchError),\n/* harmony export */ AbiEncodingBytesSizeMismatchError: () => (/* binding */ AbiEncodingBytesSizeMismatchError),\n/* harmony export */ AbiEncodingLengthMismatchError: () => (/* binding */ AbiEncodingLengthMismatchError),\n/* harmony export */ AbiErrorInputsNotFoundError: () => (/* binding */ AbiErrorInputsNotFoundError),\n/* harmony export */ AbiErrorNotFoundError: () => (/* binding */ AbiErrorNotFoundError),\n/* harmony export */ AbiErrorSignatureNotFoundError: () => (/* binding */ AbiErrorSignatureNotFoundError),\n/* harmony export */ AbiEventNotFoundError: () => (/* binding */ AbiEventNotFoundError),\n/* harmony export */ AbiEventSignatureEmptyTopicsError: () => (/* binding */ AbiEventSignatureEmptyTopicsError),\n/* harmony export */ AbiEventSignatureNotFoundError: () => (/* binding */ AbiEventSignatureNotFoundError),\n/* harmony export */ AbiFunctionNotFoundError: () => (/* binding */ AbiFunctionNotFoundError),\n/* harmony export */ AbiFunctionOutputsNotFoundError: () => (/* binding */ AbiFunctionOutputsNotFoundError),\n/* harmony export */ AbiFunctionSignatureNotFoundError: () => (/* binding */ AbiFunctionSignatureNotFoundError),\n/* harmony export */ BytesSizeMismatchError: () => (/* binding */ BytesSizeMismatchError),\n/* harmony export */ DecodeLogDataMismatch: () => (/* binding */ DecodeLogDataMismatch),\n/* harmony export */ DecodeLogTopicsMismatch: () => (/* binding */ DecodeLogTopicsMismatch),\n/* harmony export */ InvalidAbiDecodingTypeError: () => (/* binding */ InvalidAbiDecodingTypeError),\n/* harmony export */ InvalidAbiEncodingTypeError: () => (/* binding */ InvalidAbiEncodingTypeError),\n/* harmony export */ InvalidArrayError: () => (/* binding */ InvalidArrayError),\n/* harmony export */ InvalidDefinitionTypeError: () => (/* binding */ InvalidDefinitionTypeError),\n/* harmony export */ UnsupportedPackedAbiType: () => (/* binding */ UnsupportedPackedAbiType)\n/* harmony export */ });\n/* harmony import */ var _utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/abi/formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _utils_data_size_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\n\nclass AbiConstructorNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ docsPath }) {\n super([\n 'A constructor was not found on the ABI.',\n 'Make sure you are using the correct ABI and that the constructor exists on it.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiConstructorNotFoundError'\n });\n }\n}\nclass AbiConstructorParamsNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ docsPath }) {\n super([\n 'Constructor arguments were provided (`args`), but a constructor parameters (`inputs`) were not found on the ABI.',\n 'Make sure you are using the correct ABI, and that the `inputs` attribute on the constructor exists.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiConstructorParamsNotFoundError'\n });\n }\n}\nclass AbiDecodingDataSizeInvalidError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ data, size }) {\n super([\n `Data size of ${size} bytes is invalid.`,\n 'Size must be in increments of 32 bytes (size % 32 === 0).',\n ].join('\\n'), { metaMessages: [`Data: ${data} (${size} bytes)`] });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiDecodingDataSizeInvalidError'\n });\n }\n}\nclass AbiDecodingDataSizeTooSmallError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ data, params, size, }) {\n super([`Data size of ${size} bytes is too small for given parameters.`].join('\\n'), {\n metaMessages: [\n `Params: (${(0,_utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_1__.formatAbiParams)(params, { includeName: true })})`,\n `Data: ${data} (${size} bytes)`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiDecodingDataSizeTooSmallError'\n });\n Object.defineProperty(this, \"data\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"params\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"size\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.data = data;\n this.params = params;\n this.size = size;\n }\n}\nclass AbiDecodingZeroDataError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('Cannot decode zero data (\"0x\") with ABI parameters.');\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiDecodingZeroDataError'\n });\n }\n}\nclass AbiEncodingArrayLengthMismatchError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ expectedLength, givenLength, type, }) {\n super([\n `ABI encoding array length mismatch for type ${type}.`,\n `Expected length: ${expectedLength}`,\n `Given length: ${givenLength}`,\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiEncodingArrayLengthMismatchError'\n });\n }\n}\nclass AbiEncodingBytesSizeMismatchError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ expectedSize, value }) {\n super(`Size of bytes \"${value}\" (bytes${(0,_utils_data_size_js__WEBPACK_IMPORTED_MODULE_2__.size)(value)}) does not match expected size (bytes${expectedSize}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiEncodingBytesSizeMismatchError'\n });\n }\n}\nclass AbiEncodingLengthMismatchError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ expectedLength, givenLength, }) {\n super([\n 'ABI encoding params/values length mismatch.',\n `Expected length (params): ${expectedLength}`,\n `Given length (values): ${givenLength}`,\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiEncodingLengthMismatchError'\n });\n }\n}\nclass AbiErrorInputsNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(errorName, { docsPath }) {\n super([\n `Arguments (\\`args\\`) were provided to \"${errorName}\", but \"${errorName}\" on the ABI does not contain any parameters (\\`inputs\\`).`,\n 'Cannot encode error result without knowing what the parameter types are.',\n 'Make sure you are using the correct ABI and that the inputs exist on it.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiErrorInputsNotFoundError'\n });\n }\n}\nclass AbiErrorNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(errorName, { docsPath } = {}) {\n super([\n `Error ${errorName ? `\"${errorName}\" ` : ''}not found on ABI.`,\n 'Make sure you are using the correct ABI and that the error exists on it.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiErrorNotFoundError'\n });\n }\n}\nclass AbiErrorSignatureNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(signature, { docsPath }) {\n super([\n `Encoded error signature \"${signature}\" not found on ABI.`,\n 'Make sure you are using the correct ABI and that the error exists on it.',\n `You can look up the decoded signature here: https://openchain.xyz/signatures?query=${signature}.`,\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiErrorSignatureNotFoundError'\n });\n Object.defineProperty(this, \"signature\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.signature = signature;\n }\n}\nclass AbiEventSignatureEmptyTopicsError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ docsPath }) {\n super('Cannot extract event signature from empty topics.', {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiEventSignatureEmptyTopicsError'\n });\n }\n}\nclass AbiEventSignatureNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(signature, { docsPath }) {\n super([\n `Encoded event signature \"${signature}\" not found on ABI.`,\n 'Make sure you are using the correct ABI and that the event exists on it.',\n `You can look up the signature here: https://openchain.xyz/signatures?query=${signature}.`,\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiEventSignatureNotFoundError'\n });\n }\n}\nclass AbiEventNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(eventName, { docsPath } = {}) {\n super([\n `Event ${eventName ? `\"${eventName}\" ` : ''}not found on ABI.`,\n 'Make sure you are using the correct ABI and that the event exists on it.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiEventNotFoundError'\n });\n }\n}\nclass AbiFunctionNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(functionName, { docsPath } = {}) {\n super([\n `Function ${functionName ? `\"${functionName}\" ` : ''}not found on ABI.`,\n 'Make sure you are using the correct ABI and that the function exists on it.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiFunctionNotFoundError'\n });\n }\n}\nclass AbiFunctionOutputsNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(functionName, { docsPath }) {\n super([\n `Function \"${functionName}\" does not contain any \\`outputs\\` on ABI.`,\n 'Cannot decode function result without knowing what the parameter types are.',\n 'Make sure you are using the correct ABI and that the function exists on it.',\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiFunctionOutputsNotFoundError'\n });\n }\n}\nclass AbiFunctionSignatureNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(signature, { docsPath }) {\n super([\n `Encoded function signature \"${signature}\" not found on ABI.`,\n 'Make sure you are using the correct ABI and that the function exists on it.',\n `You can look up the signature here: https://openchain.xyz/signatures?query=${signature}.`,\n ].join('\\n'), {\n docsPath,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AbiFunctionSignatureNotFoundError'\n });\n }\n}\nclass BytesSizeMismatchError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ expectedSize, givenSize, }) {\n super(`Expected bytes${expectedSize}, got bytes${givenSize}.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'BytesSizeMismatchError'\n });\n }\n}\nclass DecodeLogDataMismatch extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ abiItem, data, params, size, }) {\n super([\n `Data size of ${size} bytes is too small for non-indexed event parameters.`,\n ].join('\\n'), {\n metaMessages: [\n `Params: (${(0,_utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_1__.formatAbiParams)(params, { includeName: true })})`,\n `Data: ${data} (${size} bytes)`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'DecodeLogDataMismatch'\n });\n Object.defineProperty(this, \"abiItem\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"data\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"params\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"size\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.abiItem = abiItem;\n this.data = data;\n this.params = params;\n this.size = size;\n }\n}\nclass DecodeLogTopicsMismatch extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ abiItem, param, }) {\n super([\n `Expected a topic for indexed event parameter${param.name ? ` \"${param.name}\"` : ''} on event \"${(0,_utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_1__.formatAbiItem)(abiItem, { includeName: true })}\".`,\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'DecodeLogTopicsMismatch'\n });\n Object.defineProperty(this, \"abiItem\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.abiItem = abiItem;\n }\n}\nclass InvalidAbiEncodingTypeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(type, { docsPath }) {\n super([\n `Type \"${type}\" is not a valid encoding type.`,\n 'Please provide a valid ABI type.',\n ].join('\\n'), { docsPath });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidAbiEncodingType'\n });\n }\n}\nclass InvalidAbiDecodingTypeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(type, { docsPath }) {\n super([\n `Type \"${type}\" is not a valid decoding type.`,\n 'Please provide a valid ABI type.',\n ].join('\\n'), { docsPath });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidAbiDecodingType'\n });\n }\n}\nclass InvalidArrayError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(value) {\n super([`Value \"${value}\" is not a valid array.`].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidArrayError'\n });\n }\n}\nclass InvalidDefinitionTypeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(type) {\n super([\n `\"${type}\" is not a valid definition type.`,\n 'Valid types: \"function\", \"event\", \"error\"',\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidDefinitionTypeError'\n });\n }\n}\nclass UnsupportedPackedAbiType extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(type) {\n super(`Type \"${type}\" is not supported for packed encoding.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'UnsupportedPackedAbiType'\n });\n }\n}\n//# sourceMappingURL=abi.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/abi.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/account.js":
/*!**************************************************!*\
!*** ./node_modules/viem/_esm/errors/account.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ AccountNotFoundError: () => (/* binding */ AccountNotFoundError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass AccountNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ docsPath } = {}) {\n super([\n 'Could not find an Account to execute with this Action.',\n 'Please provide an Account with the `account` argument on the Action, or by supplying an `account` to the WalletClient.',\n ].join('\\n'), {\n docsPath,\n docsSlug: 'account',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'AccountNotFoundError'\n });\n }\n}\n//# sourceMappingURL=account.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/account.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/address.js":
/*!**************************************************!*\
!*** ./node_modules/viem/_esm/errors/address.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ InvalidAddressError: () => (/* binding */ InvalidAddressError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass InvalidAddressError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ address }) {\n super(`Address \"${address}\" is invalid.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidAddressError'\n });\n }\n}\n//# sourceMappingURL=address.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/address.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/base.js":
/*!***********************************************!*\
!*** ./node_modules/viem/_esm/errors/base.js ***!
\***********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseError: () => (/* binding */ BaseError)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/errors/utils.js\");\n\nclass BaseError extends Error {\n constructor(shortMessage, args = {}) {\n super();\n Object.defineProperty(this, \"details\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"docsPath\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"metaMessages\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"shortMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ViemError'\n });\n Object.defineProperty(this, \"version\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getVersion)()\n });\n const details = args.cause instanceof BaseError\n ? args.cause.details\n : args.cause?.message\n ? args.cause.message\n : args.details;\n const docsPath = args.cause instanceof BaseError\n ? args.cause.docsPath || args.docsPath\n : args.docsPath;\n this.message = [\n shortMessage || 'An error occurred.',\n '',\n ...(args.metaMessages ? [...args.metaMessages, ''] : []),\n ...(docsPath\n ? [\n `Docs: https://viem.sh${docsPath}.html${args.docsSlug ? `#${args.docsSlug}` : ''}`,\n ]\n : []),\n ...(details ? [`Details: ${details}`] : []),\n `Version: ${this.version}`,\n ].join('\\n');\n if (args.cause)\n this.cause = args.cause;\n this.details = details;\n this.docsPath = docsPath;\n this.metaMessages = args.metaMessages;\n this.shortMessage = shortMessage;\n }\n walk(fn) {\n return walk(this, fn);\n }\n}\nfunction walk(err, fn) {\n if (fn?.(err))\n return err;\n if (err && typeof err === 'object' && 'cause' in err)\n return walk(err.cause, fn);\n return fn ? null : err;\n}\n//# sourceMappingURL=base.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/base.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/block.js":
/*!************************************************!*\
!*** ./node_modules/viem/_esm/errors/block.js ***!
\************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BlockNotFoundError: () => (/* binding */ BlockNotFoundError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass BlockNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ blockHash, blockNumber, }) {\n let identifier = 'Block';\n if (blockHash)\n identifier = `Block at hash \"${blockHash}\"`;\n if (blockNumber)\n identifier = `Block at number \"${blockNumber}\"`;\n super(`${identifier} could not be found.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'BlockNotFoundError'\n });\n }\n}\n//# sourceMappingURL=block.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/block.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/chain.js":
/*!************************************************!*\
!*** ./node_modules/viem/_esm/errors/chain.js ***!
\************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainDoesNotSupportContract: () => (/* binding */ ChainDoesNotSupportContract),\n/* harmony export */ ChainMismatchError: () => (/* binding */ ChainMismatchError),\n/* harmony export */ ChainNotFoundError: () => (/* binding */ ChainNotFoundError),\n/* harmony export */ ClientChainNotConfiguredError: () => (/* binding */ ClientChainNotConfiguredError),\n/* harmony export */ InvalidChainIdError: () => (/* binding */ InvalidChainIdError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass ChainDoesNotSupportContract extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ blockNumber, chain, contract, }) {\n super(`Chain \"${chain.name}\" does not support contract \"${contract.name}\".`, {\n metaMessages: [\n 'This could be due to any of the following:',\n ...(blockNumber &&\n contract.blockCreated &&\n contract.blockCreated > blockNumber\n ? [\n `- The contract \"${contract.name}\" was not deployed until block ${contract.blockCreated} (current block ${blockNumber}).`,\n ]\n : [\n `- The chain does not have the contract \"${contract.name}\" configured.`,\n ]),\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ChainDoesNotSupportContract'\n });\n }\n}\nclass ChainMismatchError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ chain, currentChainId, }) {\n super(`The current chain of the wallet (id: ${currentChainId}) does not match the target chain for the transaction (id: ${chain.id} ${chain.name}).`, {\n metaMessages: [\n `Current Chain ID: ${currentChainId}`,\n `Expected Chain ID: ${chain.id} ${chain.name}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ChainMismatchError'\n });\n }\n}\nclass ChainNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super([\n 'No chain was provided to the request.',\n 'Please provide a chain with the `chain` argument on the Action, or by supplying a `chain` to WalletClient.',\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ChainNotFoundError'\n });\n }\n}\nclass ClientChainNotConfiguredError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('No chain was provided to the Client.');\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ClientChainNotConfiguredError'\n });\n }\n}\nclass InvalidChainIdError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ chainId }) {\n super(`Chain ID \"${chainId}\" is invalid.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidChainIdError'\n });\n }\n}\n//# sourceMappingURL=chain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/chain.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/contract.js":
/*!***************************************************!*\
!*** ./node_modules/viem/_esm/errors/contract.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ CallExecutionError: () => (/* binding */ CallExecutionError),\n/* harmony export */ ContractFunctionExecutionError: () => (/* binding */ ContractFunctionExecutionError),\n/* harmony export */ ContractFunctionRevertedError: () => (/* binding */ ContractFunctionRevertedError),\n/* harmony export */ ContractFunctionZeroDataError: () => (/* binding */ ContractFunctionZeroDataError),\n/* harmony export */ RawContractError: () => (/* binding */ RawContractError)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _constants_solidity_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../constants/solidity.js */ \"./node_modules/viem/_esm/constants/solidity.js\");\n/* harmony import */ var _utils_abi_decodeErrorResult_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../utils/abi/decodeErrorResult.js */ \"./node_modules/viem/_esm/utils/abi/decodeErrorResult.js\");\n/* harmony import */ var _utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../utils/abi/formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _utils_abi_formatAbiItemWithArgs_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../utils/abi/formatAbiItemWithArgs.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js\");\n/* harmony import */ var _utils_abi_getAbiItem_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../utils/abi/getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n/* harmony import */ var _utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/unit/formatEther.js */ \"./node_modules/viem/_esm/utils/unit/formatEther.js\");\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _abi_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/errors/utils.js\");\n\n\n\n\n\n\n\n\n\n\n\n\nclass CallExecutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { account: account_, docsPath, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, }) {\n const account = account_ ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_1__.parseAccount)(account_) : undefined;\n const prettyArgs = (0,_transaction_js__WEBPACK_IMPORTED_MODULE_2__.prettyPrint)({\n from: account?.address,\n to,\n value: typeof value !== 'undefined' &&\n `${(0,_utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_3__.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,\n data,\n gas,\n gasPrice: typeof gasPrice !== 'undefined' && `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_4__.formatGwei)(gasPrice)} gwei`,\n maxFeePerGas: typeof maxFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_4__.formatGwei)(maxFeePerGas)} gwei`,\n maxPriorityFeePerGas: typeof maxPriorityFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_4__.formatGwei)(maxPriorityFeePerGas)} gwei`,\n nonce,\n });\n super(cause.shortMessage, {\n cause,\n docsPath,\n metaMessages: [\n ...(cause.metaMessages ? [...cause.metaMessages, ' '] : []),\n 'Raw Call Arguments:',\n prettyArgs,\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"cause\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'CallExecutionError'\n });\n this.cause = cause;\n }\n}\nclass ContractFunctionExecutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { abi, args, contractAddress, docsPath, functionName, sender, }) {\n const abiItem = (0,_utils_abi_getAbiItem_js__WEBPACK_IMPORTED_MODULE_5__.getAbiItem)({ abi, args, name: functionName });\n const formattedArgs = abiItem\n ? (0,_utils_abi_formatAbiItemWithArgs_js__WEBPACK_IMPORTED_MODULE_6__.formatAbiItemWithArgs)({\n abiItem,\n args,\n includeFunctionName: false,\n includeName: false,\n })\n : undefined;\n const functionWithParams = abiItem\n ? (0,_utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_7__.formatAbiItem)(abiItem, { includeName: true })\n : undefined;\n const prettyArgs = (0,_transaction_js__WEBPACK_IMPORTED_MODULE_2__.prettyPrint)({\n address: contractAddress && (0,_utils_js__WEBPACK_IMPORTED_MODULE_8__.getContractAddress)(contractAddress),\n function: functionWithParams,\n args: formattedArgs &&\n formattedArgs !== '()' &&\n `${[...Array(functionName?.length ?? 0).keys()]\n .map(() => ' ')\n .join('')}${formattedArgs}`,\n sender,\n });\n super(cause.shortMessage ||\n `An unknown error occurred while executing the contract function \"${functionName}\".`, {\n cause,\n docsPath,\n metaMessages: [\n ...(cause.metaMessages ? [...cause.metaMessages, ' '] : []),\n 'Contract Call:',\n prettyArgs,\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"abi\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"args\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"cause\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"contractAddress\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"formattedArgs\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"functionName\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"sender\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ContractFunctionExecutionError'\n });\n this.abi = abi;\n this.args = args;\n this.cause = cause;\n this.contractAddress = contractAddress;\n this.functionName = functionName;\n this.sender = sender;\n }\n}\nclass ContractFunctionRevertedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ abi, data, functionName, message, }) {\n let cause;\n let decodedData = undefined;\n let metaMessages;\n let reason;\n if (data && data !== '0x') {\n try {\n decodedData = (0,_utils_abi_decodeErrorResult_js__WEBPACK_IMPORTED_MODULE_9__.decodeErrorResult)({ abi, data });\n const { abiItem, errorName, args: errorArgs } = decodedData;\n if (errorName === 'Error') {\n reason = errorArgs[0];\n }\n else if (errorName === 'Panic') {\n const [firstArg] = errorArgs;\n reason = _constants_solidity_js__WEBPACK_IMPORTED_MODULE_10__.panicReasons[firstArg];\n }\n else {\n const errorWithParams = abiItem\n ? (0,_utils_abi_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_7__.formatAbiItem)(abiItem, { includeName: true })\n : undefined;\n const formattedArgs = abiItem && errorArgs\n ? (0,_utils_abi_formatAbiItemWithArgs_js__WEBPACK_IMPORTED_MODULE_6__.formatAbiItemWithArgs)({\n abiItem,\n args: errorArgs,\n includeFunctionName: false,\n includeName: false,\n })\n : undefined;\n metaMessages = [\n errorWithParams ? `Error: ${errorWithParams}` : '',\n formattedArgs && formattedArgs !== '()'\n ? ` ${[...Array(errorName?.length ?? 0).keys()]\n .map(() => ' ')\n .join('')}${formattedArgs}`\n : '',\n ];\n }\n }\n catch (err) {\n cause = err;\n }\n }\n else if (message)\n reason = message;\n let signature;\n if (cause instanceof _abi_js__WEBPACK_IMPORTED_MODULE_11__.AbiErrorSignatureNotFoundError) {\n signature = cause.signature;\n metaMessages = [\n `Unable to decode signature \"${signature}\" as it was not found on the provided ABI.`,\n 'Make sure you are using the correct ABI and that the error exists on it.',\n `You can look up the decoded signature here: https://openchain.xyz/signatures?query=${signature}.`,\n ];\n }\n super((reason && reason !== 'execution reverted') || signature\n ? [\n `The contract function \"${functionName}\" reverted with the following ${signature ? 'signature' : 'reason'}:`,\n reason || signature,\n ].join('\\n')\n : `The contract function \"${functionName}\" reverted.`, {\n cause,\n metaMessages,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ContractFunctionRevertedError'\n });\n Object.defineProperty(this, \"data\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"reason\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"signature\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.data = decodedData;\n this.reason = reason;\n this.signature = signature;\n }\n}\nclass ContractFunctionZeroDataError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ functionName }) {\n super(`The contract function \"${functionName}\" returned no data (\"0x\").`, {\n metaMessages: [\n 'This could be due to any of the following:',\n ` - The contract does not have the function \"${functionName}\",`,\n ' - The parameters passed to the contract function may be invalid, or',\n ' - The address is not a contract.',\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ContractFunctionZeroDataError'\n });\n }\n}\nclass RawContractError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ data, message, }) {\n super(message || '');\n Object.defineProperty(this, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 3\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'RawContractError'\n });\n Object.defineProperty(this, \"data\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.data = data;\n }\n}\n//# sourceMappingURL=contract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/contract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/data.js":
/*!***********************************************!*\
!*** ./node_modules/viem/_esm/errors/data.js ***!
\***********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ SizeExceedsPaddingSizeError: () => (/* binding */ SizeExceedsPaddingSizeError),\n/* harmony export */ SliceOffsetOutOfBoundsError: () => (/* binding */ SliceOffsetOutOfBoundsError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass SliceOffsetOutOfBoundsError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ offset, position, size, }) {\n super(`Slice ${position === 'start' ? 'starting' : 'ending'} at offset \"${offset}\" is out-of-bounds (size: ${size}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'SliceOffsetOutOfBoundsError'\n });\n }\n}\nclass SizeExceedsPaddingSizeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ size, targetSize, type, }) {\n super(`${type.charAt(0).toUpperCase()}${type\n .slice(1)\n .toLowerCase()} size (${size}) exceeds padding size (${targetSize}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'SizeExceedsPaddingSizeError'\n });\n }\n}\n//# sourceMappingURL=data.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/data.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/encoding.js":
/*!***************************************************!*\
!*** ./node_modules/viem/_esm/errors/encoding.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ DataLengthTooLongError: () => (/* binding */ DataLengthTooLongError),\n/* harmony export */ DataLengthTooShortError: () => (/* binding */ DataLengthTooShortError),\n/* harmony export */ IntegerOutOfRangeError: () => (/* binding */ IntegerOutOfRangeError),\n/* harmony export */ InvalidBytesBooleanError: () => (/* binding */ InvalidBytesBooleanError),\n/* harmony export */ InvalidHexBooleanError: () => (/* binding */ InvalidHexBooleanError),\n/* harmony export */ InvalidHexValueError: () => (/* binding */ InvalidHexValueError),\n/* harmony export */ OffsetOutOfBoundsError: () => (/* binding */ OffsetOutOfBoundsError),\n/* harmony export */ SizeOverflowError: () => (/* binding */ SizeOverflowError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n/** @deprecated */\nclass DataLengthTooLongError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ consumed, length }) {\n super(`Consumed bytes (${consumed}) is shorter than data length (${length - 1}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'DataLengthTooLongError'\n });\n }\n}\n/** @deprecated */\nclass DataLengthTooShortError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ length, dataLength }) {\n super(`Data length (${dataLength - 1}) is shorter than consumed bytes length (${length - 1}).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'DataLengthTooShortError'\n });\n }\n}\nclass IntegerOutOfRangeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ max, min, signed, size, value, }) {\n super(`Number \"${value}\" is not in safe ${size ? `${size * 8}-bit ${signed ? 'signed' : 'unsigned'} ` : ''}integer range ${max ? `(${min} to ${max})` : `(above ${min})`}`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'IntegerOutOfRangeError'\n });\n }\n}\nclass InvalidBytesBooleanError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(bytes) {\n super(`Bytes value \"${bytes}\" is not a valid boolean. The bytes array must contain a single byte of either a 0 or 1 value.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidBytesBooleanError'\n });\n }\n}\nclass InvalidHexBooleanError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(hex) {\n super(`Hex value \"${hex}\" is not a valid boolean. The hex value must be \"0x0\" (false) or \"0x1\" (true).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidHexBooleanError'\n });\n }\n}\nclass InvalidHexValueError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(value) {\n super(`Hex value \"${value}\" is an odd length (${value.length}). It must be an even length.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidHexValueError'\n });\n }\n}\n/** @deprecated */\nclass OffsetOutOfBoundsError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ nextOffset, offset }) {\n super(`Next offset (${nextOffset}) is greater than previous offset + consumed bytes (${offset})`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'OffsetOutOfBoundsError'\n });\n }\n}\nclass SizeOverflowError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ givenSize, maxSize }) {\n super(`Size cannot exceed ${maxSize} bytes. Given size: ${givenSize} bytes.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'SizeOverflowError'\n });\n }\n}\n//# sourceMappingURL=encoding.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/encoding.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/ens.js":
/*!**********************************************!*\
!*** ./node_modules/viem/_esm/errors/ens.js ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EnsAvatarInvalidMetadataError: () => (/* binding */ EnsAvatarInvalidMetadataError),\n/* harmony export */ EnsAvatarInvalidNftUriError: () => (/* binding */ EnsAvatarInvalidNftUriError),\n/* harmony export */ EnsAvatarUnsupportedNamespaceError: () => (/* binding */ EnsAvatarUnsupportedNamespaceError),\n/* harmony export */ EnsAvatarUriResolutionError: () => (/* binding */ EnsAvatarUriResolutionError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass EnsAvatarInvalidMetadataError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ data }) {\n super('Unable to extract image from metadata. The metadata may be malformed or invalid.', {\n metaMessages: [\n '- Metadata must be a JSON object with at least an `image`, `image_url` or `image_data` property.',\n '',\n `Provided data: ${JSON.stringify(data)}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarInvalidMetadataError'\n });\n }\n}\nclass EnsAvatarInvalidNftUriError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ reason }) {\n super(`ENS NFT avatar URI is invalid. ${reason}`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarInvalidNftUriError'\n });\n }\n}\nclass EnsAvatarUriResolutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ uri }) {\n super(`Unable to resolve ENS avatar URI \"${uri}\". The URI may be malformed, invalid, or does not respond with a valid image.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarUriResolutionError'\n });\n }\n}\nclass EnsAvatarUnsupportedNamespaceError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ namespace }) {\n super(`ENS NFT avatar namespace \"${namespace}\" is not supported. Must be \"erc721\" or \"erc1155\".`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EnsAvatarUnsupportedNamespaceError'\n });\n }\n}\n//# sourceMappingURL=ens.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/ens.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/estimateGas.js":
/*!******************************************************!*\
!*** ./node_modules/viem/_esm/errors/estimateGas.js ***!
\******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ EstimateGasExecutionError: () => (/* binding */ EstimateGasExecutionError)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/unit/formatEther.js */ \"./node_modules/viem/_esm/utils/unit/formatEther.js\");\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n\n\n\n\nclass EstimateGasExecutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { account, docsPath, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, }) {\n const prettyArgs = (0,_transaction_js__WEBPACK_IMPORTED_MODULE_1__.prettyPrint)({\n from: account?.address,\n to,\n value: typeof value !== 'undefined' &&\n `${(0,_utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_2__.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,\n data,\n gas,\n gasPrice: typeof gasPrice !== 'undefined' && `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__.formatGwei)(gasPrice)} gwei`,\n maxFeePerGas: typeof maxFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__.formatGwei)(maxFeePerGas)} gwei`,\n maxPriorityFeePerGas: typeof maxPriorityFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_3__.formatGwei)(maxPriorityFeePerGas)} gwei`,\n nonce,\n });\n super(cause.shortMessage, {\n cause,\n docsPath,\n metaMessages: [\n ...(cause.metaMessages ? [...cause.metaMessages, ' '] : []),\n 'Estimate Gas Arguments:',\n prettyArgs,\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"cause\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'EstimateGasExecutionError'\n });\n this.cause = cause;\n }\n}\n//# sourceMappingURL=estimateGas.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/estimateGas.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/fee.js":
/*!**********************************************!*\
!*** ./node_modules/viem/_esm/errors/fee.js ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ BaseFeeScalarError: () => (/* binding */ BaseFeeScalarError),\n/* harmony export */ Eip1559FeesNotSupportedError: () => (/* binding */ Eip1559FeesNotSupportedError),\n/* harmony export */ MaxFeePerGasTooLowError: () => (/* binding */ MaxFeePerGasTooLowError)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\nclass BaseFeeScalarError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('`baseFeeMultiplier` must be greater than 1.');\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'BaseFeeScalarError'\n });\n }\n}\nclass Eip1559FeesNotSupportedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('Chain does not support EIP-1559 fees.');\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'Eip1559FeesNotSupportedError'\n });\n }\n}\nclass MaxFeePerGasTooLowError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ maxPriorityFeePerGas }) {\n super(`\\`maxFeePerGas\\` cannot be less than the \\`maxPriorityFeePerGas\\` (${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxPriorityFeePerGas)} gwei).`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'MaxFeePerGasTooLowError'\n });\n }\n}\n//# sourceMappingURL=fee.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/fee.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/log.js":
/*!**********************************************!*\
!*** ./node_modules/viem/_esm/errors/log.js ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FilterTypeNotSupportedError: () => (/* binding */ FilterTypeNotSupportedError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass FilterTypeNotSupportedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(type) {\n super(`Filter type \"${type}\" is not supported.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FilterTypeNotSupportedError'\n });\n }\n}\n//# sourceMappingURL=log.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/log.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/node.js":
/*!***********************************************!*\
!*** ./node_modules/viem/_esm/errors/node.js ***!
\***********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ExecutionRevertedError: () => (/* binding */ ExecutionRevertedError),\n/* harmony export */ FeeCapTooHighError: () => (/* binding */ FeeCapTooHighError),\n/* harmony export */ FeeCapTooLowError: () => (/* binding */ FeeCapTooLowError),\n/* harmony export */ InsufficientFundsError: () => (/* binding */ InsufficientFundsError),\n/* harmony export */ IntrinsicGasTooHighError: () => (/* binding */ IntrinsicGasTooHighError),\n/* harmony export */ IntrinsicGasTooLowError: () => (/* binding */ IntrinsicGasTooLowError),\n/* harmony export */ NonceMaxValueError: () => (/* binding */ NonceMaxValueError),\n/* harmony export */ NonceTooHighError: () => (/* binding */ NonceTooHighError),\n/* harmony export */ NonceTooLowError: () => (/* binding */ NonceTooLowError),\n/* harmony export */ TipAboveFeeCapError: () => (/* binding */ TipAboveFeeCapError),\n/* harmony export */ TransactionTypeNotSupportedError: () => (/* binding */ TransactionTypeNotSupportedError),\n/* harmony export */ UnknownNodeError: () => (/* binding */ UnknownNodeError)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\nclass ExecutionRevertedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, message, } = {}) {\n const reason = message\n ?.replace('execution reverted: ', '')\n ?.replace('execution reverted', '');\n super(`Execution reverted ${reason ? `with reason: ${reason}` : 'for an unknown reason'}.`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ExecutionRevertedError'\n });\n }\n}\nObject.defineProperty(ExecutionRevertedError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 3\n});\nObject.defineProperty(ExecutionRevertedError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /execution reverted/\n});\n\nclass FeeCapTooHighError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, maxFeePerGas, } = {}) {\n super(`The fee cap (\\`maxFeePerGas\\`${maxFeePerGas ? ` = ${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxFeePerGas)} gwei` : ''}) cannot be higher than the maximum allowed value (2^256-1).`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FeeCapTooHigh'\n });\n }\n}\nObject.defineProperty(FeeCapTooHighError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /max fee per gas higher than 2\\^256-1|fee cap higher than 2\\^256-1/\n});\n\nclass FeeCapTooLowError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, maxFeePerGas, } = {}) {\n super(`The fee cap (\\`maxFeePerGas\\`${maxFeePerGas ? ` = ${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxFeePerGas)}` : ''} gwei) cannot be lower than the block base fee.`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FeeCapTooLow'\n });\n }\n}\nObject.defineProperty(FeeCapTooLowError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /max fee per gas less than block base fee|fee cap less than block base fee|transaction is outdated/\n});\n\nclass NonceTooHighError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, nonce } = {}) {\n super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is higher than the next one expected.`, { cause });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'NonceTooHighError'\n });\n }\n}\nObject.defineProperty(NonceTooHighError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /nonce too high/\n});\n\nclass NonceTooLowError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, nonce } = {}) {\n super([\n `Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}is lower than the current nonce of the account.`,\n 'Try increasing the nonce or find the latest nonce with `getTransactionCount`.',\n ].join('\\n'), { cause });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'NonceTooLowError'\n });\n }\n}\nObject.defineProperty(NonceTooLowError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /nonce too low|transaction already imported|already known/\n});\n\nclass NonceMaxValueError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, nonce } = {}) {\n super(`Nonce provided for the transaction ${nonce ? `(${nonce}) ` : ''}exceeds the maximum allowed nonce.`, { cause });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'NonceMaxValueError'\n });\n }\n}\nObject.defineProperty(NonceMaxValueError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /nonce has max value/\n});\n\nclass InsufficientFundsError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause } = {}) {\n super([\n 'The total cost (gas * gas fee + value) of executing this transaction exceeds the balance of the account.',\n ].join('\\n'), {\n cause,\n metaMessages: [\n 'This error could arise when the account does not have enough funds to:',\n ' - pay for the total gas fee,',\n ' - pay for the value to send.',\n ' ',\n 'The cost of the transaction is calculated as `gas * gas fee + value`, where:',\n ' - `gas` is the amount of gas needed for transaction to execute,',\n ' - `gas fee` is the gas fee,',\n ' - `value` is the amount of ether to send to the recipient.',\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InsufficientFundsError'\n });\n }\n}\nObject.defineProperty(InsufficientFundsError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /insufficient funds/\n});\n\nclass IntrinsicGasTooHighError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, gas } = {}) {\n super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction exceeds the limit allowed for the block.`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'IntrinsicGasTooHighError'\n });\n }\n}\nObject.defineProperty(IntrinsicGasTooHighError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /intrinsic gas too high|gas limit reached/\n});\n\nclass IntrinsicGasTooLowError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, gas } = {}) {\n super(`The amount of gas ${gas ? `(${gas}) ` : ''}provided for the transaction is too low.`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'IntrinsicGasTooLowError'\n });\n }\n}\nObject.defineProperty(IntrinsicGasTooLowError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /intrinsic gas too low/\n});\n\nclass TransactionTypeNotSupportedError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause }) {\n super('The transaction type is not supported for this chain.', {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'TransactionTypeNotSupportedError'\n });\n }\n}\nObject.defineProperty(TransactionTypeNotSupportedError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /transaction type not valid/\n});\n\nclass TipAboveFeeCapError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause, maxPriorityFeePerGas, maxFeePerGas, } = {}) {\n super([\n `The provided tip (\\`maxPriorityFeePerGas\\`${maxPriorityFeePerGas\n ? ` = ${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxPriorityFeePerGas)} gwei`\n : ''}) cannot be higher than the fee cap (\\`maxFeePerGas\\`${maxFeePerGas ? ` = ${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_1__.formatGwei)(maxFeePerGas)} gwei` : ''}).`,\n ].join('\\n'), {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'TipAboveFeeCapError'\n });\n }\n}\nObject.defineProperty(TipAboveFeeCapError, \"nodeMessage\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: /max priority fee per gas higher than max fee per gas|tip higher than fee cap/\n});\n\nclass UnknownNodeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ cause }) {\n super(`An error occurred while executing: ${cause?.shortMessage}`, {\n cause,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'UnknownNodeError'\n });\n }\n}\n//# sourceMappingURL=node.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/node.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/request.js":
/*!**************************************************!*\
!*** ./node_modules/viem/_esm/errors/request.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ HttpRequestError: () => (/* binding */ HttpRequestError),\n/* harmony export */ RpcRequestError: () => (/* binding */ RpcRequestError),\n/* harmony export */ TimeoutError: () => (/* binding */ TimeoutError),\n/* harmony export */ WebSocketRequestError: () => (/* binding */ WebSocketRequestError)\n/* harmony export */ });\n/* harmony import */ var _utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/errors/utils.js\");\n\n\n\nclass HttpRequestError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, details, headers, status, url, }) {\n super('HTTP request failed.', {\n details,\n metaMessages: [\n status && `Status: ${status}`,\n `URL: ${(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.getUrl)(url)}`,\n body && `Request body: ${(0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__.stringify)(body)}`,\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'HttpRequestError'\n });\n Object.defineProperty(this, \"body\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"headers\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"status\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"url\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.body = body;\n this.headers = headers;\n this.status = status;\n this.url = url;\n }\n}\nclass WebSocketRequestError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, details, url, }) {\n super('WebSocket request failed.', {\n details,\n metaMessages: [`URL: ${(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.getUrl)(url)}`, `Request body: ${(0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__.stringify)(body)}`],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'WebSocketRequestError'\n });\n }\n}\nclass RpcRequestError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, error, url, }) {\n super('RPC Request failed.', {\n cause: error,\n details: error.message,\n metaMessages: [`URL: ${(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.getUrl)(url)}`, `Request body: ${(0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__.stringify)(body)}`],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'RpcRequestError'\n });\n Object.defineProperty(this, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.code = error.code;\n }\n}\nclass TimeoutError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ body, url, }) {\n super('The request took too long to respond.', {\n details: 'The request timed out.',\n metaMessages: [`URL: ${(0,_utils_js__WEBPACK_IMPORTED_MODULE_1__.getUrl)(url)}`, `Request body: ${(0,_utils_stringify_js__WEBPACK_IMPORTED_MODULE_2__.stringify)(body)}`],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'TimeoutError'\n });\n }\n}\n//# sourceMappingURL=request.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/request.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/rpc.js":
/*!**********************************************!*\
!*** ./node_modules/viem/_esm/errors/rpc.js ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ ChainDisconnectedError: () => (/* binding */ ChainDisconnectedError),\n/* harmony export */ InternalRpcError: () => (/* binding */ InternalRpcError),\n/* harmony export */ InvalidInputRpcError: () => (/* binding */ InvalidInputRpcError),\n/* harmony export */ InvalidParamsRpcError: () => (/* binding */ InvalidParamsRpcError),\n/* harmony export */ InvalidRequestRpcError: () => (/* binding */ InvalidRequestRpcError),\n/* harmony export */ JsonRpcVersionUnsupportedError: () => (/* binding */ JsonRpcVersionUnsupportedError),\n/* harmony export */ LimitExceededRpcError: () => (/* binding */ LimitExceededRpcError),\n/* harmony export */ MethodNotFoundRpcError: () => (/* binding */ MethodNotFoundRpcError),\n/* harmony export */ MethodNotSupportedRpcError: () => (/* binding */ MethodNotSupportedRpcError),\n/* harmony export */ ParseRpcError: () => (/* binding */ ParseRpcError),\n/* harmony export */ ProviderDisconnectedError: () => (/* binding */ ProviderDisconnectedError),\n/* harmony export */ ProviderRpcError: () => (/* binding */ ProviderRpcError),\n/* harmony export */ ResourceNotFoundRpcError: () => (/* binding */ ResourceNotFoundRpcError),\n/* harmony export */ ResourceUnavailableRpcError: () => (/* binding */ ResourceUnavailableRpcError),\n/* harmony export */ RpcError: () => (/* binding */ RpcError),\n/* harmony export */ SwitchChainError: () => (/* binding */ SwitchChainError),\n/* harmony export */ TransactionRejectedRpcError: () => (/* binding */ TransactionRejectedRpcError),\n/* harmony export */ UnauthorizedProviderError: () => (/* binding */ UnauthorizedProviderError),\n/* harmony export */ UnknownRpcError: () => (/* binding */ UnknownRpcError),\n/* harmony export */ UnsupportedProviderMethodError: () => (/* binding */ UnsupportedProviderMethodError),\n/* harmony export */ UserRejectedRequestError: () => (/* binding */ UserRejectedRequestError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n\n\nconst unknownErrorCode = -1;\nclass RpcError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { code, docsPath, metaMessages, shortMessage }) {\n super(shortMessage, {\n cause,\n docsPath,\n metaMessages: metaMessages || cause?.metaMessages,\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'RpcError'\n });\n Object.defineProperty(this, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.name = cause.name;\n this.code = (cause instanceof _request_js__WEBPACK_IMPORTED_MODULE_1__.RpcRequestError ? cause.code : code ?? unknownErrorCode);\n }\n}\nclass ProviderRpcError extends RpcError {\n constructor(cause, options) {\n super(cause, options);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ProviderRpcError'\n });\n Object.defineProperty(this, \"data\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.data = options.data;\n }\n}\nclass ParseRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: ParseRpcError.code,\n shortMessage: 'Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ParseRpcError'\n });\n }\n}\nObject.defineProperty(ParseRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32700\n});\n\nclass InvalidRequestRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: InvalidRequestRpcError.code,\n shortMessage: 'JSON is not a valid request object.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidRequestRpcError'\n });\n }\n}\nObject.defineProperty(InvalidRequestRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32600\n});\n\nclass MethodNotFoundRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: MethodNotFoundRpcError.code,\n shortMessage: 'The method does not exist / is not available.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'MethodNotFoundRpcError'\n });\n }\n}\nObject.defineProperty(MethodNotFoundRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32601\n});\n\nclass InvalidParamsRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: InvalidParamsRpcError.code,\n shortMessage: [\n 'Invalid parameters were provided to the RPC method.',\n 'Double check you have provided the correct parameters.',\n ].join('\\n'),\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidParamsRpcError'\n });\n }\n}\nObject.defineProperty(InvalidParamsRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32602\n});\n\nclass InternalRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: InternalRpcError.code,\n shortMessage: 'An internal error was received.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InternalRpcError'\n });\n }\n}\nObject.defineProperty(InternalRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32603\n});\n\nclass InvalidInputRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: InvalidInputRpcError.code,\n shortMessage: [\n 'Missing or invalid parameters.',\n 'Double check you have provided the correct parameters.',\n ].join('\\n'),\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidInputRpcError'\n });\n }\n}\nObject.defineProperty(InvalidInputRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32000\n});\n\nclass ResourceNotFoundRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: ResourceNotFoundRpcError.code,\n shortMessage: 'Requested resource not found.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ResourceNotFoundRpcError'\n });\n }\n}\nObject.defineProperty(ResourceNotFoundRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32001\n});\n\nclass ResourceUnavailableRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: ResourceUnavailableRpcError.code,\n shortMessage: 'Requested resource not available.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ResourceUnavailableRpcError'\n });\n }\n}\nObject.defineProperty(ResourceUnavailableRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32002\n});\n\nclass TransactionRejectedRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: TransactionRejectedRpcError.code,\n shortMessage: 'Transaction creation failed.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'TransactionRejectedRpcError'\n });\n }\n}\nObject.defineProperty(TransactionRejectedRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32003\n});\n\nclass MethodNotSupportedRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: MethodNotSupportedRpcError.code,\n shortMessage: 'Method is not implemented.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'MethodNotSupportedRpcError'\n });\n }\n}\nObject.defineProperty(MethodNotSupportedRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32004\n});\n\nclass LimitExceededRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: LimitExceededRpcError.code,\n shortMessage: 'Request exceeds defined limit.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'LimitExceededRpcError'\n });\n }\n}\nObject.defineProperty(LimitExceededRpcError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32005\n});\n\nclass JsonRpcVersionUnsupportedError extends RpcError {\n constructor(cause) {\n super(cause, {\n code: JsonRpcVersionUnsupportedError.code,\n shortMessage: 'Version of JSON-RPC protocol is not supported.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'JsonRpcVersionUnsupportedError'\n });\n }\n}\nObject.defineProperty(JsonRpcVersionUnsupportedError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: -32006\n});\n\nclass UserRejectedRequestError extends ProviderRpcError {\n constructor(cause) {\n super(cause, {\n code: UserRejectedRequestError.code,\n shortMessage: 'User rejected the request.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'UserRejectedRequestError'\n });\n }\n}\nObject.defineProperty(UserRejectedRequestError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 4001\n});\n\nclass UnauthorizedProviderError extends ProviderRpcError {\n constructor(cause) {\n super(cause, {\n code: UnauthorizedProviderError.code,\n shortMessage: 'The requested method and/or account has not been authorized by the user.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'UnauthorizedProviderError'\n });\n }\n}\nObject.defineProperty(UnauthorizedProviderError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 4100\n});\n\nclass UnsupportedProviderMethodError extends ProviderRpcError {\n constructor(cause) {\n super(cause, {\n code: UnsupportedProviderMethodError.code,\n shortMessage: 'The Provider does not support the requested method.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'UnsupportedProviderMethodError'\n });\n }\n}\nObject.defineProperty(UnsupportedProviderMethodError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 4200\n});\n\nclass ProviderDisconnectedError extends ProviderRpcError {\n constructor(cause) {\n super(cause, {\n code: ProviderDisconnectedError.code,\n shortMessage: 'The Provider is disconnected from all chains.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ProviderDisconnectedError'\n });\n }\n}\nObject.defineProperty(ProviderDisconnectedError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 4900\n});\n\nclass ChainDisconnectedError extends ProviderRpcError {\n constructor(cause) {\n super(cause, {\n code: ChainDisconnectedError.code,\n shortMessage: 'The Provider is not connected to the requested chain.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'ChainDisconnectedError'\n });\n }\n}\nObject.defineProperty(ChainDisconnectedError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 4901\n});\n\nclass SwitchChainError extends ProviderRpcError {\n constructor(cause) {\n super(cause, {\n code: SwitchChainError.code,\n shortMessage: 'An error occurred when attempting to switch chain.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'SwitchChainError'\n });\n }\n}\nObject.defineProperty(SwitchChainError, \"code\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 4902\n});\n\nclass UnknownRpcError extends RpcError {\n constructor(cause) {\n super(cause, {\n shortMessage: 'An unknown RPC error occurred.',\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'UnknownRpcError'\n });\n }\n}\n//# sourceMappingURL=rpc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/rpc.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/transaction.js":
/*!******************************************************!*\
!*** ./node_modules/viem/_esm/errors/transaction.js ***!
\******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ FeeConflictError: () => (/* binding */ FeeConflictError),\n/* harmony export */ InvalidLegacyVError: () => (/* binding */ InvalidLegacyVError),\n/* harmony export */ InvalidSerializableTransactionError: () => (/* binding */ InvalidSerializableTransactionError),\n/* harmony export */ InvalidSerializedTransactionError: () => (/* binding */ InvalidSerializedTransactionError),\n/* harmony export */ InvalidSerializedTransactionTypeError: () => (/* binding */ InvalidSerializedTransactionTypeError),\n/* harmony export */ InvalidStorageKeySizeError: () => (/* binding */ InvalidStorageKeySizeError),\n/* harmony export */ TransactionExecutionError: () => (/* binding */ TransactionExecutionError),\n/* harmony export */ TransactionNotFoundError: () => (/* binding */ TransactionNotFoundError),\n/* harmony export */ TransactionReceiptNotFoundError: () => (/* binding */ TransactionReceiptNotFoundError),\n/* harmony export */ WaitForTransactionReceiptTimeoutError: () => (/* binding */ WaitForTransactionReceiptTimeoutError),\n/* harmony export */ prettyPrint: () => (/* binding */ prettyPrint)\n/* harmony export */ });\n/* harmony import */ var _utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils/unit/formatEther.js */ \"./node_modules/viem/_esm/utils/unit/formatEther.js\");\n/* harmony import */ var _utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/unit/formatGwei.js */ \"./node_modules/viem/_esm/utils/unit/formatGwei.js\");\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\n\n\nfunction prettyPrint(args) {\n const entries = Object.entries(args)\n .map(([key, value]) => {\n if (value === undefined || value === false)\n return null;\n return [key, value];\n })\n .filter(Boolean);\n const maxLength = entries.reduce((acc, [key]) => Math.max(acc, key.length), 0);\n return entries\n .map(([key, value]) => ` ${`${key}:`.padEnd(maxLength + 1)} ${value}`)\n .join('\\n');\n}\nclass FeeConflictError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super([\n 'Cannot specify both a `gasPrice` and a `maxFeePerGas`/`maxPriorityFeePerGas`.',\n 'Use `maxFeePerGas`/`maxPriorityFeePerGas` for EIP-1559 compatible networks, and `gasPrice` for others.',\n ].join('\\n'));\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'FeeConflictError'\n });\n }\n}\nclass InvalidLegacyVError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ v }) {\n super(`Invalid \\`v\\` value \"${v}\". Expected 27 or 28.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidLegacyVError'\n });\n }\n}\nclass InvalidSerializableTransactionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ transaction }) {\n super('Cannot infer a transaction type from provided transaction.', {\n metaMessages: [\n 'Provided Transaction:',\n '{',\n prettyPrint(transaction),\n '}',\n '',\n 'To infer the type, either provide:',\n '- a `type` to the Transaction, or',\n '- an EIP-1559 Transaction with `maxFeePerGas`, or',\n '- an EIP-2930 Transaction with `gasPrice` & `accessList`, or',\n '- a Legacy Transaction with `gasPrice`',\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidSerializableTransactionError'\n });\n }\n}\nclass InvalidSerializedTransactionTypeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ serializedType }) {\n super(`Serialized transaction type \"${serializedType}\" is invalid.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidSerializedTransactionType'\n });\n Object.defineProperty(this, \"serializedType\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.serializedType = serializedType;\n }\n}\nclass InvalidSerializedTransactionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ attributes, serializedTransaction, type, }) {\n const missing = Object.entries(attributes)\n .map(([key, value]) => (typeof value === 'undefined' ? key : undefined))\n .filter(Boolean);\n super(`Invalid serialized transaction of type \"${type}\" was provided.`, {\n metaMessages: [\n `Serialized Transaction: \"${serializedTransaction}\"`,\n missing.length > 0 ? `Missing Attributes: ${missing.join(', ')}` : '',\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidSerializedTransactionError'\n });\n Object.defineProperty(this, \"serializedTransaction\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"type\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n this.serializedTransaction = serializedTransaction;\n this.type = type;\n }\n}\nclass InvalidStorageKeySizeError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ storageKey }) {\n super(`Size for storage key \"${storageKey}\" is invalid. Expected 32 bytes. Got ${Math.floor((storageKey.length - 2) / 2)} bytes.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'InvalidStorageKeySizeError'\n });\n }\n}\nclass TransactionExecutionError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor(cause, { account, docsPath, chain, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, }) {\n const prettyArgs = prettyPrint({\n chain: chain && `${chain?.name} (id: ${chain?.id})`,\n from: account?.address,\n to,\n value: typeof value !== 'undefined' &&\n `${(0,_utils_unit_formatEther_js__WEBPACK_IMPORTED_MODULE_1__.formatEther)(value)} ${chain?.nativeCurrency?.symbol || 'ETH'}`,\n data,\n gas,\n gasPrice: typeof gasPrice !== 'undefined' && `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_2__.formatGwei)(gasPrice)} gwei`,\n maxFeePerGas: typeof maxFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_2__.formatGwei)(maxFeePerGas)} gwei`,\n maxPriorityFeePerGas: typeof maxPriorityFeePerGas !== 'undefined' &&\n `${(0,_utils_unit_formatGwei_js__WEBPACK_IMPORTED_MODULE_2__.formatGwei)(maxPriorityFeePerGas)} gwei`,\n nonce,\n });\n super(cause.shortMessage, {\n cause,\n docsPath,\n metaMessages: [\n ...(cause.metaMessages ? [...cause.metaMessages, ' '] : []),\n 'Request Arguments:',\n prettyArgs,\n ].filter(Boolean),\n });\n Object.defineProperty(this, \"cause\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: void 0\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'TransactionExecutionError'\n });\n this.cause = cause;\n }\n}\nclass TransactionNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ blockHash, blockNumber, blockTag, hash, index, }) {\n let identifier = 'Transaction';\n if (blockTag && index !== undefined)\n identifier = `Transaction at block time \"${blockTag}\" at index \"${index}\"`;\n if (blockHash && index !== undefined)\n identifier = `Transaction at block hash \"${blockHash}\" at index \"${index}\"`;\n if (blockNumber && index !== undefined)\n identifier = `Transaction at block number \"${blockNumber}\" at index \"${index}\"`;\n if (hash)\n identifier = `Transaction with hash \"${hash}\"`;\n super(`${identifier} could not be found.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'TransactionNotFoundError'\n });\n }\n}\nclass TransactionReceiptNotFoundError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ hash }) {\n super(`Transaction receipt with hash \"${hash}\" could not be found. The Transaction may not be processed on a block yet.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'TransactionReceiptNotFoundError'\n });\n }\n}\nclass WaitForTransactionReceiptTimeoutError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor({ hash }) {\n super(`Timed out while waiting for transaction with hash \"${hash}\" to be confirmed.`);\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'WaitForTransactionReceiptTimeoutError'\n });\n }\n}\n//# sourceMappingURL=transaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/transaction.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/transport.js":
/*!****************************************************!*\
!*** ./node_modules/viem/_esm/errors/transport.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ UrlRequiredError: () => (/* binding */ UrlRequiredError)\n/* harmony export */ });\n/* harmony import */ var _base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nclass UrlRequiredError extends _base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError {\n constructor() {\n super('No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.', {\n docsPath: '/docs/clients/intro',\n });\n }\n}\n//# sourceMappingURL=transport.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/transport.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/utils.js":
/*!************************************************!*\
!*** ./node_modules/viem/_esm/errors/utils.js ***!
\************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContractAddress: () => (/* binding */ getContractAddress),\n/* harmony export */ getUrl: () => (/* binding */ getUrl),\n/* harmony export */ getVersion: () => (/* binding */ getVersion)\n/* harmony export */ });\n/* harmony import */ var _version_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./version.js */ \"./node_modules/viem/_esm/errors/version.js\");\n\nconst getContractAddress = (address) => address;\nconst getUrl = (url) => url;\nconst getVersion = () => `viem@${_version_js__WEBPACK_IMPORTED_MODULE_0__.version}`;\n//# sourceMappingURL=utils.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/utils.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/errors/version.js":
/*!**************************************************!*\
!*** ./node_modules/viem/_esm/errors/version.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ version: () => (/* binding */ version)\n/* harmony export */ });\nconst version = '1.19.10';\n//# sourceMappingURL=version.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/errors/version.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeAbiParameters: () => (/* binding */ decodeAbiParameters)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _address_getAddress_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../address/getAddress.js */ \"./node_modules/viem/_esm/utils/address/getAddress.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _data_trim_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../data/trim.js */ \"./node_modules/viem/_esm/utils/data/trim.js\");\n/* harmony import */ var _encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n\n\n\n\n\n\n\nfunction decodeAbiParameters(params, data) {\n if (data === '0x' && params.length > 0)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingZeroDataError();\n if ((0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data) && (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data) < 32)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingDataSizeTooSmallError({\n data,\n params: params,\n size: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data),\n });\n return decodeParams({\n data,\n params: params,\n });\n}\nfunction decodeParams({ data, params, }) {\n const decodedValues = [];\n let position = 0;\n for (let i = 0; i < params.length; i++) {\n if (position >= (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingDataSizeTooSmallError({\n data,\n params,\n size: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(data),\n });\n const param = params[i];\n const { consumed, value } = decodeParam({ data, param, position });\n decodedValues.push(value);\n // Step across the data by the amount of data consumed by this parameter.\n position += consumed;\n }\n return decodedValues;\n}\nfunction decodeParam({ data, param, position, }) {\n const arrayComponents = (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__.getArrayComponents)(param.type);\n if (arrayComponents) {\n const [length, type] = arrayComponents;\n return decodeArray(data, {\n length,\n param: { ...param, type: type },\n position,\n });\n }\n if (param.type === 'tuple') {\n return decodeTuple(data, { param: param, position });\n }\n if (param.type === 'string') {\n return decodeString(data, { position });\n }\n if (param.type.startsWith('bytes')) {\n return decodeBytes(data, { param, position });\n }\n const value = (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + 32, { strict: true });\n if (param.type.startsWith('uint') || param.type.startsWith('int')) {\n return decodeNumber(value, { param });\n }\n if (param.type === 'address') {\n return decodeAddress(value);\n }\n if (param.type === 'bool') {\n return decodeBool(value);\n }\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.InvalidAbiDecodingTypeError(param.type, {\n docsPath: '/docs/contract/decodeAbiParameters',\n });\n}\nfunction decodeAddress(value) {\n return { consumed: 32, value: (0,_address_getAddress_js__WEBPACK_IMPORTED_MODULE_4__.checksumAddress)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(value, -20)) };\n}\nfunction decodeArray(data, { param, length, position, }) {\n // If the length of the array is not known in advance (dynamic array),\n // we will need to decode the offset of the array data.\n if (!length) {\n // Get the offset of the array data.\n const offset = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + 32, { strict: true }));\n // Get the length of the array from the offset.\n const length = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset, offset + 32, { strict: true }));\n let consumed = 0;\n const value = [];\n for (let i = 0; i < length; ++i) {\n const decodedChild = decodeParam({\n data: (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset + 32),\n param,\n position: consumed,\n });\n consumed += decodedChild.consumed;\n value.push(decodedChild.value);\n }\n return { value, consumed: 32 };\n }\n // If the length of the array is known in advance,\n // and the length of an element deeply nested in the array is not known,\n // we need to decode the offset of the array data.\n if (hasDynamicChild(param)) {\n // Get the child type of the array.\n const arrayComponents = (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__.getArrayComponents)(param.type);\n // If the child type is not known, the array is dynamic.\n const dynamicChild = !arrayComponents?.[0];\n let consumed = 0;\n const value = [];\n for (let i = 0; i < length; ++i) {\n const offset = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + 32, { strict: true }));\n const decodedChild = decodeParam({\n data: (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset),\n param,\n position: dynamicChild ? consumed : i * 32,\n });\n consumed += decodedChild.consumed;\n value.push(decodedChild.value);\n }\n return { value, consumed: 32 };\n }\n // If the length of the array is known in advance,\n // and the length of each element in the array is known,\n // the array data is encoded contiguously after the array.\n let consumed = 0;\n const value = [];\n for (let i = 0; i < length; ++i) {\n const decodedChild = decodeParam({\n data,\n param,\n position: position + consumed,\n });\n consumed += decodedChild.consumed;\n value.push(decodedChild.value);\n }\n return { value, consumed };\n}\nfunction decodeBool(value) {\n return { consumed: 32, value: (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToBool)(value) };\n}\nfunction decodeBytes(data, { param, position }) {\n const [_, size] = param.type.split('bytes');\n if (!size) {\n // If we don't have a size, we're dealing with a dynamic-size array\n // so we need to read the offset of the data part first.\n const offset = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + 32, { strict: true }));\n const length = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset, offset + 32, { strict: true }));\n // If there is no length, we have zero data.\n if (length === 0)\n return { consumed: 32, value: '0x' };\n const value = (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset + 32, offset + 32 + length, {\n strict: true,\n });\n return { consumed: 32, value };\n }\n const value = (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + parseInt(size), {\n strict: true,\n });\n return { consumed: 32, value };\n}\nfunction decodeNumber(value, { param }) {\n const signed = param.type.startsWith('int');\n const size = parseInt(param.type.split('int')[1] || '256');\n return {\n consumed: 32,\n value: size > 48\n ? (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToBigInt)(value, { signed })\n : (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)(value, { signed }),\n };\n}\nfunction decodeString(data, { position }) {\n const offset = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + 32, { strict: true }));\n const length = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset, offset + 32, { strict: true }));\n // If there is no length, we have zero data (empty string).\n if (length === 0)\n return { consumed: 32, value: '' };\n const value = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToString)((0,_data_trim_js__WEBPACK_IMPORTED_MODULE_6__.trim)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset + 32, offset + 32 + length, { strict: true })));\n return { consumed: 32, value };\n}\nfunction decodeTuple(data, { param, position }) {\n // Tuples can have unnamed components (i.e. they are arrays), so we must\n // determine whether the tuple is named or unnamed. In the case of a named\n // tuple, the value will be an object where each property is the name of the\n // component. In the case of an unnamed tuple, the value will be an array.\n const hasUnnamedChild = param.components.length === 0 || param.components.some(({ name }) => !name);\n // Initialize the value to an object or an array, depending on whether the\n // tuple is named or unnamed.\n const value = hasUnnamedChild ? [] : {};\n let consumed = 0;\n // If the tuple has a dynamic child, we must first decode the offset to the\n // tuple data.\n if (hasDynamicChild(param)) {\n const offset = (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_5__.hexToNumber)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, position, position + 32, { strict: true }));\n // Decode each component of the tuple, starting at the offset.\n for (let i = 0; i < param.components.length; ++i) {\n const component = param.components[i];\n const decodedChild = decodeParam({\n data: (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_3__.slice)(data, offset),\n param: component,\n position: consumed,\n });\n consumed += decodedChild.consumed;\n value[hasUnnamedChild ? i : component?.name] = decodedChild.value;\n }\n return { consumed: 32, value };\n }\n // If the tuple has static children, we can just decode each component\n // in sequence.\n for (let i = 0; i < param.components.length; ++i) {\n const component = param.components[i];\n const decodedChild = decodeParam({\n data,\n param: component,\n position: position + consumed,\n });\n consumed += decodedChild.consumed;\n value[hasUnnamedChild ? i : component?.name] = decodedChild.value;\n }\n return { consumed, value };\n}\nfunction hasDynamicChild(param) {\n const { type } = param;\n if (type === 'string')\n return true;\n if (type === 'bytes')\n return true;\n if (type.endsWith('[]'))\n return true;\n if (type === 'tuple')\n return param.components?.some(hasDynamicChild);\n const arrayComponents = (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__.getArrayComponents)(param.type);\n if (arrayComponents &&\n hasDynamicChild({ ...param, type: arrayComponents[1] }))\n return true;\n return false;\n}\n//# sourceMappingURL=decodeAbiParameters.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/decodeErrorResult.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/decodeErrorResult.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeErrorResult: () => (/* binding */ decodeErrorResult)\n/* harmony export */ });\n/* harmony import */ var _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../constants/solidity.js */ \"./node_modules/viem/_esm/constants/solidity.js\");\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/getFunctionSelector.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSelector.js\");\n/* harmony import */ var _decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./decodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n\n\n\n\n\n\nfunction decodeErrorResult({ abi, data, }) {\n const signature = (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_0__.slice)(data, 0, 4);\n if (signature === '0x')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiDecodingZeroDataError();\n const abi_ = [...(abi || []), _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__.solidityError, _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__.solidityPanic];\n const abiItem = abi_.find((x) => x.type === 'error' && signature === (0,_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__.getFunctionSelector)((0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_4__.formatAbiItem)(x)));\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiErrorSignatureNotFoundError(signature, {\n docsPath: '/docs/contract/decodeErrorResult',\n });\n return {\n abiItem,\n args: ('inputs' in abiItem && abiItem.inputs && abiItem.inputs.length > 0\n ? (0,_decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_5__.decodeAbiParameters)(abiItem.inputs, (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_0__.slice)(data, 4))\n : undefined),\n errorName: abiItem.name,\n };\n}\n//# sourceMappingURL=decodeErrorResult.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/decodeErrorResult.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/decodeEventLog.js":
/*!************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/decodeEventLog.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeEventLog: () => (/* binding */ decodeEventLog)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hash/getEventSelector.js */ \"./node_modules/viem/_esm/utils/hash/getEventSelector.js\");\n/* harmony import */ var _decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./decodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n\n\n\n\nconst docsPath = '/docs/contract/decodeEventLog';\nfunction decodeEventLog({ abi, data, strict: strict_, topics, }) {\n const strict = strict_ ?? true;\n const [signature, ...argTopics] = topics;\n if (!signature)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEventSignatureEmptyTopicsError({\n docsPath,\n });\n const abiItem = abi.find((x) => x.type === 'event' &&\n signature === (0,_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_1__.getEventSelector)((0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__.formatAbiItem)(x)));\n if (!(abiItem && 'name' in abiItem) || abiItem.type !== 'event')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEventSignatureNotFoundError(signature, {\n docsPath,\n });\n const { name, inputs } = abiItem;\n const isUnnamed = inputs?.some((x) => !('name' in x && x.name));\n let args = isUnnamed ? [] : {};\n // Decode topics (indexed args).\n const indexedInputs = inputs.filter((x) => 'indexed' in x && x.indexed);\n for (let i = 0; i < indexedInputs.length; i++) {\n const param = indexedInputs[i];\n const topic = argTopics[i];\n if (!topic)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.DecodeLogTopicsMismatch({\n abiItem,\n param: param,\n });\n args[param.name || i] = decodeTopic({ param, value: topic });\n }\n // Decode data (non-indexed args).\n const nonIndexedInputs = inputs.filter((x) => !('indexed' in x && x.indexed));\n if (nonIndexedInputs.length > 0) {\n if (data && data !== '0x') {\n try {\n const decodedData = (0,_decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__.decodeAbiParameters)(nonIndexedInputs, data);\n if (decodedData) {\n if (isUnnamed)\n args = [...args, ...decodedData];\n else {\n for (let i = 0; i < nonIndexedInputs.length; i++) {\n args[nonIndexedInputs[i].name] = decodedData[i];\n }\n }\n }\n }\n catch (err) {\n if (strict) {\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiDecodingDataSizeTooSmallError)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.DecodeLogDataMismatch({\n abiItem,\n data: err.data,\n params: err.params,\n size: err.size,\n });\n throw err;\n }\n }\n }\n else if (strict) {\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.DecodeLogDataMismatch({\n abiItem,\n data: '0x',\n params: nonIndexedInputs,\n size: 0,\n });\n }\n }\n return {\n eventName: name,\n args: Object.values(args).length > 0 ? args : undefined,\n };\n}\nfunction decodeTopic({ param, value }) {\n if (param.type === 'string' ||\n param.type === 'bytes' ||\n param.type === 'tuple' ||\n param.type.match(/^(.*)\\[(\\d+)?\\]$/))\n return value;\n const decodedArg = (0,_decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__.decodeAbiParameters)([param], value) || [];\n return decodedArg[0];\n}\n//# sourceMappingURL=decodeEventLog.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/decodeEventLog.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ decodeFunctionResult: () => (/* binding */ decodeFunctionResult)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./decodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/decodeAbiParameters.js\");\n/* harmony import */ var _getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n\n\n\nconst docsPath = '/docs/contract/decodeFunctionResult';\nfunction decodeFunctionResult({ abi, args, functionName, data, }) {\n let abiItem = abi[0];\n if (functionName) {\n abiItem = (0,_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({\n abi,\n args,\n name: functionName,\n });\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(functionName, { docsPath });\n }\n if (abiItem.type !== 'function')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(undefined, { docsPath });\n if (!abiItem.outputs)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionOutputsNotFoundError(abiItem.name, { docsPath });\n const values = (0,_decodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_2__.decodeAbiParameters)(abiItem.outputs, data);\n if (values && values.length > 1)\n return values;\n if (values && values.length === 1)\n return values[0];\n return undefined;\n}\n//# sourceMappingURL=decodeFunctionResult.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/decodeFunctionResult.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeAbiParameters: () => (/* binding */ encodeAbiParameters),\n/* harmony export */ getArrayComponents: () => (/* binding */ getArrayComponents)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _data_pad_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../data/pad.js */ \"./node_modules/viem/_esm/utils/data/pad.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n\n\n\n\n/**\n * @description Encodes a list of primitive values into an ABI-encoded hex value.\n */\nfunction encodeAbiParameters(params, values) {\n if (params.length !== values.length)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEncodingLengthMismatchError({\n expectedLength: params.length,\n givenLength: values.length,\n });\n // Prepare the parameters to determine dynamic types to encode.\n const preparedParams = prepareParams({\n params: params,\n values,\n });\n const data = encodeParams(preparedParams);\n if (data.length === 0)\n return '0x';\n return data;\n}\nfunction prepareParams({ params, values, }) {\n const preparedParams = [];\n for (let i = 0; i < params.length; i++) {\n preparedParams.push(prepareParam({ param: params[i], value: values[i] }));\n }\n return preparedParams;\n}\nfunction prepareParam({ param, value, }) {\n const arrayComponents = getArrayComponents(param.type);\n if (arrayComponents) {\n const [length, type] = arrayComponents;\n return encodeArray(value, { length, param: { ...param, type } });\n }\n if (param.type === 'tuple') {\n return encodeTuple(value, {\n param: param,\n });\n }\n if (param.type === 'address') {\n return encodeAddress(value);\n }\n if (param.type === 'bool') {\n return encodeBool(value);\n }\n if (param.type.startsWith('uint') || param.type.startsWith('int')) {\n const signed = param.type.startsWith('int');\n return encodeNumber(value, { signed });\n }\n if (param.type.startsWith('bytes')) {\n return encodeBytes(value, { param });\n }\n if (param.type === 'string') {\n return encodeString(value);\n }\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.InvalidAbiEncodingTypeError(param.type, {\n docsPath: '/docs/contract/encodeAbiParameters',\n });\n}\nfunction encodeParams(preparedParams) {\n // 1. Compute the size of the static part of the parameters.\n let staticSize = 0;\n for (let i = 0; i < preparedParams.length; i++) {\n const { dynamic, encoded } = preparedParams[i];\n if (dynamic)\n staticSize += 32;\n else\n staticSize += (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(encoded);\n }\n // 2. Split the parameters into static and dynamic parts.\n const staticParams = [];\n const dynamicParams = [];\n let dynamicSize = 0;\n for (let i = 0; i < preparedParams.length; i++) {\n const { dynamic, encoded } = preparedParams[i];\n if (dynamic) {\n staticParams.push((0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(staticSize + dynamicSize, { size: 32 }));\n dynamicParams.push(encoded);\n dynamicSize += (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(encoded);\n }\n else {\n staticParams.push(encoded);\n }\n }\n // 3. Concatenate static and dynamic parts.\n return (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)([...staticParams, ...dynamicParams]);\n}\nfunction encodeAddress(value) {\n if (!(0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_4__.isAddress)(value))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_5__.InvalidAddressError({ address: value });\n return { dynamic: false, encoded: (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_6__.padHex)(value.toLowerCase()) };\n}\nfunction encodeArray(value, { length, param, }) {\n const dynamic = length === null;\n if (!Array.isArray(value))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.InvalidArrayError(value);\n if (!dynamic && value.length !== length)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEncodingArrayLengthMismatchError({\n expectedLength: length,\n givenLength: value.length,\n type: `${param.type}[${length}]`,\n });\n let dynamicChild = false;\n const preparedParams = [];\n for (let i = 0; i < value.length; i++) {\n const preparedParam = prepareParam({ param, value: value[i] });\n if (preparedParam.dynamic)\n dynamicChild = true;\n preparedParams.push(preparedParam);\n }\n if (dynamic || dynamicChild) {\n const data = encodeParams(preparedParams);\n if (dynamic) {\n const length = (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(preparedParams.length, { size: 32 });\n return {\n dynamic: true,\n encoded: preparedParams.length > 0 ? (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)([length, data]) : length,\n };\n }\n if (dynamicChild)\n return { dynamic: true, encoded: data };\n }\n return {\n dynamic: false,\n encoded: (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)(preparedParams.map(({ encoded }) => encoded)),\n };\n}\nfunction encodeBytes(value, { param }) {\n const [, paramSize] = param.type.split('bytes');\n const bytesSize = (0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value);\n if (!paramSize) {\n let value_ = value;\n // If the size is not divisible by 32 bytes, pad the end\n // with empty bytes to the ceiling 32 bytes.\n if (bytesSize % 32 !== 0)\n value_ = (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_6__.padHex)(value_, {\n dir: 'right',\n size: Math.ceil((value.length - 2) / 2 / 32) * 32,\n });\n return {\n dynamic: true,\n encoded: (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)([(0,_data_pad_js__WEBPACK_IMPORTED_MODULE_6__.padHex)((0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(bytesSize, { size: 32 })), value_]),\n };\n }\n if (bytesSize !== parseInt(paramSize))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiEncodingBytesSizeMismatchError({\n expectedSize: parseInt(paramSize),\n value,\n });\n return { dynamic: false, encoded: (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_6__.padHex)(value, { dir: 'right' }) };\n}\nfunction encodeBool(value) {\n return { dynamic: false, encoded: (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_6__.padHex)((0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.boolToHex)(value)) };\n}\nfunction encodeNumber(value, { signed }) {\n return {\n dynamic: false,\n encoded: (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)(value, {\n size: 32,\n signed,\n }),\n };\n}\nfunction encodeString(value) {\n const hexValue = (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.stringToHex)(value);\n const partsLength = Math.ceil((0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(hexValue) / 32);\n const parts = [];\n for (let i = 0; i < partsLength; i++) {\n parts.push((0,_data_pad_js__WEBPACK_IMPORTED_MODULE_6__.padHex)((0,_data_slice_js__WEBPACK_IMPORTED_MODULE_7__.slice)(hexValue, i * 32, (i + 1) * 32), {\n dir: 'right',\n }));\n }\n return {\n dynamic: true,\n encoded: (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)([\n (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_6__.padHex)((0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_2__.numberToHex)((0,_data_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(hexValue), { size: 32 })),\n ...parts,\n ]),\n };\n}\nfunction encodeTuple(value, { param }) {\n let dynamic = false;\n const preparedParams = [];\n for (let i = 0; i < param.components.length; i++) {\n const param_ = param.components[i];\n const index = Array.isArray(value) ? i : param_.name;\n const preparedParam = prepareParam({\n param: param_,\n value: value[index],\n });\n preparedParams.push(preparedParam);\n if (preparedParam.dynamic)\n dynamic = true;\n }\n return {\n dynamic,\n encoded: dynamic\n ? encodeParams(preparedParams)\n : (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)(preparedParams.map(({ encoded }) => encoded)),\n };\n}\nfunction getArrayComponents(type) {\n const matches = type.match(/^(.*)\\[(\\d+)?\\]$/);\n return matches\n ? // Return `null` if the array is dynamic.\n [matches[2] ? Number(matches[2]) : null, matches[1]]\n : undefined;\n}\n//# sourceMappingURL=encodeAbiParameters.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/encodeDeployData.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/encodeDeployData.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeDeployData: () => (/* binding */ encodeDeployData)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n\n\n\nconst docsPath = '/docs/contract/encodeDeployData';\nfunction encodeDeployData({ abi, args, bytecode, }) {\n if (!args || args.length === 0)\n return bytecode;\n const description = abi.find((x) => 'type' in x && x.type === 'constructor');\n if (!description)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiConstructorNotFoundError({ docsPath });\n if (!('inputs' in description))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiConstructorParamsNotFoundError({ docsPath });\n if (!description.inputs || description.inputs.length === 0)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.AbiConstructorParamsNotFoundError({ docsPath });\n const data = (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_1__.encodeAbiParameters)(description.inputs, args);\n return (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_2__.concatHex)([bytecode, data]);\n}\n//# sourceMappingURL=encodeDeployData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/encodeDeployData.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/encodeEventTopics.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/encodeEventTopics.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeEventTopics: () => (/* binding */ encodeEventTopics)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_log_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../errors/log.js */ \"./node_modules/viem/_esm/errors/log.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/getEventSelector.js */ \"./node_modules/viem/_esm/utils/hash/getEventSelector.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n\n\n\n\n\n\n\n\nfunction encodeEventTopics({ abi, eventName, args }) {\n let abiItem = abi[0];\n if (eventName) {\n abiItem = (0,_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({\n abi,\n args,\n name: eventName,\n });\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiEventNotFoundError(eventName, {\n docsPath: '/docs/contract/encodeEventTopics',\n });\n }\n if (abiItem.type !== 'event')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiEventNotFoundError(undefined, {\n docsPath: '/docs/contract/encodeEventTopics',\n });\n const definition = (0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__.formatAbiItem)(abiItem);\n const signature = (0,_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_3__.getEventSelector)(definition);\n let topics = [];\n if (args && 'inputs' in abiItem) {\n const indexedInputs = abiItem.inputs?.filter((param) => 'indexed' in param && param.indexed);\n const args_ = Array.isArray(args)\n ? args\n : Object.values(args).length > 0\n ? indexedInputs?.map((x) => args[x.name]) ?? []\n : [];\n if (args_.length > 0) {\n topics =\n indexedInputs?.map((param, i) => Array.isArray(args_[i])\n ? args_[i].map((_, j) => encodeArg({ param, value: args_[i][j] }))\n : args_[i]\n ? encodeArg({ param, value: args_[i] })\n : null) ?? [];\n }\n }\n return [signature, ...topics];\n}\nfunction encodeArg({ param, value, }) {\n if (param.type === 'string' || param.type === 'bytes')\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_4__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_5__.toBytes)(value));\n if (param.type === 'tuple' || param.type.match(/^(.*)\\[(\\d+)?\\]$/))\n throw new _errors_log_js__WEBPACK_IMPORTED_MODULE_6__.FilterTypeNotSupportedError(param.type);\n return (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_7__.encodeAbiParameters)([param], [value]);\n}\n//# sourceMappingURL=encodeEventTopics.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/encodeEventTopics.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/encodeFunctionData.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/encodeFunctionData.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeFunctionData: () => (/* binding */ encodeFunctionData)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/getFunctionSelector.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSelector.js\");\n/* harmony import */ var _encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n/* harmony import */ var _formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./formatAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/formatAbiItem.js\");\n/* harmony import */ var _getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getAbiItem.js */ \"./node_modules/viem/_esm/utils/abi/getAbiItem.js\");\n\n\n\n\n\n\nfunction encodeFunctionData({ abi, args, functionName, }) {\n let abiItem = abi[0];\n if (functionName) {\n abiItem = (0,_getAbiItem_js__WEBPACK_IMPORTED_MODULE_0__.getAbiItem)({\n abi,\n args,\n name: functionName,\n });\n if (!abiItem)\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(functionName, {\n docsPath: '/docs/contract/encodeFunctionData',\n });\n }\n if (abiItem.type !== 'function')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_1__.AbiFunctionNotFoundError(undefined, {\n docsPath: '/docs/contract/encodeFunctionData',\n });\n const definition = (0,_formatAbiItem_js__WEBPACK_IMPORTED_MODULE_2__.formatAbiItem)(abiItem);\n const signature = (0,_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_3__.getFunctionSelector)(definition);\n const data = 'inputs' in abiItem && abiItem.inputs\n ? (0,_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_4__.encodeAbiParameters)(abiItem.inputs, (args ?? []))\n : undefined;\n return (0,_data_concat_js__WEBPACK_IMPORTED_MODULE_5__.concatHex)([signature, data ?? '0x']);\n}\n//# sourceMappingURL=encodeFunctionData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/encodeFunctionData.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/formatAbiItem.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/formatAbiItem.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiItem: () => (/* binding */ formatAbiItem),\n/* harmony export */ formatAbiParams: () => (/* binding */ formatAbiParams)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n\nfunction formatAbiItem(abiItem, { includeName = false } = {}) {\n if (abiItem.type !== 'function' &&\n abiItem.type !== 'event' &&\n abiItem.type !== 'error')\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_0__.InvalidDefinitionTypeError(abiItem.type);\n return `${abiItem.name}(${formatAbiParams(abiItem.inputs, { includeName })})`;\n}\nfunction formatAbiParams(params, { includeName = false } = {}) {\n if (!params)\n return '';\n return params\n .map((param) => formatAbiParam(param, { includeName }))\n .join(includeName ? ', ' : ',');\n}\nfunction formatAbiParam(param, { includeName }) {\n if (param.type.startsWith('tuple')) {\n return `(${formatAbiParams(param.components, { includeName })})${param.type.slice('tuple'.length)}`;\n }\n return param.type + (includeName && param.name ? ` ${param.name}` : '');\n}\n//# sourceMappingURL=formatAbiItem.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/formatAbiItem.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js":
/*!*******************************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiItemWithArgs: () => (/* binding */ formatAbiItemWithArgs)\n/* harmony export */ });\n/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n\nfunction formatAbiItemWithArgs({ abiItem, args, includeFunctionName = true, includeName = false, }) {\n if (!('name' in abiItem))\n return;\n if (!('inputs' in abiItem))\n return;\n if (!abiItem.inputs)\n return;\n return `${includeFunctionName ? abiItem.name : ''}(${abiItem.inputs\n .map((input, i) => `${includeName && input.name ? `${input.name}: ` : ''}${typeof args[i] === 'object' ? (0,_stringify_js__WEBPACK_IMPORTED_MODULE_0__.stringify)(args[i]) : args[i]}`)\n .join(', ')})`;\n}\n//# sourceMappingURL=formatAbiItemWithArgs.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/formatAbiItemWithArgs.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/abi/getAbiItem.js":
/*!********************************************************!*\
!*** ./node_modules/viem/_esm/utils/abi/getAbiItem.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getAbiItem: () => (/* binding */ getAbiItem),\n/* harmony export */ isArgOfType: () => (/* binding */ isArgOfType)\n/* harmony export */ });\n/* harmony import */ var _utils_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _utils_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/hash/getEventSelector.js */ \"./node_modules/viem/_esm/utils/hash/getEventSelector.js\");\n/* harmony import */ var _utils_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/hash/getFunctionSelector.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSelector.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n\n\n\n\nfunction getAbiItem({ abi, args = [], name, }) {\n const isSelector = (0,_utils_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(name, { strict: false });\n const abiItems = abi.filter((abiItem) => {\n if (isSelector) {\n if (abiItem.type === 'function')\n return (0,_utils_hash_getFunctionSelector_js__WEBPACK_IMPORTED_MODULE_1__.getFunctionSelector)(abiItem) === name;\n if (abiItem.type === 'event')\n return (0,_utils_hash_getEventSelector_js__WEBPACK_IMPORTED_MODULE_2__.getEventSelector)(abiItem) === name;\n return false;\n }\n return 'name' in abiItem && abiItem.name === name;\n });\n if (abiItems.length === 0)\n return undefined;\n if (abiItems.length === 1)\n return abiItems[0];\n for (const abiItem of abiItems) {\n if (!('inputs' in abiItem))\n continue;\n if (!args || args.length === 0) {\n if (!abiItem.inputs || abiItem.inputs.length === 0)\n return abiItem;\n continue;\n }\n if (!abiItem.inputs)\n continue;\n if (abiItem.inputs.length === 0)\n continue;\n if (abiItem.inputs.length !== args.length)\n continue;\n const matched = args.every((arg, index) => {\n const abiParameter = 'inputs' in abiItem && abiItem.inputs[index];\n if (!abiParameter)\n return false;\n return isArgOfType(arg, abiParameter);\n });\n if (matched)\n return abiItem;\n }\n return abiItems[0];\n}\nfunction isArgOfType(arg, abiParameter) {\n const argType = typeof arg;\n const abiParameterType = abiParameter.type;\n switch (abiParameterType) {\n case 'address':\n return (0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_3__.isAddress)(arg);\n case 'bool':\n return argType === 'boolean';\n case 'function':\n return argType === 'string';\n case 'string':\n return argType === 'string';\n default: {\n if (abiParameterType === 'tuple' && 'components' in abiParameter)\n return Object.values(abiParameter.components).every((component, index) => {\n return isArgOfType(Object.values(arg)[index], component);\n });\n // `(u)int<M>`: (un)signed integer type of `M` bits, `0 < M <= 256`, `M % 8 == 0`\n // https://regexr.com/6v8hp\n if (/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/.test(abiParameterType))\n return argType === 'number' || argType === 'bigint';\n // `bytes<M>`: binary type of `M` bytes, `0 < M <= 32`\n // https://regexr.com/6va55\n if (/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/.test(abiParameterType))\n return argType === 'string' || arg instanceof Uint8Array;\n // fixed-length (`<type>[M]`) and dynamic (`<type>[]`) arrays\n // https://regexr.com/6va6i\n if (/[a-z]+[1-9]{0,3}(\\[[0-9]{0,}\\])+$/.test(abiParameterType)) {\n return (Array.isArray(arg) &&\n arg.every((x) => isArgOfType(x, {\n ...abiParameter,\n // Pop off `[]` or `[M]` from end of type\n type: abiParameterType.replace(/(\\[[0-9]{0,}\\])$/, ''),\n })));\n }\n return false;\n }\n }\n}\n//# sourceMappingURL=getAbiItem.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/abi/getAbiItem.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/address/getAddress.js":
/*!************************************************************!*\
!*** ./node_modules/viem/_esm/utils/address/getAddress.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ checksumAddress: () => (/* binding */ checksumAddress),\n/* harmony export */ getAddress: () => (/* binding */ getAddress)\n/* harmony export */ });\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _isAddress_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n\n\n\n\nfunction checksumAddress(address_, chainId) {\n const hexAddress = chainId\n ? `${chainId}${address_.toLowerCase()}`\n : address_.substring(2).toLowerCase();\n const hash = (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_0__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.stringToBytes)(hexAddress), 'bytes');\n const address = (chainId ? hexAddress.substring(`${chainId}0x`.length) : hexAddress).split('');\n for (let i = 0; i < 40; i += 2) {\n if (hash[i >> 1] >> 4 >= 8 && address[i]) {\n address[i] = address[i].toUpperCase();\n }\n if ((hash[i >> 1] & 0x0f) >= 8 && address[i + 1]) {\n address[i + 1] = address[i + 1].toUpperCase();\n }\n }\n return `0x${address.join('')}`;\n}\nfunction getAddress(address, chainId) {\n if (!(0,_isAddress_js__WEBPACK_IMPORTED_MODULE_2__.isAddress)(address))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_3__.InvalidAddressError({ address });\n return checksumAddress(address, chainId);\n}\n//# sourceMappingURL=getAddress.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/address/getAddress.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/address/isAddress.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/utils/address/isAddress.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isAddress: () => (/* binding */ isAddress)\n/* harmony export */ });\nconst addressRegex = /^0x[a-fA-F0-9]{40}$/;\nfunction isAddress(address) {\n return addressRegex.test(address);\n}\n//# sourceMappingURL=isAddress.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/address/isAddress.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/buildRequest.js":
/*!******************************************************!*\
!*** ./node_modules/viem/_esm/utils/buildRequest.js ***!
\******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ buildRequest: () => (/* binding */ buildRequest),\n/* harmony export */ isDeterministicError: () => (/* binding */ isDeterministicError)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n/* harmony import */ var _promise_withRetry_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./promise/withRetry.js */ \"./node_modules/viem/_esm/utils/promise/withRetry.js\");\n\n\n\n\nconst isDeterministicError = (error) => {\n if ('code' in error)\n return (error.code !== -1 &&\n error.code !== -32004 &&\n error.code !== -32005 &&\n error.code !== -32042 &&\n error.code !== -32603);\n if (error instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_0__.HttpRequestError && error.status)\n return (error.status !== 403 &&\n error.status !== 408 &&\n error.status !== 413 &&\n error.status !== 429 &&\n error.status !== 500 &&\n error.status !== 502 &&\n error.status !== 503 &&\n error.status !== 504);\n return false;\n};\nfunction buildRequest(request, { retryDelay = 150, retryCount = 3, } = {}) {\n return (async (args) => (0,_promise_withRetry_js__WEBPACK_IMPORTED_MODULE_1__.withRetry)(async () => {\n try {\n return await request(args);\n }\n catch (err_) {\n const err = err_;\n switch (err.code) {\n // -32700\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ParseRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ParseRpcError(err);\n // -32600\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidRequestRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidRequestRpcError(err);\n // -32601\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.MethodNotFoundRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.MethodNotFoundRpcError(err);\n // -32602\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidParamsRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidParamsRpcError(err);\n // -32603\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InternalRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InternalRpcError(err);\n // -32000\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidInputRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.InvalidInputRpcError(err);\n // -32001\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceNotFoundRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceNotFoundRpcError(err);\n // -32002\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceUnavailableRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ResourceUnavailableRpcError(err);\n // -32003\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.TransactionRejectedRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.TransactionRejectedRpcError(err);\n // -32004\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.MethodNotSupportedRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.MethodNotSupportedRpcError(err);\n // -32005\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.LimitExceededRpcError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.LimitExceededRpcError(err);\n // -32006\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.JsonRpcVersionUnsupportedError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.JsonRpcVersionUnsupportedError(err);\n // 4001\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UserRejectedRequestError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UserRejectedRequestError(err);\n // 4100\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UnauthorizedProviderError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UnauthorizedProviderError(err);\n // 4200\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UnsupportedProviderMethodError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UnsupportedProviderMethodError(err);\n // 4900\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ProviderDisconnectedError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ProviderDisconnectedError(err);\n // 4901\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ChainDisconnectedError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.ChainDisconnectedError(err);\n // 4902\n case _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.SwitchChainError.code:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.SwitchChainError(err);\n // CAIP-25: User Rejected Error\n // https://docs.walletconnect.com/2.0/specs/clients/sign/error-codes#rejected-caip-25\n case 5000:\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UserRejectedRequestError(err);\n default:\n if (err_ instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_3__.BaseError)\n throw err_;\n throw new _errors_rpc_js__WEBPACK_IMPORTED_MODULE_2__.UnknownRpcError(err);\n }\n }\n }, {\n delay: ({ count, error }) => {\n // If we find a Retry-After header, let's retry after the given time.\n if (error && error instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_0__.HttpRequestError) {\n const retryAfter = error?.headers?.get('Retry-After');\n if (retryAfter?.match(/\\d/))\n return parseInt(retryAfter) * 1000;\n }\n // Otherwise, let's retry with an exponential backoff.\n return ~~(1 << count) * retryDelay;\n },\n retryCount,\n shouldRetry: ({ error }) => !isDeterministicError(error),\n }));\n}\n//# sourceMappingURL=buildRequest.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/buildRequest.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/chain/assertCurrentChain.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/_esm/utils/chain/assertCurrentChain.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertCurrentChain: () => (/* binding */ assertCurrentChain)\n/* harmony export */ });\n/* harmony import */ var _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/chain.js */ \"./node_modules/viem/_esm/errors/chain.js\");\n\nfunction assertCurrentChain({ chain, currentChainId, }) {\n if (!chain)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainNotFoundError();\n if (currentChainId !== chain.id)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainMismatchError({ chain, currentChainId });\n}\n//# sourceMappingURL=assertCurrentChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/chain/assertCurrentChain.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/chain/defineChain.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/utils/chain/defineChain.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineChain: () => (/* binding */ defineChain)\n/* harmony export */ });\nfunction defineChain(chain, config = {}) {\n const { fees = chain.fees, formatters = chain.formatters, serializers = chain.serializers, } = config;\n return {\n ...chain,\n fees,\n formatters,\n serializers,\n };\n}\n//# sourceMappingURL=defineChain.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/chain/defineChain.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/chain/getChainContractAddress.js":
/*!***********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/chain/getChainContractAddress.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getChainContractAddress: () => (/* binding */ getChainContractAddress)\n/* harmony export */ });\n/* harmony import */ var _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/chain.js */ \"./node_modules/viem/_esm/errors/chain.js\");\n\nfunction getChainContractAddress({ blockNumber, chain, contract: name, }) {\n const contract = chain?.contracts?.[name];\n if (!contract)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainDoesNotSupportContract({\n chain,\n contract: { name },\n });\n if (blockNumber &&\n contract.blockCreated &&\n contract.blockCreated > blockNumber)\n throw new _errors_chain_js__WEBPACK_IMPORTED_MODULE_0__.ChainDoesNotSupportContract({\n blockNumber,\n chain,\n contract: {\n name,\n blockCreated: contract.blockCreated,\n },\n });\n return contract.address;\n}\n//# sourceMappingURL=getChainContractAddress.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/chain/getChainContractAddress.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/data/concat.js":
/*!*****************************************************!*\
!*** ./node_modules/viem/_esm/utils/data/concat.js ***!
\*****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ concat: () => (/* binding */ concat),\n/* harmony export */ concatBytes: () => (/* binding */ concatBytes),\n/* harmony export */ concatHex: () => (/* binding */ concatHex)\n/* harmony export */ });\nfunction concat(values) {\n if (typeof values[0] === 'string')\n return concatHex(values);\n return concatBytes(values);\n}\nfunction concatBytes(values) {\n let length = 0;\n for (const arr of values) {\n length += arr.length;\n }\n const result = new Uint8Array(length);\n let offset = 0;\n for (const arr of values) {\n result.set(arr, offset);\n offset += arr.length;\n }\n return result;\n}\nfunction concatHex(values) {\n return `0x${values.reduce((acc, x) => acc + x.replace('0x', ''), '')}`;\n}\n//# sourceMappingURL=concat.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/concat.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/data/isBytesEqual.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/utils/data/isBytesEqual.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isBytesEqual: () => (/* binding */ isBytesEqual)\n/* harmony export */ });\n/* harmony import */ var _noble_curves_abstract_utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @noble/curves/abstract/utils */ \"./node_modules/@noble/curves/esm/abstract/utils.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n\n\n\nfunction isBytesEqual(a_, b_) {\n const a = (0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(a_) ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(a_) : a_;\n const b = (0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(b_) ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(b_) : b_;\n return (0,_noble_curves_abstract_utils__WEBPACK_IMPORTED_MODULE_2__.equalBytes)(a, b);\n}\n//# sourceMappingURL=isBytesEqual.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/isBytesEqual.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/data/isHex.js":
/*!****************************************************!*\
!*** ./node_modules/viem/_esm/utils/data/isHex.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isHex: () => (/* binding */ isHex)\n/* harmony export */ });\nfunction isHex(value, { strict = true } = {}) {\n if (!value)\n return false;\n if (typeof value !== 'string')\n return false;\n return strict ? /^0x[0-9a-fA-F]*$/.test(value) : value.startsWith('0x');\n}\n//# sourceMappingURL=isHex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/isHex.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/data/pad.js":
/*!**************************************************!*\
!*** ./node_modules/viem/_esm/utils/data/pad.js ***!
\**************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ pad: () => (/* binding */ pad),\n/* harmony export */ padBytes: () => (/* binding */ padBytes),\n/* harmony export */ padHex: () => (/* binding */ padHex)\n/* harmony export */ });\n/* harmony import */ var _errors_data_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/data.js */ \"./node_modules/viem/_esm/errors/data.js\");\n\nfunction pad(hexOrBytes, { dir, size = 32 } = {}) {\n if (typeof hexOrBytes === 'string')\n return padHex(hexOrBytes, { dir, size });\n return padBytes(hexOrBytes, { dir, size });\n}\nfunction padHex(hex_, { dir, size = 32 } = {}) {\n if (size === null)\n return hex_;\n const hex = hex_.replace('0x', '');\n if (hex.length > size * 2)\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_0__.SizeExceedsPaddingSizeError({\n size: Math.ceil(hex.length / 2),\n targetSize: size,\n type: 'hex',\n });\n return `0x${hex[dir === 'right' ? 'padEnd' : 'padStart'](size * 2, '0')}`;\n}\nfunction padBytes(bytes, { dir, size = 32 } = {}) {\n if (size === null)\n return bytes;\n if (bytes.length > size)\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_0__.SizeExceedsPaddingSizeError({\n size: bytes.length,\n targetSize: size,\n type: 'bytes',\n });\n const paddedBytes = new Uint8Array(size);\n for (let i = 0; i < size; i++) {\n const padEnd = dir === 'right';\n paddedBytes[padEnd ? i : size - i - 1] =\n bytes[padEnd ? i : bytes.length - i - 1];\n }\n return paddedBytes;\n}\n//# sourceMappingURL=pad.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/pad.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/data/size.js":
/*!***************************************************!*\
!*** ./node_modules/viem/_esm/utils/data/size.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ size: () => (/* binding */ size)\n/* harmony export */ });\n/* harmony import */ var _isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n\n/**\n * @description Retrieves the size of the value (in bytes).\n *\n * @param value The value (hex or byte array) to retrieve the size of.\n * @returns The size of the value (in bytes).\n */\nfunction size(value) {\n if ((0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(value, { strict: false }))\n return Math.ceil((value.length - 2) / 2);\n return value.length;\n}\n//# sourceMappingURL=size.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/size.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/data/slice.js":
/*!****************************************************!*\
!*** ./node_modules/viem/_esm/utils/data/slice.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ slice: () => (/* binding */ slice),\n/* harmony export */ sliceBytes: () => (/* binding */ sliceBytes),\n/* harmony export */ sliceHex: () => (/* binding */ sliceHex)\n/* harmony export */ });\n/* harmony import */ var _errors_data_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/data.js */ \"./node_modules/viem/_esm/errors/data.js\");\n/* harmony import */ var _isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _size_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n\n\n\n/**\n * @description Returns a section of the hex or byte array given a start/end bytes offset.\n *\n * @param value The hex or byte array to slice.\n * @param start The start offset (in bytes).\n * @param end The end offset (in bytes).\n */\nfunction slice(value, start, end, { strict } = {}) {\n if ((0,_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(value, { strict: false }))\n return sliceHex(value, start, end, {\n strict,\n });\n return sliceBytes(value, start, end, {\n strict,\n });\n}\nfunction assertStartOffset(value, start) {\n if (typeof start === 'number' && start > 0 && start > (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value) - 1)\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_2__.SliceOffsetOutOfBoundsError({\n offset: start,\n position: 'start',\n size: (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value),\n });\n}\nfunction assertEndOffset(value, start, end) {\n if (typeof start === 'number' &&\n typeof end === 'number' &&\n (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value) !== end - start) {\n throw new _errors_data_js__WEBPACK_IMPORTED_MODULE_2__.SliceOffsetOutOfBoundsError({\n offset: end,\n position: 'end',\n size: (0,_size_js__WEBPACK_IMPORTED_MODULE_1__.size)(value),\n });\n }\n}\n/**\n * @description Returns a section of the byte array given a start/end bytes offset.\n *\n * @param value The byte array to slice.\n * @param start The start offset (in bytes).\n * @param end The end offset (in bytes).\n */\nfunction sliceBytes(value_, start, end, { strict } = {}) {\n assertStartOffset(value_, start);\n const value = value_.slice(start, end);\n if (strict)\n assertEndOffset(value, start, end);\n return value;\n}\n/**\n * @description Returns a section of the hex value given a start/end bytes offset.\n *\n * @param value The hex value to slice.\n * @param start The start offset (in bytes).\n * @param end The end offset (in bytes).\n */\nfunction sliceHex(value_, start, end, { strict } = {}) {\n assertStartOffset(value_, start);\n const value = `0x${value_\n .replace('0x', '')\n .slice((start ?? 0) * 2, (end ?? value_.length) * 2)}`;\n if (strict)\n assertEndOffset(value, start, end);\n return value;\n}\n//# sourceMappingURL=slice.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/slice.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/data/trim.js":
/*!***************************************************!*\
!*** ./node_modules/viem/_esm/utils/data/trim.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ trim: () => (/* binding */ trim)\n/* harmony export */ });\nfunction trim(hexOrBytes, { dir = 'left' } = {}) {\n let data = typeof hexOrBytes === 'string' ? hexOrBytes.replace('0x', '') : hexOrBytes;\n let sliceLength = 0;\n for (let i = 0; i < data.length - 1; i++) {\n if (data[dir === 'left' ? i : data.length - i - 1].toString() === '0')\n sliceLength++;\n else\n break;\n }\n data =\n dir === 'left'\n ? data.slice(sliceLength)\n : data.slice(0, data.length - sliceLength);\n if (typeof hexOrBytes === 'string') {\n if (data.length === 1 && dir === 'right')\n data = `${data}0`;\n return `0x${data.length % 2 === 1 ? `0${data}` : data}`;\n }\n return data;\n}\n//# sourceMappingURL=trim.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/data/trim.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/encoding/fromHex.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/utils/encoding/fromHex.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertSize: () => (/* binding */ assertSize),\n/* harmony export */ fromHex: () => (/* binding */ fromHex),\n/* harmony export */ hexToBigInt: () => (/* binding */ hexToBigInt),\n/* harmony export */ hexToBool: () => (/* binding */ hexToBool),\n/* harmony export */ hexToNumber: () => (/* binding */ hexToNumber),\n/* harmony export */ hexToString: () => (/* binding */ hexToString)\n/* harmony export */ });\n/* harmony import */ var _errors_encoding_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/encoding.js */ \"./node_modules/viem/_esm/errors/encoding.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _data_trim_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/trim.js */ \"./node_modules/viem/_esm/utils/data/trim.js\");\n/* harmony import */ var _toBytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n\n\n\n\nfunction assertSize(hexOrBytes, { size }) {\n if ((0,_data_size_js__WEBPACK_IMPORTED_MODULE_0__.size)(hexOrBytes) > size)\n throw new _errors_encoding_js__WEBPACK_IMPORTED_MODULE_1__.SizeOverflowError({\n givenSize: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_0__.size)(hexOrBytes),\n maxSize: size,\n });\n}\n/**\n * Decodes a hex string into a string, number, bigint, boolean, or byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html\n * - Example: https://viem.sh/docs/utilities/fromHex.html#usage\n *\n * @param hex Hex string to decode.\n * @param toOrOpts Type to convert to or options.\n * @returns Decoded value.\n *\n * @example\n * import { fromHex } from 'viem'\n * const data = fromHex('0x1a4', 'number')\n * // 420\n *\n * @example\n * import { fromHex } from 'viem'\n * const data = fromHex('0x48656c6c6f20576f726c6421', 'string')\n * // 'Hello world'\n *\n * @example\n * import { fromHex } from 'viem'\n * const data = fromHex('0x48656c6c6f20576f726c64210000000000000000000000000000000000000000', {\n * size: 32,\n * to: 'string'\n * })\n * // 'Hello world'\n */\nfunction fromHex(hex, toOrOpts) {\n const opts = typeof toOrOpts === 'string' ? { to: toOrOpts } : toOrOpts;\n const to = opts.to;\n if (to === 'number')\n return hexToNumber(hex, opts);\n if (to === 'bigint')\n return hexToBigInt(hex, opts);\n if (to === 'string')\n return hexToString(hex, opts);\n if (to === 'boolean')\n return hexToBool(hex, opts);\n return (0,_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.hexToBytes)(hex, opts);\n}\n/**\n * Decodes a hex value into a bigint.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html#hextobigint\n *\n * @param hex Hex value to decode.\n * @param opts Options.\n * @returns BigInt value.\n *\n * @example\n * import { hexToBigInt } from 'viem'\n * const data = hexToBigInt('0x1a4', { signed: true })\n * // 420n\n *\n * @example\n * import { hexToBigInt } from 'viem'\n * const data = hexToBigInt('0x00000000000000000000000000000000000000000000000000000000000001a4', { size: 32 })\n * // 420n\n */\nfunction hexToBigInt(hex, opts = {}) {\n const { signed } = opts;\n if (opts.size)\n assertSize(hex, { size: opts.size });\n const value = BigInt(hex);\n if (!signed)\n return value;\n const size = (hex.length - 2) / 2;\n const max = (1n << (BigInt(size) * 8n - 1n)) - 1n;\n if (value <= max)\n return value;\n return value - BigInt(`0x${'f'.padStart(size * 2, 'f')}`) - 1n;\n}\n/**\n * Decodes a hex value into a boolean.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html#hextobool\n *\n * @param hex Hex value to decode.\n * @param opts Options.\n * @returns Boolean value.\n *\n * @example\n * import { hexToBool } from 'viem'\n * const data = hexToBool('0x01')\n * // true\n *\n * @example\n * import { hexToBool } from 'viem'\n * const data = hexToBool('0x0000000000000000000000000000000000000000000000000000000000000001', { size: 32 })\n * // true\n */\nfunction hexToBool(hex_, opts = {}) {\n let hex = hex_;\n if (opts.size) {\n assertSize(hex, { size: opts.size });\n hex = (0,_data_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(hex);\n }\n if ((0,_data_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(hex) === '0x00')\n return false;\n if ((0,_data_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(hex) === '0x01')\n return true;\n throw new _errors_encoding_js__WEBPACK_IMPORTED_MODULE_1__.InvalidHexBooleanError(hex);\n}\n/**\n * Decodes a hex string into a number.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html#hextonumber\n *\n * @param hex Hex value to decode.\n * @param opts Options.\n * @returns Number value.\n *\n * @example\n * import { hexToNumber } from 'viem'\n * const data = hexToNumber('0x1a4')\n * // 420\n *\n * @example\n * import { hexToNumber } from 'viem'\n * const data = hexToBigInt('0x00000000000000000000000000000000000000000000000000000000000001a4', { size: 32 })\n * // 420\n */\nfunction hexToNumber(hex, opts = {}) {\n return Number(hexToBigInt(hex, opts));\n}\n/**\n * Decodes a hex value into a UTF-8 string.\n *\n * - Docs: https://viem.sh/docs/utilities/fromHex.html#hextostring\n *\n * @param hex Hex value to decode.\n * @param opts Options.\n * @returns String value.\n *\n * @example\n * import { hexToString } from 'viem'\n * const data = hexToString('0x48656c6c6f20576f726c6421')\n * // 'Hello world!'\n *\n * @example\n * import { hexToString } from 'viem'\n * const data = hexToString('0x48656c6c6f20576f726c64210000000000000000000000000000000000000000', {\n * size: 32,\n * })\n * // 'Hello world'\n */\nfunction hexToString(hex, opts = {}) {\n let bytes = (0,_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.hexToBytes)(hex);\n if (opts.size) {\n assertSize(bytes, { size: opts.size });\n bytes = (0,_data_trim_js__WEBPACK_IMPORTED_MODULE_3__.trim)(bytes, { dir: 'right' });\n }\n return new TextDecoder().decode(bytes);\n}\n//# sourceMappingURL=fromHex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/encoding/fromHex.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/encoding/toBytes.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/utils/encoding/toBytes.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ boolToBytes: () => (/* binding */ boolToBytes),\n/* harmony export */ hexToBytes: () => (/* binding */ hexToBytes),\n/* harmony export */ numberToBytes: () => (/* binding */ numberToBytes),\n/* harmony export */ stringToBytes: () => (/* binding */ stringToBytes),\n/* harmony export */ toBytes: () => (/* binding */ toBytes)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _data_isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _data_pad_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/pad.js */ \"./node_modules/viem/_esm/utils/data/pad.js\");\n/* harmony import */ var _fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\n\nconst encoder = /*#__PURE__*/ new TextEncoder();\n/**\n * Encodes a UTF-8 string, hex value, bigint, number or boolean to a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html\n * - Example: https://viem.sh/docs/utilities/toBytes.html#usage\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Byte array value.\n *\n * @example\n * import { toBytes } from 'viem'\n * const data = toBytes('Hello world')\n * // Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33])\n *\n * @example\n * import { toBytes } from 'viem'\n * const data = toBytes(420)\n * // Uint8Array([1, 164])\n *\n * @example\n * import { toBytes } from 'viem'\n * const data = toBytes(420, { size: 4 })\n * // Uint8Array([0, 0, 1, 164])\n */\nfunction toBytes(value, opts = {}) {\n if (typeof value === 'number' || typeof value === 'bigint')\n return numberToBytes(value, opts);\n if (typeof value === 'boolean')\n return boolToBytes(value, opts);\n if ((0,_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(value))\n return hexToBytes(value, opts);\n return stringToBytes(value, opts);\n}\n/**\n * Encodes a boolean into a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html#booltobytes\n *\n * @param value Boolean value to encode.\n * @param opts Options.\n * @returns Byte array value.\n *\n * @example\n * import { boolToBytes } from 'viem'\n * const data = boolToBytes(true)\n * // Uint8Array([1])\n *\n * @example\n * import { boolToBytes } from 'viem'\n * const data = boolToBytes(true, { size: 32 })\n * // Uint8Array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1])\n */\nfunction boolToBytes(value, opts = {}) {\n const bytes = new Uint8Array(1);\n bytes[0] = Number(value);\n if (typeof opts.size === 'number') {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.assertSize)(bytes, { size: opts.size });\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_2__.pad)(bytes, { size: opts.size });\n }\n return bytes;\n}\n// We use very optimized technique to convert hex string to byte array\nconst charCodeMap = {\n zero: 48,\n nine: 57,\n A: 65,\n F: 70,\n a: 97,\n f: 102,\n};\nfunction charCodeToBase16(char) {\n if (char >= charCodeMap.zero && char <= charCodeMap.nine)\n return char - charCodeMap.zero;\n if (char >= charCodeMap.A && char <= charCodeMap.F)\n return char - (charCodeMap.A - 10);\n if (char >= charCodeMap.a && char <= charCodeMap.f)\n return char - (charCodeMap.a - 10);\n return undefined;\n}\n/**\n * Encodes a hex string into a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html#hextobytes\n *\n * @param hex Hex string to encode.\n * @param opts Options.\n * @returns Byte array value.\n *\n * @example\n * import { hexToBytes } from 'viem'\n * const data = hexToBytes('0x48656c6c6f20776f726c6421')\n * // Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33])\n *\n * @example\n * import { hexToBytes } from 'viem'\n * const data = hexToBytes('0x48656c6c6f20776f726c6421', { size: 32 })\n * // Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])\n */\nfunction hexToBytes(hex_, opts = {}) {\n let hex = hex_;\n if (opts.size) {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.assertSize)(hex, { size: opts.size });\n hex = (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_2__.pad)(hex, { dir: 'right', size: opts.size });\n }\n let hexString = hex.slice(2);\n if (hexString.length % 2)\n hexString = `0${hexString}`;\n const length = hexString.length / 2;\n const bytes = new Uint8Array(length);\n for (let index = 0, j = 0; index < length; index++) {\n const nibbleLeft = charCodeToBase16(hexString.charCodeAt(j++));\n const nibbleRight = charCodeToBase16(hexString.charCodeAt(j++));\n if (nibbleLeft === undefined || nibbleRight === undefined) {\n throw new _errors_base_js__WEBPACK_IMPORTED_MODULE_3__.BaseError(`Invalid byte sequence (\"${hexString[j - 2]}${hexString[j - 1]}\" in \"${hexString}\").`);\n }\n bytes[index] = nibbleLeft * 16 + nibbleRight;\n }\n return bytes;\n}\n/**\n * Encodes a number into a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html#numbertobytes\n *\n * @param value Number to encode.\n * @param opts Options.\n * @returns Byte array value.\n *\n * @example\n * import { numberToBytes } from 'viem'\n * const data = numberToBytes(420)\n * // Uint8Array([1, 164])\n *\n * @example\n * import { numberToBytes } from 'viem'\n * const data = numberToBytes(420, { size: 4 })\n * // Uint8Array([0, 0, 1, 164])\n */\nfunction numberToBytes(value, opts) {\n const hex = (0,_toHex_js__WEBPACK_IMPORTED_MODULE_4__.numberToHex)(value, opts);\n return hexToBytes(hex);\n}\n/**\n * Encodes a UTF-8 string into a byte array.\n *\n * - Docs: https://viem.sh/docs/utilities/toBytes.html#stringtobytes\n *\n * @param value String to encode.\n * @param opts Options.\n * @returns Byte array value.\n *\n * @example\n * import { stringToBytes } from 'viem'\n * const data = stringToBytes('Hello world!')\n * // Uint8Array([72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33])\n *\n * @example\n * import { stringToBytes } from 'viem'\n * const data = stringToBytes('Hello world!', { size: 32 })\n * // Uint8Array([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])\n */\nfunction stringToBytes(value, opts = {}) {\n const bytes = encoder.encode(value);\n if (typeof opts.size === 'number') {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.assertSize)(bytes, { size: opts.size });\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_2__.pad)(bytes, { dir: 'right', size: opts.size });\n }\n return bytes;\n}\n//# sourceMappingURL=toBytes.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/encoding/toBytes.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/encoding/toHex.js":
/*!********************************************************!*\
!*** ./node_modules/viem/_esm/utils/encoding/toHex.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ boolToHex: () => (/* binding */ boolToHex),\n/* harmony export */ bytesToHex: () => (/* binding */ bytesToHex),\n/* harmony export */ numberToHex: () => (/* binding */ numberToHex),\n/* harmony export */ stringToHex: () => (/* binding */ stringToHex),\n/* harmony export */ toHex: () => (/* binding */ toHex)\n/* harmony export */ });\n/* harmony import */ var _errors_encoding_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/encoding.js */ \"./node_modules/viem/_esm/errors/encoding.js\");\n/* harmony import */ var _data_pad_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/pad.js */ \"./node_modules/viem/_esm/utils/data/pad.js\");\n/* harmony import */ var _fromHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n\n\n\nconst hexes = /*#__PURE__*/ Array.from({ length: 256 }, (_v, i) => i.toString(16).padStart(2, '0'));\n/**\n * Encodes a string, number, bigint, or ByteArray into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html\n * - Example: https://viem.sh/docs/utilities/toHex.html#usage\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { toHex } from 'viem'\n * const data = toHex('Hello world')\n * // '0x48656c6c6f20776f726c6421'\n *\n * @example\n * import { toHex } from 'viem'\n * const data = toHex(420)\n * // '0x1a4'\n *\n * @example\n * import { toHex } from 'viem'\n * const data = toHex('Hello world', { size: 32 })\n * // '0x48656c6c6f20776f726c64210000000000000000000000000000000000000000'\n */\nfunction toHex(value, opts = {}) {\n if (typeof value === 'number' || typeof value === 'bigint')\n return numberToHex(value, opts);\n if (typeof value === 'string') {\n return stringToHex(value, opts);\n }\n if (typeof value === 'boolean')\n return boolToHex(value, opts);\n return bytesToHex(value, opts);\n}\n/**\n * Encodes a boolean into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html#booltohex\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { boolToHex } from 'viem'\n * const data = boolToHex(true)\n * // '0x1'\n *\n * @example\n * import { boolToHex } from 'viem'\n * const data = boolToHex(false)\n * // '0x0'\n *\n * @example\n * import { boolToHex } from 'viem'\n * const data = boolToHex(true, { size: 32 })\n * // '0x0000000000000000000000000000000000000000000000000000000000000001'\n */\nfunction boolToHex(value, opts = {}) {\n const hex = `0x${Number(value)}`;\n if (typeof opts.size === 'number') {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.assertSize)(hex, { size: opts.size });\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_1__.pad)(hex, { size: opts.size });\n }\n return hex;\n}\n/**\n * Encodes a bytes array into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html#bytestohex\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { bytesToHex } from 'viem'\n * const data = bytesToHex(Uint8Array.from([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33])\n * // '0x48656c6c6f20576f726c6421'\n *\n * @example\n * import { bytesToHex } from 'viem'\n * const data = bytesToHex(Uint8Array.from([72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 33]), { size: 32 })\n * // '0x48656c6c6f20576f726c64210000000000000000000000000000000000000000'\n */\nfunction bytesToHex(value, opts = {}) {\n let string = '';\n for (let i = 0; i < value.length; i++) {\n string += hexes[value[i]];\n }\n const hex = `0x${string}`;\n if (typeof opts.size === 'number') {\n (0,_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.assertSize)(hex, { size: opts.size });\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_1__.pad)(hex, { dir: 'right', size: opts.size });\n }\n return hex;\n}\n/**\n * Encodes a number or bigint into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html#numbertohex\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { numberToHex } from 'viem'\n * const data = numberToHex(420)\n * // '0x1a4'\n *\n * @example\n * import { numberToHex } from 'viem'\n * const data = numberToHex(420, { size: 32 })\n * // '0x00000000000000000000000000000000000000000000000000000000000001a4'\n */\nfunction numberToHex(value_, opts = {}) {\n const { signed, size } = opts;\n const value = BigInt(value_);\n let maxValue;\n if (size) {\n if (signed)\n maxValue = (1n << (BigInt(size) * 8n - 1n)) - 1n;\n else\n maxValue = 2n ** (BigInt(size) * 8n) - 1n;\n }\n else if (typeof value_ === 'number') {\n maxValue = BigInt(Number.MAX_SAFE_INTEGER);\n }\n const minValue = typeof maxValue === 'bigint' && signed ? -maxValue - 1n : 0;\n if ((maxValue && value > maxValue) || value < minValue) {\n const suffix = typeof value_ === 'bigint' ? 'n' : '';\n throw new _errors_encoding_js__WEBPACK_IMPORTED_MODULE_2__.IntegerOutOfRangeError({\n max: maxValue ? `${maxValue}${suffix}` : undefined,\n min: `${minValue}${suffix}`,\n signed,\n size,\n value: `${value_}${suffix}`,\n });\n }\n const hex = `0x${(signed && value < 0\n ? (1n << BigInt(size * 8)) + BigInt(value)\n : value).toString(16)}`;\n if (size)\n return (0,_data_pad_js__WEBPACK_IMPORTED_MODULE_1__.pad)(hex, { size });\n return hex;\n}\nconst encoder = /*#__PURE__*/ new TextEncoder();\n/**\n * Encodes a UTF-8 string into a hex string\n *\n * - Docs: https://viem.sh/docs/utilities/toHex.html#stringtohex\n *\n * @param value Value to encode.\n * @param opts Options.\n * @returns Hex value.\n *\n * @example\n * import { stringToHex } from 'viem'\n * const data = stringToHex('Hello World!')\n * // '0x48656c6c6f20576f726c6421'\n *\n * @example\n * import { stringToHex } from 'viem'\n * const data = stringToHex('Hello World!', { size: 32 })\n * // '0x48656c6c6f20576f726c64210000000000000000000000000000000000000000'\n */\nfunction stringToHex(value_, opts = {}) {\n const value = encoder.encode(value_);\n return bytesToHex(value, opts);\n}\n//# sourceMappingURL=toHex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/encoding/toHex.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js":
/*!**********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseAvatarRecord: () => (/* binding */ parseAvatarRecord)\n/* harmony export */ });\n/* harmony import */ var _utils_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./utils.js */ \"./node_modules/viem/_esm/utils/ens/avatar/utils.js\");\n\nasync function parseAvatarRecord(client, { gatewayUrls, record, }) {\n if (/eip155:/i.test(record))\n return parseNftAvatarUri(client, { gatewayUrls, record });\n return (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseAvatarUri)({ uri: record, gatewayUrls });\n}\nasync function parseNftAvatarUri(client, { gatewayUrls, record, }) {\n // parse NFT URI into properties\n const nft = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseNftUri)(record);\n // fetch tokenURI from the NFT contract\n const nftUri = await (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getNftTokenUri)(client, { nft });\n // resolve the URI from the fetched tokenURI\n const { uri: resolvedNftUri, isOnChain, isEncoded, } = (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.resolveAvatarUri)({ uri: nftUri, gatewayUrls });\n // if the resolved URI is on chain, return the data\n if (isOnChain &&\n (resolvedNftUri.includes('data:application/json;base64,') ||\n resolvedNftUri.startsWith('{'))) {\n const encodedJson = isEncoded\n ? // if it is encoded, decode it\n atob(resolvedNftUri.replace('data:application/json;base64,', ''))\n : // if it isn't encoded assume it is a JSON string, but it could be anything (it will error if it is)\n resolvedNftUri;\n const decoded = JSON.parse(encodedJson);\n return (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.parseAvatarUri)({ uri: (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getJsonImage)(decoded), gatewayUrls });\n }\n let uriTokenId = nft.tokenID;\n if (nft.namespace === 'erc1155')\n uriTokenId = uriTokenId.replace('0x', '').padStart(64, '0');\n return (0,_utils_js__WEBPACK_IMPORTED_MODULE_0__.getMetadataAvatarUri)({\n gatewayUrls,\n uri: resolvedNftUri.replace(/(?:0x)?{id}/, uriTokenId),\n });\n}\n//# sourceMappingURL=parseAvatarRecord.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/avatar/parseAvatarRecord.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/avatar/utils.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/avatar/utils.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getGateway: () => (/* binding */ getGateway),\n/* harmony export */ getJsonImage: () => (/* binding */ getJsonImage),\n/* harmony export */ getMetadataAvatarUri: () => (/* binding */ getMetadataAvatarUri),\n/* harmony export */ getNftTokenUri: () => (/* binding */ getNftTokenUri),\n/* harmony export */ isImageUri: () => (/* binding */ isImageUri),\n/* harmony export */ parseAvatarUri: () => (/* binding */ parseAvatarUri),\n/* harmony export */ parseNftUri: () => (/* binding */ parseNftUri),\n/* harmony export */ resolveAvatarUri: () => (/* binding */ resolveAvatarUri)\n/* harmony export */ });\n/* harmony import */ var _actions_public_readContract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../actions/public/readContract.js */ \"./node_modules/viem/_esm/actions/public/readContract.js\");\n/* harmony import */ var _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../errors/ens.js */ \"./node_modules/viem/_esm/errors/ens.js\");\n\n\nconst networkRegex = /(?<protocol>https?:\\/\\/[^\\/]*|ipfs:\\/|ipns:\\/|ar:\\/)?(?<root>\\/)?(?<subpath>ipfs\\/|ipns\\/)?(?<target>[\\w\\-.]+)(?<subtarget>\\/.*)?/;\nconst ipfsHashRegex = /^(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})(\\/(?<target>[\\w\\-.]+))?(?<subtarget>\\/.*)?$/;\nconst base64Regex = /^data:([a-zA-Z\\-/+]*);base64,([^\"].*)/;\nconst dataURIRegex = /^data:([a-zA-Z\\-/+]*)?(;[a-zA-Z0-9].*?)?(,)/;\nasync function isImageUri(uri) {\n try {\n const res = await fetch(uri, { method: 'HEAD' });\n // retrieve content type header to check if content is image\n if (res.status === 200) {\n const contentType = res.headers.get('content-type');\n return contentType?.startsWith('image/');\n }\n return false;\n }\n catch (error) {\n // if error is not cors related then fail\n if (typeof error === 'object' && typeof error.response !== 'undefined') {\n return false;\n }\n // fail in NodeJS, since the error is not cors but any other network issue\n // biome-ignore lint/suspicious/noPrototypeBuiltins:\n if (!globalThis.hasOwnProperty('Image'))\n return false;\n // in case of cors, use image api to validate if given url is an actual image\n return new Promise((resolve) => {\n const img = new Image();\n img.onload = () => {\n resolve(true);\n };\n img.onerror = () => {\n resolve(false);\n };\n img.src = uri;\n });\n }\n}\nfunction getGateway(custom, defaultGateway) {\n if (!custom)\n return defaultGateway;\n if (custom.endsWith('/'))\n return custom.slice(0, -1);\n return custom;\n}\nfunction resolveAvatarUri({ uri, gatewayUrls, }) {\n const isEncoded = base64Regex.test(uri);\n if (isEncoded)\n return { uri, isOnChain: true, isEncoded };\n const ipfsGateway = getGateway(gatewayUrls?.ipfs, 'https://ipfs.io');\n const arweaveGateway = getGateway(gatewayUrls?.arweave, 'https://arweave.net');\n const networkRegexMatch = uri.match(networkRegex);\n const { protocol, subpath, target, subtarget = '', } = networkRegexMatch?.groups || {};\n const isIPNS = protocol === 'ipns:/' || subpath === 'ipns/';\n const isIPFS = protocol === 'ipfs:/' || subpath === 'ipfs/' || ipfsHashRegex.test(uri);\n if (uri.startsWith('http') && !isIPNS && !isIPFS) {\n let replacedUri = uri;\n if (gatewayUrls?.arweave)\n replacedUri = uri.replace(/https:\\/\\/arweave.net/g, gatewayUrls?.arweave);\n return { uri: replacedUri, isOnChain: false, isEncoded: false };\n }\n if ((isIPNS || isIPFS) && target) {\n return {\n uri: `${ipfsGateway}/${isIPNS ? 'ipns' : 'ipfs'}/${target}${subtarget}`,\n isOnChain: false,\n isEncoded: false,\n };\n }\n if (protocol === 'ar:/' && target) {\n return {\n uri: `${arweaveGateway}/${target}${subtarget || ''}`,\n isOnChain: false,\n isEncoded: false,\n };\n }\n let parsedUri = uri.replace(dataURIRegex, '');\n if (parsedUri.startsWith('<svg')) {\n // if svg, base64 encode\n parsedUri = `data:image/svg+xml;base64,${btoa(parsedUri)}`;\n }\n if (parsedUri.startsWith('data:') || parsedUri.startsWith('{')) {\n return {\n uri: parsedUri,\n isOnChain: true,\n isEncoded: false,\n };\n }\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarUriResolutionError({ uri });\n}\nfunction getJsonImage(data) {\n // validation check for json data, must include one of theses properties\n if (typeof data !== 'object' ||\n (!('image' in data) && !('image_url' in data) && !('image_data' in data))) {\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarInvalidMetadataError({ data });\n }\n return data.image || data.image_url || data.image_data;\n}\nasync function getMetadataAvatarUri({ gatewayUrls, uri, }) {\n try {\n const res = await fetch(uri).then((res) => res.json());\n const image = await parseAvatarUri({\n gatewayUrls,\n uri: getJsonImage(res),\n });\n return image;\n }\n catch {\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarUriResolutionError({ uri });\n }\n}\nasync function parseAvatarUri({ gatewayUrls, uri, }) {\n const { uri: resolvedURI, isOnChain } = resolveAvatarUri({ uri, gatewayUrls });\n if (isOnChain)\n return resolvedURI;\n // check if resolvedURI is an image, if it is return the url\n const isImage = await isImageUri(resolvedURI);\n if (isImage)\n return resolvedURI;\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarUriResolutionError({ uri });\n}\nfunction parseNftUri(uri_) {\n let uri = uri_;\n // parse valid nft spec (CAIP-22/CAIP-29)\n // @see: https://github.com/ChainAgnostic/CAIPs/tree/master/CAIPs\n if (uri.startsWith('did:nft:')) {\n // convert DID to CAIP\n uri = uri.replace('did:nft:', '').replace(/_/g, '/');\n }\n const [reference, asset_namespace, tokenID] = uri.split('/');\n const [eip_namespace, chainID] = reference.split(':');\n const [erc_namespace, contractAddress] = asset_namespace.split(':');\n if (!eip_namespace || eip_namespace.toLowerCase() !== 'eip155')\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarInvalidNftUriError({ reason: 'Only EIP-155 supported' });\n if (!chainID)\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarInvalidNftUriError({ reason: 'Chain ID not found' });\n if (!contractAddress)\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarInvalidNftUriError({\n reason: 'Contract address not found',\n });\n if (!tokenID)\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarInvalidNftUriError({ reason: 'Token ID not found' });\n if (!erc_namespace)\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarInvalidNftUriError({ reason: 'ERC namespace not found' });\n return {\n chainID: parseInt(chainID),\n namespace: erc_namespace.toLowerCase(),\n contractAddress: contractAddress,\n tokenID,\n };\n}\nasync function getNftTokenUri(client, { nft }) {\n if (nft.namespace === 'erc721') {\n return (0,_actions_public_readContract_js__WEBPACK_IMPORTED_MODULE_1__.readContract)(client, {\n address: nft.contractAddress,\n abi: [\n {\n name: 'tokenURI',\n type: 'function',\n stateMutability: 'view',\n inputs: [{ name: 'tokenId', type: 'uint256' }],\n outputs: [{ name: '', type: 'string' }],\n },\n ],\n functionName: 'tokenURI',\n args: [BigInt(nft.tokenID)],\n });\n }\n if (nft.namespace === 'erc1155') {\n return (0,_actions_public_readContract_js__WEBPACK_IMPORTED_MODULE_1__.readContract)(client, {\n address: nft.contractAddress,\n abi: [\n {\n name: 'uri',\n type: 'function',\n stateMutability: 'view',\n inputs: [{ name: '_id', type: 'uint256' }],\n outputs: [{ name: '', type: 'string' }],\n },\n ],\n functionName: 'uri',\n args: [BigInt(nft.tokenID)],\n });\n }\n throw new _errors_ens_js__WEBPACK_IMPORTED_MODULE_0__.EnsAvatarUnsupportedNamespaceError({ namespace: nft.namespace });\n}\n//# sourceMappingURL=utils.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/avatar/utils.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/encodeLabelhash.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/encodeLabelhash.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodeLabelhash: () => (/* binding */ encodeLabelhash)\n/* harmony export */ });\nfunction encodeLabelhash(hash) {\n return `[${hash.slice(2)}]`;\n}\n//# sourceMappingURL=encodeLabelhash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/encodeLabelhash.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js":
/*!*********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js ***!
\*********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ encodedLabelToLabelhash: () => (/* binding */ encodedLabelToLabelhash)\n/* harmony export */ });\n/* harmony import */ var _data_isHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n\nfunction encodedLabelToLabelhash(label) {\n if (label.length !== 66)\n return null;\n if (label.indexOf('[') !== 0)\n return null;\n if (label.indexOf(']') !== 65)\n return null;\n const hash = `0x${label.slice(1, 65)}`;\n if (!(0,_data_isHex_js__WEBPACK_IMPORTED_MODULE_0__.isHex)(hash))\n return null;\n return hash;\n}\n//# sourceMappingURL=encodedLabelToLabelhash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/errors.js":
/*!****************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/errors.js ***!
\****************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ isNullUniversalResolverError: () => (/* binding */ isNullUniversalResolverError)\n/* harmony export */ });\n/* harmony import */ var _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../constants/solidity.js */ \"./node_modules/viem/_esm/constants/solidity.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n\n\n\n/*\n * @description Checks if error is a valid null result UniversalResolver error\n */\nfunction isNullUniversalResolverError(err, callType) {\n if (!(err instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError))\n return false;\n const cause = err.walk((e) => e instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_1__.ContractFunctionRevertedError);\n if (!(cause instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_1__.ContractFunctionRevertedError))\n return false;\n if (cause.data?.errorName === 'ResolverNotFound')\n return true;\n if (cause.data?.errorName === 'ResolverWildcardNotSupported')\n return true;\n // Backwards compatibility for older UniversalResolver contracts\n if (cause.reason?.includes('Wildcard on non-extended resolvers is not supported'))\n return true;\n // No primary name set for address.\n if (callType === 'reverse' && cause.reason === _constants_solidity_js__WEBPACK_IMPORTED_MODULE_2__.panicReasons[50])\n return true;\n return false;\n}\n//# sourceMappingURL=errors.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/errors.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/labelhash.js":
/*!*******************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/labelhash.js ***!
\*******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ labelhash: () => (/* binding */ labelhash)\n/* harmony export */ });\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodedLabelToLabelhash.js */ \"./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js\");\n\n\n\n\n/**\n * @description Hashes ENS label\n *\n * - Since ENS labels prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS labels](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `labelhash`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @example\n * labelhash('eth')\n * '0x4f5b812789fc606be1b3b16908db13fc7a9adf7ca72641f84d75b47069d3d7f0'\n */\nfunction labelhash(label) {\n const result = new Uint8Array(32).fill(0);\n if (!label)\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.bytesToHex)(result);\n return (0,_encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__.encodedLabelToLabelhash)(label) || (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_3__.stringToBytes)(label));\n}\n//# sourceMappingURL=labelhash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/labelhash.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/namehash.js":
/*!******************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/namehash.js ***!
\******************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ namehash: () => (/* binding */ namehash)\n/* harmony export */ });\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodedLabelToLabelhash.js */ \"./node_modules/viem/_esm/utils/ens/encodedLabelToLabelhash.js\");\n\n\n\n\n\n/**\n * @description Hashes ENS name\n *\n * - Since ENS names prohibit certain forbidden characters (e.g. underscore) and have other validation rules, you likely want to [normalize ENS names](https://docs.ens.domains/contract-api-reference/name-processing#normalising-names) with [UTS-46 normalization](https://unicode.org/reports/tr46) before passing them to `namehash`. You can use the built-in [`normalize`](https://viem.sh/docs/ens/utilities/normalize.html) function for this.\n *\n * @example\n * namehash('wevm.eth')\n * '0xf246651c1b9a6b141d19c2604e9a58f567973833990f830d882534a747801359'\n *\n * @link https://eips.ethereum.org/EIPS/eip-137\n */\nfunction namehash(name) {\n let result = new Uint8Array(32).fill(0);\n if (!name)\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.bytesToHex)(result);\n const labels = name.split('.');\n // Iterate in reverse order building up hash\n for (let i = labels.length - 1; i >= 0; i -= 1) {\n const hashFromEncodedLabel = (0,_encodedLabelToLabelhash_js__WEBPACK_IMPORTED_MODULE_1__.encodedLabelToLabelhash)(labels[i]);\n const hashed = hashFromEncodedLabel\n ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.toBytes)(hashFromEncodedLabel)\n : (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_3__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.stringToBytes)(labels[i]), 'bytes');\n result = (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_3__.keccak256)((0,_data_concat_js__WEBPACK_IMPORTED_MODULE_4__.concat)([result, hashed]), 'bytes');\n }\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.bytesToHex)(result);\n}\n//# sourceMappingURL=namehash.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/namehash.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/ens/packetToBytes.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/utils/ens/packetToBytes.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ packetToBytes: () => (/* binding */ packetToBytes)\n/* harmony export */ });\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encodeLabelhash_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encodeLabelhash.js */ \"./node_modules/viem/_esm/utils/ens/encodeLabelhash.js\");\n/* harmony import */ var _labelhash_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./labelhash.js */ \"./node_modules/viem/_esm/utils/ens/labelhash.js\");\n\n\n\n/*\n * @description Encodes a DNS packet into a ByteArray containing a UDP payload.\n */\nfunction packetToBytes(packet) {\n // strip leading and trailing `.`\n const value = packet.replace(/^\\.|\\.$/gm, '');\n if (value.length === 0)\n return new Uint8Array(1);\n const bytes = new Uint8Array((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(value).byteLength + 2);\n let offset = 0;\n const list = value.split('.');\n for (let i = 0; i < list.length; i++) {\n let encoded = (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(list[i]);\n // if the length is > 255, make the encoded label value a labelhash\n // this is compatible with the universal resolver\n if (encoded.byteLength > 255)\n encoded = (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)((0,_encodeLabelhash_js__WEBPACK_IMPORTED_MODULE_1__.encodeLabelhash)((0,_labelhash_js__WEBPACK_IMPORTED_MODULE_2__.labelhash)(list[i])));\n bytes[offset] = encoded.length;\n bytes.set(encoded, offset + 1);\n offset += encoded.length + 1;\n }\n if (bytes.byteLength !== offset + 1)\n return bytes.slice(0, offset + 1);\n return bytes;\n}\n//# sourceMappingURL=packetToBytes.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/ens/packetToBytes.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/errors/getCallError.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/utils/errors/getCallError.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCallError: () => (/* binding */ getCallError)\n/* harmony export */ });\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _getNodeError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeError.js */ \"./node_modules/viem/_esm/utils/errors/getNodeError.js\");\n\n\n\nfunction getCallError(err, { docsPath, ...args }) {\n const cause = (() => {\n const cause = (0,_getNodeError_js__WEBPACK_IMPORTED_MODULE_0__.getNodeError)(err, args);\n if (cause instanceof _errors_node_js__WEBPACK_IMPORTED_MODULE_1__.UnknownNodeError)\n return err;\n return cause;\n })();\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_2__.CallExecutionError(cause, {\n docsPath,\n ...args,\n });\n}\n//# sourceMappingURL=getCallError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getCallError.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/errors/getContractError.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/errors/getContractError.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getContractError: () => (/* binding */ getContractError)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/contract.js */ \"./node_modules/viem/_esm/errors/contract.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n\n\n\n\nconst EXECUTION_REVERTED_ERROR_CODE = 3;\nfunction getContractError(err, { abi, address, args, docsPath, functionName, sender, }) {\n const { code, data, message, shortMessage } = (err instanceof _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.RawContractError\n ? err\n : err instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_1__.BaseError\n ? err.walk((err) => 'data' in err) || err.walk()\n : {});\n const cause = (() => {\n if (err instanceof _errors_abi_js__WEBPACK_IMPORTED_MODULE_2__.AbiDecodingZeroDataError)\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.ContractFunctionZeroDataError({ functionName });\n if ([EXECUTION_REVERTED_ERROR_CODE, _errors_rpc_js__WEBPACK_IMPORTED_MODULE_3__.InternalRpcError.code].includes(code) &&\n (data || message || shortMessage)) {\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.ContractFunctionRevertedError({\n abi,\n data: typeof data === 'object' ? data.data : data,\n functionName,\n message: shortMessage ?? message,\n });\n }\n return err;\n })();\n return new _errors_contract_js__WEBPACK_IMPORTED_MODULE_0__.ContractFunctionExecutionError(cause, {\n abi,\n args,\n contractAddress: address,\n docsPath,\n functionName,\n sender,\n });\n}\n//# sourceMappingURL=getContractError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getContractError.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/errors/getEstimateGasError.js":
/*!********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/errors/getEstimateGasError.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEstimateGasError: () => (/* binding */ getEstimateGasError)\n/* harmony export */ });\n/* harmony import */ var _errors_estimateGas_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/estimateGas.js */ \"./node_modules/viem/_esm/errors/estimateGas.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _getNodeError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeError.js */ \"./node_modules/viem/_esm/utils/errors/getNodeError.js\");\n\n\n\nfunction getEstimateGasError(err, { docsPath, ...args }) {\n const cause = (() => {\n const cause = (0,_getNodeError_js__WEBPACK_IMPORTED_MODULE_0__.getNodeError)(err, args);\n if (cause instanceof _errors_node_js__WEBPACK_IMPORTED_MODULE_1__.UnknownNodeError)\n return err;\n return cause;\n })();\n return new _errors_estimateGas_js__WEBPACK_IMPORTED_MODULE_2__.EstimateGasExecutionError(cause, {\n docsPath,\n ...args,\n });\n}\n//# sourceMappingURL=getEstimateGasError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getEstimateGasError.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/errors/getNodeError.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/utils/errors/getNodeError.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ containsNodeError: () => (/* binding */ containsNodeError),\n/* harmony export */ getNodeError: () => (/* binding */ getNodeError)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _errors_rpc_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/rpc.js */ \"./node_modules/viem/_esm/errors/rpc.js\");\n\n\n\n\nfunction containsNodeError(err) {\n return (err instanceof _errors_rpc_js__WEBPACK_IMPORTED_MODULE_0__.TransactionRejectedRpcError ||\n err instanceof _errors_rpc_js__WEBPACK_IMPORTED_MODULE_0__.InvalidInputRpcError ||\n (err instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_1__.RpcRequestError && err.code === _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError.code));\n}\nfunction getNodeError(err, args) {\n const message = (err.details || '').toLowerCase();\n const executionRevertedError = err.walk((e) => e.code === _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError.code);\n if (executionRevertedError instanceof _errors_base_js__WEBPACK_IMPORTED_MODULE_3__.BaseError) {\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError({\n cause: err,\n message: executionRevertedError.details,\n });\n }\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.ExecutionRevertedError({\n cause: err,\n message: err.details,\n });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooHighError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooHighError({\n cause: err,\n maxFeePerGas: args?.maxFeePerGas,\n });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooLowError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.FeeCapTooLowError({\n cause: err,\n maxFeePerGas: args?.maxFeePerGas,\n });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooHighError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooHighError({ cause: err, nonce: args?.nonce });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooLowError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceTooLowError({ cause: err, nonce: args?.nonce });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceMaxValueError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.NonceMaxValueError({ cause: err, nonce: args?.nonce });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFundsError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.InsufficientFundsError({ cause: err });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooHighError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooHighError({ cause: err, gas: args?.gas });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooLowError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.IntrinsicGasTooLowError({ cause: err, gas: args?.gas });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.TransactionTypeNotSupportedError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.TransactionTypeNotSupportedError({ cause: err });\n if (_errors_node_js__WEBPACK_IMPORTED_MODULE_2__.TipAboveFeeCapError.nodeMessage.test(message))\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.TipAboveFeeCapError({\n cause: err,\n maxFeePerGas: args?.maxFeePerGas,\n maxPriorityFeePerGas: args?.maxPriorityFeePerGas,\n });\n return new _errors_node_js__WEBPACK_IMPORTED_MODULE_2__.UnknownNodeError({\n cause: err,\n });\n}\n//# sourceMappingURL=getNodeError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getNodeError.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/errors/getTransactionError.js":
/*!********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/errors/getTransactionError.js ***!
\********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionError: () => (/* binding */ getTransactionError)\n/* harmony export */ });\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _getNodeError_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getNodeError.js */ \"./node_modules/viem/_esm/utils/errors/getNodeError.js\");\n\n\n\nfunction getTransactionError(err, { docsPath, ...args }) {\n const cause = (() => {\n const cause = (0,_getNodeError_js__WEBPACK_IMPORTED_MODULE_0__.getNodeError)(err, args);\n if (cause instanceof _errors_node_js__WEBPACK_IMPORTED_MODULE_1__.UnknownNodeError)\n return err;\n return cause;\n })();\n return new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_2__.TransactionExecutionError(cause, {\n docsPath,\n ...args,\n });\n}\n//# sourceMappingURL=getTransactionError.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/errors/getTransactionError.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js":
/*!**************************************************************************!*\
!*** ./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js ***!
\**************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createFilterRequestScope: () => (/* binding */ createFilterRequestScope)\n/* harmony export */ });\n/**\n * Scopes `request` to the filter ID. If the client is a fallback, it will\n * listen for responses and scope the child transport `request` function\n * to the successful filter ID.\n */\nfunction createFilterRequestScope(client, { method }) {\n const requestMap = {};\n if (client.transport.type === 'fallback')\n client.transport.onResponse?.(({ method: method_, response: id, status, transport, }) => {\n if (status === 'success' && method === method_)\n requestMap[id] = transport.request;\n });\n return ((id) => requestMap[id] || client.request);\n}\n//# sourceMappingURL=createFilterRequestScope.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/filters/createFilterRequestScope.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/block.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/block.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineBlock: () => (/* binding */ defineBlock),\n/* harmony export */ formatBlock: () => (/* binding */ formatBlock)\n/* harmony export */ });\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/utils/formatters/transaction.js\");\n\n\nfunction formatBlock(block) {\n const transactions = block.transactions?.map((transaction) => {\n if (typeof transaction === 'string')\n return transaction;\n return (0,_transaction_js__WEBPACK_IMPORTED_MODULE_0__.formatTransaction)(transaction);\n });\n return {\n ...block,\n baseFeePerGas: block.baseFeePerGas ? BigInt(block.baseFeePerGas) : null,\n difficulty: block.difficulty ? BigInt(block.difficulty) : undefined,\n gasLimit: block.gasLimit ? BigInt(block.gasLimit) : undefined,\n gasUsed: block.gasUsed ? BigInt(block.gasUsed) : undefined,\n hash: block.hash ? block.hash : null,\n logsBloom: block.logsBloom ? block.logsBloom : null,\n nonce: block.nonce ? block.nonce : null,\n number: block.number ? BigInt(block.number) : null,\n size: block.size ? BigInt(block.size) : undefined,\n timestamp: block.timestamp ? BigInt(block.timestamp) : undefined,\n transactions,\n totalDifficulty: block.totalDifficulty\n ? BigInt(block.totalDifficulty)\n : null,\n };\n}\nconst defineBlock = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_1__.defineFormatter)('block', formatBlock);\n//# sourceMappingURL=block.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/block.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/extract.js":
/*!************************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/extract.js ***!
\************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ extract: () => (/* binding */ extract)\n/* harmony export */ });\n/**\n * @description Picks out the keys from `value` that exist in the formatter..\n */\nfunction extract(value_, { format }) {\n if (!format)\n return {};\n const value = {};\n function extract_(formatted) {\n const keys = Object.keys(formatted);\n for (const key of keys) {\n if (key in value_)\n value[key] = value_[key];\n if (formatted[key] &&\n typeof formatted[key] === 'object' &&\n !Array.isArray(formatted[key]))\n extract_(formatted[key]);\n }\n }\n const formatted = format(value_ || {});\n extract_(formatted);\n return value;\n}\n//# sourceMappingURL=extract.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/extract.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/feeHistory.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/feeHistory.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatFeeHistory: () => (/* binding */ formatFeeHistory)\n/* harmony export */ });\nfunction formatFeeHistory(feeHistory) {\n return {\n baseFeePerGas: feeHistory.baseFeePerGas.map((value) => BigInt(value)),\n gasUsedRatio: feeHistory.gasUsedRatio,\n oldestBlock: BigInt(feeHistory.oldestBlock),\n reward: feeHistory.reward?.map((reward) => reward.map((value) => BigInt(value))),\n };\n}\n//# sourceMappingURL=feeHistory.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/feeHistory.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/formatter.js":
/*!**************************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/formatter.js ***!
\**************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineFormatter: () => (/* binding */ defineFormatter)\n/* harmony export */ });\nfunction defineFormatter(type, format) {\n return ({ exclude, format: overrides, }) => {\n return {\n exclude,\n format: (args) => {\n const formatted = format(args);\n if (exclude) {\n for (const key of exclude) {\n delete formatted[key];\n }\n }\n return {\n ...formatted,\n ...overrides(args),\n };\n },\n type,\n };\n };\n}\n//# sourceMappingURL=formatter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/formatter.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/log.js":
/*!********************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/log.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatLog: () => (/* binding */ formatLog)\n/* harmony export */ });\nfunction formatLog(log, { args, eventName } = {}) {\n return {\n ...log,\n blockHash: log.blockHash ? log.blockHash : null,\n blockNumber: log.blockNumber ? BigInt(log.blockNumber) : null,\n logIndex: log.logIndex ? Number(log.logIndex) : null,\n transactionHash: log.transactionHash ? log.transactionHash : null,\n transactionIndex: log.transactionIndex\n ? Number(log.transactionIndex)\n : null,\n ...(eventName ? { args, eventName } : {}),\n };\n}\n//# sourceMappingURL=log.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/log.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/proof.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/proof.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatProof: () => (/* binding */ formatProof)\n/* harmony export */ });\n/* harmony import */ var _index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../index.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n\nfunction formatStorageProof(storageProof) {\n return storageProof.map((proof) => ({\n ...proof,\n value: BigInt(proof.value),\n }));\n}\nfunction formatProof(proof) {\n return {\n ...proof,\n balance: proof.balance ? BigInt(proof.balance) : undefined,\n nonce: proof.nonce ? (0,_index_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(proof.nonce) : undefined,\n storageProof: proof.storageProof\n ? formatStorageProof(proof.storageProof)\n : undefined,\n };\n}\n//# sourceMappingURL=proof.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/proof.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/transaction.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/transaction.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineTransaction: () => (/* binding */ defineTransaction),\n/* harmony export */ formatTransaction: () => (/* binding */ formatTransaction),\n/* harmony export */ transactionType: () => (/* binding */ transactionType)\n/* harmony export */ });\n/* harmony import */ var _encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n\n\nconst transactionType = {\n '0x0': 'legacy',\n '0x1': 'eip2930',\n '0x2': 'eip1559',\n};\nfunction formatTransaction(transaction) {\n const transaction_ = {\n ...transaction,\n blockHash: transaction.blockHash ? transaction.blockHash : null,\n blockNumber: transaction.blockNumber\n ? BigInt(transaction.blockNumber)\n : null,\n chainId: transaction.chainId ? (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(transaction.chainId) : undefined,\n gas: transaction.gas ? BigInt(transaction.gas) : undefined,\n gasPrice: transaction.gasPrice ? BigInt(transaction.gasPrice) : undefined,\n maxFeePerGas: transaction.maxFeePerGas\n ? BigInt(transaction.maxFeePerGas)\n : undefined,\n maxPriorityFeePerGas: transaction.maxPriorityFeePerGas\n ? BigInt(transaction.maxPriorityFeePerGas)\n : undefined,\n nonce: transaction.nonce ? (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_0__.hexToNumber)(transaction.nonce) : undefined,\n to: transaction.to ? transaction.to : null,\n transactionIndex: transaction.transactionIndex\n ? Number(transaction.transactionIndex)\n : null,\n type: transaction.type ? transactionType[transaction.type] : undefined,\n typeHex: transaction.type ? transaction.type : undefined,\n value: transaction.value ? BigInt(transaction.value) : undefined,\n v: transaction.v ? BigInt(transaction.v) : undefined,\n };\n transaction_.yParity = (() => {\n // If `yParity` is provided, we will use it.\n if (transaction.yParity)\n return Number(transaction.yParity);\n // If no `yParity` provided, try derive from `v`.\n if (typeof transaction_.v === 'bigint') {\n if (transaction_.v === 0n || transaction_.v === 27n)\n return 0;\n if (transaction_.v === 1n || transaction_.v === 28n)\n return 1;\n if (transaction_.v >= 35n)\n return transaction_.v % 2n === 0n ? 1 : 0;\n }\n return undefined;\n })();\n if (transaction_.type === 'legacy') {\n delete transaction_.accessList;\n delete transaction_.maxFeePerGas;\n delete transaction_.maxPriorityFeePerGas;\n delete transaction_.yParity;\n }\n if (transaction_.type === 'eip2930') {\n delete transaction_.maxFeePerGas;\n delete transaction_.maxPriorityFeePerGas;\n }\n return transaction_;\n}\nconst defineTransaction = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_1__.defineFormatter)('transaction', formatTransaction);\n//# sourceMappingURL=transaction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/transaction.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/transactionReceipt.js":
/*!***********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/transactionReceipt.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineTransactionReceipt: () => (/* binding */ defineTransactionReceipt),\n/* harmony export */ formatTransactionReceipt: () => (/* binding */ formatTransactionReceipt)\n/* harmony export */ });\n/* harmony import */ var _encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/fromHex.js */ \"./node_modules/viem/_esm/utils/encoding/fromHex.js\");\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n/* harmony import */ var _log_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./log.js */ \"./node_modules/viem/_esm/utils/formatters/log.js\");\n/* harmony import */ var _transaction_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./transaction.js */ \"./node_modules/viem/_esm/utils/formatters/transaction.js\");\n\n\n\n\nconst statuses = {\n '0x0': 'reverted',\n '0x1': 'success',\n};\nfunction formatTransactionReceipt(transactionReceipt) {\n return {\n ...transactionReceipt,\n blockNumber: transactionReceipt.blockNumber\n ? BigInt(transactionReceipt.blockNumber)\n : null,\n contractAddress: transactionReceipt.contractAddress\n ? transactionReceipt.contractAddress\n : null,\n cumulativeGasUsed: transactionReceipt.cumulativeGasUsed\n ? BigInt(transactionReceipt.cumulativeGasUsed)\n : null,\n effectiveGasPrice: transactionReceipt.effectiveGasPrice\n ? BigInt(transactionReceipt.effectiveGasPrice)\n : null,\n gasUsed: transactionReceipt.gasUsed\n ? BigInt(transactionReceipt.gasUsed)\n : null,\n logs: transactionReceipt.logs\n ? transactionReceipt.logs.map((log) => (0,_log_js__WEBPACK_IMPORTED_MODULE_0__.formatLog)(log))\n : null,\n to: transactionReceipt.to ? transactionReceipt.to : null,\n transactionIndex: transactionReceipt.transactionIndex\n ? (0,_encoding_fromHex_js__WEBPACK_IMPORTED_MODULE_1__.hexToNumber)(transactionReceipt.transactionIndex)\n : null,\n status: transactionReceipt.status\n ? statuses[transactionReceipt.status]\n : null,\n type: transactionReceipt.type\n ? _transaction_js__WEBPACK_IMPORTED_MODULE_2__.transactionType[transactionReceipt.type] || transactionReceipt.type\n : null,\n };\n}\nconst defineTransactionReceipt = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_3__.defineFormatter)('transactionReceipt', formatTransactionReceipt);\n//# sourceMappingURL=transactionReceipt.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/transactionReceipt.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/formatters/transactionRequest.js":
/*!***********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/formatters/transactionRequest.js ***!
\***********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ defineTransactionRequest: () => (/* binding */ defineTransactionRequest),\n/* harmony export */ formatTransactionRequest: () => (/* binding */ formatTransactionRequest),\n/* harmony export */ rpcTransactionType: () => (/* binding */ rpcTransactionType)\n/* harmony export */ });\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _formatter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./formatter.js */ \"./node_modules/viem/_esm/utils/formatters/formatter.js\");\n\n\nconst rpcTransactionType = {\n legacy: '0x0',\n eip2930: '0x1',\n eip1559: '0x2',\n};\nfunction formatTransactionRequest(transactionRequest) {\n return {\n ...transactionRequest,\n gas: typeof transactionRequest.gas !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.gas)\n : undefined,\n gasPrice: typeof transactionRequest.gasPrice !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.gasPrice)\n : undefined,\n maxFeePerGas: typeof transactionRequest.maxFeePerGas !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.maxFeePerGas)\n : undefined,\n maxPriorityFeePerGas: typeof transactionRequest.maxPriorityFeePerGas !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.maxPriorityFeePerGas)\n : undefined,\n nonce: typeof transactionRequest.nonce !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.nonce)\n : undefined,\n type: typeof transactionRequest.type !== 'undefined'\n ? rpcTransactionType[transactionRequest.type]\n : undefined,\n value: typeof transactionRequest.value !== 'undefined'\n ? (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_0__.numberToHex)(transactionRequest.value)\n : undefined,\n };\n}\nconst defineTransactionRequest = /*#__PURE__*/ (0,_formatter_js__WEBPACK_IMPORTED_MODULE_1__.defineFormatter)('transactionRequest', formatTransactionRequest);\n//# sourceMappingURL=transactionRequest.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/formatters/transactionRequest.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/getAction.js":
/*!***************************************************!*\
!*** ./node_modules/viem/_esm/utils/getAction.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getAction: () => (/* binding */ getAction)\n/* harmony export */ });\n/**\n * Retrieves and returns an action from the client (if exists), and falls\n * back to the tree-shakable action.\n *\n * Useful for extracting overridden actions from a client (ie. if a consumer\n * wants to override the `sendTransaction` implementation).\n */\nfunction getAction(client, action, \n// Some minifiers drop `Function.prototype.name`, meaning that `action.name`\n// will not work. For that case, the consumer needs to pass the name explicitly.\nname) {\n return (params) => client[action.name || name]?.(params) ?? action(client, params);\n}\n//# sourceMappingURL=getAction.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/getAction.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/hash/getEventSelector.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/utils/hash/getEventSelector.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEventSelector: () => (/* binding */ getEventSelector)\n/* harmony export */ });\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _getEventSignature_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./getEventSignature.js */ \"./node_modules/viem/_esm/utils/hash/getEventSignature.js\");\n/* harmony import */ var _keccak256_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n\n\n\nconst hash = (value) => (0,_keccak256_js__WEBPACK_IMPORTED_MODULE_0__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(value));\nconst getEventSelector = (fn) => hash((0,_getEventSignature_js__WEBPACK_IMPORTED_MODULE_2__.getEventSignature)(fn));\n//# sourceMappingURL=getEventSelector.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getEventSelector.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/hash/getEventSignature.js":
/*!****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/hash/getEventSignature.js ***!
\****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getEventSignature: () => (/* binding */ getEventSignature)\n/* harmony export */ });\n/* harmony import */ var _getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./getFunctionSignature.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSignature.js\");\n\nconst getEventSignature = (fn) => {\n return (0,_getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_0__.getFunctionSignature)(fn);\n};\n//# sourceMappingURL=getEventSignature.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getEventSignature.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/hash/getFunctionSelector.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/_esm/utils/hash/getFunctionSelector.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFunctionSelector: () => (/* binding */ getFunctionSelector)\n/* harmony export */ });\n/* harmony import */ var _data_slice_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/slice.js */ \"./node_modules/viem/_esm/utils/data/slice.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./getFunctionSignature.js */ \"./node_modules/viem/_esm/utils/hash/getFunctionSignature.js\");\n/* harmony import */ var _keccak256_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n\n\n\n\nconst hash = (value) => (0,_keccak256_js__WEBPACK_IMPORTED_MODULE_0__.keccak256)((0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_1__.toBytes)(value));\nconst getFunctionSelector = (fn) => (0,_data_slice_js__WEBPACK_IMPORTED_MODULE_2__.slice)(hash((0,_getFunctionSignature_js__WEBPACK_IMPORTED_MODULE_3__.getFunctionSignature)(fn)), 0, 4);\n//# sourceMappingURL=getFunctionSelector.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getFunctionSelector.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/hash/getFunctionSignature.js":
/*!*******************************************************************!*\
!*** ./node_modules/viem/_esm/utils/hash/getFunctionSignature.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getFunctionSignature: () => (/* binding */ getFunctionSignature)\n/* harmony export */ });\n/* harmony import */ var abitype__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! abitype */ \"./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js\");\n/* harmony import */ var _normalizeSignature_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./normalizeSignature.js */ \"./node_modules/viem/_esm/utils/hash/normalizeSignature.js\");\n\n\nconst getFunctionSignature = (fn_) => {\n const fn = (() => {\n if (typeof fn_ === 'string')\n return fn_;\n return (0,abitype__WEBPACK_IMPORTED_MODULE_0__.formatAbiItem)(fn_);\n })();\n return (0,_normalizeSignature_js__WEBPACK_IMPORTED_MODULE_1__.normalizeSignature)(fn);\n};\n//# sourceMappingURL=getFunctionSignature.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/getFunctionSignature.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/hash/keccak256.js":
/*!********************************************************!*\
!*** ./node_modules/viem/_esm/utils/hash/keccak256.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ keccak256: () => (/* binding */ keccak256)\n/* harmony export */ });\n/* harmony import */ var _noble_hashes_sha3__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @noble/hashes/sha3 */ \"./node_modules/@noble/hashes/esm/sha3.js\");\n/* harmony import */ var _data_isHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../data/isHex.js */ \"./node_modules/viem/_esm/utils/data/isHex.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n\n\n\n\nfunction keccak256(value, to_) {\n const to = to_ || 'hex';\n const bytes = (0,_noble_hashes_sha3__WEBPACK_IMPORTED_MODULE_0__.keccak_256)((0,_data_isHex_js__WEBPACK_IMPORTED_MODULE_1__.isHex)(value, { strict: false }) ? (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_2__.toBytes)(value) : value);\n if (to === 'bytes')\n return bytes;\n return (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_3__.toHex)(bytes);\n}\n//# sourceMappingURL=keccak256.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/keccak256.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/hash/normalizeSignature.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/hash/normalizeSignature.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ normalizeSignature: () => (/* binding */ normalizeSignature)\n/* harmony export */ });\n/* harmony import */ var _errors_base_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/base.js */ \"./node_modules/viem/_esm/errors/base.js\");\n\nfunction normalizeSignature(signature) {\n let active = true;\n let current = '';\n let level = 0;\n let result = '';\n let valid = false;\n for (let i = 0; i < signature.length; i++) {\n const char = signature[i];\n // If the character is a separator, we want to reactivate.\n if (['(', ')', ','].includes(char))\n active = true;\n // If the character is a \"level\" token, we want to increment/decrement.\n if (char === '(')\n level++;\n if (char === ')')\n level--;\n // If we aren't active, we don't want to mutate the result.\n if (!active)\n continue;\n // If level === 0, we are at the definition level.\n if (level === 0) {\n if (char === ' ' && ['event', 'function', ''].includes(result))\n result = '';\n else {\n result += char;\n // If we are at the end of the definition, we must be finished.\n if (char === ')') {\n valid = true;\n break;\n }\n }\n continue;\n }\n // Ignore spaces\n if (char === ' ') {\n // If the previous character is a separator, and the current section isn't empty, we want to deactivate.\n if (signature[i - 1] !== ',' && current !== ',' && current !== ',(') {\n current = '';\n active = false;\n }\n continue;\n }\n result += char;\n current += char;\n }\n if (!valid)\n throw new _errors_base_js__WEBPACK_IMPORTED_MODULE_0__.BaseError('Unable to normalize signature.');\n return result;\n}\n//# sourceMappingURL=normalizeSignature.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/hash/normalizeSignature.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/observe.js":
/*!*************************************************!*\
!*** ./node_modules/viem/_esm/utils/observe.js ***!
\*************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ cleanupCache: () => (/* binding */ cleanupCache),\n/* harmony export */ listenersCache: () => (/* binding */ listenersCache),\n/* harmony export */ observe: () => (/* binding */ observe)\n/* harmony export */ });\nconst listenersCache = /*#__PURE__*/ new Map();\nconst cleanupCache = /*#__PURE__*/ new Map();\nlet callbackCount = 0;\n/**\n * @description Sets up an observer for a given function. If another function\n * is set up under the same observer id, the function will only be called once\n * for both instances of the observer.\n */\nfunction observe(observerId, callbacks, fn) {\n const callbackId = ++callbackCount;\n const getListeners = () => listenersCache.get(observerId) || [];\n const unsubscribe = () => {\n const listeners = getListeners();\n listenersCache.set(observerId, listeners.filter((cb) => cb.id !== callbackId));\n };\n const unwatch = () => {\n const cleanup = cleanupCache.get(observerId);\n if (getListeners().length === 1 && cleanup)\n cleanup();\n unsubscribe();\n };\n const listeners = getListeners();\n listenersCache.set(observerId, [\n ...listeners,\n { id: callbackId, fns: callbacks },\n ]);\n if (listeners && listeners.length > 0)\n return unwatch;\n const emit = {};\n for (const key in callbacks) {\n emit[key] = ((...args) => {\n const listeners = getListeners();\n if (listeners.length === 0)\n return;\n for (const listener of listeners)\n listener.fns[key]?.(...args);\n });\n }\n const cleanup = fn(emit);\n if (typeof cleanup === 'function')\n cleanupCache.set(observerId, cleanup);\n return unwatch;\n}\n//# sourceMappingURL=observe.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/observe.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/poll.js":
/*!**********************************************!*\
!*** ./node_modules/viem/_esm/utils/poll.js ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ poll: () => (/* binding */ poll)\n/* harmony export */ });\n/* harmony import */ var _wait_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./wait.js */ \"./node_modules/viem/_esm/utils/wait.js\");\n\n/**\n * @description Polls a function at a specified interval.\n */\nfunction poll(fn, { emitOnBegin, initialWaitTime, interval }) {\n let active = true;\n const unwatch = () => (active = false);\n const watch = async () => {\n let data = undefined;\n if (emitOnBegin)\n data = await fn({ unpoll: unwatch });\n const initialWait = (await initialWaitTime?.(data)) ?? interval;\n await (0,_wait_js__WEBPACK_IMPORTED_MODULE_0__.wait)(initialWait);\n const poll = async () => {\n if (!active)\n return;\n await fn({ unpoll: unwatch });\n await (0,_wait_js__WEBPACK_IMPORTED_MODULE_0__.wait)(interval);\n poll();\n };\n poll();\n };\n watch();\n return unwatch;\n}\n//# sourceMappingURL=poll.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/poll.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/promise/createBatchScheduler.js":
/*!**********************************************************************!*\
!*** ./node_modules/viem/_esm/utils/promise/createBatchScheduler.js ***!
\**********************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createBatchScheduler: () => (/* binding */ createBatchScheduler)\n/* harmony export */ });\nconst schedulerCache = /*#__PURE__*/ new Map();\nfunction createBatchScheduler({ fn, id, shouldSplitBatch, wait = 0, sort, }) {\n const exec = async () => {\n const scheduler = getScheduler();\n flush();\n const args = scheduler.map(({ args }) => args);\n if (args.length === 0)\n return;\n fn(args)\n .then((data) => {\n if (sort && Array.isArray(data))\n data.sort(sort);\n for (let i = 0; i < scheduler.length; i++) {\n const { pendingPromise } = scheduler[i];\n pendingPromise.resolve?.([data[i], data]);\n }\n })\n .catch((err) => {\n for (let i = 0; i < scheduler.length; i++) {\n const { pendingPromise } = scheduler[i];\n pendingPromise.reject?.(err);\n }\n });\n };\n const flush = () => schedulerCache.delete(id);\n const getBatchedArgs = () => getScheduler().map(({ args }) => args);\n const getScheduler = () => schedulerCache.get(id) || [];\n const setScheduler = (item) => schedulerCache.set(id, [...getScheduler(), item]);\n return {\n flush,\n async schedule(args) {\n const pendingPromise = {};\n const promise = new Promise((resolve, reject) => {\n pendingPromise.resolve = resolve;\n pendingPromise.reject = reject;\n });\n const split = shouldSplitBatch?.([...getBatchedArgs(), args]);\n if (split)\n exec();\n const hasActiveScheduler = getScheduler().length > 0;\n if (hasActiveScheduler) {\n setScheduler({ args, pendingPromise });\n return promise;\n }\n setScheduler({ args, pendingPromise });\n setTimeout(exec, wait);\n return promise;\n },\n };\n}\n//# sourceMappingURL=createBatchScheduler.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/createBatchScheduler.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/promise/withCache.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/utils/promise/withCache.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getCache: () => (/* binding */ getCache),\n/* harmony export */ promiseCache: () => (/* binding */ promiseCache),\n/* harmony export */ responseCache: () => (/* binding */ responseCache),\n/* harmony export */ withCache: () => (/* binding */ withCache)\n/* harmony export */ });\nconst promiseCache = /*#__PURE__*/ new Map();\nconst responseCache = /*#__PURE__*/ new Map();\nfunction getCache(cacheKey) {\n const buildCache = (cacheKey, cache) => ({\n clear: () => cache.delete(cacheKey),\n get: () => cache.get(cacheKey),\n set: (data) => cache.set(cacheKey, data),\n });\n const promise = buildCache(cacheKey, promiseCache);\n const response = buildCache(cacheKey, responseCache);\n return {\n clear: () => {\n promise.clear();\n response.clear();\n },\n promise,\n response,\n };\n}\n/**\n * @description Returns the result of a given promise, and caches the result for\n * subsequent invocations against a provided cache key.\n */\nasync function withCache(fn, { cacheKey, cacheTime = Infinity }) {\n const cache = getCache(cacheKey);\n // If a response exists in the cache, and it's not expired, return it\n // and do not invoke the promise.\n // If the max age is 0, the cache is disabled.\n const response = cache.response.get();\n if (response && cacheTime > 0) {\n const age = new Date().getTime() - response.created.getTime();\n if (age < cacheTime)\n return response.data;\n }\n let promise = cache.promise.get();\n if (!promise) {\n promise = fn();\n // Store the promise in the cache so that subsequent invocations\n // will wait for the same promise to resolve (deduping).\n cache.promise.set(promise);\n }\n try {\n const data = await promise;\n // Store the response in the cache so that subsequent invocations\n // will return the same response.\n cache.response.set({ created: new Date(), data });\n return data;\n }\n finally {\n // Clear the promise cache so that subsequent invocations will\n // invoke the promise again.\n cache.promise.clear();\n }\n}\n//# sourceMappingURL=withCache.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/withCache.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/promise/withRetry.js":
/*!***********************************************************!*\
!*** ./node_modules/viem/_esm/utils/promise/withRetry.js ***!
\***********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withRetry: () => (/* binding */ withRetry)\n/* harmony export */ });\n/* harmony import */ var _wait_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../wait.js */ \"./node_modules/viem/_esm/utils/wait.js\");\n\nfunction withRetry(fn, { delay: delay_ = 100, retryCount = 2, shouldRetry = () => true, } = {}) {\n return new Promise((resolve, reject) => {\n const attemptRetry = async ({ count = 0 } = {}) => {\n const retry = async ({ error }) => {\n const delay = typeof delay_ === 'function' ? delay_({ count, error }) : delay_;\n if (delay)\n await (0,_wait_js__WEBPACK_IMPORTED_MODULE_0__.wait)(delay);\n attemptRetry({ count: count + 1 });\n };\n try {\n const data = await fn();\n resolve(data);\n }\n catch (err) {\n if (count < retryCount &&\n (await shouldRetry({ count, error: err })))\n return retry({ error: err });\n reject(err);\n }\n };\n attemptRetry();\n });\n}\n//# sourceMappingURL=withRetry.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/withRetry.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/promise/withTimeout.js":
/*!*************************************************************!*\
!*** ./node_modules/viem/_esm/utils/promise/withTimeout.js ***!
\*************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ withTimeout: () => (/* binding */ withTimeout)\n/* harmony export */ });\nfunction withTimeout(fn, { errorInstance = new Error('timed out'), timeout, signal, }) {\n return new Promise((resolve, reject) => {\n ;\n (async () => {\n let timeoutId;\n try {\n const controller = new AbortController();\n if (timeout > 0) {\n timeoutId = setTimeout(() => {\n if (signal) {\n controller.abort();\n }\n else {\n reject(errorInstance);\n }\n }, timeout);\n }\n resolve(await fn({ signal: controller?.signal }));\n }\n catch (err) {\n if (err.name === 'AbortError')\n reject(errorInstance);\n reject(err);\n }\n finally {\n clearTimeout(timeoutId);\n }\n })();\n });\n}\n//# sourceMappingURL=withTimeout.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/promise/withTimeout.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/regex.js":
/*!***********************************************!*\
!*** ./node_modules/viem/_esm/utils/regex.js ***!
\***********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ arrayRegex: () => (/* binding */ arrayRegex),\n/* harmony export */ bytesRegex: () => (/* binding */ bytesRegex),\n/* harmony export */ integerRegex: () => (/* binding */ integerRegex)\n/* harmony export */ });\nconst arrayRegex = /^(.*)\\[([0-9]*)\\]$/;\n// `bytes<M>`: binary type of `M` bytes, `0 < M <= 32`\n// https://regexr.com/6va55\nconst bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;\n// `(u)int<M>`: (un)signed integer type of `M` bits, `0 < M <= 256`, `M % 8 == 0`\n// https://regexr.com/6v8hp\nconst integerRegex = /^(u?int)(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;\n//# sourceMappingURL=regex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/regex.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/rpc.js":
/*!*********************************************!*\
!*** ./node_modules/viem/_esm/utils/rpc.js ***!
\*********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getSocket: () => (/* binding */ getSocket),\n/* harmony export */ rpc: () => (/* binding */ rpc),\n/* harmony export */ socketsCache: () => (/* binding */ socketsCache)\n/* harmony export */ });\n/* harmony import */ var isows__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! isows */ \"./node_modules/isows/_esm/native.js\");\n/* harmony import */ var _errors_request_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../errors/request.js */ \"./node_modules/viem/_esm/errors/request.js\");\n/* harmony import */ var _promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./promise/createBatchScheduler.js */ \"./node_modules/viem/_esm/utils/promise/createBatchScheduler.js\");\n/* harmony import */ var _promise_withTimeout_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./promise/withTimeout.js */ \"./node_modules/viem/_esm/utils/promise/withTimeout.js\");\n/* harmony import */ var _stringify_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./stringify.js */ \"./node_modules/viem/_esm/utils/stringify.js\");\n\n\n\n\n\nlet id = 0;\nasync function http(url, { body, fetchOptions = {}, timeout = 10000 }) {\n const { headers, method, signal: signal_ } = fetchOptions;\n try {\n const response = await (0,_promise_withTimeout_js__WEBPACK_IMPORTED_MODULE_0__.withTimeout)(async ({ signal }) => {\n const response = await fetch(url, {\n ...fetchOptions,\n body: Array.isArray(body)\n ? (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.stringify)(body.map((body) => ({\n jsonrpc: '2.0',\n id: body.id ?? id++,\n ...body,\n })))\n : (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.stringify)({ jsonrpc: '2.0', id: body.id ?? id++, ...body }),\n headers: {\n ...headers,\n 'Content-Type': 'application/json',\n },\n method: method || 'POST',\n signal: signal_ || (timeout > 0 ? signal : undefined),\n });\n return response;\n }, {\n errorInstance: new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.TimeoutError({ body, url }),\n timeout,\n signal: true,\n });\n let data;\n if (response.headers.get('Content-Type')?.startsWith('application/json')) {\n data = await response.json();\n }\n else {\n data = await response.text();\n }\n if (!response.ok) {\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.HttpRequestError({\n body,\n details: (0,_stringify_js__WEBPACK_IMPORTED_MODULE_1__.stringify)(data.error) || response.statusText,\n headers: response.headers,\n status: response.status,\n url,\n });\n }\n return data;\n }\n catch (err) {\n if (err instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.HttpRequestError)\n throw err;\n if (err instanceof _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.TimeoutError)\n throw err;\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.HttpRequestError({\n body,\n details: err.message,\n url,\n });\n }\n}\nconst socketsCache = /*#__PURE__*/ new Map();\nasync function getSocket(url) {\n let socket = socketsCache.get(url);\n // If the socket already exists, return it.\n if (socket)\n return socket;\n const { schedule } = (0,_promise_createBatchScheduler_js__WEBPACK_IMPORTED_MODULE_3__.createBatchScheduler)({\n id: url,\n fn: async () => {\n const webSocket = new isows__WEBPACK_IMPORTED_MODULE_4__.WebSocket(url);\n // Set up a cache for incoming \"synchronous\" requests.\n const requests = new Map();\n // Set up a cache for subscriptions (eth_subscribe).\n const subscriptions = new Map();\n const onMessage = ({ data }) => {\n const message = JSON.parse(data);\n const isSubscription = message.method === 'eth_subscription';\n const id = isSubscription ? message.params.subscription : message.id;\n const cache = isSubscription ? subscriptions : requests;\n const callback = cache.get(id);\n if (callback)\n callback({ data });\n if (!isSubscription)\n cache.delete(id);\n };\n const onClose = () => {\n socketsCache.delete(url);\n webSocket.removeEventListener('close', onClose);\n webSocket.removeEventListener('message', onMessage);\n };\n // Setup event listeners for RPC & subscription responses.\n webSocket.addEventListener('close', onClose);\n webSocket.addEventListener('message', onMessage);\n // Wait for the socket to open.\n if (webSocket.readyState === isows__WEBPACK_IMPORTED_MODULE_4__.WebSocket.CONNECTING) {\n await new Promise((resolve, reject) => {\n if (!webSocket)\n return;\n webSocket.onopen = resolve;\n webSocket.onerror = reject;\n });\n }\n // Create a new socket instance.\n socket = Object.assign(webSocket, {\n requests,\n subscriptions,\n });\n socketsCache.set(url, socket);\n return [socket];\n },\n });\n const [_, [socket_]] = await schedule();\n return socket_;\n}\nfunction webSocket(socket, { body, onResponse }) {\n if (socket.readyState === socket.CLOSED ||\n socket.readyState === socket.CLOSING)\n throw new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.WebSocketRequestError({\n body,\n url: socket.url,\n details: 'Socket is closed.',\n });\n const id_ = id++;\n const callback = ({ data }) => {\n const message = JSON.parse(data);\n if (typeof message.id === 'number' && id_ !== message.id)\n return;\n onResponse?.(message);\n // If we are subscribing to a topic, we want to set up a listener for incoming\n // messages.\n if (body.method === 'eth_subscribe' && typeof message.result === 'string') {\n socket.subscriptions.set(message.result, callback);\n }\n // If we are unsubscribing from a topic, we want to remove the listener.\n if (body.method === 'eth_unsubscribe') {\n socket.subscriptions.delete(body.params?.[0]);\n }\n };\n socket.requests.set(id_, callback);\n socket.send(JSON.stringify({ jsonrpc: '2.0', ...body, id: id_ }));\n return socket;\n}\nasync function webSocketAsync(socket, { body, timeout = 10000 }) {\n return (0,_promise_withTimeout_js__WEBPACK_IMPORTED_MODULE_0__.withTimeout)(() => new Promise((onResponse) => rpc.webSocket(socket, {\n body,\n onResponse,\n })), {\n errorInstance: new _errors_request_js__WEBPACK_IMPORTED_MODULE_2__.TimeoutError({ body, url: socket.url }),\n timeout,\n });\n}\n///////////////////////////////////////////////////\nconst rpc = {\n http,\n webSocket,\n webSocketAsync,\n};\n//# sourceMappingURL=rpc.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/rpc.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/signature/hashMessage.js":
/*!***************************************************************!*\
!*** ./node_modules/viem/_esm/utils/signature/hashMessage.js ***!
\***************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ hashMessage: () => (/* binding */ hashMessage)\n/* harmony export */ });\n/* harmony import */ var _constants_strings_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/strings.js */ \"./node_modules/viem/_esm/constants/strings.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../encoding/toBytes.js */ \"./node_modules/viem/_esm/utils/encoding/toBytes.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n\n\n\n\nfunction hashMessage(message, to_) {\n const messageBytes = (() => {\n if (typeof message === 'string')\n return (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(message);\n if (message.raw instanceof Uint8Array)\n return message.raw;\n return (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.toBytes)(message.raw);\n })();\n const prefixBytes = (0,_encoding_toBytes_js__WEBPACK_IMPORTED_MODULE_0__.stringToBytes)(`${_constants_strings_js__WEBPACK_IMPORTED_MODULE_1__.presignMessagePrefix}${messageBytes.length}`);\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_2__.keccak256)((0,_data_concat_js__WEBPACK_IMPORTED_MODULE_3__.concat)([prefixBytes, messageBytes]), to_);\n}\n//# sourceMappingURL=hashMessage.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/signature/hashMessage.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/signature/hashTypedData.js":
/*!*****************************************************************!*\
!*** ./node_modules/viem/_esm/utils/signature/hashTypedData.js ***!
\*****************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ hashDomain: () => (/* binding */ hashDomain),\n/* harmony export */ hashTypedData: () => (/* binding */ hashTypedData)\n/* harmony export */ });\n/* harmony import */ var _abi_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../abi/encodeAbiParameters.js */ \"./node_modules/viem/_esm/utils/abi/encodeAbiParameters.js\");\n/* harmony import */ var _data_concat_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../data/concat.js */ \"./node_modules/viem/_esm/utils/data/concat.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../hash/keccak256.js */ \"./node_modules/viem/_esm/utils/hash/keccak256.js\");\n/* harmony import */ var _typedData_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../typedData.js */ \"./node_modules/viem/_esm/utils/typedData.js\");\n// Implementation forked and adapted from https://github.com/MetaMask/eth-sig-util/blob/main/src/sign-typed-data.ts\n\n\n\n\n\nfunction hashTypedData({ domain: domain_, message, primaryType, types: types_, }) {\n const domain = typeof domain_ === 'undefined' ? {} : domain_;\n const types = {\n EIP712Domain: (0,_typedData_js__WEBPACK_IMPORTED_MODULE_0__.getTypesForEIP712Domain)({ domain }),\n ...types_,\n };\n // Need to do a runtime validation check on addresses, byte ranges, integer ranges, etc\n // as we can't statically check this with TypeScript.\n (0,_typedData_js__WEBPACK_IMPORTED_MODULE_0__.validateTypedData)({\n domain,\n message,\n primaryType,\n types,\n });\n const parts = ['0x1901'];\n if (domain)\n parts.push(hashDomain({\n domain,\n types: types,\n }));\n if (primaryType !== 'EIP712Domain') {\n parts.push(hashStruct({\n data: message,\n primaryType: primaryType,\n types: types,\n }));\n }\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)((0,_data_concat_js__WEBPACK_IMPORTED_MODULE_2__.concat)(parts));\n}\nfunction hashDomain({ domain, types, }) {\n return hashStruct({\n data: domain,\n primaryType: 'EIP712Domain',\n types,\n });\n}\nfunction hashStruct({ data, primaryType, types, }) {\n const encoded = encodeData({\n data,\n primaryType,\n types,\n });\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)(encoded);\n}\nfunction encodeData({ data, primaryType, types, }) {\n const encodedTypes = [{ type: 'bytes32' }];\n const encodedValues = [hashType({ primaryType, types })];\n for (const field of types[primaryType]) {\n const [type, value] = encodeField({\n types,\n name: field.name,\n type: field.type,\n value: data[field.name],\n });\n encodedTypes.push(type);\n encodedValues.push(value);\n }\n return (0,_abi_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__.encodeAbiParameters)(encodedTypes, encodedValues);\n}\nfunction hashType({ primaryType, types, }) {\n const encodedHashType = (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__.toHex)(encodeType({ primaryType, types }));\n return (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)(encodedHashType);\n}\nfunction encodeType({ primaryType, types, }) {\n let result = '';\n const unsortedDeps = findTypeDependencies({ primaryType, types });\n unsortedDeps.delete(primaryType);\n const deps = [primaryType, ...Array.from(unsortedDeps).sort()];\n for (const type of deps) {\n result += `${type}(${types[type]\n .map(({ name, type: t }) => `${t} ${name}`)\n .join(',')})`;\n }\n return result;\n}\nfunction findTypeDependencies({ primaryType: primaryType_, types, }, results = new Set()) {\n const match = primaryType_.match(/^\\w*/u);\n const primaryType = match?.[0];\n if (results.has(primaryType) || types[primaryType] === undefined) {\n return results;\n }\n results.add(primaryType);\n for (const field of types[primaryType]) {\n findTypeDependencies({ primaryType: field.type, types }, results);\n }\n return results;\n}\nfunction encodeField({ types, name, type, value, }) {\n if (types[type] !== undefined) {\n return [\n { type: 'bytes32' },\n (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)(encodeData({ data: value, primaryType: type, types })),\n ];\n }\n if (type === 'bytes') {\n const prepend = value.length % 2 ? '0' : '';\n value = `0x${prepend + value.slice(2)}`;\n return [{ type: 'bytes32' }, (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)(value)];\n }\n if (type === 'string')\n return [{ type: 'bytes32' }, (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)((0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_4__.toHex)(value))];\n if (type.lastIndexOf(']') === type.length - 1) {\n const parsedType = type.slice(0, type.lastIndexOf('['));\n const typeValuePairs = value.map((item) => encodeField({\n name,\n type: parsedType,\n types,\n value: item,\n }));\n return [\n { type: 'bytes32' },\n (0,_hash_keccak256_js__WEBPACK_IMPORTED_MODULE_1__.keccak256)((0,_abi_encodeAbiParameters_js__WEBPACK_IMPORTED_MODULE_3__.encodeAbiParameters)(typeValuePairs.map(([t]) => t), typeValuePairs.map(([, v]) => v))),\n ];\n }\n return [{ type }, value];\n}\n//# sourceMappingURL=hashTypedData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/signature/hashTypedData.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/stringify.js":
/*!***************************************************!*\
!*** ./node_modules/viem/_esm/utils/stringify.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ stringify: () => (/* binding */ stringify)\n/* harmony export */ });\nconst stringify = (value, replacer, space) => JSON.stringify(value, (key, value_) => {\n const value = typeof value_ === 'bigint' ? value_.toString() : value_;\n return typeof replacer === 'function' ? replacer(key, value) : value;\n}, space);\n//# sourceMappingURL=stringify.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/stringify.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/transaction/assertRequest.js":
/*!*******************************************************************!*\
!*** ./node_modules/viem/_esm/utils/transaction/assertRequest.js ***!
\*******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ assertRequest: () => (/* binding */ assertRequest)\n/* harmony export */ });\n/* harmony import */ var _accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../accounts/utils/parseAccount.js */ \"./node_modules/viem/_esm/accounts/utils/parseAccount.js\");\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _errors_node_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../errors/node.js */ \"./node_modules/viem/_esm/errors/node.js\");\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n\n\n\n\n\nfunction assertRequest(args) {\n const { account: account_, gasPrice, maxFeePerGas, maxPriorityFeePerGas, to, } = args;\n const account = account_ ? (0,_accounts_utils_parseAccount_js__WEBPACK_IMPORTED_MODULE_0__.parseAccount)(account_) : undefined;\n if (account && !(0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_1__.isAddress)(account.address))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_2__.InvalidAddressError({ address: account.address });\n if (to && !(0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_1__.isAddress)(to))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_2__.InvalidAddressError({ address: to });\n if (typeof gasPrice !== 'undefined' &&\n (typeof maxFeePerGas !== 'undefined' ||\n typeof maxPriorityFeePerGas !== 'undefined'))\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_3__.FeeConflictError();\n if (maxFeePerGas && maxFeePerGas > 2n ** 256n - 1n)\n throw new _errors_node_js__WEBPACK_IMPORTED_MODULE_4__.FeeCapTooHighError({ maxFeePerGas });\n if (maxPriorityFeePerGas &&\n maxFeePerGas &&\n maxPriorityFeePerGas > maxFeePerGas)\n throw new _errors_node_js__WEBPACK_IMPORTED_MODULE_4__.TipAboveFeeCapError({ maxFeePerGas, maxPriorityFeePerGas });\n}\n//# sourceMappingURL=assertRequest.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/transaction/assertRequest.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/transaction/getTransactionType.js":
/*!************************************************************************!*\
!*** ./node_modules/viem/_esm/utils/transaction/getTransactionType.js ***!
\************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ getTransactionType: () => (/* binding */ getTransactionType)\n/* harmony export */ });\n/* harmony import */ var _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../errors/transaction.js */ \"./node_modules/viem/_esm/errors/transaction.js\");\n\nfunction getTransactionType(transaction) {\n if (transaction.type)\n return transaction.type;\n if (typeof transaction.maxFeePerGas !== 'undefined' ||\n typeof transaction.maxPriorityFeePerGas !== 'undefined')\n return 'eip1559';\n if (typeof transaction.gasPrice !== 'undefined') {\n if (typeof transaction.accessList !== 'undefined')\n return 'eip2930';\n return 'legacy';\n }\n throw new _errors_transaction_js__WEBPACK_IMPORTED_MODULE_0__.InvalidSerializableTransactionError({ transaction });\n}\n//# sourceMappingURL=getTransactionType.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/transaction/getTransactionType.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/typedData.js":
/*!***************************************************!*\
!*** ./node_modules/viem/_esm/utils/typedData.js ***!
\***************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ domainSeparator: () => (/* binding */ domainSeparator),\n/* harmony export */ getTypesForEIP712Domain: () => (/* binding */ getTypesForEIP712Domain),\n/* harmony export */ validateTypedData: () => (/* binding */ validateTypedData)\n/* harmony export */ });\n/* harmony import */ var _errors_abi_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../errors/abi.js */ \"./node_modules/viem/_esm/errors/abi.js\");\n/* harmony import */ var _errors_address_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../errors/address.js */ \"./node_modules/viem/_esm/errors/address.js\");\n/* harmony import */ var _address_isAddress_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./address/isAddress.js */ \"./node_modules/viem/_esm/utils/address/isAddress.js\");\n/* harmony import */ var _data_size_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./data/size.js */ \"./node_modules/viem/_esm/utils/data/size.js\");\n/* harmony import */ var _encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./encoding/toHex.js */ \"./node_modules/viem/_esm/utils/encoding/toHex.js\");\n/* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./regex.js */ \"./node_modules/viem/_esm/utils/regex.js\");\n/* harmony import */ var _signature_hashTypedData_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./signature/hashTypedData.js */ \"./node_modules/viem/_esm/utils/signature/hashTypedData.js\");\n\n\n\n\n\n\n\nfunction validateTypedData({ domain, message, primaryType, types: types_, }) {\n const types = types_;\n const validateData = (struct, value_) => {\n for (const param of struct) {\n const { name, type: type_ } = param;\n const type = type_;\n const value = value_[name];\n const integerMatch = type.match(_regex_js__WEBPACK_IMPORTED_MODULE_0__.integerRegex);\n if (integerMatch &&\n (typeof value === 'number' || typeof value === 'bigint')) {\n const [_type, base, size_] = integerMatch;\n // If number cannot be cast to a sized hex value, it is out of range\n // and will throw.\n (0,_encoding_toHex_js__WEBPACK_IMPORTED_MODULE_1__.numberToHex)(value, {\n signed: base === 'int',\n size: parseInt(size_) / 8,\n });\n }\n if (type === 'address' && typeof value === 'string' && !(0,_address_isAddress_js__WEBPACK_IMPORTED_MODULE_2__.isAddress)(value))\n throw new _errors_address_js__WEBPACK_IMPORTED_MODULE_3__.InvalidAddressError({ address: value });\n const bytesMatch = type.match(_regex_js__WEBPACK_IMPORTED_MODULE_0__.bytesRegex);\n if (bytesMatch) {\n const [_type, size_] = bytesMatch;\n if (size_ && (0,_data_size_js__WEBPACK_IMPORTED_MODULE_4__.size)(value) !== parseInt(size_))\n throw new _errors_abi_js__WEBPACK_IMPORTED_MODULE_5__.BytesSizeMismatchError({\n expectedSize: parseInt(size_),\n givenSize: (0,_data_size_js__WEBPACK_IMPORTED_MODULE_4__.size)(value),\n });\n }\n const struct = types[type];\n if (struct)\n validateData(struct, value);\n }\n };\n // Validate domain types.\n if (types.EIP712Domain && domain)\n validateData(types.EIP712Domain, domain);\n if (primaryType !== 'EIP712Domain') {\n // Validate message types.\n const type = types[primaryType];\n validateData(type, message);\n }\n}\nfunction getTypesForEIP712Domain({ domain, }) {\n return [\n typeof domain?.name === 'string' && { name: 'name', type: 'string' },\n domain?.version && { name: 'version', type: 'string' },\n typeof domain?.chainId === 'number' && {\n name: 'chainId',\n type: 'uint256',\n },\n domain?.verifyingContract && {\n name: 'verifyingContract',\n type: 'address',\n },\n domain?.salt && { name: 'salt', type: 'bytes32' },\n ].filter(Boolean);\n}\nfunction domainSeparator({ domain }) {\n return (0,_signature_hashTypedData_js__WEBPACK_IMPORTED_MODULE_6__.hashDomain)({\n domain,\n types: {\n EIP712Domain: getTypesForEIP712Domain({ domain }),\n },\n });\n}\n//# sourceMappingURL=typedData.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/typedData.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/uid.js":
/*!*********************************************!*\
!*** ./node_modules/viem/_esm/utils/uid.js ***!
\*********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ uid: () => (/* binding */ uid)\n/* harmony export */ });\nconst size = 256;\nlet index = size;\nlet buffer;\nfunction uid(length = 11) {\n if (!buffer || index + length > size * 2) {\n buffer = '';\n index = 0;\n for (let i = 0; i < size; i++) {\n buffer += ((256 + Math.random() * 256) | 0).toString(16).substring(1);\n }\n }\n return buffer.substring(index, index++ + length);\n}\n//# sourceMappingURL=uid.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/uid.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/unit/formatEther.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/utils/unit/formatEther.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatEther: () => (/* binding */ formatEther)\n/* harmony export */ });\n/* harmony import */ var _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/unit.js */ \"./node_modules/viem/_esm/constants/unit.js\");\n/* harmony import */ var _formatUnits_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatUnits.js */ \"./node_modules/viem/_esm/utils/unit/formatUnits.js\");\n\n\n/**\n * Converts numerical wei to a string representation of ether.\n *\n * - Docs: https://viem.sh/docs/utilities/formatEther.html\n *\n * @example\n * import { formatEther } from 'viem'\n *\n * formatEther(1000000000000000000n)\n * // '1'\n */\nfunction formatEther(wei, unit = 'wei') {\n return (0,_formatUnits_js__WEBPACK_IMPORTED_MODULE_0__.formatUnits)(wei, _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__.etherUnits[unit]);\n}\n//# sourceMappingURL=formatEther.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/formatEther.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/unit/formatGwei.js":
/*!*********************************************************!*\
!*** ./node_modules/viem/_esm/utils/unit/formatGwei.js ***!
\*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatGwei: () => (/* binding */ formatGwei)\n/* harmony export */ });\n/* harmony import */ var _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/unit.js */ \"./node_modules/viem/_esm/constants/unit.js\");\n/* harmony import */ var _formatUnits_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatUnits.js */ \"./node_modules/viem/_esm/utils/unit/formatUnits.js\");\n\n\n/**\n * Converts numerical wei to a string representation of gwei.\n *\n * - Docs: https://viem.sh/docs/utilities/formatGwei.html\n *\n * @example\n * import { formatGwei } from 'viem'\n *\n * formatGwei(1000000000n)\n * // '1'\n */\nfunction formatGwei(wei, unit = 'wei') {\n return (0,_formatUnits_js__WEBPACK_IMPORTED_MODULE_0__.formatUnits)(wei, _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__.gweiUnits[unit]);\n}\n//# sourceMappingURL=formatGwei.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/formatGwei.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/unit/formatUnits.js":
/*!**********************************************************!*\
!*** ./node_modules/viem/_esm/utils/unit/formatUnits.js ***!
\**********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatUnits: () => (/* binding */ formatUnits)\n/* harmony export */ });\n/**\n * Divides a number by a given exponent of base 10 (10exponent), and formats it into a string representation of the number..\n *\n * - Docs: https://viem.sh/docs/utilities/formatUnits.html\n *\n * @example\n * import { formatUnits } from 'viem'\n *\n * formatUnits(420000000000n, 9)\n * // '420'\n */\nfunction formatUnits(value, decimals) {\n let display = value.toString();\n const negative = display.startsWith('-');\n if (negative)\n display = display.slice(1);\n display = display.padStart(decimals, '0');\n let [integer, fraction] = [\n display.slice(0, display.length - decimals),\n display.slice(display.length - decimals),\n ];\n fraction = fraction.replace(/(0+)$/, '');\n return `${negative ? '-' : ''}${integer || '0'}${fraction ? `.${fraction}` : ''}`;\n}\n//# sourceMappingURL=formatUnits.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/formatUnits.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/unit/parseGwei.js":
/*!********************************************************!*\
!*** ./node_modules/viem/_esm/utils/unit/parseGwei.js ***!
\********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseGwei: () => (/* binding */ parseGwei)\n/* harmony export */ });\n/* harmony import */ var _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../constants/unit.js */ \"./node_modules/viem/_esm/constants/unit.js\");\n/* harmony import */ var _parseUnits_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./parseUnits.js */ \"./node_modules/viem/_esm/utils/unit/parseUnits.js\");\n\n\n/**\n * Converts a string representation of gwei to numerical wei.\n *\n * - Docs: https://viem.sh/docs/utilities/parseGwei.html\n *\n * @example\n * import { parseGwei } from 'viem'\n *\n * parseGwei('420')\n * // 420000000000n\n */\nfunction parseGwei(ether, unit = 'wei') {\n return (0,_parseUnits_js__WEBPACK_IMPORTED_MODULE_0__.parseUnits)(ether, _constants_unit_js__WEBPACK_IMPORTED_MODULE_1__.gweiUnits[unit]);\n}\n//# sourceMappingURL=parseGwei.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/parseGwei.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/unit/parseUnits.js":
/*!*********************************************************!*\
!*** ./node_modules/viem/_esm/utils/unit/parseUnits.js ***!
\*********************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ parseUnits: () => (/* binding */ parseUnits)\n/* harmony export */ });\n/**\n * Multiplies a string representation of a number by a given exponent of base 10 (10exponent).\n *\n * - Docs: https://viem.sh/docs/utilities/parseUnits.html\n *\n * @example\n * import { parseUnits } from 'viem'\n *\n * parseUnits('420', 9)\n * // 420000000000n\n */\nfunction parseUnits(value, decimals) {\n let [integer, fraction = '0'] = value.split('.');\n const negative = integer.startsWith('-');\n if (negative)\n integer = integer.slice(1);\n // trim leading zeros.\n fraction = fraction.replace(/(0+)$/, '');\n // round off if the fraction is larger than the number of decimals.\n if (decimals === 0) {\n if (Math.round(Number(`.${fraction}`)) === 1)\n integer = `${BigInt(integer) + 1n}`;\n fraction = '';\n }\n else if (fraction.length > decimals) {\n const [left, unit, right] = [\n fraction.slice(0, decimals - 1),\n fraction.slice(decimals - 1, decimals),\n fraction.slice(decimals),\n ];\n const rounded = Math.round(Number(`${unit}.${right}`));\n if (rounded > 9)\n fraction = `${BigInt(left) + BigInt(1)}0`.padStart(left.length + 1, '0');\n else\n fraction = `${left}${rounded}`;\n if (fraction.length > decimals) {\n fraction = fraction.slice(1);\n integer = `${BigInt(integer) + 1n}`;\n }\n fraction = fraction.slice(0, decimals);\n }\n else {\n fraction = fraction.padEnd(decimals, '0');\n }\n return BigInt(`${negative ? '-' : ''}${integer}${fraction}`);\n}\n//# sourceMappingURL=parseUnits.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/unit/parseUnits.js?");
/***/ }),
/***/ "./node_modules/viem/_esm/utils/wait.js":
/*!**********************************************!*\
!*** ./node_modules/viem/_esm/utils/wait.js ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ wait: () => (/* binding */ wait)\n/* harmony export */ });\nasync function wait(time) {\n return new Promise((res) => setTimeout(res, time));\n}\n//# sourceMappingURL=wait.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/_esm/utils/wait.js?");
/***/ }),
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js":
/*!*****************************************************************************************!*\
!*** ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js ***!
\*****************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiItem: () => (/* binding */ formatAbiItem)\n/* harmony export */ });\n/* harmony import */ var _formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatAbiParameters.js */ \"./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js\");\n\nfunction formatAbiItem(abiItem) {\n if (abiItem.type === 'function')\n return `function ${abiItem.name}(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})${abiItem.stateMutability && abiItem.stateMutability !== 'nonpayable'\n ? ` ${abiItem.stateMutability}`\n : ''}${abiItem.outputs.length\n ? ` returns (${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.outputs)})`\n : ''}`;\n else if (abiItem.type === 'event')\n return `event ${abiItem.name}(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})`;\n else if (abiItem.type === 'error')\n return `error ${abiItem.name}(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})`;\n else if (abiItem.type === 'constructor')\n return `constructor(${(0,_formatAbiParameters_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameters)(abiItem.inputs)})${abiItem.stateMutability === 'payable' ? ' payable' : ''}`;\n else if (abiItem.type === 'fallback')\n return 'fallback()';\n return 'receive() external payable';\n}\n//# sourceMappingURL=formatAbiItem.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiItem.js?");
/***/ }),
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js":
/*!**********************************************************************************************!*\
!*** ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js ***!
\**********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiParameter: () => (/* binding */ formatAbiParameter)\n/* harmony export */ });\n/* harmony import */ var _regex_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../regex.js */ \"./node_modules/viem/node_modules/abitype/dist/esm/regex.js\");\n\nconst tupleRegex = /^tuple(?<array>(\\[(\\d*)\\])*)$/;\nfunction formatAbiParameter(abiParameter) {\n let type = abiParameter.type;\n if (tupleRegex.test(abiParameter.type) && 'components' in abiParameter) {\n type = '(';\n const length = abiParameter.components.length;\n for (let i = 0; i < length; i++) {\n const component = abiParameter.components[i];\n type += formatAbiParameter(component);\n if (i < length - 1)\n type += ', ';\n }\n const result = (0,_regex_js__WEBPACK_IMPORTED_MODULE_0__.execTyped)(tupleRegex, abiParameter.type);\n type += `)${result?.array ?? ''}`;\n return formatAbiParameter({\n ...abiParameter,\n type,\n });\n }\n if ('indexed' in abiParameter && abiParameter.indexed)\n type = `${type} indexed`;\n if (abiParameter.name)\n return `${type} ${abiParameter.name}`;\n return type;\n}\n//# sourceMappingURL=formatAbiParameter.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js?");
/***/ }),
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js":
/*!***********************************************************************************************!*\
!*** ./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js ***!
\***********************************************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ formatAbiParameters: () => (/* binding */ formatAbiParameters)\n/* harmony export */ });\n/* harmony import */ var _formatAbiParameter_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./formatAbiParameter.js */ \"./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameter.js\");\n\nfunction formatAbiParameters(abiParameters) {\n let params = '';\n const length = abiParameters.length;\n for (let i = 0; i < length; i++) {\n const abiParameter = abiParameters[i];\n params += (0,_formatAbiParameter_js__WEBPACK_IMPORTED_MODULE_0__.formatAbiParameter)(abiParameter);\n if (i !== length - 1)\n params += ', ';\n }\n return params;\n}\n//# sourceMappingURL=formatAbiParameters.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/human-readable/formatAbiParameters.js?");
/***/ }),
/***/ "./node_modules/viem/node_modules/abitype/dist/esm/regex.js":
/*!******************************************************************!*\
!*** ./node_modules/viem/node_modules/abitype/dist/esm/regex.js ***!
\******************************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ bytesRegex: () => (/* binding */ bytesRegex),\n/* harmony export */ execTyped: () => (/* binding */ execTyped),\n/* harmony export */ integerRegex: () => (/* binding */ integerRegex),\n/* harmony export */ isTupleRegex: () => (/* binding */ isTupleRegex)\n/* harmony export */ });\nfunction execTyped(regex, string) {\n const match = regex.exec(string);\n return match?.groups;\n}\nconst bytesRegex = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/;\nconst integerRegex = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/;\nconst isTupleRegex = /^\\(.+?\\).*?$/;\n//# sourceMappingURL=regex.js.map\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/viem/node_modules/abitype/dist/esm/regex.js?");
/***/ }),
/***/ "./node_modules/zustand/esm/middleware.mjs":
/*!*************************************************!*\
!*** ./node_modules/zustand/esm/middleware.mjs ***!
\*************************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ combine: () => (/* binding */ combine),\n/* harmony export */ createJSONStorage: () => (/* binding */ createJSONStorage),\n/* harmony export */ devtools: () => (/* binding */ devtools),\n/* harmony export */ persist: () => (/* binding */ persist),\n/* harmony export */ redux: () => (/* binding */ redux),\n/* harmony export */ subscribeWithSelector: () => (/* binding */ subscribeWithSelector)\n/* harmony export */ });\nconst reduxImpl = (reducer, initial) => (set, _get, api) => {\n api.dispatch = (action) => {\n set((state) => reducer(state, action), false, action);\n return action;\n };\n api.dispatchFromDevtools = true;\n return { dispatch: (...a) => api.dispatch(...a), ...initial };\n};\nconst redux = reduxImpl;\n\nconst trackedConnections = /* @__PURE__ */ new Map();\nconst getTrackedConnectionState = (name) => {\n const api = trackedConnections.get(name);\n if (!api)\n return {};\n return Object.fromEntries(\n Object.entries(api.stores).map(([key, api2]) => [key, api2.getState()])\n );\n};\nconst extractConnectionInformation = (store, extensionConnector, options) => {\n if (store === void 0) {\n return {\n type: \"untracked\",\n connection: extensionConnector.connect(options)\n };\n }\n const existingConnection = trackedConnections.get(options.name);\n if (existingConnection) {\n return { type: \"tracked\", store, ...existingConnection };\n }\n const newConnection = {\n connection: extensionConnector.connect(options),\n stores: {}\n };\n trackedConnections.set(options.name, newConnection);\n return { type: \"tracked\", store, ...newConnection };\n};\nconst devtoolsImpl = (fn, devtoolsOptions = {}) => (set, get, api) => {\n const { enabled, anonymousActionType, store, ...options } = devtoolsOptions;\n let extensionConnector;\n try {\n extensionConnector = (enabled != null ? enabled : ( false ? 0 : void 0) !== \"production\") && window.__REDUX_DEVTOOLS_EXTENSION__;\n } catch (e) {\n }\n if (!extensionConnector) {\n if (( false ? 0 : void 0) !== \"production\" && enabled) {\n console.warn(\n \"[zustand devtools middleware] Please install/enable Redux devtools extension\"\n );\n }\n return fn(set, get, api);\n }\n const { connection, ...connectionInformation } = extractConnectionInformation(store, extensionConnector, options);\n let isRecording = true;\n api.setState = (state, replace, nameOrAction) => {\n const r = set(state, replace);\n if (!isRecording)\n return r;\n const action = nameOrAction === void 0 ? { type: anonymousActionType || \"anonymous\" } : typeof nameOrAction === \"string\" ? { type: nameOrAction } : nameOrAction;\n if (store === void 0) {\n connection == null ? void 0 : connection.send(action, get());\n return r;\n }\n connection == null ? void 0 : connection.send(\n {\n ...action,\n type: `${store}/${action.type}`\n },\n {\n ...getTrackedConnectionState(options.name),\n [store]: api.getState()\n }\n );\n return r;\n };\n const setStateFromDevtools = (...a) => {\n const originalIsRecording = isRecording;\n isRecording = false;\n set(...a);\n isRecording = originalIsRecording;\n };\n const initialState = fn(api.setState, get, api);\n if (connectionInformation.type === \"untracked\") {\n connection == null ? void 0 : connection.init(initialState);\n } else {\n connectionInformation.stores[connectionInformation.store] = api;\n connection == null ? void 0 : connection.init(\n Object.fromEntries(\n Object.entries(connectionInformation.stores).map(([key, store2]) => [\n key,\n key === connectionInformation.store ? initialState : store2.getState()\n ])\n )\n );\n }\n if (api.dispatchFromDevtools && typeof api.dispatch === \"function\") {\n let didWarnAboutReservedActionType = false;\n const originalDispatch = api.dispatch;\n api.dispatch = (...a) => {\n if (( false ? 0 : void 0) !== \"production\" && a[0].type === \"__setState\" && !didWarnAboutReservedActionType) {\n console.warn(\n '[zustand devtools middleware] \"__setState\" action type is reserved to set state from the devtools. Avoid using it.'\n );\n didWarnAboutReservedActionType = true;\n }\n originalDispatch(...a);\n };\n }\n connection.subscribe((message) => {\n var _a;\n switch (message.type) {\n case \"ACTION\":\n if (typeof message.payload !== \"string\") {\n console.error(\n \"[zustand devtools middleware] Unsupported action format\"\n );\n return;\n }\n return parseJsonThen(\n message.payload,\n (action) => {\n if (action.type === \"__setState\") {\n if (store === void 0) {\n setStateFromDevtools(action.state);\n return;\n }\n if (Object.keys(action.state).length !== 1) {\n console.error(\n `\n [zustand devtools middleware] Unsupported __setState action format. \n When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(),\n and value of this only key should be a state object. Example: { \"type\": \"__setState\", \"state\": { \"abc123Store\": { \"foo\": \"bar\" } } }\n `\n );\n }\n const stateFromDevtools = action.state[store];\n if (stateFromDevtools === void 0 || stateFromDevtools === null) {\n return;\n }\n if (JSON.stringify(api.getState()) !== JSON.stringify(stateFromDevtools)) {\n setStateFromDevtools(stateFromDevtools);\n }\n return;\n }\n if (!api.dispatchFromDevtools)\n return;\n if (typeof api.dispatch !== \"function\")\n return;\n api.dispatch(action);\n }\n );\n case \"DISPATCH\":\n switch (message.payload.type) {\n case \"RESET\":\n setStateFromDevtools(initialState);\n if (store === void 0) {\n return connection == null ? void 0 : connection.init(api.getState());\n }\n return connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));\n case \"COMMIT\":\n if (store === void 0) {\n connection == null ? void 0 : connection.init(api.getState());\n return;\n }\n return connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));\n case \"ROLLBACK\":\n return parseJsonThen(message.state, (state) => {\n if (store === void 0) {\n setStateFromDevtools(state);\n connection == null ? void 0 : connection.init(api.getState());\n return;\n }\n setStateFromDevtools(state[store]);\n connection == null ? void 0 : connection.init(getTrackedConnectionState(options.name));\n });\n case \"JUMP_TO_STATE\":\n case \"JUMP_TO_ACTION\":\n return parseJsonThen(message.state, (state) => {\n if (store === void 0) {\n setStateFromDevtools(state);\n return;\n }\n if (JSON.stringify(api.getState()) !== JSON.stringify(state[store])) {\n setStateFromDevtools(state[store]);\n }\n });\n case \"IMPORT_STATE\": {\n const { nextLiftedState } = message.payload;\n const lastComputedState = (_a = nextLiftedState.computedStates.slice(-1)[0]) == null ? void 0 : _a.state;\n if (!lastComputedState)\n return;\n if (store === void 0) {\n setStateFromDevtools(lastComputedState);\n } else {\n setStateFromDevtools(lastComputedState[store]);\n }\n connection == null ? void 0 : connection.send(\n null,\n // FIXME no-any\n nextLiftedState\n );\n return;\n }\n case \"PAUSE_RECORDING\":\n return isRecording = !isRecording;\n }\n return;\n }\n });\n return initialState;\n};\nconst devtools = devtoolsImpl;\nconst parseJsonThen = (stringified, f) => {\n let parsed;\n try {\n parsed = JSON.parse(stringified);\n } catch (e) {\n console.error(\n \"[zustand devtools middleware] Could not parse the received json\",\n e\n );\n }\n if (parsed !== void 0)\n f(parsed);\n};\n\nconst subscribeWithSelectorImpl = (fn) => (set, get, api) => {\n const origSubscribe = api.subscribe;\n api.subscribe = (selector, optListener, options) => {\n let listener = selector;\n if (optListener) {\n const equalityFn = (options == null ? void 0 : options.equalityFn) || Object.is;\n let currentSlice = selector(api.getState());\n listener = (state) => {\n const nextSlice = selector(state);\n if (!equalityFn(currentSlice, nextSlice)) {\n const previousSlice = currentSlice;\n optListener(currentSlice = nextSlice, previousSlice);\n }\n };\n if (options == null ? void 0 : options.fireImmediately) {\n optListener(currentSlice, currentSlice);\n }\n }\n return origSubscribe(listener);\n };\n const initialState = fn(set, get, api);\n return initialState;\n};\nconst subscribeWithSelector = subscribeWithSelectorImpl;\n\nconst combine = (initialState, create) => (...a) => Object.assign({}, initialState, create(...a));\n\nfunction createJSONStorage(getStorage, options) {\n let storage;\n try {\n storage = getStorage();\n } catch (e) {\n return;\n }\n const persistStorage = {\n getItem: (name) => {\n var _a;\n const parse = (str2) => {\n if (str2 === null) {\n return null;\n }\n return JSON.parse(str2, options == null ? void 0 : options.reviver);\n };\n const str = (_a = storage.getItem(name)) != null ? _a : null;\n if (str instanceof Promise) {\n return str.then(parse);\n }\n return parse(str);\n },\n setItem: (name, newValue) => storage.setItem(\n name,\n JSON.stringify(newValue, options == null ? void 0 : options.replacer)\n ),\n removeItem: (name) => storage.removeItem(name)\n };\n return persistStorage;\n}\nconst toThenable = (fn) => (input) => {\n try {\n const result = fn(input);\n if (result instanceof Promise) {\n return result;\n }\n return {\n then(onFulfilled) {\n return toThenable(onFulfilled)(result);\n },\n catch(_onRejected) {\n return this;\n }\n };\n } catch (e) {\n return {\n then(_onFulfilled) {\n return this;\n },\n catch(onRejected) {\n return toThenable(onRejected)(e);\n }\n };\n }\n};\nconst oldImpl = (config, baseOptions) => (set, get, api) => {\n let options = {\n getStorage: () => localStorage,\n serialize: JSON.stringify,\n deserialize: JSON.parse,\n partialize: (state) => state,\n version: 0,\n merge: (persistedState, currentState) => ({\n ...currentState,\n ...persistedState\n }),\n ...baseOptions\n };\n let hasHydrated = false;\n const hydrationListeners = /* @__PURE__ */ new Set();\n const finishHydrationListeners = /* @__PURE__ */ new Set();\n let storage;\n try {\n storage = options.getStorage();\n } catch (e) {\n }\n if (!storage) {\n return config(\n (...args) => {\n console.warn(\n `[zustand persist middleware] Unable to update item '${options.name}', the given storage is currently unavailable.`\n );\n set(...args);\n },\n get,\n api\n );\n }\n const thenableSerialize = toThenable(options.serialize);\n const setItem = () => {\n const state = options.partialize({ ...get() });\n let errorInSync;\n const thenable = thenableSerialize({ state, version: options.version }).then(\n (serializedValue) => storage.setItem(options.name, serializedValue)\n ).catch((e) => {\n errorInSync = e;\n });\n if (errorInSync) {\n throw errorInSync;\n }\n return thenable;\n };\n const savedSetState = api.setState;\n api.setState = (state, replace) => {\n savedSetState(state, replace);\n void setItem();\n };\n const configResult = config(\n (...args) => {\n set(...args);\n void setItem();\n },\n get,\n api\n );\n let stateFromStorage;\n const hydrate = () => {\n var _a;\n if (!storage)\n return;\n hasHydrated = false;\n hydrationListeners.forEach((cb) => cb(get()));\n const postRehydrationCallback = ((_a = options.onRehydrateStorage) == null ? void 0 : _a.call(options, get())) || void 0;\n return toThenable(storage.getItem.bind(storage))(options.name).then((storageValue) => {\n if (storageValue) {\n return options.deserialize(storageValue);\n }\n }).then((deserializedStorageValue) => {\n if (deserializedStorageValue) {\n if (typeof deserializedStorageValue.version === \"number\" && deserializedStorageValue.version !== options.version) {\n if (options.migrate) {\n return options.migrate(\n deserializedStorageValue.state,\n deserializedStorageValue.version\n );\n }\n console.error(\n `State loaded from storage couldn't be migrated since no migrate function was provided`\n );\n } else {\n return deserializedStorageValue.state;\n }\n }\n }).then((migratedState) => {\n var _a2;\n stateFromStorage = options.merge(\n migratedState,\n (_a2 = get()) != null ? _a2 : configResult\n );\n set(stateFromStorage, true);\n return setItem();\n }).then(() => {\n postRehydrationCallback == null ? void 0 : postRehydrationCallback(stateFromStorage, void 0);\n hasHydrated = true;\n finishHydrationListeners.forEach((cb) => cb(stateFromStorage));\n }).catch((e) => {\n postRehydrationCallback == null ? void 0 : postRehydrationCallback(void 0, e);\n });\n };\n api.persist = {\n setOptions: (newOptions) => {\n options = {\n ...options,\n ...newOptions\n };\n if (newOptions.getStorage) {\n storage = newOptions.getStorage();\n }\n },\n clearStorage: () => {\n storage == null ? void 0 : storage.removeItem(options.name);\n },\n getOptions: () => options,\n rehydrate: () => hydrate(),\n hasHydrated: () => hasHydrated,\n onHydrate: (cb) => {\n hydrationListeners.add(cb);\n return () => {\n hydrationListeners.delete(cb);\n };\n },\n onFinishHydration: (cb) => {\n finishHydrationListeners.add(cb);\n return () => {\n finishHydrationListeners.delete(cb);\n };\n }\n };\n hydrate();\n return stateFromStorage || configResult;\n};\nconst newImpl = (config, baseOptions) => (set, get, api) => {\n let options = {\n storage: createJSONStorage(() => localStorage),\n partialize: (state) => state,\n version: 0,\n merge: (persistedState, currentState) => ({\n ...currentState,\n ...persistedState\n }),\n ...baseOptions\n };\n let hasHydrated = false;\n const hydrationListeners = /* @__PURE__ */ new Set();\n const finishHydrationListeners = /* @__PURE__ */ new Set();\n let storage = options.storage;\n if (!storage) {\n return config(\n (...args) => {\n console.warn(\n `[zustand persist middleware] Unable to update item '${options.name}', the given storage is currently unavailable.`\n );\n set(...args);\n },\n get,\n api\n );\n }\n const setItem = () => {\n const state = options.partialize({ ...get() });\n return storage.setItem(options.name, {\n state,\n version: options.version\n });\n };\n const savedSetState = api.setState;\n api.setState = (state, replace) => {\n savedSetState(state, replace);\n void setItem();\n };\n const configResult = config(\n (...args) => {\n set(...args);\n void setItem();\n },\n get,\n api\n );\n let stateFromStorage;\n const hydrate = () => {\n var _a, _b;\n if (!storage)\n return;\n hasHydrated = false;\n hydrationListeners.forEach((cb) => {\n var _a2;\n return cb((_a2 = get()) != null ? _a2 : configResult);\n });\n const postRehydrationCallback = ((_b = options.onRehydrateStorage) == null ? void 0 : _b.call(options, (_a = get()) != null ? _a : configResult)) || void 0;\n return toThenable(storage.getItem.bind(storage))(options.name).then((deserializedStorageValue) => {\n if (deserializedStorageValue) {\n if (typeof deserializedStorageValue.version === \"number\" && deserializedStorageValue.version !== options.version) {\n if (options.migrate) {\n return options.migrate(\n deserializedStorageValue.state,\n deserializedStorageValue.version\n );\n }\n console.error(\n `State loaded from storage couldn't be migrated since no migrate function was provided`\n );\n } else {\n return deserializedStorageValue.state;\n }\n }\n }).then((migratedState) => {\n var _a2;\n stateFromStorage = options.merge(\n migratedState,\n (_a2 = get()) != null ? _a2 : configResult\n );\n set(stateFromStorage, true);\n return setItem();\n }).then(() => {\n postRehydrationCallback == null ? void 0 : postRehydrationCallback(stateFromStorage, void 0);\n stateFromStorage = get();\n hasHydrated = true;\n finishHydrationListeners.forEach((cb) => cb(stateFromStorage));\n }).catch((e) => {\n postRehydrationCallback == null ? void 0 : postRehydrationCallback(void 0, e);\n });\n };\n api.persist = {\n setOptions: (newOptions) => {\n options = {\n ...options,\n ...newOptions\n };\n if (newOptions.storage) {\n storage = newOptions.storage;\n }\n },\n clearStorage: () => {\n storage == null ? void 0 : storage.removeItem(options.name);\n },\n getOptions: () => options,\n rehydrate: () => hydrate(),\n hasHydrated: () => hasHydrated,\n onHydrate: (cb) => {\n hydrationListeners.add(cb);\n return () => {\n hydrationListeners.delete(cb);\n };\n },\n onFinishHydration: (cb) => {\n finishHydrationListeners.add(cb);\n return () => {\n finishHydrationListeners.delete(cb);\n };\n }\n };\n if (!options.skipHydration) {\n hydrate();\n }\n return stateFromStorage || configResult;\n};\nconst persistImpl = (config, baseOptions) => {\n if (\"getStorage\" in baseOptions || \"serialize\" in baseOptions || \"deserialize\" in baseOptions) {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead.\"\n );\n }\n return oldImpl(config, baseOptions);\n }\n return newImpl(config, baseOptions);\n};\nconst persist = persistImpl;\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/zustand/esm/middleware.mjs?");
/***/ }),
/***/ "./node_modules/zustand/esm/shallow.mjs":
/*!**********************************************!*\
!*** ./node_modules/zustand/esm/shallow.mjs ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ shallow),\n/* harmony export */ shallow: () => (/* binding */ shallow$1)\n/* harmony export */ });\nfunction shallow$1(objA, objB) {\n if (Object.is(objA, objB)) {\n return true;\n }\n if (typeof objA !== \"object\" || objA === null || typeof objB !== \"object\" || objB === null) {\n return false;\n }\n if (objA instanceof Map && objB instanceof Map) {\n if (objA.size !== objB.size)\n return false;\n for (const [key, value] of objA) {\n if (!Object.is(value, objB.get(key))) {\n return false;\n }\n }\n return true;\n }\n if (objA instanceof Set && objB instanceof Set) {\n if (objA.size !== objB.size)\n return false;\n for (const value of objA) {\n if (!objB.has(value)) {\n return false;\n }\n }\n return true;\n }\n const keysA = Object.keys(objA);\n if (keysA.length !== Object.keys(objB).length) {\n return false;\n }\n for (let i = 0; i < keysA.length; i++) {\n if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !Object.is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n return true;\n}\n\nvar shallow = (objA, objB) => {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"[DEPRECATED] Default export is deprecated. Instead use `import { shallow } from 'zustand/shallow'`.\"\n );\n }\n return shallow$1(objA, objB);\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/zustand/esm/shallow.mjs?");
/***/ }),
/***/ "./node_modules/zustand/esm/vanilla.mjs":
/*!**********************************************!*\
!*** ./node_modules/zustand/esm/vanilla.mjs ***!
\**********************************************/
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ createStore: () => (/* binding */ createStore),\n/* harmony export */ \"default\": () => (/* binding */ vanilla)\n/* harmony export */ });\nconst createStoreImpl = (createState) => {\n let state;\n const listeners = /* @__PURE__ */ new Set();\n const setState = (partial, replace) => {\n const nextState = typeof partial === \"function\" ? partial(state) : partial;\n if (!Object.is(nextState, state)) {\n const previousState = state;\n state = (replace != null ? replace : typeof nextState !== \"object\" || nextState === null) ? nextState : Object.assign({}, state, nextState);\n listeners.forEach((listener) => listener(state, previousState));\n }\n };\n const getState = () => state;\n const subscribe = (listener) => {\n listeners.add(listener);\n return () => listeners.delete(listener);\n };\n const destroy = () => {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected.\"\n );\n }\n listeners.clear();\n };\n const api = { setState, getState, subscribe, destroy };\n state = createState(setState, getState, api);\n return api;\n};\nconst createStore = (createState) => createState ? createStoreImpl(createState) : createStoreImpl;\nvar vanilla = (createState) => {\n if (( false ? 0 : void 0) !== \"production\") {\n console.warn(\n \"[DEPRECATED] Default export is deprecated. Instead use import { createStore } from 'zustand/vanilla'.\"\n );\n }\n return createStore(createState);\n};\n\n\n\n\n//# sourceURL=webpack://wallet_connect_modal_test/./node_modules/zustand/esm/vanilla.mjs?");
/***/ })
/******/ });
/************************************************************************/
/******/ // The module cache
/******/ var __webpack_module_cache__ = {};
/******/
/******/ // The require function
/******/ function __webpack_require__(moduleId) {
/******/ // Check if module is in cache
/******/ var cachedModule = __webpack_module_cache__[moduleId];
/******/ if (cachedModule !== undefined) {
/******/ return cachedModule.exports;
/******/ }
/******/ // Create a new module (and put it into the cache)
/******/ var module = __webpack_module_cache__[moduleId] = {
/******/ id: moduleId,
/******/ loaded: false,
/******/ exports: {}
/******/ };
/******/
/******/ // Execute the module function
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ // Flag the module as loaded
/******/ module.loaded = true;
/******/
/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }
/******/
/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = __webpack_modules__;
/******/
/************************************************************************/
/******/ /* webpack/runtime/compat get default export */
/******/ (() => {
/******/ // getDefaultExport function for compatibility with non-harmony modules
/******/ __webpack_require__.n = (module) => {
/******/ var getter = module && module.__esModule ?
/******/ () => (module['default']) :
/******/ () => (module);
/******/ __webpack_require__.d(getter, { a: getter });
/******/ return getter;
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/create fake namespace object */
/******/ (() => {
/******/ var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);
/******/ var leafPrototypes;
/******/ // create a fake namespace object
/******/ // mode & 1: value is a module id, require it
/******/ // mode & 2: merge all properties of value into the ns
/******/ // mode & 4: return value when already ns object
/******/ // mode & 16: return value when it's Promise-like
/******/ // mode & 8|1: behave like require
/******/ __webpack_require__.t = function(value, mode) {
/******/ if(mode & 1) value = this(value);
/******/ if(mode & 8) return value;
/******/ if(typeof value === 'object' && value) {
/******/ if((mode & 4) && value.__esModule) return value;
/******/ if((mode & 16) && typeof value.then === 'function') return value;
/******/ }
/******/ var ns = Object.create(null);
/******/ __webpack_require__.r(ns);
/******/ var def = {};
/******/ leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];
/******/ for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {
/******/ Object.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));
/******/ }
/******/ def['default'] = () => (value);
/******/ __webpack_require__.d(ns, def);
/******/ return ns;
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/define property getters */
/******/ (() => {
/******/ // define getter functions for harmony exports
/******/ __webpack_require__.d = (exports, definition) => {
/******/ for(var key in definition) {
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
/******/ }
/******/ }
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/ensure chunk */
/******/ (() => {
/******/ __webpack_require__.f = {};
/******/ // This file contains only the entry chunk.
/******/ // The chunk loading function for additional chunks
/******/ __webpack_require__.e = (chunkId) => {
/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
/******/ __webpack_require__.f[key](chunkId, promises);
/******/ return promises;
/******/ }, []));
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/get javascript chunk filename */
/******/ (() => {
/******/ // This function allow to reference async chunks
/******/ __webpack_require__.u = (chunkId) => {
/******/ // return url for filenames based on template
/******/ return "" + chunkId + ".bundle.js";
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/global */
/******/ (() => {
/******/ __webpack_require__.g = (function() {
/******/ if (typeof globalThis === 'object') return globalThis;
/******/ try {
/******/ return this || new Function('return this')();
/******/ } catch (e) {
/******/ if (typeof window === 'object') return window;
/******/ }
/******/ })();
/******/ })();
/******/
/******/ /* webpack/runtime/hasOwnProperty shorthand */
/******/ (() => {
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ })();
/******/
/******/ /* webpack/runtime/load script */
/******/ (() => {
/******/ var inProgress = {};
/******/ var dataWebpackPrefix = "wallet_connect_modal_test:";
/******/ // loadScript function to load a script via script tag
/******/ __webpack_require__.l = (url, done, key, chunkId) => {
/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
/******/ var script, needAttach;
/******/ if(key !== undefined) {
/******/ var scripts = document.getElementsByTagName("script");
/******/ for(var i = 0; i < scripts.length; i++) {
/******/ var s = scripts[i];
/******/ if(s.getAttribute("src") == url || s.getAttribute("data-webpack") == dataWebpackPrefix + key) { script = s; break; }
/******/ }
/******/ }
/******/ if(!script) {
/******/ needAttach = true;
/******/ script = document.createElement('script');
/******/ script.type = "module";
/******/ script.charset = 'utf-8';
/******/ script.timeout = 120;
/******/ if (__webpack_require__.nc) {
/******/ script.setAttribute("nonce", __webpack_require__.nc);
/******/ }
/******/ script.setAttribute("data-webpack", dataWebpackPrefix + key);
/******/
/******/ script.src = url;
/******/ }
/******/ inProgress[url] = [done];
/******/ var onScriptComplete = (prev, event) => {
/******/ // avoid mem leaks in IE.
/******/ script.onerror = script.onload = null;
/******/ clearTimeout(timeout);
/******/ var doneFns = inProgress[url];
/******/ delete inProgress[url];
/******/ script.parentNode && script.parentNode.removeChild(script);
/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
/******/ if(prev) return prev(event);
/******/ }
/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
/******/ script.onload = onScriptComplete.bind(null, script.onload);
/******/ needAttach && document.head.appendChild(script);
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/make namespace object */
/******/ (() => {
/******/ // define __esModule on exports
/******/ __webpack_require__.r = (exports) => {
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ }
/******/ Object.defineProperty(exports, '__esModule', { value: true });
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/node module decorator */
/******/ (() => {
/******/ __webpack_require__.nmd = (module) => {
/******/ module.paths = [];
/******/ if (!module.children) module.children = [];
/******/ return module;
/******/ };
/******/ })();
/******/
/******/ /* webpack/runtime/publicPath */
/******/ (() => {
/******/ var scriptUrl;
/******/ if (typeof import.meta.url === "string") scriptUrl = import.meta.url
/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
/******/ __webpack_require__.p = scriptUrl;
/******/ })();
/******/
/******/ /* webpack/runtime/jsonp chunk loading */
/******/ (() => {
/******/ // no baseURI
/******/
/******/ // object to store loaded and loading chunks
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
/******/ var installedChunks = {
/******/ "main": 0
/******/ };
/******/
/******/ __webpack_require__.f.j = (chunkId, promises) => {
/******/ // JSONP chunk loading for javascript
/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
/******/ if(installedChunkData !== 0) { // 0 means "already installed".
/******/
/******/ // a Promise means "currently loading".
/******/ if(installedChunkData) {
/******/ promises.push(installedChunkData[2]);
/******/ } else {
/******/ if(true) { // all chunks have JS
/******/ // setup Promise in chunk cache
/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
/******/ promises.push(installedChunkData[2] = promise);
/******/
/******/ // start chunk loading
/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
/******/ // create error before stack unwound to get useful stacktrace later
/******/ var error = new Error();
/******/ var loadingEnded = (event) => {
/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
/******/ installedChunkData = installedChunks[chunkId];
/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
/******/ if(installedChunkData) {
/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ var realSrc = event && event.target && event.target.src;
/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ error.name = 'ChunkLoadError';
/******/ error.type = errorType;
/******/ error.request = realSrc;
/******/ installedChunkData[1](error);
/******/ }
/******/ }
/******/ };
/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
/******/ }
/******/ }
/******/ }
/******/ };
/******/
/******/ // no prefetching
/******/
/******/ // no preloaded
/******/
/******/ // no HMR
/******/
/******/ // no HMR manifest
/******/
/******/ // no on chunks loaded
/******/
/******/ // install a JSONP callback for chunk loading
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
/******/ var [chunkIds, moreModules, runtime] = data;
/******/ // add "moreModules" to the modules object,
/******/ // then flag all "chunkIds" as loaded and fire callback
/******/ var moduleId, chunkId, i = 0;
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
/******/ for(moduleId in moreModules) {
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
/******/ }
/******/ }
/******/ if(runtime) var result = runtime(__webpack_require__);
/******/ }
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
/******/ for(;i < chunkIds.length; i++) {
/******/ chunkId = chunkIds[i];
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ installedChunks[chunkId][0]();
/******/ }
/******/ installedChunks[chunkId] = 0;
/******/ }
/******/
/******/ }
/******/
/******/ var chunkLoadingGlobal = self["webpackChunkwallet_connect_modal_test"] = self["webpackChunkwallet_connect_modal_test"] || [];
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
/******/ })();
/******/
/************************************************************************/
/******/
/******/ // startup
/******/ // Load entry module and return exports
/******/ // This entry module can't be inlined because the eval devtool is used.
/******/ var __webpack_exports__ = __webpack_require__("./src/main.ts");
/******/